/* ============================================================================
   RealtyReach.in — premium real-estate digital marketing agency
   Design language: modern glass + gradient on a clean white base, with a
   black + red brand palette (matching the admin panel). Red-accented ambient
   light and frosted-glass surfaces keep the premium feel while staying crisp.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  color-scheme: light;
  --ink:        #16161c;   /* near-black ink — headings / text */
  --ink-soft:   #44444e;
  --muted:      #6b6f76;
  --paper:      #ffffff;
  --paper-soft: #fbfbfc;   /* white / light grey surface */
  --paper-tint: #f3f3f5;
  --line:       #ececef;   /* cool hairline */
  --line-strong:#d9d9df;

  /* Brand: white background, black + red (matches admin panel) */
  --accent:        #e63946;  /* brand red */
  --accent-deep:   #c11f2c;
  --accent-2:      #b91c1c;  /* deep red for gradients */
  --accent-soft:   #fdecec;
  --accent-ink:    #b91c1c;
  --grad:          linear-gradient(135deg, #b91c1c 0%, #e63946 100%);
  --gold:          #e63946;  /* on-brand red marks / star rating */

  --wa-green: #25d366;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --container: 1200px;
  --container-narrow: 820px;
  --shadow-sm: 0 2px 10px rgba(22,22,28,.07);
  --shadow:    0 18px 50px rgba(22,22,28,.09);
  --shadow-lg: 0 34px 80px rgba(22,22,28,.16);
  --shadow-glow: 0 22px 60px rgba(230,57,70,.15), 0 6px 22px rgba(185,28,28,.12);

  /* frosted-glass surfaces (kept for the light-on-white glass effect) */
  --glass:        rgba(255,255,255,.72);
  --glass-strong: rgba(255,255,255,.9);
  --glass-line:   rgba(22,22,28,.09);
  --glass-line-2: rgba(22,22,28,.16);

  --nav-h: 80px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(230,57,70,.07), transparent 60%),
    radial-gradient(1000px 500px at 0% 20%, rgba(185,28,28,.05), transparent 55%),
    var(--paper);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Accessibility: skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---- Layout ------------------------------------------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, var(--container-narrow)); margin-inline: auto; }

