/* ============================================================
   AWS INTERIOR — INTERIOR ARTISTRY
   Global Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  --alabaster:      #F8F5F0;
  --champagne:      #F5E6C8;
  --champagne-deep: #EDD49A;
  --gold:           #C9A84C;
  --gold-light:     #E8C97A;
  --gold-dark:      #9A7A2E;
  --violet:         #2D1B69;
  --violet-light:   #4A2FA0;
  --violet-pale:    #EEE9FA;
  --ink:            #1A1008;
  --ink-soft:       #4A3F33;
  --mist:           #E8E2D9;
  --mist-deep:      #D4CAB8;
  --white:          #FFFFFF;

  --font-serif:     'Cormorant Garamond', serif;
  --font-display:   'Cormorant Garamond', serif;
  --font-sans:      'Inter', system-ui, sans-serif;

  --easing:         cubic-bezier(0.23, 1, 0.32, 1);
  --easing-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:          100px;
  --max-w:          1600px;
  --section-pad:    clamp(100px, 12vw, 180px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* (Vault body lock removed) */

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: none;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── GRAIN CANVAS ───────────────────────────────────────── */
#grain-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  mix-blend-mode: multiply;
}

/* ── CUSTOM CURSOR ──────────────────────────────────────── */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--easing);
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
}

#cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  background: rgba(201, 168, 76, 0.06);
  backdrop-filter: blur(0px);
  transition: width 0.35s var(--easing-bounce),
              height 0.35s var(--easing-bounce),
              border-color 0.3s,
              background 0.3s;
}

#cursor-ring.hovered {
  width: 64px;
  height: 64px;
  border-color: var(--violet);
  background: rgba(45, 27, 105, 0.08);
}

#cursor-ring.hovered ~ #cursor-dot {
  opacity: 0;
}

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────── */
.serif        { font-family: var(--font-serif); }
.display-font { font-family: var(--font-display); }

.text-gold    { color: var(--gold); }
.text-violet  { color: var(--violet); }
.text-ink     { color: var(--ink); }

h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
}
p {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-soft);
  opacity: 0.9;
  font-size: 1rem;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section-pad);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 1.5rem;
}
.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-rule span {
  font-family: var(--font-display);
  color: var(--gold);
  font-style: italic;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ── SECTION LABELS ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--easing);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--easing);
}

.btn:hover::before  { transform: scaleX(1); }

.btn-gold {
  color: var(--violet);
  border: 1.5px solid var(--gold);
  background: transparent;
}
.btn-gold::before { background: var(--gold); }
.btn-gold:hover   { color: var(--white); }

.btn-violet {
  color: var(--white);
  background: var(--violet);
  border: 1.5px solid var(--violet);
}
.btn-violet::before { background: var(--violet-light); }
.btn-violet:hover   { color: var(--white); }

.btn-outline {
  color: var(--ink);
  border: 1px solid var(--mist-deep);
}
.btn-outline::before { background: var(--mist); }
.btn-outline:hover   { color: var(--ink); }

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn span { position: relative; z-index: 1; }

/* ── NAV ─────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}

#main-nav.scrolled {
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--mist);
}

.nav-inner {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-logo span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-left: 0.5rem;
  border-left: 1px solid var(--gold);
  padding-left: 0.5rem;
}

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

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--easing);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-vault-link {
  color: var(--violet) !important;
  font-weight: 600 !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: none;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: var(--violet);
  padding: 1rem 0;
}

.marquee-track {
  display: inline-flex;
  gap: 4rem;
  animation: marquee 28s linear infinite;
}

.marquee-track .item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--champagne);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.marquee-track .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── CARDS ───────────────────────────────────────────────── */
.project-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(26, 16, 8, 0.07);
  transition: box-shadow 0.4s var(--easing), transform 0.4s var(--easing);
}

.project-card:hover {
  box-shadow: 0 12px 48px rgba(26, 16, 8, 0.14);
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--easing);
}

.project-card:hover img {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 27, 105, 0.85) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s var(--easing), transform 0.4s var(--easing);
}

.project-card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.card-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.card-overlay p {
  color: var(--champagne);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Gold shimmer border on card hover */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
}
.project-card:hover::after {
  border-color: var(--gold);
}

