/* ==========================================================================
   Happy Home Services — Srikakulam Branch
   Design tokens
   ========================================================================== */
:root {
  /* Brand colors (sampled from the official logo) */
  --brand-blue: #0517c9;
  --brand-blue-dark: #0a1073;
  --brand-blue-tint: #eef0fc;
  --brand-blue-tint-2: #dce1f7;

  /* Accent — reserved for highlights, badges, secondary emphasis */
  --amber: #d98c1f;
  --amber-dark: #b06f14;

  /* WhatsApp — reserved ONLY for WhatsApp actions (recognizable convention).
     Darkened from the standard #25D366 so white button text clears WCAG AA (4.5:1). */
  --whatsapp: #14893a;
  --whatsapp-dark: #0e6b2c;

  /* Neutrals */
  --ink: #12173a;
  --ink-soft: #4a5178;
  --paper: #f6f7fb;
  --paper-alt: #eef0fa;
  --line: #dfe3f2;
  --white: #ffffff;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(18, 23, 58, 0.04), 0 12px 32px -18px rgba(18, 23, 58, 0.28);
  --shadow-lift: 0 20px 44px -20px rgba(5, 23, 201, 0.35);

  --header-h: 76px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { color: var(--ink-soft); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--paper-alt); }
.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-call {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}
.btn-call:hover { background: var(--brand-blue-dark); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 20px 44px -20px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--brand-blue); background: var(--brand-blue-tint); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(18, 23, 58, 0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.2;
}
.brand-text span { display: block; font-weight: 500; font-size: 0.76rem; color: var(--ink-soft); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
}
.main-nav a:hover { color: var(--brand-blue); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-ctas { display: flex; align-items: center; gap: 8px; }
.header-ctas .btn { padding: 11px 18px; font-size: 0.92rem; }

/* Mobile menu toggle button (base styles must precede the responsive
   overrides below so the cascade hides it correctly at desktop widths) */
.menu-toggle {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle:hover { background: var(--paper-alt); }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
}
@media (max-width: 959px) {
  /* Icon-only Call and WhatsApp pills on mobile so both fit alongside
     the menu button without overflowing the viewport */
  .header-ctas .btn { padding: 11px 14px; }
  .header-ctas .label-call,
  .header-ctas .label-whatsapp { display: none; }
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px -18px rgba(18, 23, 58, 0.35);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav ul { padding: 10px 24px 20px; display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a { border-bottom: 0; }

@media (min-width: 960px) {
  .mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 110px);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.hero-copy .kicker { color: var(--brand-blue); }
.hero h1 { max-width: 15ch; }
.hero-sub {
  margin-top: 20px;
  font-size: 1.14rem;
  max-width: 46ch;
  color: var(--ink-soft);
}
.hero-ctas { margin-top: 30px; }
.hero-phone {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.hero-phone a { color: var(--brand-blue); }
.hero-phone svg { width: 20px; height: 20px; color: var(--brand-blue); flex-shrink: 0; }

.hero-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-note svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .panel-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-visual .panel-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

/* signature motion moment: single diagnostic sweep across the hero panel */
.hero-visual .panel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.16) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sweep 5s ease-in-out 1.2s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .panel-frame::after { animation: none; display: none; }
}
@keyframes sweep {
  0%, 30% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip { padding-block: 40px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(5, 1fr); } }

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.trust-item .icon-badge { background: var(--brand-blue-tint); color: var(--brand-blue); }
.trust-item h3 { font-size: 0.98rem; }
.trust-item p { font-size: 0.86rem; margin-top: 2px; }

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.85fr 1.15fr; } }

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.about-copy p + p { margin-top: 14px; }

.about-points { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 620px) { .about-points { grid-template-columns: repeat(2, 1fr); } }
.about-point {
  display: flex; gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.about-point .icon-badge { width: 38px; height: 38px; background: var(--paper-alt); color: var(--brand-blue); }
.about-point .icon-badge svg { width: 20px; height: 20px; }
.about-point h3 { font-size: 0.96rem; margin-bottom: 4px; }
.about-point p { font-size: 0.86rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 860px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-card figure { aspect-ratio: 4 / 3; background: var(--paper-alt); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; }
.service-card .service-body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.18rem; }
.service-card > .service-body > p.service-desc { margin-top: 10px; font-size: 0.95rem; }

.service-problems {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-problems li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.service-problems svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; margin-top: 3px; }

.service-ctas {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.service-ctas .btn { flex: 1; padding: 12px 16px; font-size: 0.9rem; }

/* ==========================================================================
   How it works — horizontal sequence with connecting line
   ========================================================================== */
.steps-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 860px) {
  .steps-row { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps-row::before {
    content: "";
    position: absolute;
    top: 30px; left: 8%; right: 8%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--line) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
}
.step-card { position: relative; z-index: 1; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lift);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.why-card .icon-badge { background: var(--brand-blue-tint); color: var(--brand-blue); margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; }

/* ==========================================================================
   Service process — vertical connected flow (visually distinct from steps)
   ========================================================================== */
.process-panel {
  background: var(--brand-blue);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  color: var(--white);
}
.process-panel .section-head h2,
.process-panel .section-head p { color: var(--white); }
.process-panel .section-head p { color: rgba(255,255,255,0.78); }
.process-panel .kicker { color: var(--white); }

.process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 760px) {
  .process-flow { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}

.process-node {
  position: relative;
  display: flex;
  gap: 18px;
  padding-block: 18px;
  padding-left: 4px;
}
.process-node:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px; top: 54px; bottom: -10px;
  width: 2px;
  background: rgba(255,255,255,0.22);
}
@media (min-width: 760px) {
  .process-node:nth-child(odd):not(:last-child):not(:nth-last-child(2))::before { display: block; }
}
.process-dot {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
}
.process-dot svg { width: 20px; height: 20px; }
.process-node h3 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.process-node p { color: rgba(255,255,255,0.78); font-size: 0.88rem; }

/* ==========================================================================
   Glance stats
   ========================================================================== */
.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) { .glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .glance-grid { grid-template-columns: repeat(4, 1fr); } }