.site-main { overflow: clip; }

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-dark {
  background:
    radial-gradient(900px 500px at 80% -20%, rgba(230,57,70,.20), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(185,28,28,.16), transparent 55%),
    linear-gradient(165deg, #191920 0%, #121217 55%, #0e0e12 100%);
  color: #fff;
}
.section-dark .eyebrow { color: var(--accent-2); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark .muted { color: #c9c9d1; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .02em; }

p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.section-dark .lede { color: #c9c9d1; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--accent);
  margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

.section-heading { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; }
.section-heading.narrow { max-width: 640px; }

/* ---- Buttons / links ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 26px rgba(230,57,70,.30);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: none;
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(230,57,70,.42); transform: translateY(-2px); }
.btn-primary:hover::after { animation: sweep 1s ease; }

.btn-secondary { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--line-strong); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-ink); background: rgba(255,255,255,.95); }
.section-dark .btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.section-dark .btn-secondary:hover { border-color: var(--accent-2); background: rgba(255,255,255,.12); }

.btn-whatsapp { background: var(--wa-green); color: #fff; }
.btn-whatsapp:hover { filter: brightness(.94); }

.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }

.text-link {
  font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .35rem;
  border-bottom: 1px solid transparent;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover { border-bottom-color: var(--accent); }
.text-link:hover::after { transform: translateX(4px); }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(22,22,28,.10);
  background: rgba(255,255,255,.9);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-img { width: 34px; height: 34px; object-fit: contain; }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  padding: .5rem .8rem; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--paper-tint); }
.nav-link.active { color: var(--accent-ink); background: var(--accent-soft); }
.nav-cta { margin-left: 6px; padding: .7rem 1.2rem; }

/* "Tools" dropdown (Free Leads + OBD/CRM/WhatsApp apps) */
.nav-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; font-family: inherit; }
.drop-toggle .caret { font-size: .7rem; transition: transform .2s ease; }
.nav-drop.open .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}
.nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a {
  display: block; padding: .6rem .85rem; border-radius: 10px;
  color: var(--ink-soft); font-weight: 500; font-size: .95rem;
  transition: color .15s ease, background .15s ease;
}
.drop-menu a:hover { color: var(--ink); background: var(--paper-tint); }

/* Featured "List Your Property" item + attention animation for all Tools items */
.drop-menu a.drop-cta {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent); font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  margin-bottom: 4px;
}
.drop-menu a.drop-cta:hover { background: var(--accent); color: #fff; }
.drop-badge {
  display: inline-block; margin-left: 6px; padding: 2px 7px;
  font-size: .6rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  border-radius: 999px; background: var(--accent); color: #fff;
}
.drop-menu a.drop-cta:hover .drop-badge { background: #fff; color: var(--accent); }

@keyframes dropItem {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.nav-drop.open .drop-menu a { animation: dropItem .3s var(--ease) both; }
.nav-drop.open .drop-menu a:nth-child(1) { animation-delay: .03s; }
.nav-drop.open .drop-menu a:nth-child(2) { animation-delay: .08s; }
.nav-drop.open .drop-menu a:nth-child(3) { animation-delay: .13s; }
.nav-drop.open .drop-menu a:nth-child(4) { animation-delay: .18s; }
.nav-drop.open .drop-menu a:nth-child(5) { animation-delay: .23s; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 110% -10%, rgba(230,57,70,.12), transparent 60%),
    radial-gradient(900px 520px at -10% 110%, rgba(185,28,28,.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
}
/* ambient gradient orbs — the "light" in glass + gradient */
.hero .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
  opacity: .5; will-change: transform;
}
.hero .orb-a { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(230,57,70,.30), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate; }
.hero .orb-b { width: 380px; height: 380px; bottom: -140px; left: -60px;
  background: radial-gradient(circle, rgba(185,28,28,.24), transparent 65%);
  animation: drift 24s ease-in-out infinite alternate-reverse; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: .5rem 0 1.4rem; }
.hero .hero-text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0; }

/* Entrance — orchestrated load sequence (reduced-motion handled globally) */
.hero-in > * { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.hero-in > *:nth-child(1) { animation-delay: .05s; }
.hero-in > *:nth-child(2) { animation-delay: .16s; }
.hero-in > *:nth-child(3) { animation-delay: .27s; }
.hero-in > *:nth-child(4) { animation-delay: .38s; }
.hero-in > *:nth-child(5) { animation-delay: .49s; }
.hero-visual-in { opacity: 0; animation: fadeUp 1s var(--ease) .25s forwards; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--glass-strong); color: var(--accent-ink);
  border: 1px solid var(--glass-line-2);
  box-shadow: 0 8px 24px rgba(22,22,28,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-weight: 600; font-size: .85rem; padding: .55rem 1.1rem; border-radius: 999px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(230,57,70,.16); }

/* Hero proof band — real, owner-verified facts only */
.proof-band { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 2rem; }
.proof-item .proof-num { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; }
.proof-item .proof-label { font-size: .85rem; color: var(--muted); margin-top: .3rem; }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--paper-tint);
  padding: 6px; /* glass frame padding */
  background: linear-gradient(var(--glass), var(--glass)) padding-box,
              linear-gradient(135deg, rgba(230,57,70,.38), rgba(185,28,28,.34), rgba(230,57,70,.22)) border-box;
  border: 1px solid transparent;
}
.hero-visual .frame > img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }
/* light sweep across the frame */
.hero-visual .frame::after {
  content: ""; position: absolute; inset: 6px; border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%);
  transform: translateX(-120%); pointer-events: none;
  animation: sweep 6s var(--ease) 1.4s infinite;
}
.hero-visual .stat-chip {
  position: absolute; left: -18px; bottom: 26px;
  background: rgba(22,22,28,.88); color: #fff; padding: 14px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); max-width: 240px; animation: float 6s ease-in-out infinite;
}
.hero-visual .stat-chip strong { font-family: var(--serif); font-size: 1.05rem; display: block; margin-bottom: .15rem; }
.hero-visual .stat-chip span { font-size: .82rem; color: #c9c9d1; }

/* ---- Keyframes (ambient + entrance) -------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-24px) scale(1.12); } }
@keyframes sweep { to { transform: translateX(120%); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- Generic section elements ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > .split-visual { order: 2; }
.split-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }

.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Cards ---------------------------------------------------------------- */
.feature-card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: .5rem;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(230,57,70,.30); }
.feature-card .card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem;
  box-shadow: 0 8px 18px rgba(230,57,70,.28);
}
.feature-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Numbered process */
.process-list { display: grid; gap: 0; counter-reset: step; }
.process-item { position: relative; padding: clamp(20px, 3vw, 30px) 0 clamp(20px, 3vw, 30px) clamp(56px, 6vw, 84px); border-top: 1px solid var(--line); }
.process-item::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: 26px; font-family: var(--serif); font-weight: 600;
  font-size: 1.7rem; color: var(--accent); line-height: 1;
}
.process-item h3 { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.process-item p { color: var(--muted); margin: 0; max-width: 60ch; }

/* ---- Services -------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: block; background: var(--glass);
  border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 28px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
  min-height: 220px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.35); }
.service-card .s-icon { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.service-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 1rem 0 .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .go {
  position: absolute; right: 22px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--glass-line-2); color: var(--ink);
  background: var(--glass-strong);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}
.service-card:hover .go { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-45deg) scale(1.05); }

/* Category sub-nav for services */
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.5rem; }
.service-nav .pill {
  font-size: .9rem; font-weight: 500; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .2s ease;
}
.service-nav .pill:hover { border-color: var(--ink); color: var(--ink); }
.service-nav .pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Industries ----------------------------------------------------------- */
.industry-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--glass-line); background: var(--glass); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset; transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.3); }
.industry-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-tint); }
.industry-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.industry-card:hover .thumb img { transform: scale(1.05); }
.industry-card .body { padding: 22px 24px 26px; }
.industry-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: .5rem; }
.industry-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }

/* ---- Portfolio ------------------------------------------------------------ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2.2rem; }
.filter-btn {
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.3); }
.work-card .cover { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-tint); }
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .cover img { transform: scale(1.05); }
.work-card .meta { padding: 20px 22px 24px; }
.work-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.work-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: .5rem 0 .35rem; }
.work-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Featured work (large editorial) */
.featured-work { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset; height: 100%; }
.featured-work .cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-work .content { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-work .content h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .6rem 0; }

/* ---- Case study ----------------------------------------------------------- */
.cs-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); }
.cs-meta { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.cs-meta dl { display: grid; gap: 1.2rem; }
.cs-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.cs-meta dd { font-weight: 500; }
.cs-block { margin-bottom: 2.5rem; }
.cs-block h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin-bottom: .8rem; }
.cs-block p { color: var(--ink-soft); }

/* ---- Blog ----------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-line); background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.3); }
.post-card .cover { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-tint); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .cover img { transform: scale(1.05); }
.post-card .body { padding: 20px 22px 24px; }
.post-card .cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin: .5rem 0 .4rem; }
.post-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.post-card .date { display: block; margin-top: .9rem; font-size: .8rem; color: var(--muted); }

/* Article prose */
.prose { max-width: 72ch; }
.prose h2 { margin: 2rem 0 1rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p { color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.2rem; color: var(--ink-soft); }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius); margin: 1.6rem 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.2rem; font-style: italic; color: var(--ink-soft); margin: 1.6rem 0; }

