:root {
  --color-primary: #0a2540;
  --color-primary-strong: #081d31;
  --color-accent: #d4af37;
  --color-teal: #00b894;
  --color-bg: #f8f8f5;
  --color-surface: #ffffff;
  --color-text: #1a1f36;
  --color-muted: #697386;
  --color-border: #e8e1cf;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --shadow-sm: 0 8px 18px rgba(10, 37, 64, 0.1);
  --shadow-md: 0 14px 30px rgba(10, 37, 64, 0.13);
  --shadow-lg: 0 24px 52px rgba(10, 37, 64, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.1), transparent 26%),
    var(--color-bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
.container { width: min(1160px, 92%); margin: 0 auto; }
img { max-width: 100%; display: block; }

.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.38);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 88px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.08);
}
.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 2px;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  white-space: nowrap;
  letter-spacing: 0;
  color: var(--color-primary);
}
.brand-tagline { margin-top: 4px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 20px; color: var(--color-muted); font-weight: 600; font-size: 0.92rem; }
.main-nav a { position: relative; transition: color 0.2s ease; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--color-primary); }
.main-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-sm); width: 44px; height: 44px; padding: 10px 8px; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: var(--color-primary); border-radius: 999px; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(9, 16, 30, 0.45); z-index: 60; }
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 320px);
  height: 100vh;
  background: var(--color-surface);
  z-index: 70;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-sm); width: 40px; height: 40px; font-size: 1.4rem; line-height: 1; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a { padding: 12px 8px; border-radius: var(--radius-sm); font-weight: 600; color: var(--color-primary); }
