:root {
  --yellow: #f5c21a;
  --yellow-2: #ffdc4d;
  --yellow-soft: #fff7d8;
  --red: #d62828;
  --blue: #06345f;
  --blue-2: #0b4c7f;
  --ink: #102235;
  --muted: #627386;
  --soft: #f6f8fb;
  --line: #dce6ef;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 52, 95, 0.13);
  --shadow-strong: 0 26px 70px rgba(6, 52, 95, 0.2);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section-pad {
  padding: 74px 0;
  scroll-margin-top: 92px;
}

.services,
.containers,
.comparison,
.steps,
.gallery,
.benefits,
.about,
.testimonials,
.faq,
.contact,
.quote {
  position: relative;
  isolation: isolate;
}

.services::before,
.containers::before,
.comparison::before,
.steps::before,
.gallery::before,
.benefits::before,
.about::before,
.testimonials::before,
.faq::before,
.contact::before,
.quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--yellow), var(--red) 72%, var(--blue));
  z-index: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 230, 239, 0.78);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow) 0 62%, var(--red) 62% 76%, var(--blue) 76% 100%);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 5px;
}

.brand {
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 76px 0 auto;
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

.nav-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.nav-menu a {
  padding: 12px 10px;
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 800;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--yellow-soft);
}

.nav-cta {
  background: var(--yellow);
  color: var(--blue) !important;
  text-align: center;
  box-shadow: inset 0 -2px 0 rgba(6, 52, 95, 0.14);
}

.nav-login {
  border: 1px solid rgba(8, 42, 76, 0.28);
}

.nav-login[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 118px;
  overflow: hidden;
  background: #071d34;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 25, 45, 0.94) 0%, rgba(5, 25, 45, 0.78) 48%, rgba(5, 25, 45, 0.22) 100%),
    var(--hero-image, url("../img/contenedor-obra-real.webp")) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 34px, var(--yellow) 34px 68px, var(--red) 68px 84px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-panel .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.08;
}

