/* Myhna Vistara | layout.css — Page structure, grid, responsive
   Do not edit selectors — only values */

  /* -------- NAVIGATION -------- */
  .nav{
    position: fixed; top:0; left:0; right:0;
    height: 68px;
    z-index: 100;
    display:flex; align-items:center;
    padding: 0 80px;
    background: transparent;
    transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled{
    background: rgba(12, 10, 8, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 163, 89, 0.2);
  }

  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    width:100%; gap: 32px;
  }

  .logo{
    display:flex; align-items:center; gap:12px;
  }
  .logo img{ height:56px; width:auto; display:block; }
  .logo-text{ display:flex; flex-direction:column; line-height:1; }
  .logo-text .top{
    font-family: var(--body);
    font-size: 9px;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.70);
    margin-bottom: 3px;
  }
  .logo-text .bottom{
    font-family: var(--display);
    font-size: 20px;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
  }
  .nav.is-light .logo-text .top{ color: rgba(255,255,255,0.70); }
  .nav.is-light .logo-text .bottom{ color: var(--white); }
  .nav.is-light.scrolled .logo-text .top{ color: rgba(255,255,255,0.70); }
  .nav.is-light.scrolled .logo-text .bottom{ color: var(--white); }

  .nav-links{
    display:flex; align-items:center; gap:40px;
    list-style:none; margin:0; padding:0;
  }
  .nav-links a{
    font-family: var(--body);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    font-weight: 600;
    transition: color .2s ease;
    position: relative;
    padding: 4px 0;
  }
  .nav.is-light .nav-links a{ color: rgba(255,255,255,0.75); }
  .nav.is-light.scrolled .nav-links a{ color: rgba(255,255,255,0.75); }
  .nav-links a:hover{ color: var(--gold); }
  .nav-links li{ display:flex; align-items:center; }
  .nav-links .dot{
    width: 3px; height: 3px;
    background: var(--gold);
    opacity: 0.6;
    margin-left: -22px; margin-right: 18px;
  }
  .nav-links li:first-child .dot{ display:none; }

  .nav-right{
    display:flex; align-items:center; gap:24px;
  }
  /* mobile-only nav controls (hidden on desktop) */
  .nav-burger,
  .nav-phone-mobile{ display: none; }
  .nav-burger{
    width: 40px; height: 40px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex: 0 0 40px;
  }
  .nav-burger span{
    position: absolute;
    left: 8px; right: 8px;
    height: 1.5px;
    background: var(--white);
    border-radius: 1px;
    transition: transform .3s ease, opacity .25s ease, top .3s ease;
  }
  .nav-burger span:nth-child(1){ top: 14px; }
  .nav-burger span:nth-child(2){ top: 20px; }
  .nav-burger span:nth-child(3){ top: 26px; }
  body.nav-open .nav-burger span:nth-child(1){ top: 20px; transform: rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2){ opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3){ top: 20px; transform: rotate(-45deg); }
  .nav-phone-mobile{
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(210, 171, 103, 0.5);
    color: var(--gold);
    display: flex;
    align-items: center; justify-content: center;
    text-decoration: none;
    background: rgba(210, 171, 103, 0.08);
  }
  .nav-phone-mobile svg{ width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

  /* slide-down full-screen mobile menu */
  .nav-menu{
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 31, 68, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 32px 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    display: flex; flex-direction: column;
  }
  body.nav-open .nav-menu{ opacity: 1; visibility: visible; }
  .nav-menu ul{
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 2px;
  }
  .nav-menu li a{
    display: block;
    padding: 18px 4px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    letter-spacing: -0.005em;
  }
  .nav-menu li a:hover{ color: var(--gold); }
  .nav-menu-foot{
    margin-top: auto;
    padding-top: 28px;
    display: flex; flex-direction: column;
    gap: 12px;
  }
  .nav-menu-foot .nav-menu-call{
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px;
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--btn-radius);
  }
  .nav-menu-foot .nav-menu-call svg{ width: 14px; height: 14px; }
  .nav-menu-foot .nav-menu-cta{
    height: 52px;
    background: var(--gold);
    color: var(--charcoal);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 0;
    border-radius: var(--btn-radius);
    cursor: pointer;
  }
  body.nav-open{ overflow: hidden; }

  .nav-phone{
    font-family: var(--body);
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    font-weight: 400;
    display:flex; align-items:center; gap:8px;
  }
  .nav-phone svg{ width:13px; height:13px; opacity:.7; color: var(--gold); }
  .nav.is-light .nav-phone{ color: rgba(255,255,255,0.70); }
  .nav.is-light.scrolled .nav-phone{ color: rgba(255,255,255,0.70); }

  .cta-gold{
    background: transparent;
    color: var(--gold);
    border: var(--btn-border-width) solid var(--gold);
    font-family: var(--body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 0;
    transition: background-color .2s ease, color .2s ease;
    cursor: pointer;
  }
  .cta-gold:hover{ background: var(--gold); color: var(--charcoal); }

  /* -------- SHARED SECTION ELEMENTS -------- */
  .section-eyebrow{
    font-family: var(--body);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    display:flex; align-items:center; gap:16px;
    margin-bottom: 28px;
  }
  .section-eyebrow .rule{
    width: 36px; height: 1px;
    background: var(--gold);
    display: inline-block;
  }
  .section-eyebrow .navy{ color: var(--navy); }
  .section-eyebrow .gold{ color: var(--gold); }

  .section-h{
    font-family: var(--display);
    font-size: 64px;
    line-height: 1.05;
    font-weight: 300;
    color: var(--charcoal);
    margin: 0;
    letter-spacing: -0.01em;
  }
  .section-h .italic{ font-style: italic; color: var(--gold); font-weight: 300; }

  /* -------- FOOTER -------- */
  .footer{
    background: var(--navy-deep);
    color: rgba(255,255,255,0.7);
    padding: 90px 80px 30px;
  }
  .footer-top{
    display:grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .footer .logo .logo-text .top{ color: var(--white); }
  .footer .logo .logo-text .bottom{ color: var(--white); }
  .footer-tagline{
    font-family: var(--display);
    font-style: italic;
    font-size: 19px;
    color: rgba(255,255,255,0.65);
    margin: 24px 0 0;
    line-height: 1.55;
    max-width: 360px;
    font-weight: 400;
  }
  .footer-rera{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(210,171,103,0.20);
    padding: 16px 20px;
    margin-top: 28px;
    display:flex; gap: 16px; align-items:center;
    flex-wrap: wrap;
  }
  .footer-rera .label{
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
  }
  .footer-rera .val{
    font-family: var(--body);
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
    font-weight: 400;
  }
  .footer-col h4{
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 24px;
  }
  .footer-col ul{
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 14px;
  }
  .footer-col a, .footer-col p{
    font-family: var(--body);
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    font-weight: 300;
    line-height: 1.55;
    margin: 0;
    transition: color .2s ease;
  }
  .footer-col a:hover{ color: var(--gold); }
  .footer-col .small{
    font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold); font-weight: 700;
    margin-bottom: 6px; display:block;
  }
  .footer-bottom{
    display:flex; justify-content: space-between; gap: 30px;
    padding-top: 28px;
    flex-wrap: wrap;
  }
  .footer-disclaim{
    font-family: var(--body);
    font-size: 13px;
    color: rgba(255,255,255,0.48);
    line-height: 1.75;
    max-width: 800px;
    font-weight: 300;
  }
  .footer-copy{
    font-family: var(--body);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    align-self: flex-end;
  }
  .footer-social{
    margin-top: 24px;
  }
  .footer-social .social-label{
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
  }
  .footer-social .social-icons{
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .footer-social .social-icons a{
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 200ms ease;
    text-decoration: none;
  }
  .footer-social .social-icons a:hover{ color: var(--gold-accent); }

  /* Hero form is removed by default — tweak re-enables it */
  .hero-form-card{ display: none; }
  body.show-hero-form .hero-form-card{ display: block; }
  /* Visually-hidden utility (for SEO h1 + a11y labels) */
  .visually-hidden{
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
  }
  /* Form field error message */
  .field-error{
    display: none;
    color: var(--color-error);
    font-family: var(--body);
    font-size: 12px;
    margin: 4px 2px 0;
    font-weight: 400;
  }
  .field-error.show{ display: block; }
  .field.has-error,
  .field-ic.has-error{ border-color: var(--color-error) !important; }
  /* When form is hidden, give the hero copy more room */
  body:not(.show-hero-form) .hero-left{
    width: 70%;
    max-width: 880px;
  }
  /* Hero overlay darkness — driven by --hero-overlay (0..1) */
  .hero{
    background-image:
      linear-gradient(
        to right,
        rgba(12, 10, 6, calc(var(--hero-overlay, 0.55) + 0.18)) 0%,
        rgba(12, 10, 6, calc(var(--hero-overlay, 0.55) - 0.10)) 42%,
        rgba(12, 10, 6, calc(var(--hero-overlay, 0.55) - 0.42)) 72%,
        rgba(12, 10, 6, calc(var(--hero-overlay, 0.55) - 0.48)) 100%),
      url('/vistara/assets/hero-bg.jpg');
  }
  /* Stats theme — cream variant */
  body.stats-cream .stats{ background: var(--cream-soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  body.stats-cream .stat-value{ color: var(--navy); }
  body.stats-cream .stat-value sup{ color: var(--gold); }
  body.stats-cream .stat-label{ color: rgba(45,46,45,0.55); }
  body.stats-cream .stat + .stat::before{ background: var(--rule); }