.glance-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
}
.glance-card .glance-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--brand-blue);
}
.glance-card p { font-size: 0.88rem; margin-top: 6px; }

/* ==========================================================================
   Areas we serve
   ========================================================================== */
.areas-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) { .areas-wrap { grid-template-columns: 1.1fr 0.9fr; } }

.areas-group { margin-bottom: 22px; }
.areas-group:last-child { margin-bottom: 0; }
.areas-group h3 { font-size: 0.94rem; color: var(--brand-blue); margin-bottom: 12px; }
.areas-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.areas-chips span {
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.areas-cta {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-self: start;
}
.areas-cta h3 { font-size: 1.1rem; margin-bottom: 10px; }
.areas-cta p { font-size: 0.94rem; margin-bottom: 20px; }

/* ==========================================================================
   Local advantages
   ========================================================================== */
.local-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .local-wrap { grid-template-columns: 1fr 1fr; } }
.local-copy p + p { margin-top: 14px; }
.local-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.local-tags span {
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
  font-weight: 550;
}

.local-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.local-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
}
.local-image img { width: 100%; height: 100%; object-fit: cover; }

.local-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.local-card ul { display: flex; flex-direction: column; gap: 16px; }
.local-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--ink-soft); }
.local-card svg { width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Customer expectations
   ========================================================================== */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px) { .expect-grid { grid-template-columns: repeat(2, 1fr); } }

.ce-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) { .ce-wrap { grid-template-columns: 0.62fr 1.38fr; } }

.ce-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.ce-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .ce-photo { align-self: stretch; } }

.expect-card {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.expect-card .icon-badge { background: var(--paper-alt); color: var(--brand-blue); margin-bottom: 16px; }
.expect-card h3 { font-size: 1rem; margin-bottom: 6px; }
.expect-card p { font-size: 0.9rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-blue-tint);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.faq-item .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { background: var(--brand-blue); color: var(--white); transform: rotate(45deg); }

.faq-answer {
  padding-bottom: 22px;
  padding-right: 50px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: var(--brand-blue);
  border-radius: 28px;
  padding: clamp(40px, 7vw, 72px);
  text-align: center;
}
.final-cta h2, .final-cta p { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.82); margin-top: 14px; font-size: 1.05rem; }
.final-cta .btn-group { justify-content: center; margin-top: 30px; }
.final-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.final-cta .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.final-cta .hero-phone { justify-content: center; margin-top: 22px; }
.final-cta .hero-phone a { color: var(--white); }
.final-cta .hero-phone svg { color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b1233;
  color: rgba(255,255,255,0.72);
  padding-block: 56px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 30ch; }

.footer-col h3 { color: var(--white); font-size: 0.92rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.92rem; color: rgba(255,255,255,0.68); }
.footer-col a:hover { color: var(--white); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--amber); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.float-whatsapp.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }
.float-whatsapp svg { width: 30px; height: 30px; }

@media (max-width: 767px) {
  .float-whatsapp { bottom: 88px; right: 16px; width: 54px; height: 54px; }
  .float-whatsapp svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   Mobile sticky CTA bar
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(18, 23, 58, 0.3);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-block: 16px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  background: var(--white);
}
.mobile-cta-bar a svg { width: 20px; height: 20px; }
.mobile-cta-bar .mcb-call { color: var(--brand-blue); }
.mobile-cta-bar .mcb-whatsapp { background: var(--whatsapp); color: var(--white); }

@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
}
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
}

/* ==========================================================================
   Scroll reveal (respects prefers-reduced-motion via global rule above)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Misc
   ========================================================================== */
.divider-line { height: 1px; background: var(--line); border: 0; }
::selection { background: var(--brand-blue); color: var(--white); }
