:root {
  --brown: #2e0500;
  --brown-soft: #4a1c10;
  --cyan: #08abd4;
  --cyan-light: #e6f8fc;
  --cream: #fdf9f3;
  --text: #241a15;
  --text-muted: #6b5f57;
  --border: #ece3da;
  --radius: 14px;
  --max-width: 1160px;
  --shadow: 0 4px 24px rgba(46, 5, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.2; }
h2 { font-size: 32px; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title p { color: var(--text-muted); font-size: 16px; margin-top: 8px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(8,171,212,.35); }
.btn-outline { background: transparent; border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  padding: 4px 9px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.lang-switch button.active { border-color: var(--brown); background: var(--brown); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,249,243,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--brown); }
.brand img { width: 34px; height: 34px; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--text); }
.main-nav a:hover { color: var(--cyan); }
.mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--brown); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  padding-top: 88px; padding-bottom: 88px;
  background: linear-gradient(rgba(46,5,0,.72), rgba(46,5,0,.6)), url('../img/cava_bg.jpg') center/cover no-repeat;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 42px; color: #fff; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { border-color: #fff; color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--brown); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: 220px; height: 220px; background: #fff; border-radius: 50%; padding: 0px; box-shadow: var(--shadow); }

/* Business types */
.biz-strip { background: var(--brown); color: #fff; }
.biz-strip .section-title p { color: #d9c9c1; }
.biz-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.biz-grid span {
  padding: 10px 20px; border-radius: 999px; background: rgba(255,255,255,.08);
  font-size: 14px; font-weight: 600;
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature-card .icon { margin-bottom: 12px; }
.feature-card .icon img { width: 32px; height: 32px; }
.feature-card h3 { font-size: 17px; color: var(--brown); }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Screenshots */
.screens { background: var(--cyan-light); }
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screens-grid figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.screens-grid img { width: 100%; }
.screens-grid figcaption { padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--brown); }

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.advantage { text-align: center; }
.advantage .icon { margin-bottom: 10px; }
.advantage .icon img { width: 36px; height: 36px; margin: 0 auto; }
.advantage h3 { font-size: 16px; color: var(--brown); }
.advantage p { font-size: 14px; color: var(--text-muted); }

/* Pricing */
.pricing { background: var(--brown); color: #fff; }
.pricing .section-title p { color: #d9c9c1; }
.trial-badge {
  display: block; text-align: center; margin: 0 auto 40px; max-width: 320px;
  background: var(--cyan); color: #fff; font-weight: 700; padding: 10px 20px;
  border-radius: 999px; font-size: 14px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 40px; }
.price-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 32px 26px; text-align: center; }
.price-card h3 { font-size: 18px; color: var(--brown); }
.price-card .price { font-size: 34px; font-weight: 700; color: var(--cyan); margin: 12px 0; }
.price-card .price span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.price-card .price-note { font-size: 12px; color: var(--text-muted); }
.pricing-features { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 26px; }
.pricing-features h3 { font-size: 16px; margin-bottom: 16px; }
.pricing-features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 10px; }
.pricing-features li { font-size: 14px; padding-left: 22px; position: relative; }
.pricing-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.pricing-cta { text-align: center; margin-top: 36px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--brown); list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--cyan); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-muted); font-size: 14px; margin: 12px 0 0; }

/* Footer */
.site-footer { background: var(--brown-soft); color: #fff; padding: 48px 0 24px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; opacity: .85; }
.footer-nav a:hover { opacity: 1; }
.footer-contacts { font-size: 14px; opacity: .85; display: flex; flex-direction: column; gap: 6px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 18px; }
.footer-legal a { font-size: 13px; opacity: .7; }
.footer-legal a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; opacity: .6; text-align: center; }

@media (max-width: 860px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  h2 { font-size: 26px; }
  .screens-grid { grid-template-columns: 1fr; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 14px;
  }

  .mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .mobile-extra .btn { text-align: center; }
}
