:root {
  --ink: #071e2b;
  --ink-2: #103447;
  --blue: #2f7db8;
  --cyan: #16c2d1;
  --teal: #138c87;
  --gold: #cba23d;
  --paper: #f6f8fa;
  --white: #ffffff;
  --muted: #5d6c76;
  --line: #d8e1e7;
  --danger: #c44752;
  --success: #117a5b;
  --accent: var(--cyan);
  --accent-dark: var(--blue);
  --shadow: 0 20px 55px rgba(7, 30, 43, 0.14);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
[id] { scroll-margin-top: 100px; }
.hero-grid > *, .content-split > *, .form-layout > *, .form-grid > *,
.measurement-grid > *, .backing-card > div { min-width: 0; }
h1, h2, h3, .button, .scale-badge, .status-message { overflow-wrap: anywhere; }
.button, .nav-cta { max-width: 100%; text-align: center; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body.theme-fabrica {
  --accent: #1fb7aa;
  --accent-dark: var(--teal);
}

body.theme-eventos {
  --accent: #e3bc55;
  --accent-dark: var(--gold);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: .5rem;
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7, 30, 43, .94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 2rem));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  width: 148px;
  height: 50px;
  padding: .3rem .55rem;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: #e9f5fa;
  text-decoration: none;
  font-weight: 700;
  font-size: .96rem;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--accent); }

.nav-phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.nav-phone span { display: block; font-size: .875rem; font-weight: 600; color: #c7d7df; }

.urgent-contacts { margin: 1.25rem 0; }
.urgent-contacts p { margin: 0 0 .35rem; font-size: .875rem; font-weight: 700; color: #c7d7df; }
.urgent-contacts > div { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.urgent-contacts a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); font-weight: 800; text-underline-offset: 5px; }
.urgent-contacts a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 27%, transparent);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 34%, transparent);
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: none;
}

.menu-button {
  margin-left: auto;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(145deg, #061a26 0%, #0a354d 62%, #0c455e 100%);
  background-size: 38px 38px, 38px 38px, auto;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  top: -180px;
  border: 95px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  min-height: 650px;
  margin: 0 auto;
  padding: 5.1rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy { max-width: 650px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 1.6rem;
  color: #c9dbe4;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.scale-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  margin-bottom: 1.7rem;
  padding: .8rem 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.08);
}

.scale-badge span {
  color: #b8cdd8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.scale-badge strong { font-size: 1.35rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.micro-filter {
  margin: 1.15rem 0 0;
  color: #a8c0cc;
  font-size: .9rem;
}

.hero-media {
  position: relative;
  min-height: 500px;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px 8px 34px 8px;
  box-shadow: 0 35px 80px rgba(0,0,0,.36);
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 18px -18px -18px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 68%, transparent);
  border-radius: 34px 8px 34px 8px;
  pointer-events: none;
}

