/* Platinum Diamond Concrete — shared styles */

:root {
  --white: #FFFFFF;
  --bg-light: #F5F7FA;
  --navy: #0B2E4E;
  --blue: #1D6FB8;
  --steel: #5B6B79;
  --text: #1F2933;
  --accent: #F2994A;
  --accent-dark: #e0822e;
  --whatsapp: #25D366;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(11, 46, 78, 0.08);
  --header-h: 76px;
  --mobile-bar-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }
section.tight { padding: 32px 0; }
.bg-light { background: var(--bg-light); }

/* ---------- Language toggle ----------
   Only the HIDDEN language is forced (with !important so component
   classes like display:block/flex can't leak both languages at once).
   The visible language keeps its own natural/component display value. */
html:not([lang="es"]) [data-es] { display: none !important; }
html[lang="es"] [data-en] { display: none !important; }

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--white);
  border-radius: 20px;
  overflow: hidden;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
}
.lang-toggle span {
  padding: 6px 12px;
  color: var(--white);
  transition: background .2s, color .2s;
}
html:not([lang="es"]) .lang-toggle span.lang-en,
html[lang="es"] .lang-toggle span.lang-es {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
  max-width: 150px;
}

.header-phones {
  display: none;
  align-items: center;
  gap: 18px;
  font-family: 'Poppins', sans-serif;
}
.phone-link { color: var(--white); font-weight: 700; white-space: nowrap; }
.phone-link.primary { font-size: 17px; }
.phone-link.secondary { font-size: 14px; color: #cfe0ee; font-weight: 600; }
.phone-label { display: block; font-size: 10px; font-weight: 500; color: #9fb8cd; text-transform: uppercase; letter-spacing: .04em; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-block;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  line-height: 1.2;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(242,153,74,.4); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 13px; min-height: 38px; }
.btn-block { display: block; width: 100%; }

.header-cta { display: none; }

.menu-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
  padding: 4px 8px;
}

/* Narrow phones: logo + name + lang toggle + hamburger don't all fit —
   drop the text name (the logo image already contains the wordmark). */
@media (max-width: 420px) {
  .header-inner { padding: 10px 12px; gap: 8px; }
  .brand-name { display: none; }
  .lang-toggle span { padding: 6px 8px; }
}

/* Main nav */
.main-nav {
  background: var(--white);
  border-top: 1px solid #e3e8ee;
  display: none;
}
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.main-nav li { border-bottom: 1px solid #eef1f4; }
.main-nav a {
  display: block;
  padding: 14px 20px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.main-nav a:hover { background: var(--bg-light); text-decoration: none; }
.main-nav .has-submenu > a::after { content: ' \25BE'; }
.submenu { list-style: none; margin: 0; padding: 0 0 0 16px; background: var(--bg-light); display: none; }
.submenu.open { display: block; }
.submenu a { padding: 10px 20px; font-weight: 500; font-size: 14px; }

@media (min-width: 960px) {
  .header-phones { display: flex; }
  .header-cta { display: inline-block; }
  .menu-toggle { display: none; }
  .brand-name { max-width: none; font-size: 17px; }
  .main-nav {
    display: block !important;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .main-nav ul { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .main-nav li { border-bottom: none; position: relative; }
  .main-nav > ul > li > a { color: var(--white); padding: 12px 16px; font-size: 14px; }
  .main-nav > ul > li > a:hover { background: rgba(255,255,255,.08); }
  .submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px;
    padding: 6px 0;
    z-index: 50;
  }
  .main-nav li.has-submenu:hover .submenu { display: block !important; }
  .submenu a { color: var(--navy); padding: 10px 18px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #123f66 100%);
  color: var(--white);
  padding: 48px 0 40px;
}
.hero h1 { color: var(--white); font-size: 30px; margin-bottom: 14px; }
.hero .sub { color: #d7e4ef; font-size: 16px; max-width: 640px; margin-bottom: 22px; }
.hero-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.hero-phone { display: flex; flex-direction: column; }
.hero-phone .label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #9fb8cd; }
.hero-phone a { color: var(--white); font-weight: 700; font-family: 'Poppins', sans-serif; }
.hero-phone.primary a { font-size: 24px; }
.hero-phone.secondary a { font-size: 18px; color: #cfe0ee; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: #cfe0ee;
}
.trust-badges span { white-space: nowrap; }

@media (min-width: 760px) {
  .hero h1 { font-size: 42px; }
  .hero .sub { font-size: 18px; }
}

.hero-logo {
  display: block;
  height: 84px;
  width: auto;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)) drop-shadow(0 0 18px rgba(255,255,255,.35));
  animation: hero-logo-heartbeat 1.8s ease-in-out infinite;
}
@media (min-width: 760px) {
  .hero-logo { height: 152px; margin: 0 0 22px; }
}
@keyframes hero-logo-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}

.hero-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,28,48,.82) 0%, rgba(6,28,48,.6) 32%, rgba(6,28,48,.22) 62%, rgba(6,28,48,0) 88%);
}
.hero-bg .container { position: relative; z-index: 1; }