/* ---- Testimonials --------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 1.2rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.3); }
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 1.05rem; color: var(--ink); font-family: var(--serif); line-height: 1.5; flex: 1; }
.testimonial-card blockquote::before { content: "“"; color: var(--accent); font-family: var(--serif); font-size: 2.4rem; display: block; height: .6em; }
.testimonial-card footer { border-top: 1px solid var(--line); padding-top: 1rem; }
.testimonial-card .who { font-weight: 600; }
.testimonial-card .role { font-size: .85rem; color: var(--muted); }
.verified-badge { font-size: .72rem; font-weight: 700; color: var(--wa-green); text-transform: uppercase; letter-spacing: .06em; }

/* ---- Google reviews ------------------------------------------------------- */
.google-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-review-card {
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 22px 24px; display: flex; flex-direction: column; gap: .9rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.g-review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(230,57,70,.3); }
.g-head { display: flex; align-items: center; gap: 12px; }
.g-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none; position: relative; background: #eceff3; display: inline-flex; align-items: center; justify-content: center; }
.g-avatar-initial { font-weight: 700; color: var(--accent); }
.g-avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.g-who { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.g-name { font-weight: 600; }
.g-review-link { color: var(--accent); }
a.g-review-link:hover { text-decoration: underline; }
.g-src { font-size: .78rem; color: var(--muted); }
.g-stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.g-quote { font-size: .98rem; color: var(--ink); flex: 1; line-height: 1.5; }
.g-quote::before { content: "“"; color: var(--accent); font-family: var(--serif); font-size: 2rem; display: block; height: .55em; }
.g-foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: .8rem; }
.g-google-badge {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700;
}
.g-date { font-size: .8rem; color: var(--muted); }
.g-summary-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: .8rem;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; font-size: .9rem;
}
.g-summary-stars { color: var(--gold); letter-spacing: 2px; }
.g-summary-num { font-weight: 600; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.4rem 0; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.faq-question::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--accent); transition: transform .25s ease; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 0 1.4rem; color: var(--ink-soft); }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---- Forms ---------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: .85rem 1rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .error { color: var(--accent-deep); font-size: .82rem; min-height: 1em; }
.form-group input.invalid, .form-group textarea.invalid { border-color: var(--accent); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.form-success { color: #17703a; background: #e8f7ee; border: 1px solid #bfe6cd; padding: 1rem 1.2rem; border-radius: 10px; }
.form-error { color: var(--accent-deep); background: var(--accent-soft); border: 1px solid #f2c3c8; padding: 1rem 1.2rem; border-radius: 10px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-panel { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.contact-info-list { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.contact-info-list a { font-weight: 600; }
.contact-info-list .ci-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* WhatsApp channels: AI assistant (highlighted) + client/agent enquiries */
.wa-channels { display: grid; gap: 14px; margin-top: .4rem; }
.wa-channel { border-radius: var(--radius); padding: 18px 20px; }
.wa-channel .ci-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .35rem; }
.wa-channel h4 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 0 0 .35rem; }
.wa-channel .wa-num { font-weight: 600; }
.wa-channel p { font-size: .9rem; margin: .4rem 0 .8rem; }
.wa-channel.std { border: 1px solid var(--line-strong); background: var(--paper-soft); }
.wa-channel.ai {
  background:
    radial-gradient(640px 300px at 100% 0%, rgba(230,57,70,.22), transparent 60%),
    linear-gradient(160deg, #1a1a20 0%, #121217 100%);
  color: #fff; border: 1px solid transparent; box-shadow: var(--shadow-glow);
}
.wa-channel.ai .ci-label { color: var(--accent-2); }
.wa-channel.ai p { color: #c9c9d1; }
.wa-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(230,57,70,.5); border-radius: 999px; padding: .18rem .6rem; margin-bottom: .35rem; }

/* ---- CTA strip ------------------------------------------------------------ */
.cta-strip {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(230,57,70,.26), transparent 60%),
    radial-gradient(700px 320px at 85% 100%, rgba(185,28,28,.38), transparent 60%),
    linear-gradient(140deg, #16161c 0%, #1a1a22 55%, #14141a 100%);
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset;
}
.cta-strip h2 { color: #fff; margin-bottom: 1.4rem; }
.cta-strip .eyebrow { color: var(--accent-2); justify-content: center; }
.cta-strip .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--accent-2); }

/* ---- Page hero (inner pages) ---------------------------------------------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(100% 100% at 100% 0%, #fdecec 0%, #fff 60%); }
.page-hero h1 { max-width: 780px; }
.page-hero .lede { max-width: 620px; margin-top: 1.2rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-strong); }

/* ---- Alerts / flash -------------------------------------------------------- */
.flash-wrap { margin-top: 18px; }
.alert { padding: .9rem 1.2rem; border-radius: 10px; margin-bottom: .6rem; font-size: .92rem; }
.alert-success { color: #14532d; background: #dcfce7; border: 1px solid #bbf7d0; }
.alert-danger  { color: #991b1b; background: #fee2e2; border: 1px solid #fecaca; }
.alert-info    { color: #1e3a8a; background: #dbeafe; border: 1px solid #bfdbfe; }

/* ---- Footer ---------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(230,57,70,.26), transparent 60%),
    linear-gradient(160deg, #14141a 0%, #101015 60%, #0d0d11 100%);
  color: #c9c9d1; margin-top: clamp(48px, 6vw, 90px);
  box-shadow: 0 -1px 0 rgba(255,255,255,.04) inset;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); padding: clamp(48px, 6vw, 72px) 0 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-weight: 700; margin-bottom: 1rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin: 1rem 0; font-size: .92rem; max-width: 34ch; }
.footer-col ul { display: grid; gap: .6rem; font-size: .94rem; }
.footer-col ul a { color: #b9b9c2; }
.footer-col ul a:hover { color: #fff; }
.footer-contact p { font-size: .94rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.footer-social a { font-size: .82rem; border: 1px solid rgba(255,255,255,.25); padding: .4rem .8rem; border-radius: 999px; color: #d9d9de; }
.footer-social a:hover { border-color: #fff; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 1.4rem 0; font-size: .85rem; }
.footer-admin a { opacity: .6; }
.footer-admin a:hover { opacity: 1; }

/* ---- Floating elements ---------------------------------------------------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa-green); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Label next to the floating AI chat button */
.wa-float-tag {
  position: fixed; right: 88px; bottom: 34px; z-index: 800;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; padding: .3rem .65rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow);
  pointer-events: none; display: inline-flex; align-items: center; gap: 6px;
  animation: float 6s ease-in-out infinite;
}
.wa-float-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa-green); flex: none; }
@media (max-width: 480px) { .wa-float-tag { display: none; } }

/* Footer WhatsApp caption (client & agent enquiries) */
.wa-role { font-size: .82rem; color: var(--muted); }

/* ---- Reveal animation ------------------------------------------------------ */
.reveal-active .reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .7s ease, transform .8s var(--ease), filter .7s ease; }
.reveal-active .reveal.revealed { opacity: 1; transform: none; filter: blur(0); }

