/**
 * shared.css — Vastu View International Properties
 * All global styles: tokens, reset, header, footer, buttons,
 * utility classes, animations, and responsive rules.
 * Each page imports this then adds page-specific styles.
 */

/* ══ TOKENS ══ */
:root {
  --black:   #07080a;
  --char:    #111215;
  --char2:   #1a1c20;
  --gold:    #c9a84c;
  --gold-lt: #e8cc80;
  --gold-dp: #9a7628;
  --gold-glow: rgba(201,168,76,.18);
  --white:   #ffffff;
  --paper:   #f8f6f2;
  --paper2:  #f0ede7;
  --ink:     #16181e;
  --muted:   #6a6a72;
  --muted-d: #b2b2bc;
  --line:    #e2dfd8;
  --line-d:  rgba(255,255,255,.10);
  --shadow:  0 30px 80px -20px rgba(0,0,0,.35);
  --display: 'Cormorant Garamond','Didot',Georgia,serif;
  --body:    'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --r: 3px;
}

/* ══ RESET ══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.ph { background: linear-gradient(135deg,#1e2030,#090a0e); }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 32px; border-radius: var(--r);
  font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer;
  transition: all .28s cubic-bezier(.2,.7,.2,1);
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 8px 24px -6px rgba(201,168,76,.45); }
.btn-gold:hover { background: var(--gold-lt); box-shadow: 0 12px 32px -8px rgba(201,168,76,.6); }
.btn-out { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-out:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--char2); }
.btn-wa { background: #25d366; color: #04230f; font-weight: 600; }
.btn-wa:hover { background: #3ee07d; box-shadow: 0 8px 24px -6px rgba(37,211,102,.5); }
.btn-outline-gold { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }

/* ══ TOPBAR ══ */
.topbar { background: var(--black); color: var(--muted-d); font-size: .82rem; border-bottom: 1px solid var(--line-d); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; align-items: center; }
.topbar .g { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }
.topbar .social { display: flex; gap: 14px; }
.topbar .social a { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-d); border-radius: 50%; transition: .2s; }
.topbar .social a:hover { border-color: var(--gold); color: var(--gold); }

/* ══ COMPONENT CONTAINERS ══ */
#site-header, #site-footer {
  display: contents;
}