h1 {
  color: var(--white);
  max-width: 820px;
  font-size: clamp(2.1rem, 8vw, 5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-text {
  margin-top: 20px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-meta span {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn .whatsapp-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: #168f49;
}

.btn .phone-icon,
.contact-link .phone-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(6, 52, 95, 0.22);
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero-media {
  display: none;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-bottom: 30px;
}

.trust-grid {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.trust-item {
  padding: 16px;
  border-left: 5px solid var(--yellow);
  background: #fffdf4;
  border-radius: var(--radius);
}

.trust-item:nth-child(2) {
  border-left-color: var(--red);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1.2;
}

.trust-item span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 6px solid var(--yellow);
}

.section-heading-center {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.section-heading p:last-child {
  margin-top: 12px;
}

.card-grid,
.steps-list,
.gallery-grid,
.testimonial-grid,
.benefit-list {
  display: grid;
  gap: 16px;
}

.services {
  background:
    linear-gradient(180deg, rgba(255, 247, 216, 0.62), #ffffff 38%),
    var(--white);
}

.promo-strip {
  background: var(--yellow);
  color: var(--blue);
}

.promo-strip[hidden] { display: none; }
.promo-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.promo-strip-inner > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: center; }
.promo-strip-inner span { grid-row: 1 / 3; padding: 7px 9px; background: var(--red); color: var(--white); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.promo-strip-inner strong { font-size: 1.08rem; }
.promo-strip-inner p { color: var(--blue); font-size: .9rem; }
.promo-strip .btn { flex: 0 0 auto; background: var(--blue); color: var(--white); }

.service-consult {
  display: inline-flex;
  margin-top: auto;
  padding-top: 16px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card { display: flex; flex-direction: column; }

.containers { background: #f4f8fb; }
.containers::before { background: linear-gradient(90deg, var(--yellow), var(--blue) 65%, var(--red)); }
.container-types-grid { display: grid; gap: 20px; }
.container-type { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.container-type > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.container-type-body { padding: 24px; }
.container-type-body > span { color: #876e00; font-size: .74rem; font-weight: 900; text-transform: uppercase; }
.container-type-body h3 { margin-top: 7px; font-size: 1.45rem; }
.container-type-body > p { margin-top: 10px; line-height: 1.55; }
.container-type dl { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.container-type dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.container-type dt { color: var(--muted); font-size: .82rem; font-weight: 700; }
.container-type dd { margin: 0; color: var(--ink); font-size: .88rem; font-weight: 900; }

.comparison { background: var(--white); }
.comparison::before { background: linear-gradient(90deg, var(--blue), var(--yellow)); }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.comparison table { width: 100%; min-width: 850px; border-collapse: collapse; background: var(--white); }
.comparison th { padding: 14px 16px; background: var(--blue); color: var(--white); font-size: .78rem; text-align: left; }
.comparison td { padding: 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .88rem; }
.comparison tbody tr:last-child td { border-bottom: 0; }
.comparison td:first-child { font-weight: 900; }
.comparison .btn { padding: 9px 12px; font-size: .78rem; white-space: nowrap; }

.quote { background: #edf3f8; }
.quote::before { background: linear-gradient(90deg, var(--red), var(--yellow) 35%, var(--blue)); }
.quote-layout { display: grid; gap: 30px; }
.quote-form { display: grid; gap: 16px; padding: 24px; border-top: 6px solid var(--yellow); background: var(--white); box-shadow: var(--shadow); }
.quote-form label { display: grid; gap: 7px; color: var(--blue); font-size: .83rem; font-weight: 900; }
.quote-form input,.quote-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.quote-form button { grid-column: 1 / -1; border: 0; }

.quote-modal {
  width: min(1040px, calc(100vw - 32px));
  max-width: 1040px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-top: 7px solid var(--yellow);
  border-radius: var(--radius);
  background: #edf3f8;
  box-shadow: 0 28px 80px rgba(2, 14, 27, .42);
}

.quote-modal[open] { display: block; }
.quote-modal::backdrop { background: rgba(2, 14, 27, .76); backdrop-filter: blur(3px); }
.quote-modal .quote-layout { padding: clamp(28px, 5vw, 54px); }
.quote-modal .quote-form { box-shadow: none; }
.quote-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 1.5rem;
}

.benefits {
  background:
    linear-gradient(180deg, #eef5fa, #f9fbfd 72%),
    var(--soft);
}

.faq {
  background:
    linear-gradient(180deg, #f3f7fb, #ffffff 86%),
    var(--soft);
}

.about {
  background:
    linear-gradient(90deg, rgba(255, 247, 216, 0.78), rgba(255, 255, 255, 0.96) 42%),
    var(--white);
}

.service-card,
.step,
.benefit,
.testimonial-grid blockquote,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(6, 52, 95, 0.07);
}

.service-card,
.step,
.benefit {
  padding: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  border-top: 5px solid var(--yellow);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--red), var(--blue));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-featured {
  background: linear-gradient(150deg, var(--blue), #082944);
}

.service-card-featured h3,
.service-card-featured p {
  color: var(--white);
}

.service-card:nth-child(2) {
  border-top-color: var(--red);
}

.icon,
.step strong {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900;
}

.service-card p,
.step p,
.benefit p {
  margin-top: 10px;
}

.steps {
  background:
    linear-gradient(180deg, #fff7d8 0%, #fffdf4 100%);
}

.steps::before {
  background: linear-gradient(90deg, var(--blue), var(--yellow) 44%, var(--red));
}

.step {
  position: relative;
  padding-top: 28px;
}

.step strong {
  background: var(--blue);
  color: var(--white);
}

.gallery {
  background: #061f39;
}

.gallery::before {
  background: linear-gradient(90deg, var(--yellow) 0 56%, var(--red) 56% 70%, #ffffff 70% 100%);
}

.gallery .section-heading h2,
.gallery .section-heading p {
  color: var(--white);
}

.gallery .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b2f52;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  cursor: zoom-in;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-grid figure:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.56));
}

.gallery-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 8px 11px;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: rgba(6, 52, 95, 0.88);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
}

.gallery-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(2, 14, 27, 0.96);
  color: var(--white);
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox::backdrop {
  background: rgba(2, 14, 27, 0.96);
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1100px) 48px;
  align-items: center;
  gap: 14px;
  width: min(96vw, 1240px);
  min-height: 100dvh;
  padding: 64px 0 54px;
}

.lightbox-stage figure {
  margin: 0;
  text-align: center;
}

.lightbox-stage img {
  display: block;
  width: 100%;
  max-height: 76dvh;
  object-fit: contain;
}

.lightbox-stage figcaption {
  margin-top: 14px;
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(6, 52, 95, 0.82);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 0;
  font-size: 1.65rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 800;
  transform: translateX(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

.benefits-grid {
  display: grid;
  gap: 28px;
}

.benefit-list {
  gap: 14px;
}

.benefit {
  border-left: 5px solid var(--yellow);
}

.benefit:nth-child(2) {
  border-left-color: var(--red);
}

.benefit:nth-child(3) {
  border-left-color: var(--blue);
}

.about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--yellow-soft);
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-copy p:not(.eyebrow) {
  margin-top: 14px;
}

.testimonials {
  background:
    linear-gradient(180deg, #ffffff 0%, #fff7d8 100%);
}

.testimonials::before {
  background: linear-gradient(90deg, var(--red), var(--yellow) 32%, var(--blue));
}

.testimonial-grid blockquote {
  position: relative;
  margin: 0;
  padding: 26px;
}

.testimonial-grid blockquote::before {
  content: '"';
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--blue);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.testimonial-grid p {
  color: var(--ink);
  font-weight: 800;
}

.testimonial-grid cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue);
  font-weight: 900;
}

.faq-item summary:hover {
  background: var(--yellow-soft);
}

.faq-item p {
  padding: 0 20px 20px;
}

.contact {
  background:
    linear-gradient(180deg, #ffffff, #edf3f8);
}

.contact::before {
  background: linear-gradient(90deg, var(--blue), var(--yellow) 62%, var(--red));
}

.contact-panel {
  display: grid;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(245, 194, 26, 0.2), transparent 48%),
    var(--blue);
  box-shadow: var(--shadow-strong);
  border-top: 6px solid var(--yellow);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

.contact-panel h2 {
  max-width: 14ch;
  overflow-wrap: normal;
}

.contact-intro {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 18px 20px;
  border-left: 5px solid var(--yellow);
  background: rgba(255, 255, 255, 0.07);
}

.contact-card span,
.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card span,
.contact-card small {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card strong {
  color: var(--white);
  margin: 4px 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.08;
  white-space: nowrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-link .contact-icon,
.btn .contact-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.add-contact-link {
  border-color: rgba(245, 194, 26, 0.5);
  color: var(--yellow);
}

.business-details {
  display: grid;
  gap: 10px;
  width: 100%;
}

.business-details a {
  color: var(--yellow);
  text-underline-offset: 3px;
}

.site-footer {
  padding: 44px 0 28px;
  background: #041f3a;
  color: var(--white);
}

.site-footer p,
.site-footer span,
.site-footer a,
.site-footer small {
  color: #c7d9e8;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 6px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #20bf55;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(32, 191, 85, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 42px rgba(32, 191, 85, 0.42);
}

.whatsapp-invite {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 59;
  width: min(290px, calc(100vw - 36px));
  padding: 16px 40px 16px 18px;
  border-left: 5px solid #20bf55;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 16px 42px rgba(6, 31, 57, 0.2);
  cursor: pointer;
}

.whatsapp-invite[hidden] {
  display: none;
}

.whatsapp-invite strong,
.whatsapp-invite span {
  display: block;
}

.whatsapp-invite span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.whatsapp-invite button {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
}

.promo-modal {
  width: min(880px, calc(100vw - 32px));
  max-width: 880px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 7px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(2, 14, 27, 0.42);
}

.promo-modal[open] {
  display: grid;
}

.promo-modal.has-image[open] {
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
}

.promo-modal::backdrop {
  background: rgba(2, 14, 27, 0.76);
  backdrop-filter: blur(3px);
}

.promo-media img,
.promo-media video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #06192b;
}

.promo-media [hidden] {
  display: none;
}

.promo-media video {
  object-fit: contain;
}

.promo-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 5vw, 56px);
}

.promo-content h2 {
  margin-top: 8px;
  overflow-wrap: normal;
}

.promo-text {
  margin-top: 18px;
  line-height: 1.65;
}

.promo-button {
  margin-top: 24px;
}

.promo-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 1.5rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 520px) {
  .quote-modal { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; }
  .quote-modal .quote-layout { padding: 54px 14px 16px; }
  .quote-modal .section-heading h2 { font-size: 1.75rem; }
  .promo-strip-inner { align-items: stretch; flex-direction: column; }
  .promo-strip-inner > div { grid-template-columns: 1fr; }
  .promo-strip-inner span { grid-row: auto; justify-self: start; }
  .promo-modal.has-image[open] {
    grid-template-columns: 1fr;
  }

  .promo-media img,
  .promo-media video {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .promo-content {
    padding: 28px 22px 24px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-grid img {
    aspect-ratio: 1 / 1;
  }

  .gallery-grid figcaption {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  .lightbox-stage {
    grid-template-columns: 1fr;
    width: 100vw;
    padding: 64px 12px 52px;
  }

  .lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    right: 12px;
  }

  .container {
    width: calc(100vw - 32px);
  }

  .hero {
    min-height: 92svh;
    padding-top: 102px;
    padding-bottom: 58px;
  }

  .hero-copy,
  h1 {
    max-width: 100%;
  }

  h1 {
    font-size: 1.95rem;
    line-height: 1.12;
    max-width: 13ch;
  }

  .hero-text {
    max-width: 34ch;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-meta span {
    flex: 1 1 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-meta {
    gap: 7px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(1140px, calc(100% - 48px));
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid,
  .steps-list,
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .container-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-panel,
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .contact-actions {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (min-width: 940px) {
  .section-pad {
    padding: 96px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    visibility: visible;
  }

  .nav-menu a {
    padding: 9px 10px;
    font-size: 0.94rem;
  }

  .nav-cta {
    padding-inline: 16px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 94vh;
  }

  .benefits-grid,
  .about-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .quote-layout { grid-template-columns: .8fr 1.2fr; align-items: start; }

  .contact-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    column-gap: clamp(36px, 6vw, 78px);
    padding: clamp(38px, 5vw, 64px);
  }

  .contact-intro {
    grid-row: 1 / 3;
    align-self: center;
  }

  .contact-card {
    grid-column: 2;
  }

  .contact-actions {
    grid-column: 2;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }

  .contact-actions .btn {
    width: 100%;
  }
}
