:root {
  --cream: #fef1e4;
  --orange: #f5280b;
  --orange-dark: #d01e08;
  --gold: #f0ad4e;
  --ink: #243c54;
  --text: #3a4450;
  --dark: #243c54;
  --footer: #243c54;
  --white: #fff;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.45em;
  font-weight: 700;
}
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.center { text-align: center; }
.eyebrow {
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid rgba(36, 60, 84, 0.08);
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 10px 0 0;
  color: var(--ink);
}
.topbar .loc { text-align: center; letter-spacing: 0.04em; }
.topbar .ig { justify-self: end; }
.ig {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(36, 60, 84, 0.28);
  color: var(--ink);
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 92px;
}
.logo img { width: auto; height: 52px; }
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav a { color: var(--ink); font-size: 16px; }
.nav a:hover, .nav a.active { color: var(--orange); }
.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block; height: 2px; background: var(--ink); position: relative;
}
.menu-btn span:before, .menu-btn span:after { content: ""; position: absolute; left: 0; right: 0; }
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff !important;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}
.btn:hover { background: var(--orange-dark); }
.btn.gold { background: var(--orange); color: #fff !important; }
.btn.gold:hover { background: var(--orange-dark); }
.btn.reserve { padding: 12px 16px; white-space: nowrap; }

.inspect { background: #fff; padding: 36px 0 28px; }
.inspect h2 { font-size: clamp(28px, 3vw, 36px); max-width: 16em; }
.inspect-note { margin: 0 0 16px; color: #5c6770; }
.inspect-note a { color: var(--orange); font-weight: 700; }
.inspect-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  max-width: 820px;
}

.about { background: #fff; padding: 18px 0 36px; }
.about h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em; text-transform: uppercase; }
.about h3 { color: var(--orange); font-size: 26px; margin-top: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-photos { display: grid; gap: 18px; }
.about-photos video { width: 100%; height: auto; background: #ddd; }
.about-stack { position: relative; padding-bottom: 36px; }
.about-stack .main { width: 78%; height: auto; }
.about-stack .round {
  position: absolute;
  width: 46%;
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  background: #eee;
}
.cert { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #444; }
.cert svg { flex: 0 0 auto; }

.stats-bridge { background: linear-gradient(#fff 0 46%, var(--dark) 46% 100%); padding: 10px 0 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats div { padding: 28px 10px; }
.stats strong { display: block; font-size: 40px; line-height: 1; margin-bottom: 6px; }
.stats span { font-size: 15px; }
.stats .o { background: var(--orange); color: #fff; }
.stats .c { background: #f6e7d8; color: var(--ink); }
.stats .d { background: #1b3146; color: #fff; }

.dark { background: var(--dark); color: #ececec; padding: 54px 0 70px; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { text-align: center; }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.svc-row img { width: 100%; height: auto; background: #1f1f1f; }
.svc-row h3 { font-size: 18px; margin: 12px 0 8px; }
.svc-row p { margin: 0 0 10px; color: #d7d7d7; }
.svc-row a.more { color: #fff; font-weight: 700; }
.extra { margin-top: 64px; align-items: start; }
.extra h2 { font-size: clamp(32px, 4vw, 44px); }
.ticks { list-style: none; padding: 0; margin: 16px 0 22px; }
.ticks li { padding-left: 26px; position: relative; margin: 7px 0; }
.ticks li:before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--orange); }

.why { background: var(--cream); padding: 64px 0 36px; position: relative; }
.why h2 { font-size: clamp(30px, 3.4vw, 42px); }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.reason { background: #fff; padding: 26px 18px 22px; text-align: center; box-shadow: 0 8px 24px rgba(28,13,10,0.04); }
.reason h3 { color: var(--orange); font-size: 18px; margin: 8px 0; }
.reason p { margin: 0; color: #555; }
.reason .ico { color: var(--ink); }

.cta-photo {
  margin-top: 28px;
  min-height: 280px;
  background: #3a2a22 url("../img/banner-herramientas.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;
}
.cta-photo::before { content: ""; position: absolute; inset: 0; background: rgba(20, 12, 8, 0.45); }
.cta-photo .wrap { position: relative; z-index: 1; padding: 48px 0; }
.cta-photo h2 { color: #fff; font-size: clamp(28px, 3.5vw, 42px); }

.office { background: var(--cream); padding: 56px 0 70px; }
.office-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.office h2 { font-size: 32px; }
.office a { color: var(--orange); font-weight: 700; }
.quote-form, .stack-form { display: grid; gap: 12px; }
input, textarea {
  width: 100%;
  border: 1px solid #eadfd4;
  background: #fff;
  border-radius: 2px;
  padding: 14px 16px;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(245,40,11,0.28); border-color: var(--orange); }
.map { margin-top: 16px; border: 0; width: 100%; height: 240px; }

.page-hero {
  min-height: 0;
  background: #f6f4f1;
  display: block;
  text-align: left;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(36, 60, 84, 0.08);
}
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.page-hero h1::before {
  content: "Aislamiento SATE";
  display: block;
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: var(--orange);
}
.section { padding: 56px 0; background: #fff; }
.prose { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 20px; background: #fff; }
.prose h2 { margin-top: 1.3em; font-size: 28px; }
.contact-box { background: var(--cream); padding: 22px; margin: 28px 0; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 26px; position: relative; margin: 8px 0; }
.check li:before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.panel { background: #fff; padding: 22px; }
.band {
  background: var(--ink);
  color: #fff;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.band h2, .band p { color: #fff; }
.band .eyebrow { color: var(--orange); }
.frame { width: 100%; height: auto; margin: 16px 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid #f0f0f0; display: flex; flex-direction: column; }
.card img { width: 100%; height: auto; object-fit: contain; background: #f7f7f7; }
.card div { padding: 16px 16px 20px; }
.card h3 { font-size: 20px; }
.card p { color: #555; margin: 0 0 14px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { background: #fff; color: var(--ink); border: 1px solid #f0f0f0; }
.gallery img { width: 100%; height: auto; object-fit: contain; background: #f6f6f6; }
.gallery h3 { font-size: 16px; margin: 0; padding: 12px 14px 16px; }

.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-list a {
  background: var(--cream);
  min-height: 140px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.faq details { background: var(--cream); padding: 14px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq p { margin: 10px 0 4px; }

.site-footer { background: var(--footer); color: #f3e4da; padding: 42px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
.site-footer h2 { color: var(--orange); font-size: 22px; }
.site-footer a { color: #f3e4da; }
.site-footer a:hover { color: #ffb088; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer img { width: 170px; height: auto; }
.legal {
  background: #1b3146;
  padding: 16px 0;
  font-size: 14px;
  color: #ddd;
}
.legal .wrap { display: flex; justify-content: space-between; gap: 12px; }

.wa {
  position: fixed; right: 18px; bottom: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2); z-index: 30;
}
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 16px 18px; display: flex; gap: 16px; align-items: center;
  justify-content: space-between; max-width: 820px;
}
.cookie p { margin: 0; font-size: 15px; }
.lightbox {
  position: fixed; inset: 0; background: rgba(12,6,4,0.9); z-index: 50;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 94vw); width: auto; height: auto; object-fit: contain; }
.lightbox p { color: #fff; position: absolute; bottom: 18px; margin: 0; }

@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #1b3146; flex-direction: column; padding: 12px 20px 18px; gap: 12px;
  }
  .nav.open { display: flex; }
  .nav-row .btn.reserve { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar .loc { display: none; }
  .inspect-form { grid-template-columns: 1fr; }
  .nav { background: #fff; box-shadow: 0 12px 30px rgba(36, 60, 84, 0.08); }
  .split, .svc-row, .reasons, .office-grid, .cards, .gallery, .foot-grid, .stats, .service-list {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .legal .wrap, .cookie, .band { flex-direction: column; align-items: flex-start; }
  .about-stack .main { width: 100%; }
  .about-stack .round { position: static; width: 180px; margin-top: 12px; }
}