/* ══ HEADER ══ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,8,10,.93);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-d); color: #fff;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; box-shadow: 0 0 14px rgba(201,168,76,.3); transition: transform .28s ease, box-shadow .28s ease; }
.brand-mark::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid rgba(201,168,76,.4); pointer-events: none; }
.brand:hover .brand-mark { transform: scale(1.05); box-shadow: 0 0 20px rgba(201,168,76,.55); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.brand-mark svg { width: 27px; height: 27px; }
.brand-text { line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 600; font-size: 1.42rem; letter-spacing: .05em; display: block; color: #fff; }
.brand-text span { font-size: .7rem; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; display: block; }
nav.main ul { display: flex; gap: 32px; list-style: none; }
nav.main a { font-size: .92rem; font-weight: 400; color: #d4d4da; padding: 6px 0; position: relative; transition: color .2s; }
nav.main a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width .3s; }
nav.main a:hover,
nav.main a[aria-current="page"] { color: var(--gold); }
nav.main a:hover::after,
nav.main a[aria-current="page"]::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 6px auto; transition: .28s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ══ SECTION BASICS ══ */
section { padding: 110px 0; }
.head { max-width: 60ch; margin-bottom: 58px; }
.head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem,3.8vw,3.4rem); line-height: 1.08; letter-spacing: -.01em; }
.head p { margin-top: 16px; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.dark { background: var(--black); color: #fff; }
.dark .head p { color: var(--muted-d); }
.paper { background: var(--paper); }
.paper2 { background: var(--paper2); }
.gold-rule { width: 66px; height: 2px; background: linear-gradient(90deg,var(--gold),transparent); margin-bottom: 22px; }

/* ══ FOOTER ══ */
footer { background: #050607; color: var(--muted-d); padding: 72px 0 30px; font-size: .93rem; }
.fg { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--line-d); }
footer h4 { font-family: var(--display); font-weight: 600; color: #fff; font-size: 1.12rem; margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 11px; }
footer a:hover { color: var(--gold); }
footer .brand { color: #fff; }
.fabout { margin-top: 20px; max-width: 34ch; line-height: 1.68; }
.fsocial { display: flex; gap: 12px; margin-top: 22px; }
.fsocial a { width: 36px; height: 36px; border: 1px solid var(--line-d); display: grid; place-items: center; border-radius: 50%; transition: .2s; }
.fsocial a:hover { border-color: var(--gold); color: var(--gold); }
.legal { padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; }
.legal p { max-width: 74ch; }

/* ══ FLOATING BTNS ══ */
.float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.float a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.6); transition: transform .22s; }
.float a:hover { transform: scale(1.1); }
.float .wa { background: #25d366; }
.float .tel { background: var(--char); border: 1px solid var(--gold); }

/* ══ STATS ══ */
.stats { background: var(--gold); color: var(--black); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 32px 24px; border-right: 1px solid rgba(0,0,0,.15); text-align: center; }
.stat-item:last-child { border-right: 0; }
.stat-num { font-family: var(--display); font-size: clamp(2.2rem,3.6vw,3.2rem); font-weight: 700; line-height: 1; display: block; }
.stat-label { font-size: .85rem; font-weight: 600; letter-spacing: .08em; margin-top: 6px; opacity: .75; text-transform: uppercase; }

/* ══ TRUST STRIP ══ */
.trust { background: var(--char); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.trust .wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 28px 22px; border-right: 1px solid var(--line-d); display: flex; gap: 16px; align-items: flex-start; color: #fff; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: none; margin-top: 3px; }
.trust-item h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.trust-item p { font-size: .86rem; color: var(--muted-d); margin-top: 3px; line-height: 1.55; }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-l { opacity: 0; transform: translateX(-32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-r { opacity: 0; transform: translateX(32px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ══ AWARDS ══ */
.awards-row { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.award-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 4px; text-align: center; min-width: 160px; transition: .25s; }
.award-item:hover { border-color: var(--gold); transform: translateY(-4px); }
.award-item svg { color: var(--gold); }
.award-item strong { font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.award-item span { font-size: .8rem; color: var(--muted); }

/* ══ PAGE HERO (inner pages) ══ */
.page-hero { position: relative; background: var(--black); color: #fff; padding: 110px 0 100px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg,rgba(7,8,10,.96) 0%,rgba(7,8,10,.7) 60%,rgba(7,8,10,.4) 100%); }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 130px; z-index: 1; background: linear-gradient(to top,var(--black),transparent); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .label { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.page-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.8rem,5.5vw,5rem); line-height: 1.04; letter-spacing: -.01em; }
.page-hero .lead { font-size: 1.15rem; font-weight: 300; color: #c8c8d2; max-width: 52ch; margin-top: 22px; line-height: 1.75; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 32px; font-size: .85rem; color: var(--muted-d); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ══ RESPONSIVE ══ */
@media (max-width:1060px) {
  .trust .wrap, .stats .wrap { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.15); }
  .fg { grid-template-columns: 1fr 1fr; }
}
@media (max-width:900px) {
  nav.main { position: absolute; top: 82px; left: 0; right: 0; background: rgba(7,8,10,.98); border-bottom: 1px solid var(--line-d); max-height: 0; overflow: hidden; transition: max-height .35s; }
  nav.main.open { max-height: 480px; }
  nav.main ul { flex-direction: column; gap: 0; padding: 6px 24px 24px; }
  nav.main a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
  nav.main a::after { display: none; }
  .menu-btn { display: block; }
  .hd-cta { display: none; }
  .topbar .g:last-child { display: none; }
  section { padding: 84px 0; }
}
@media (max-width:620px) {
  .wrap { width: min(1240px,100% - 32px); }
  .trust .wrap, .stats .wrap { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .trust-item:last-child { border-bottom: 0; }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .stat-item:last-child { border-bottom: 0; }
  .fg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; }
}