.hero-tall {
  min-height: 65vh;
  display: flex;
  align-items: center;
}
@media (max-width: 959px) {
  /* Reserve space clear of the fixed mobile sticky bar so hero content
     (CTAs, trust badges) never renders underneath it and gets its taps
     stolen — see .mobile-bar (position:fixed, z-index:550). */
  .hero-tall { padding-bottom: calc(var(--mobile-bar-h) + 20px); }
}
@media (max-width: 759px) {
  /* Tighten hero vertical rhythm on narrow phones — the long H1 wraps to
     5-6 lines here, pushing the CTA buttons down far enough to land
     under the fixed .mobile-bar and steal their taps. Trim spacing
     (not font sizes) to pull the CTAs back above that zone. */
  .hero.hero-tall { padding-top: 24px; }
  .hero-logo { margin-bottom: 10px; }
  .hero-phones { margin-bottom: 14px; }
}
@media (min-width: 760px) and (max-width: 959px) {
  .hero-tall { min-height: 75vh; }
}
@media (min-width: 960px) {
  .hero-tall { min-height: 90vh; }
}

/* ---------- Photo ticker ---------- */
.ticker-wrap {
  background: var(--navy);
  padding: 18px 0;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-track img {
  height: 130px;
  width: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (min-width: 760px) {
  .ticker-track img { height: 160px; width: 240px; }
}

/* ---------- Sections generic ---------- */
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-size: 26px; }
.section-title p { color: var(--steel); max-width: 620px; margin: 0 auto; }

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid #e7ebef;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--steel); font-size: 14.5px; margin: 0; }
.card .icon { font-size: 30px; margin-bottom: 12px; display: block; }

/* ---------- Gallery filters ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid #d6dee5;
  color: var(--navy);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-btn:hover { border-color: var(--blue); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.gallery-item { display: block; }
.gallery-item.hidden { display: none; }
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- Before / After comparison slider ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  /* width/height are set in px by JS (initBeforeAfter) to match the
     real aspect ratio of the before/after photos — see main.js.
     This fallback only applies before JS runs or if it fails. */
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-after {
  clip-path: inset(0 0 0 50%);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  z-index: 2;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}
.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0,0,0,.35);
}
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  background: rgba(11,46,78,.75);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 20px;
  pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid #e7ebef;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,46,78,.14); text-decoration: none; }
.service-card img { height: 170px; width: 100%; object-fit: cover; }
.service-card .body { padding: 16px 18px; }
.service-card h3 { font-size: 16px; margin-bottom: 4px; color: var(--navy); }
.service-card .link { color: var(--blue); font-weight: 700; font-size: 13.5px; }

