/*
Theme Name: Vala Institute
Theme URI: https://vascular.cat
Author: Vala Institute
Description: Custom theme reproducing the design of the Clínica del Dolor Vala one-page site (dark navy / gold / cream palette, Playfair Display + Inter typefaces, ES/CA/EN language toggle). Ported from the Kerbi static prototype.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vala-institute
*/

    /* =====================================================
       RESET & BASE
    ===================================================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --dark:        #1C2B3A;
      --primary:     #3E4A57;
      --gold:        #B8965A;
      --gold-light:  #D4AF7A;
      --cream:       #F5F2ED;
      --cream-dark:  #EDE9E2;
      --white:       #FFFFFF;
      --text:        #1A1A1A;
      --muted:       #5E6E82;
      --border:      #D9D3C8;
      --ease:        cubic-bezier(0.4, 0, 0.2, 1);
      --tr:          0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: var(--white);
      line-height: 1.7;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 {
      font-family: 'Playfair Display', serif;
      line-height: 1.15;
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; height: auto; display: block; }

    /* =====================================================
       LANGUAGE TOGGLE
    ===================================================== */
    [data-lang="es"] .en, [data-lang="es"] .ca { display: none !important; }
    [data-lang="en"] .es, [data-lang="en"] .ca { display: none !important; }
    [data-lang="ca"] .en { display: none !important; }
    .ca { display: none; }
    [data-lang="ca"] .ca { display: inline; }
    [data-lang="ca"] p.ca, [data-lang="ca"] div.ca, [data-lang="ca"] h1.ca, [data-lang="ca"] h2.ca, [data-lang="ca"] h4.ca { display: block; }
    [data-lang="ca"] .es:has(~ .ca) { display: none !important; }
    [data-lang="ca"] li:has(.ca) .es { display: none !important; }

    /* =====================================================
       NAVIGATION
    ===================================================== */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 52px;
      transition: var(--tr);
    }

    .nav.scrolled {
      background: rgba(28, 43, 58, 0.97);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      padding: 14px 52px;
      box-shadow: 0 2px 48px rgba(0,0,0,0.35);
    }

    .nav-logo img { height: 38px; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.8);
      transition: var(--tr);
    }

    .nav-links a:hover { color: var(--gold); }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .lang-toggle {
      display: flex;
      align-items: center;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 3px;
      overflow: hidden;
    }

    .lang-btn {
      padding: 6px 13px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.45);
      background: transparent;
      border: none;
      cursor: pointer;
      transition: var(--tr);
      font-family: 'Inter', sans-serif;
    }

    .lang-btn.active {
      background: var(--gold);
      color: var(--white);
    }

    .btn-nav {
      padding: 11px 26px;
      background: var(--gold);
      color: var(--white);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: var(--tr);
      display: inline-block;
    }

    .btn-nav:hover {
      background: var(--gold-light);
    }

    /* =====================================================
       BUTTONS
    ===================================================== */
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 18px 38px;
      background: var(--gold);
      color: var(--white);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      transition: var(--tr);
    }

    .btn-primary:hover {
      background: var(--gold-light);
      transform: translateY(-2px);
      box-shadow: 0 10px 36px rgba(184,150,90,0.38);
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 17px 38px;
      background: transparent;
      color: var(--white);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      border: 1px solid rgba(255,255,255,0.32);
      cursor: pointer;
      transition: var(--tr);
    }

    .btn-outline:hover {
      border-color: var(--gold);
      color: var(--gold);
    }

    /* =====================================================
       LABELS & TITLES
    ===================================================== */
    .label {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--gold);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }

    .label::before {
      content: '';
      display: block;
      width: 32px;
      height: 1px;
      background: var(--gold);
      flex-shrink: 0;
    }

    .label.center { justify-content: center; }
    .label.center::before { display: none; }

    .title {
      font-size: clamp(30px, 4vw, 50px);
      font-weight: 600;
      color: var(--dark);
      line-height: 1.12;
    }

    .title em { font-style: italic; color: var(--gold); }
    .title.white { color: var(--white); }

    /* =====================================================
       HERO
    ===================================================== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--dark);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(135deg, rgba(28,43,58,0.96) 0%, rgba(28,43,58,0.72) 55%, rgba(62,74,87,0.88) 100%),
        url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1800&q=80') center / cover no-repeat;
    }

    .hero-decor {
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 42%;
      pointer-events: none;
    }

    .hero-decor::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, transparent 30%, rgba(184,150,90,0.06) 100%);
      border-left: 1px solid rgba(184,150,90,0.18);
    }

    .hero-decor::after {
      content: '';
      position: absolute;
      top: 15%; bottom: 15%; left: 0;
      width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(184,150,90,0.25) 50%, transparent);
    }

    .hero-content {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
      padding: 148px 52px 100px;
      width: 100%;
    }

    .hero h1 {
      font-size: clamp(44px, 6.5vw, 84px);
      font-weight: 600;
      color: var(--white);
      max-width: 720px;
      line-height: 1.08;
      margin-bottom: 26px;
    }

    .hero h1 em { font-style: italic; color: var(--gold); }

    /* Catalan copy is slightly longer; give it a little more breathing room. */
    .hero h1.ca { font-size: clamp(40px, 6vw, 78px); }

    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.65);
      max-width: 540px;
      line-height: 1.75;
      margin-bottom: 48px;
      font-weight: 300;
    }

    .hero-sub.ca { max-width: 600px; font-size: 17px; line-height: 1.7; }

    .hero-btns {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 72px;
    }

    .hero-trust {
      display: flex;
      gap: 36px;
      flex-wrap: wrap;
    }

    .trust-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      color: rgba(255,255,255,0.55);
      font-size: 13px;
    }

    .trust-pill span:first-child {
      width: 22px;
      height: 22px;
      border: 1px solid rgba(184,150,90,0.5);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-size: 10px;
      font-weight: 700;
      flex-shrink: 0;
    }

    /* =====================================================
       STATS BAR
    ===================================================== */
    .stats {
      background: var(--dark);
      border-top: 1px solid rgba(184,150,90,0.12);
      padding: 52px;
    }

    .stats-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
    }

    .stat {
      text-align: center;
      padding: 0 32px;
      border-right: 1px solid rgba(255,255,255,0.07);
    }

    .stat:last-child { border-right: none; }

    .stat-n {
      font-family: 'Playfair Display', serif;
      font-size: 54px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 10px;
    }

    .stat-n sup {
      font-size: 24px;
      vertical-align: top;
      margin-top: 8px;
      display: inline-block;
    }

    .stat-l {
      font-size: 11px;
      color: rgba(255,255,255,0.4);
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    /* =====================================================
       EMPATHY
    ===================================================== */
    .empathy {
      background: var(--cream);
      padding: 108px 52px;
    }

    .empathy-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 88px;
      align-items: center;
    }

    .empathy-body p {
      color: var(--muted);
      font-size: 17px;
      line-height: 1.82;
      margin-bottom: 18px;
    }

    .empathy-body p strong { color: var(--dark); font-weight: 600; }

    .check-list {
      list-style: none;
      margin-top: 32px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .check-list li {
      display: flex;
      align-items: flex-start;
      gap: 13px;
      font-size: 15px;
      color: var(--muted);
      line-height: 1.6;
    }

    .chk {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--gold);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .empathy-visual { position: relative; }

    .emp-img {
      width: 100%;
      height: 540px;
      object-fit: cover;
      object-position: center top;
    }

    .emp-badge {
      position: absolute;
      bottom: -28px;
      left: -28px;
      background: var(--dark);
      color: var(--white);
      padding: 30px 34px;
      min-width: 200px;
    }

    .emp-badge-n {
      font-family: 'Playfair Display', serif;
      font-size: 46px;
      font-weight: 700;
      color: var(--gold);
      line-height: 1;
    }

    .emp-badge-t {
      font-size: 12px;
      color: rgba(255,255,255,0.5);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-top: 8px;
      line-height: 1.5;
    }

    /* =====================================================
       CONDITIONS
    ===================================================== */
    .conditions { padding: 108px 52px; background: var(--white); }

    .cond-header {
      max-width: 1200px;
      margin: 0 auto 64px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: end;
    }

    .cond-header p { color: var(--muted); font-size: 16px; line-height: 1.8; }

    .cond-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }

    .cond-card {
      background: var(--cream);
      padding: 42px 38px;
      border-bottom: 3px solid transparent;
      transition: var(--tr);
      cursor: default;
    }

    .cond-card:hover {
      background: var(--dark);
      border-bottom-color: var(--gold);
    }

    .cond-card:hover .cond-title,
    .cond-card:hover .cond-desc { color: rgba(255,255,255,0.85); }

    .cond-icon {
      font-size: 26px;
      color: var(--gold);
      margin-bottom: 22px;
    }

    .cond-title {
      font-family: 'Playfair Display', serif;
      font-size: 19px;
      font-weight: 600;
      color: var(--dark);
      margin-bottom: 12px;
      transition: var(--tr);
    }

    .cond-desc {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.72;
      transition: var(--tr);
    }

    /* =====================================================
       PROCESS
    ===================================================== */
    .process { background: var(--dark); padding: 108px 52px; }

    .process-hd {
      max-width: 1200px;
      margin: 0 auto 72px;
      text-align: center;
      max-width: 620px;
      margin-left: auto;
      margin-right: auto;
    }

    .process-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      position: relative;
    }

    .process-grid::before {
      content: '';
      position: absolute;
      top: 35px;
      left: 12.5%;
      right: 12.5%;
      height: 1px;
      background: linear-gradient(90deg, var(--gold), rgba(184,150,90,0.15));
    }

    .p-step { text-align: center; padding: 0 28px; }

    .p-num {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      border: 1px solid rgba(184,150,90,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 28px;
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 600;
      color: var(--gold);
      background: var(--dark);
      position: relative;
      z-index: 1;
    }

    .p-title {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--white);
      margin-bottom: 14px;
    }

    .p-desc {
      font-size: 14px;
      color: rgba(255,255,255,0.4);
      line-height: 1.72;
    }

    /* =====================================================
       TREATMENTS
    ===================================================== */
    .treatments { background: var(--cream); padding: 108px 52px; }

    .treat-layout {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 80px;
      align-items: start;
    }

    .treat-text p { color: var(--muted); font-size: 16px; line-height: 1.82; margin-top: 22px; }

    .treat-list { display: flex; flex-direction: column; gap: 2px; }

    .treat-item {
      background: var(--white);
      padding: 22px 28px;
      display: flex;
      align-items: center;
      gap: 16px;
      cursor: pointer;
      transition: var(--tr);
    }

    .treat-item:hover { background: var(--dark); padding-left: 36px; }
    .treat-item:hover .t-name { color: var(--white); }
    .treat-item:hover .t-arrow { color: var(--gold); }

    .t-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

    .t-name {
      flex: 1;
      font-size: 15px;
      font-weight: 500;
      color: var(--dark);
      transition: var(--tr);
    }

    .t-arrow { color: var(--muted); font-size: 20px; transition: var(--tr); }

    /* =====================================================
       TEAM
    ===================================================== */
    .team { background: var(--white); padding: 108px 52px; }

    .team-hd {
      max-width: 1200px;
      margin: 0 auto 68px;
      text-align: center;
    }

    .team-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr;
      gap: 32px;
    }

    .team-card { overflow: hidden; }

    .team-img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      object-position: center top;
      transition: transform 0.6s var(--ease);
    }

    .team-card:hover .team-img { transform: scale(1.04); }

    .team-info { padding: 26px 0 0; }

    .team-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 8px;
    }

    .team-name {
      font-family: 'Playfair Display', serif;
      font-size: 21px;
      font-weight: 600;
      color: var(--dark);
      margin-bottom: 6px;
    }

    .team-role { font-size: 14px; color: var(--muted); line-height: 1.5; }

    .team-col { font-size: 12px; color: var(--border); margin-top: 6px; }

    /* Featured card */
    .team-card-feat .team-img { height: 510px; }

    .team-card-feat .team-info {
      background: var(--dark);
      padding: 30px 32px;
    }

    .team-card-feat .team-name { color: var(--white); }
    .team-card-feat .team-role { color: rgba(255,255,255,0.6); }
    .team-card-feat .team-col { color: rgba(255,255,255,0.22); }

    /* =====================================================
       TESTIMONIALS
    ===================================================== */
    .testimonials { background: var(--cream); padding: 108px 52px; }

    .test-hd {
      max-width: 1200px;
      margin: 0 auto 64px;
      text-align: center;
    }

    .test-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .test-card {
      background: var(--white);
      padding: 42px 36px;
      border-bottom: 3px solid transparent;
      transition: var(--tr);
    }

    .test-card:hover {
      border-bottom-color: var(--gold);
      transform: translateY(-5px);
      box-shadow: 0 22px 64px rgba(0,0,0,0.09);
    }

    .test-q {
      font-family: 'Playfair Display', serif;
      font-size: 72px;
      line-height: 0.6;
      color: var(--gold);
      opacity: 0.35;
      margin-bottom: 18px;
    }

    .test-text {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.82;
      font-style: italic;
      margin-bottom: 30px;
    }

    .test-author { display: flex; align-items: center; gap: 14px; }

    .test-av {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--cream-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--dark);
      flex-shrink: 0;
    }

    .test-nm { font-size: 14px; font-weight: 600; color: var(--dark); }

    .test-dt { font-size: 12px; color: var(--muted); margin-top: 2px; }

    .test-stars { color: var(--gold); font-size: 11px; letter-spacing: 2px; margin-top: 3px; }

    /* =====================================================
       FAQ
    ===================================================== */
    .faq { background: var(--white); padding: 108px 52px; }

    .faq-layout {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 80px;
      align-items: start;
    }

    .faq-side p { color: var(--muted); font-size: 16px; line-height: 1.82; margin-top: 22px; }

    .faq-list { display: flex; flex-direction: column; }

    .faq-item { border-bottom: 1px solid var(--border); }

    .faq-q {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 0;
      cursor: pointer;
      font-size: 16px;
      font-weight: 500;
      color: var(--dark);
      gap: 16px;
      transition: color var(--tr);
      user-select: none;
    }

    .faq-q:hover { color: var(--gold); }

    .faq-ico {
      width: 30px;
      height: 30px;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--gold);
      flex-shrink: 0;
      transition: transform var(--tr), border-color var(--tr);
    }

    .faq-item.open .faq-ico { transform: rotate(45deg); border-color: var(--gold); }

    .faq-a {
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s var(--ease), padding 0.3s;
      font-size: 15px;
      color: var(--muted);
      line-height: 1.82;
    }

    .faq-item.open .faq-a {
      max-height: 300px;
      padding-bottom: 24px;
    }

    /* =====================================================
       CTA FINAL
    ===================================================== */
    .cta-final {
      background:
        linear-gradient(135deg, rgba(28,43,58,0.97) 0%, rgba(62,74,87,0.98) 100%),
        url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=70') center / cover no-repeat;
      padding: 128px 52px;
      text-align: center;
    }

    .cta-inner { max-width: 720px; margin: 0 auto; }

    .cta-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(38px, 5.5vw, 64px);
      font-weight: 600;
      color: var(--white);
      line-height: 1.12;
      margin: 18px 0 20px;
    }

    .cta-title em { font-style: italic; color: var(--gold); }

    .cta-sub { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 52px; font-weight: 300; }

    .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

    .cta-contacts {
      display: flex;
      justify-content: center;
      gap: 52px;
      margin-top: 68px;
      flex-wrap: wrap;
    }

    .cc-item {
      display: flex;
      align-items: center;
      gap: 14px;
      color: rgba(255,255,255,0.45);
      font-size: 14px;
      text-align: left;
    }

    .cc-icon {
      width: 38px;
      height: 38px;
      border: 1px solid rgba(184,150,90,0.28);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-size: 15px;
      flex-shrink: 0;
    }

    .cc-lbl {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.3);
      margin-bottom: 4px;
    }

    .cc-val { color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 500; }
    .cc-val a { color: rgba(255,255,255,0.82); transition: color var(--tr); }
    .cc-val a:hover { color: var(--gold); }

    /* =====================================================
       FOOTER
    ===================================================== */
    .footer { background: #0E1B27; padding: 64px 52px 32px; }

    .footer-inner { max-width: 1200px; margin: 0 auto; }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 52px;
      padding-bottom: 52px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      margin-bottom: 32px;
    }

    .f-logo img { height: 34px; margin-bottom: 20px; }

    .f-tag { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.72; max-width: 280px; }

    .f-col h4 {
      font-family: 'Inter', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 18px;
    }

    .f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

    .f-col ul li a {
      font-size: 14px;
      color: rgba(255,255,255,0.38);
      transition: color var(--tr);
    }

    .f-col ul li a:hover { color: var(--gold); }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
    }

    .f-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

    .f-legal { display: flex; gap: 24px; }

    .f-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color var(--tr); }

    .f-legal a:hover { color: var(--gold); }

    /* =====================================================
       FLOATING CTA
    ===================================================== */
    .float-cta {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 999;
    }

    .float-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--gold);
      color: var(--white);
      padding: 14px 22px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      box-shadow: 0 8px 36px rgba(184,150,90,0.45);
      transition: var(--tr);
      cursor: pointer;
      border: none;
    }

    .float-btn:hover {
      background: var(--gold-light);
      transform: translateY(-2px);
      box-shadow: 0 14px 44px rgba(184,150,90,0.55);
    }

    /* =====================================================
       SCROLL REVEAL
    ===================================================== */
    .rev {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
    }

    .rev.on { opacity: 1; transform: translateY(0); }

    /* stagger children */
    .rev-stagger > * {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
    }

    .rev-stagger.on > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0s; }
    .rev-stagger.on > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.1s; }
    .rev-stagger.on > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.2s; }
    .rev-stagger.on > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.3s; }
    .rev-stagger.on > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }
    .rev-stagger.on > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.5s; }

    /* =====================================================
       HERO ANIMATION
    ===================================================== */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(30px); }
      to { opacity:1; transform:translateY(0); }
    }

    .hero .label  { animation: fadeUp 0.7s ease 0.1s both; }
    .hero h1      { animation: fadeUp 0.7s ease 0.25s both; }
    .hero-sub     { animation: fadeUp 0.7s ease 0.4s both; }
    .hero-btns    { animation: fadeUp 0.7s ease 0.55s both; }
    .hero-trust   { animation: fadeUp 0.7s ease 0.7s both; }

    /* =====================================================
       RESPONSIVE
    ===================================================== */
    @media (max-width: 1100px) {
      .nav, .nav.scrolled { padding-left: 28px; padding-right: 28px; }
      .hero-content { padding: 130px 28px 90px; }
      .stats { padding: 48px 28px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
      .stat { border-right: none; }
      .empathy { padding: 80px 28px; }
      .empathy-inner { grid-template-columns: 1fr; gap: 52px; }
      .empathy-visual { order: -1; }
      .emp-badge { display: none; }
      .emp-img { height: 400px; }
      .conditions { padding: 80px 28px; }
      .cond-header { grid-template-columns: 1fr; gap: 24px; }
      .cond-grid { grid-template-columns: repeat(2,1fr); }
      .process { padding: 80px 28px; }
      .process-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
      .process-grid::before { display: none; }
      .treatments { padding: 80px 28px; }
      .treat-layout { grid-template-columns: 1fr; gap: 52px; }
      .team { padding: 80px 28px; }
      .team-grid { grid-template-columns: 1fr 1fr; }
      .team-card-feat .team-img { height: 420px; }
      .testimonials { padding: 80px 28px; }
      .test-grid { grid-template-columns: 1fr 1fr; }
      .faq { padding: 80px 28px; }
      .faq-layout { grid-template-columns: 1fr; gap: 52px; }
      .cta-final { padding: 90px 28px; }
      .footer { padding: 52px 28px 28px; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 720px) {
      .nav-links { display: none; }
      .hero h1 { font-size: 40px; }
      .hero h1.ca { font-size: 36px; }
      .hero-sub { font-size: 16px; }
      .hero-sub.ca { font-size: 15px; }
      .cond-grid { grid-template-columns: 1fr; }
      .process-grid { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: 1fr; }
      .team-card-feat .team-img { height: 360px; }
      .test-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
      .cta-contacts { gap: 32px; }
      .hero-trust { flex-direction: column; gap: 14px; }
    }

/* =====================================================
   GENERIC PAGE / POST CONTENT
   (for pages outside the one-page front-page design,
   e.g. legal pages, blog index)
===================================================== */
.page-wrap {
  padding: 168px 52px 108px;
  background: var(--white);
}

.page-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-content {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.page-content p { margin-bottom: 18px; }

.page-content a { color: var(--gold); text-decoration: underline; }

.blog-item {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 720px) {
  .page-wrap { padding: 140px 24px 72px; }
}