.media-label {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: 28px;
  max-width: 270px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.media-label strong { display: block; font-size: 1.08rem; }
.media-label span { color: var(--muted); font-size: .9rem; }

.trust-rail {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 116px;
  padding: 1.45rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { font-size: 1.35rem; letter-spacing: -.02em; }
.trust-item span { color: var(--muted); }

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.section.compact { padding: 4.6rem 0; }

.section-heading {
  max-width: 790px;
  margin-bottom: 2.6rem;
}

.section-heading h2,
.content-copy h2,
.form-intro h2 {
  margin-bottom: .9rem;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading p,
.content-copy > p,
.form-intro > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.solution-card {
  position: relative;
  min-height: 390px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(7,30,43,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover,
.solution-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.solution-card .number {
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.solution-card h3 {
  margin: auto 0 .85rem;
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.solution-card p { margin-bottom: 1.35rem; color: var(--muted); }
.solution-card .link-arrow { color: var(--accent-dark); font-weight: 900; }

.solution-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -65px;
  border: 35px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 50%;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-media {
  position: relative;
}

.content-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-media .spec-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: rgba(7,30,43,.9);
  color: var(--white);
  font-weight: 900;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: .9rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.04rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px var(--paper);
}

.process {
  background: var(--ink);
  color: var(--white);
}

.process .section-heading p { color: #b8cdd7; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
}

.process-step {
  min-height: 240px;
  padding: 1.5rem;
  background: #0b2b3d;
}

.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.process-step h3 { margin: 2.4rem 0 .65rem; font-size: 1.2rem; }
.process-step p { color: #b8cdd7; }

.filter-banner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: var(--radius);
  background: #e9f4f8;
  border: 1px solid #cce2ec;
}

.filter-banner h2 { margin-bottom: .55rem; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.05; }
.filter-banner p { margin-bottom: 0; color: var(--muted); }
.filter-banner strong { color: var(--danger); }
.filter-banner .button { justify-self: end; }

.form-section {
  background: linear-gradient(180deg, var(--white), #eaf2f6);
}

.form-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-stack {
  margin-top: 2rem;
  display: grid;
  gap: .7rem;
}

.contact-stack a {
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.form-intro { min-width: 0; }
.contact-label { display: block; margin-top: .75rem; font-size: .875rem; font-weight: 800; }
.contact-label:first-child { margin-top: 0; }
.contact-hours { margin: 0; font-size: .875rem; }
.contact-stack a { max-width: 100%; overflow-wrap: anywhere; min-height: 36px; display: inline-flex; align-items: center; }

.lead-form {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }

.field label {
  color: #344b59;
  font-size: .9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .85rem;
  border: 1px solid #b9c8d1;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
}

.field textarea { min-height: 100px; resize: vertical; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; font-size: 16px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-color: var(--accent-dark);
}

.measurement-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 1rem;
  border-radius: 14px;
  background: #f0f5f7;
}

.measurement-grid .field label { font-size: .8rem; }

.form-note {
  grid-column: 1 / -1;
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.multi-tent-button {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  width: 100%;
  padding: 1rem;
  border-radius: 14px;
  background: #0c7a4a;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
  box-shadow: none;
}
.multi-tent-button span { font-size: .875rem; font-weight: 600; }
.multi-tent-button:hover { background: #095f39; }
.multi-tent-button:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .4rem;
}

.form-actions .button { min-width: 230px; }
.form-actions { flex-wrap: wrap; }
.form-actions .button { min-width: min(230px, 100%); }

.status-message {
  display: none;
  grid-column: 1 / -1;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 750;
}

.status-message.show { display: block; }
.status-message.rejected { background: #fff0f1; color: #92313a; border: 1px solid #f3c8cc; }
.status-message.qualified { background: #e9f8f2; color: #0d674d; border: 1px solid #bfe6d6; }

.privacy-copy { color: var(--muted); font-size: .82rem; }

.detail-hero .hero-grid { min-height: 570px; padding-top: 4rem; padding-bottom: 4rem; }
.detail-hero h1 { font-size: clamp(2.65rem, 5vw, 4.65rem); }

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.metric-card {
  padding: 1.25rem;
  border-top: 4px solid var(--accent);
  border-radius: 0 0 15px 15px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7,30,43,.07);
}

.metric-card strong { display: block; margin-bottom: .35rem; font-size: 1.08rem; }
.metric-card span { color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

details {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

summary { cursor: pointer; font-weight: 900; }
details p { margin: .8rem 0 0; color: var(--muted); }

.site-footer {
  padding: 3.2rem 0 1.5rem;
  background: #05151f;
  color: #c7d7df;
}

.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 2rem;
}

.footer-brand { width: 180px; margin-bottom: 1.1rem; padding: .45rem; border-radius: 12px; background: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer a { display: block; width: fit-content; margin: .4rem 0; color: #c7d7df; text-decoration: none; }
.footer-grid > div { min-width: 0; }
.site-footer a { max-width: 100%; overflow-wrap: anywhere; }
.site-footer .contact-label { color: #e9f5fa; }
.site-footer .contact-hours { color: #c7d7df; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { width: min(1180px, calc(100% - 2rem)); margin: 2.5rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); color: #8fa7b3; font-size: .86rem; }

.floating-contact {
  padding: 0;
  border: 0;
  background: transparent;
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 36px);
}
.floating-contact > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0c7a4a;
  color: var(--white);
  list-style: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.floating-contact > summary::-webkit-details-marker { display: none; }
.floating-contact > summary::marker { content: ""; }
.floating-contact > summary:hover { background: #095f39; }
.floating-contact > summary:focus-visible,
.whatsapp-panel a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .75rem);
  width: min(290px, calc(100vw - 36px));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.whatsapp-panel p { margin: 0 0 .65rem; color: var(--ink); font-size: .875rem; font-weight: 800; }
.whatsapp-panel a { display: flex; align-items: center; min-height: 48px; padding: .65rem; color: #0c6741; font-size: 1rem; font-weight: 800; text-underline-offset: 4px; border-radius: 8px; }
.whatsapp-panel a:hover { background: #e9f8f2; }
.whatsapp-panel { max-height: min(520px, calc(100dvh - 110px)); overflow-y: auto; }
.whatsapp-panel { overscroll-behavior: contain; }
.site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
.content-media .spec-tag { max-width: calc(100% - 40px); font-size: .875rem; text-align: center; }

@media (max-width: 1180px) {
  .menu-button { display: block; }
  .nav-phone, .nav-cta { display: none; }
  .nav-links { position: absolute; left: 1rem; right: 1rem; top: 100%; display: none; margin: 0; padding: 1rem; flex-direction: column; align-items: stretch; gap: .25rem; border: 1px solid #365465; border-radius: 16px; background: #092536; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; padding: .5rem; }
  .measurement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .content-split { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 980px) {
  .menu-button { display: block; }
  .nav-phone, .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 70px;
    display: none;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: #092536;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 4.2rem 0; }
  .hero-media { min-height: 440px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: 1px solid var(--line); }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 280px; }
  .content-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .nav-wrap { width: min(100% - 1.25rem, 1180px); min-height: 66px; }
  .brand { width: 128px; height: 44px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.55rem); }
  .hero-grid { width: min(100% - 1.25rem, 1180px); padding: 3.3rem 0; gap: 2.3rem; }
  .hero-media { min-height: 310px; }
  .hero-media::before { inset: 10px -7px -10px 7px; }
  .media-label { left: 12px; right: 12px; bottom: 14px; max-width: none; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .scale-badge { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:first-child, .trust-item:nth-child(odd) { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { width: min(100% - 1.25rem, 1180px); padding: 4.3rem 0; }
  .process-grid { grid-template-columns: 1fr; }
  .filter-banner { grid-template-columns: 1fr; padding: 1.6rem; }
  .filter-banner .button { justify-self: stretch; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .measurement-grid, .form-note, .form-actions, .status-message { grid-column: auto; }
  .measurement-grid { grid-template-columns: 1fr 1fr; }
  .lead-form { padding: 1.2rem; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .metric-cards, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .floating-contact { right: 12px; max-width: calc(100vw - 24px); }
  .floating-contact > summary { width: 56px; height: 56px; }
}
.hero-media { align-self: center; min-height: 0 !important; }
.hero-media img { position: relative; height: auto; aspect-ratio: auto; }
.hero-media .media-label { position: relative; left: auto; bottom: auto; margin: -1.5rem 1rem 0; max-width: 340px; }
.content-media img { aspect-ratio: auto; height: auto; }
.solution-card > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #102b36; border-radius: 12px; margin-bottom: 1.4rem; }
.project-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; align-items: start; }
.project-photo-grid figure { margin: 0; background: #fff; border: 1px solid #dce4e7; border-radius: 18px; overflow: hidden; }
.project-photo-grid img { width: 100%; height: auto; }
.project-photo-grid figcaption { padding: 1rem 1.25rem; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.gallery-action { margin-top: 1.75rem; }
@media (max-width: 680px) { .project-photo-grid { grid-template-columns: 1fr; } }

/* Respaldo comercial: iconos Lucide, textos accesibles y condiciones visibles. */
.business-backing { background: #091f2b; color: #fff; }
.backing-inner { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.backing-heading { max-width: 760px; margin-bottom: 2.2rem; }
.backing-heading .eyebrow { color: var(--accent); }
.backing-heading h2 { margin: 0 0 1rem; color: #fff; font-size: clamp(1.85rem, 3.3vw, 2.7rem); line-height: 1.15; letter-spacing: -.025em; }
.backing-heading > p:last-child { color: #cbd9e0; margin: 0; font-size: 1.05rem; }
.backing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.backing-card { display: flex; flex-direction: column; gap: 1.15rem; padding: 1.6rem; background: #112e3d; border: 1px solid #2a4655; border-radius: 18px; }
.backing-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: 0 0 auto; border-radius: 18px; background: #091f2b; color: var(--accent); }
.backing-card h3 { color: #fff; margin: 0 0 .45rem; font-size: 1.125rem; line-height: 1.3; }
.backing-card p { color: #cbd9e0; margin: 0; font-size: 1rem; line-height: 1.5; }
.backing-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #2a4655; }
.backing-footer p { color: #cbd9e0; max-width: 620px; margin: 0; font-size: 1rem; }
.backing-footer .button { flex-shrink: 0; }
@media (max-width: 900px) { .backing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .backing-footer { align-items: flex-start; flex-direction: column; } }
@media (max-width: 600px) {
  .backing-inner { padding-top: 3rem; padding-bottom: 3rem; }
  .backing-grid { grid-template-columns: 1fr; gap: .75rem; }
  .backing-card { flex-direction: row; align-items: flex-start; padding: 1.15rem; gap: 1rem; }
  .backing-icon { width: 52px; height: 52px; border-radius: 14px; }
  .backing-icon svg { width: 32px; height: 32px; }
  .backing-footer .button { width: 100%; }
}

/* Final narrow-screen overrides, including landscape and larger text. */
@media (max-width: 1180px) { .nav-links { top: 100%; gap: .25rem; } }
@media (max-width: 650px) {
  .detail-hero h1 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .detail-hero .hero-grid { min-height: 0; padding-top: 2.8rem; padding-bottom: 3rem; }
  .section.compact { padding-top: 3rem; padding-bottom: 3rem; }
  .measurement-grid { padding: .75rem; gap: .65rem; }
  .measurement-grid .field label, .privacy-copy, .form-note { font-size: .875rem; }
  .form-actions .button { min-width: 0; }
  .hero-media .media-label { right: auto; margin-left: .5rem; margin-right: .5rem; }
  .content-media .spec-tag { position: relative; right: auto; bottom: auto; display: block; max-width: 100%; margin-top: .65rem; border-radius: 12px; }
  .footer-grid a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 359px) { .measurement-grid { grid-template-columns: 1fr; } .backing-card { flex-direction: column; } }
@media (max-height: 500px) and (orientation: landscape) { .site-header { position: relative; } }