.drawer-nav a:hover { background: #f3f7fb; }

.btn { border: 0; border-radius: var(--radius-sm); min-height: 44px; padding: 11px 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s ease; }
.btn-primary {
  color: #1d1604;
  background: linear-gradient(135deg, #f0d98a 0%, #d4af37 58%, #b88d1d 100%);
  box-shadow: 0 10px 22px rgba(177, 133, 28, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f6e3a6 0%, #dbb84d 58%, #bf9525 100%);
  transform: translateY(-1px);
}
.btn-ghost { background: #fff; border: 1px solid var(--color-border); color: var(--color-primary); }
.btn-whatsapp { margin-top: 10px; color: #fff; background: #25d366; }
.btn-whatsapp:hover { background: #1fb65a; }
.btn-block { width: 100%; }
.btn:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.3);
  outline-offset: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
  padding: 56px 0 44px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}
.hero::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: 5%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0));
}
.hero::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: 2%;
  background: radial-gradient(circle, rgba(10, 37, 64, 0.09), rgba(10, 37, 64, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-4); align-items: start; }
.hero-copy,
.quick-form-stack,
.quick-form { position: relative; z-index: 1; }
.eyebrow { color: #ad8420; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.11em; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.35rem); letter-spacing: -0.01em; }
.section h2 { max-width: 20ch; }
.hero-text { color: var(--color-muted); max-width: 62ch; font-size: 1.04rem; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; }
.hero-badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #7a611d;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 10px;
}
.stat-row { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-row div { background: #fff; border: 1px solid rgba(212, 175, 55, 0.35); border-radius: var(--radius-sm); padding: 14px; box-shadow: 0 6px 16px rgba(10, 37, 64, 0.05); }
.stat-row strong { display: block; font-size: 1.07rem; color: var(--color-primary); }
.stat-row span { color: var(--color-muted); font-size: 0.9rem; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quick-form-stack {
  width: min(100%, 380px);
  justify-self: end;
  margin-top: 30px;
}
.quick-form {
  border-top: 4px solid var(--color-accent);
  padding: 16px;
}
.quick-form h2 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}
.quick-form label {
  margin: 9px 0;
}
.quick-form input {
  padding: 10px 11px;
}
.promo-toast {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
  margin-bottom: 10px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  line-height: 1.25;
  color: #5c4612;
  background: linear-gradient(135deg, #fff9ea 0%, #fce7b2 58%, #f6da84 100%);
  border: 1px solid #e3c97f;
  box-shadow: 0 14px 26px rgba(169, 122, 24, 0.2);
  animation: promoIntro 600ms ease-out 1 both, promoPulse 3s ease-in-out 600ms infinite;
}
.promo-toast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: promoShine 3.8s ease-in-out 1.1s infinite;
  pointer-events: none;
}
.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a4616;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.45);
}
.promo-chip-icon {
  color: #b78c1f;
  font-size: 0.8rem;
  line-height: 1;
}
.promo-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.2;
  color: #3a2b06;
  text-align: center;
  width: 100%;
}
.promo-rate {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.95rem, 3.4vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #8a6510;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.promo-subtitle {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #5f4a14;
  text-align: center;
  width: 100%;
}
.promo-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #796126;
  text-align: center;
  width: 100%;
}
label { display: block; font-weight: 600; margin: 11px 0; font-size: 0.9rem; color: #334e68; }
input { width: 100%; margin-top: 7px; border: 1px solid #ddd3bc; border-radius: 10px; padding: 11px 12px; font: inherit; background: #fff; }
input:hover { border-color: #cbb27a; }
#form-message { display: block; margin-top: 10px; color: #087443; min-height: 20px; }

.section { padding: 68px 0; }
.photo-showcase { background: #f9f6ef; }
.photo-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.photo-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-content { padding: 16px; }
.photo-content h3 { margin-bottom: 6px; }
.photo-content p { margin: 0; color: var(--color-muted); }
.service-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.service-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.service-content { padding: 16px; min-height: 138px; }
.service-content h3 { margin-bottom: 8px; font-size: 1.04rem; }
.service-content p { margin: 0; color: var(--color-muted); }

.muted { background: #f8f5ef; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.emi-result { margin-bottom: 0; font-size: 1.05rem; }
.calc-feedback {
  margin-top: 14px;
  border-top: 1px dashed #d1deeb;
  padding-top: 12px;
}
.calc-feedback p { margin: 6px 0; color: var(--color-muted); font-size: 0.92rem; }
.steps { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step span { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #1d1604; background: var(--color-accent); font-weight: 700; margin-bottom: 10px; }
.step.card { border-top: 3px solid #d9c28a; }

.visual-banner {
  color: #fff;
  background:
    linear-gradient(rgba(10, 37, 64, 0.52), rgba(10, 37, 64, 0.52)),
    url("assets/real-home.jpg")
      center/cover no-repeat;
}
.visual-banner-content { max-width: 680px; }
.visual-banner .eyebrow { color: #d9ecff; }
.visual-banner p { color: #f1f7ff; }

.cta { background: linear-gradient(180deg, #fdfbf6 0%, #f6f0e2 100%); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; }
.contact-card p { color: var(--color-muted); }
.contact-card p + p { margin-top: 8px; }
.site-footer { border-top: 1px solid var(--color-border); background: #fff; }
.footer-row { padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; color: var(--color-muted); font-size: 0.93rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 6px; }

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  background: linear-gradient(135deg, #25d366 0%, #10b452 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(11, 42, 26, 0.4);
  border: 2px solid #fff;
  animation: whatsapp-pop 1.8s ease-in-out infinite;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.04);
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.45);
  pointer-events: none;
  animation: whatsapp-ring 1.8s ease-out infinite;
}

@keyframes promoPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(169, 122, 24, 0.18);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(169, 122, 24, 0.24);
  }
}
@keyframes promoIntro {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes promoShine {
  0%,
  60%,
  100% {
    transform: translateX(-120%);
  }
  30% {
    transform: translateX(120%);
  }
}

@keyframes whatsapp-pop {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 12px 28px rgba(11, 42, 26, 0.4);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 16px 36px rgba(16, 180, 82, 0.55);
  }
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .header-cta { display: none; }
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; }
  .hero { padding: 40px 0 28px; }
  .section { padding: 52px 0; }
  .hero-grid, .calc-grid, .cta-grid, .service-grid, .photo-grid { grid-template-columns: 1fr; }
  .quick-form-stack {
    width: min(100%, 430px);
    justify-self: stretch;
    margin-top: 18px;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr; }
  .service-card img { height: 200px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(1120px, 94%); }
  .nav-wrap { min-height: auto; padding: 12px 0; }
  .brand { padding: 6px 10px; }
  .brand-logo { width: 58px; height: 58px; }
  .brand-name { font-size: 1.22rem; }
  .brand-tagline { font-size: 0.64rem; }
  .card { padding: 16px; }
  .quick-form-stack {
    width: 100%;
    margin-top: 12px;
  }
  .promo-toast {
    width: 100%;
    text-align: left;
    font-size: 0.78rem;
    padding: 12px;
    margin-bottom: 8px;
    gap: 8px;
  }
  .promo-title {
    font-size: 1rem;
  }
  .promo-rate {
    font-size: 2rem;
  }
  .promo-subtitle {
    font-size: 0.86rem;
  }
  .promo-meta {
    font-size: 0.74rem;
  }
  .quick-form {
    padding: 14px;
  }
  .quick-form h2 {
    font-size: 1.2rem;
  }
  .steps, .service-grid, .photo-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; gap: 6px; }
  .floating-whatsapp { right: 12px; bottom: 12px; padding: 10px 13px; font-size: 0.88rem; }
  .section h2 { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