/* ---- Error page ------------------------------------------------------------- */
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.error-inner { max-width: 520px; }
.error-code { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 8vw, 5rem); color: var(--accent); line-height: 1; }
.error-page h1 { margin: 1rem 0; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }

/* ---- Free leads (operational tool) ----------------------------------------- */
.leads-card { max-width: 520px; margin-inline: auto; background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.leads-card .form-group { margin-bottom: 1rem; }

/* ---- Utility ---------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.gap-sm { gap: 14px; }
.inline-wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.divider { height: 1px; background: var(--line); margin: 2rem 0; }
.small { font-size: .85rem; color: var(--muted); }
.hidden { display: none !important; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cols-3, .cols-4, .services-grid, .portfolio-grid, .blog-grid, .testimonial-grid, .google-review-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.flip > .split-visual { order: 0; }
  .hero-visual .frame { max-width: 520px; }
  .cs-layout { grid-template-columns: 1fr; }
  .featured-work { grid-template-columns: 1fr; }
  .featured-work .cover { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px 24px 28px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: .9rem .6rem; border-radius: 10px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-drop { width: 100%; }
  .nav-drop .drop-toggle { width: 100%; justify-content: space-between; padding: .9rem .6rem; }
  .drop-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 4px .6rem; min-width: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .cols-2, .cols-3, .cols-4, .services-grid, .portfolio-grid, .blog-grid, .testimonial-grid, .google-review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-band { gap: 1.4rem; }
  .section { padding: 56px 0; }
}

/* ---- Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-active .reveal, .hero-in > *, .hero-visual-in { opacity: 1; transform: none; filter: none; }
  .hero .orb, .hero-visual .frame::after { display: none; }
  [data-parallax] { transform: none !important; }
}

/* ---- Properties (2026-08-09) --------------------------------------- */
.filter-clear { font-size: .8rem; color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.filter-clear:hover { text-decoration: underline; }
.spec-strip .ci-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.price { white-space: nowrap; }
.check-list { list-style: disc; padding-left: 1.1rem; color: var(--ink-soft); }
.check-list li { margin-bottom: .45rem; }