.trust-bar {
  background: var(--bg-light);
  border-top: 1px solid #e7ebef;
  border-bottom: 1px solid #e7ebef;
}
.trust-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .trust-cards { grid-template-columns: repeat(5, 1fr); } }
.trust-card {
  background: var(--white);
  border: 1px solid #e7ebef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
}
.trust-card .icon {
  font-size: 26px;
  display: block;
  margin-bottom: 10px;
}
.trust-card p {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 40px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px; left: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
}

.areas-block {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid #e7ebef;
}
.areas-block h3 { font-size: 18px; }

.faq-item {
  border-bottom: 1px solid #e7ebef;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--blue); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--steel); font-size: 14.5px; padding: 0 4px; }
.faq-item.open .faq-a { padding-bottom: 16px; }

.review-card { position: relative; text-align: left; }
.review-card .stars { color: var(--accent); font-size: 16px; margin-bottom: 8px; }
.review-card .author { font-weight: 700; color: var(--navy); font-size: 14.5px; margin-top: 10px; }
.sample-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--steel);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.placeholder-note {
  border: 2px dashed #c7d3dd;
  background: var(--bg-light);
  color: var(--steel);
  padding: 18px;
  border-radius: var(--radius);
  font-size: 14px;
  text-align: center;
  font-style: italic;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d6dee5;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cfe0ee;
  padding: 48px 0 100px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfe0ee; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #9fb8cd;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: calc(var(--mobile-bar-h) + 18px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  z-index: 600;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { text-decoration: none; transform: scale(1.06); }
@media (min-width: 960px) { .whatsapp-float { bottom: 24px; } }

.whatsapp-bubble {
  position: fixed;
  right: 84px;
  bottom: calc(var(--mobile-bar-h) + 32px);
  max-width: 172px;
  background: var(--white);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  z-index: 600;
  /* Purely decorative label (no link/action) — never let it sit on top
     of real content and steal taps meant for whatever is underneath. */
  pointer-events: none;
}
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: var(--white);
}
@media (min-width: 960px) { .whatsapp-bubble { bottom: 38px; } }
@media (max-width: 360px) { .whatsapp-bubble { max-width: 140px; font-size: 11.5px; right: 78px; } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: calc(var(--mobile-bar-h) + 86px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 590;
  border: none;
  cursor: pointer;
  font-size: 18px;
}
.back-to-top.show { display: flex; }
@media (min-width: 960px) { .back-to-top { bottom: 92px; } }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--mobile-bar-h);
  background: var(--white);
  border-top: 1px solid #e0e6eb;
  box-shadow: 0 -4px 14px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 550;
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
}
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .mb-icon { font-size: 19px; }
.mobile-bar .mb-call { color: var(--navy); }
.mobile-bar .mb-whatsapp { color: var(--whatsapp); }
.mobile-bar .mb-estimate { background: var(--accent); color: var(--white); }
body { padding-bottom: var(--mobile-bar-h); }
@media (min-width: 960px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: var(--steel); padding: 14px 0; }
.breadcrumbs a { color: var(--blue); }

/* ---------- Scroll reveal (vanilla IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .4s; }
.reveal-group .reveal:nth-child(n+7) { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Map embed ---------- */
.map-embed {
  position: relative;
  padding-bottom: 42%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #e7ebef;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
@media (max-width: 640px) { .map-embed { padding-bottom: 75%; } }

/* ---------- Embedded estimate form section ---------- */
.estimate-section {
  background: var(--bg-light);
  border-top: 1px solid #e7ebef;
}
.estimate-card {
  background: var(--white);
  border: 1px solid #e7ebef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
@media (min-width: 760px) {
  .estimate-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
}
.estimate-side p { font-size: 14.5px; color: var(--steel); }
.estimate-side .phone-big { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: var(--navy); display: block; margin-bottom: 4px; }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }

/* ---------- Footer credit ---------- */
.footer-credit {
  margin-top: 14px;
  font-size: 12px;
  color: #9fb8cd;
}
.footer-credit a { color: #cfe0ee; font-weight: 600; }
.footer-credit a:hover { color: var(--white); }