/* ── STATS ───────────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.stat-item {
  text-align: center;
}
.stat-item .number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--violet);
  line-height: 1;
}
.stat-item .label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 16, 8, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  width: 90vw;
  max-width: 900px;
  background: var(--alabaster);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

#lightbox-canvas {
  width: 100%;
  aspect-ratio: 1;
  background: var(--champagne);
}

.lightbox-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lightbox-info h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.lightbox-info h4 { color: var(--gold); margin-bottom: 1.5rem; }
.lightbox-info p  { font-size: 0.9rem; line-height: 1.7; }

#lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--mist-deep);
  display: grid;
  place-items: center;
  cursor: none;
  transition: background 0.3s, border-color 0.3s;
  background: var(--white);
}
#lightbox-close:hover {
  background: var(--violet);
  border-color: var(--violet);
}
#lightbox-close svg { width: 16px; height: 16px; }
#lightbox-close:hover svg path { stroke: var(--white); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #121212;
  color: #f7f3ed;
  padding: 8rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo {
  color: var(--champagne);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand .nav-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(245, 230, 200, 0.7);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--champagne); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(245, 230, 200, 0.4);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--champagne);
  font-size: 0.75rem;
  transition: border-color 0.3s, background 0.3s;
}
.footer-socials a:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
}

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--mist);
  align-items: start;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--mist-deep);
  line-height: 1;
  text-align: center;
}
.process-step.active .step-number { color: var(--gold); }

.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { font-size: 0.9rem; }

/* ── MODERN RESIDENTIAL GALLERY ──────────────────────────── */

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--mist-deep);
  color: var(--ink-soft);
  background: transparent;
  cursor: none;
  transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--violet);
  color: var(--white);
  border-color: var(--violet);
}

/* ── MASONRY GRID ────────────────────────────────────────── */
.masonry-grid {
  columns: 4;
  column-gap: 1.25rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  opacity: 1;
  transition: opacity 0.4s, transform 0.4s;
}
.masonry-item.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  position: absolute;
}

.masonry-item img {
  width: 100%;
  display: block;
}

/* ── PROCESS 3D CANVAS ───────────────────────────────────── */
#process-canvas {
  width: 100%;
  height: 60vh;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  background: var(--champagne);
  border: 1px solid var(--mist-deep);
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── ABOUT SECTION ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}

/* ── SCROLL PROGRESS BAR ─────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--violet));
  z-index: 9000;
  width: 0%;
  transition: width 0.1s;
}

/* ── MOBILE TAB BAR ── */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: all 0.3s;
}

.tab-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.tab-item span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tab-item.active {
  color: var(--gold);
}

@media (max-width: 640px) {
  .mobile-tab-bar { display: flex; }
  #main-nav { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .nav-inner { height: 64px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-logo span { font-size: 0.7rem; border-left: 1.5px solid var(--gold); }
  .section-pad { padding-top: 5rem; padding-bottom: 5rem; }
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  
  /* Increased Font Sizes for Mobile */
  p, .hero-para, .about-text p { font-size: 1.05rem !important; line-height: 1.7; }
  .hero-eyebrow span { font-size: 0.9rem !important; font-weight: 700; letter-spacing: 0.15em; }
  .tab-item span { font-size: 0.75rem; font-weight: 600; }
  .footer-col ul li a { font-size: 1.05rem; }
  .badge { font-size: 0.85rem; padding: 0.75rem 1.25rem; }
  .signature { font-size: 1.8rem; }

  /* App-feel card styling on mobile */
  #stats, #featured, #about, #process-teaser {
    border-radius: 32px 32px 0 0;
    margin-top: -32px;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
    z-index: 5;
  }

  /* Prevent Overlapping */
  #hero { min-height: 110vh; padding-bottom: 80px; }
  .hero-text-box { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-h1 { margin-bottom: 1.5rem; line-height: 1.1; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 1rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .featured-grid { gap: 3rem; }
  .stats-row { gap: 3.5rem; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .masonry-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 2rem; }
  .nav-links { display: none; flex-direction: column; gap: 2rem; position: fixed; inset: 0; top: var(--nav-h); background: var(--alabaster); align-items: center; justify-content: center; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
}

/* ── CONSULTATION FORM ── */
.consult-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.consult-form-wrap {
  background: var(--alabaster);
  padding: 3rem;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 0.5rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.2);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--gold);
}

.ci-item {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 27, 105, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--easing);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--alabaster);
  width: 90%;
  max-width: 500px;
  padding: 3rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s var(--easing);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--violet);
  cursor: pointer;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h3 {
  font-size: 2rem;
  color: var(--violet);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 85px; /* Above tab bar on mobile */
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 9998;
  transition: transform 0.3s var(--easing);
  animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg { width: 30px; height: 30px; }

.wa-tooltip {
  position: absolute;
  right: 75px;
  background: var(--violet);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@media (min-width: 641px) {
  .whatsapp-float { bottom: 30px; }
}

@media (max-width: 900px) {
  .consult-form-grid { grid-template-columns: 1fr; gap: 3rem; }
  .consult-form-wrap { padding: 2rem; }
}

.btn-violet.success {
  background: var(--gold);
  border-color: var(--gold);
}
