@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/montserrat-normal-500.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/montserrat-normal-600.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-normal-700.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/montserrat-italic-500.woff2") format("woff2");
}

:root {
  --navy: #0e1c26;
  --ink: #152229;
  --muted: #52616a;
  --line: #e3dfd6;
  --paper: #f4f3f0;
  --white: #ffffff;
  --brand: #1f6f98;
  --blue: #1a5f84;
  --blue-dark: #134864;
  --bolt: #9a7433;
  --whatsapp: #127a45;
  --max: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}


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

a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, p, li, figcaption, a { overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.35rem); margin-bottom: 0.85rem; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.35rem; letter-spacing: -0.02em; }

p { margin-bottom: 0.85rem; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  z-index: 50;
}
.skip:focus { top: 0.75rem; color: var(--white); }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar {
  background: var(--navy);
  color: #d5dee4;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  min-height: 2.15rem;
}

.topbar p { margin: 0; min-width: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #f3e6cc; }

.social { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.social a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.social svg { width: 15px; height: 15px; }

.header-bar {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo { display: flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.logo img { height: 34px; width: auto; max-width: 100%; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  flex: 1;
}

.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav svg { display: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--bolt); }
.nav a:hover { color: var(--brand); }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.header-cta:hover { background: #1b3342; color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}
.nav-toggle:hover { background: #1b3342; }
.nav-burger,
.nav-burger::before,
.nav-burger::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-burger::before,
.nav-burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger::before { top: -6px; }
.nav-burger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-burger::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #1b3342; color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #0c6236; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfc8bc; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-cover { background: var(--navy); color: #fff; }
.btn-cover:hover { background: #1b3342; color: #fff; }
.btn-hero-ghost { background: transparent; color: var(--ink); border-color: #cfc8bc; }
.btn-hero-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.hero {
  padding: 3.2rem 0 1.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.2rem;
  align-items: center;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 1.35rem;
  height: 1px;
  margin-right: 0.55rem;
  background: var(--bolt);
  vertical-align: middle;
  transform: translateY(-0.14em);
}

.hero h1 { max-width: 11em; margin-bottom: 1rem; }
.hero .lead {
  max-width: 34rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-note {
  margin: 1.15rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-frame {
  margin: 0;
  position: relative;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 58% 42%;
  border-radius: 4px;
}

.hero-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.15rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-frame figcaption strong { color: var(--ink); font-weight: 700; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-copy { animation: rise 0.7s ease both; }
.hero-frame { animation: rise 0.85s ease 0.08s both; }

.home-trust { padding: 0.4rem 0 0; }
.home-trust .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-trust article {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
}

.home-trust article + article { border-left: 1px solid var(--line); }

.home-ico {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  color: var(--bolt);
}
.home-ico svg { width: 100%; height: 100%; }
.home-trust strong { display: block; font-size: 0.95rem; }
.home-trust article div span { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.9rem; }
.home-trust a { color: var(--ink); font-weight: 700; text-decoration: none; }
.home-trust a:hover { color: var(--brand); }

.home-block { padding: 5.2rem 0; }
.home-gallery,
.home-block:has(.home-close),
#por-que { background: var(--white); }

.home-head { max-width: 38rem; margin-bottom: 2rem; }
.home-head p:last-child,
.home-about > div > p,
.lead { color: var(--muted); }
.lead { font-size: 1.08rem; max-width: 40rem; }

.home-head-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}
.home-head-row p:last-child { margin-bottom: 0; }

.home-about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.4rem;
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link::after { content: " →"; transition: transform 0.2s ease; }
.text-link:hover::after { transform: translateX(3px); }

.home-photo { margin: 0; }
.home-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 4px;
}
.home-photo figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.86rem; }

.offer-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.offer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.offer img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 4px;
  transition: transform 0.45s ease;
}

.offer:hover img { transform: scale(1.04); }
.offer:hover h3 { color: var(--brand); }
.offer > div p { margin: 0.2rem 0; color: var(--muted); font-size: 0.96rem; }
.offer > div p strong { color: var(--ink); font-weight: 700; }
.offer .eyebrow { margin-bottom: 0.35rem; }
.offer > span {
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

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

.pillar-grid article { padding-top: 1rem; border-top: 1px solid var(--navy); }
.pillar-index {
  margin: 0 0 0.8rem;
  color: var(--bolt);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.pillar-grid p:last-child { margin: 0; color: var(--muted); }

.service-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-tile,
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-tile img,
.card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.45s ease;
}

.service-tile div,
.card div { padding: 1.1rem 1.15rem 1.25rem; }
.service-tile p,
.card p { color: var(--muted); margin: 0 0 0.8rem; font-size: 0.95rem; }
.service-tile span { color: var(--navy); font-weight: 700; font-size: 0.92rem; }
.service-tile:hover,
.card:hover { transform: translateY(-3px); border-color: #c9bfae; }
.service-tile:hover img,
.card:hover img { transform: scale(1.04); }
.service-tile:hover h3,
.card:hover h3 { color: var(--brand); }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.7rem;
}

.shot {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
}

.shot-main { grid-row: 1 / span 2; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}
.shot:hover img { transform: scale(1.04); }
.shot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(8, 16, 22, 0.7));
  pointer-events: none;
}
.shot b {
  position: absolute;
  left: 0.9rem;
  bottom: 0.8rem;
  z-index: 1;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.steps li { padding-top: 0.2rem; }
.steps span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--bolt);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.steps p { margin: 0; color: var(--muted); }

.home-close {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.quote-card {
  background: var(--navy);
  color: #e7eef2;
  border-radius: 4px;
  padding: 1.6rem 1.45rem 1.7rem;
}
.quote-card .eyebrow { color: #f0e2c4; }
.quote-card .eyebrow::before { background: #f0e2c4; }
.quote-card h2 { color: #fff; font-size: 1.55rem; }
.quote-card p { color: #c9d7e0; }
.quote-card ul { list-style: none; margin: 0 0 1.15rem; padding: 0; }
.quote-card li { margin: 0.4rem 0; }
.quote-card a { color: #fff; font-weight: 700; text-decoration: none; }
.quote-card a:hover { color: #f0e2c4; }
.quote-card .btn-cover { background: #fff; color: var(--navy); }
.quote-card .btn-cover:hover { background: #f0e2c4; color: var(--navy); }

.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.65rem 0 0.1rem; color: var(--muted); }

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 2.8rem 0 2.6rem;
}
.page-hero h1 {
  max-width: 16em;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}
.page-hero .crumbs { margin-bottom: 1.1rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero a { color: var(--brand); }
.page-hero .crumbs,
.page-hero .crumbs a { color: var(--muted); text-decoration: none; }
.page-hero .crumbs a:hover,
.page-hero a:hover { color: var(--navy); }

.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

.split,
.contact-grid,
.job-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.4rem;
  align-items: start;
}

.prose { max-width: 42rem; }
.prose h2 { margin-top: 0.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.2rem; }

.checks { padding: 0; margin: 0.4rem 0 1rem; list-style: none; }
.checks li { position: relative; padding-left: 1.15rem; margin: 0.4rem 0; }
.checks li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--bolt);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.frame {
  margin: 0;
  background: var(--navy);
  border-radius: 4px;
  overflow: hidden;
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame-wide img { aspect-ratio: 4 / 3; }
.frame figcaption { color: #d5e2ea; font-size: 0.86rem; padding: 0.7rem 0.9rem 0.85rem; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { margin: 0.45rem 0; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-grid .social a { color: var(--ink); }
.contact-grid .social a:hover { color: var(--brand); }

form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem;
}
label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.72rem 0.75rem;
  min-height: 2.8rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(31, 111, 152, 0.35);
  border-color: var(--brand);
  background: #fff;
}
.form-note, .status { color: var(--muted); font-size: 0.9rem; margin: 0; }

.about-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.5rem;
  height: 240px;
}
.about-shots .shot { height: 100%; }

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.job-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 32%;
  background: #ece7de;
  transition: transform 0.45s ease;
}
.job-card > div { display: flex; flex-direction: column; flex: 1; padding: 1.05rem 1.1rem 1.2rem; }
.job-card h2 { font-size: 1.22rem; margin: 0 0 0.3rem; }
.job-card .eyebrow { margin-bottom: 0.3rem; }
.job-card p { margin: 0; color: var(--muted); }
.job-card span { margin-top: 0.85rem; color: var(--navy); font-weight: 700; }
.job-card:hover { transform: translateY(-3px); border-color: #c9bfae; }
.job-card:hover img { transform: scale(1.03); }
.job-card:hover h2 { color: var(--brand); }

.job-card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
}
.job-card-feature img { height: 100%; min-height: 300px; max-height: 420px; aspect-ratio: auto; }
.job-card-feature > div { justify-content: center; padding: 1.6rem 1.7rem; }
.job-card-feature h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }

.job-figure {
  margin: 0;
  overflow: hidden;
  background: #ece7de;
  border-radius: 4px;
}
.job-figure img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #ece7de;
}
.job-figure figcaption { padding: 0.7rem 0.15rem 0; color: var(--muted); font-size: 0.86rem; }

.job-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.job-meta div { display: grid; gap: 0.15rem; }
.job-meta dt {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.job-meta dd { margin: 0; font-weight: 600; }
.job-meta a { color: inherit; text-decoration: none; }
.job-meta a:hover { color: var(--brand); }

.site-footer {
  background: var(--navy);
  color: #c5d2da;
  padding: 3.2rem 0 1.4rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 1.6rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #f0e2c4; }
.foot-title {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.32rem 0; }
.site-footer .social { margin-top: 0.8rem; }
.site-footer .social a { font-size: 0.88rem; font-weight: 600; }
.legal {
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid #243743;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #8ea0aa;
  font-size: 0.84rem;
}
.legal p { margin: 0; }

.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { background: #0c6236; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100vw - 2rem));
  width: 100%;
}
dialog::backdrop { background: rgba(8, 16, 22, 0.82); }
.visor-inner { background: var(--navy); color: #fff; border-radius: 4px; overflow: hidden; }
.visor-inner img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.visor-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
}
.visor-bar p { margin: 0; font-size: 0.92rem; }
.visor-bar button {
  font: inherit;
  font-weight: 700;
  border: 0;
  background: #fff;
  color: var(--navy);
  border-radius: 4px;
  min-height: 2.3rem;
  padding: 0 0.8rem;
  cursor: pointer;
}

.work { display: block; }

.home-rail,
.only-mobile { display: none; }

#servicios,
#por-que { scroll-margin-top: 6.2rem; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (min-width: 1400px) {
  :root { --max: 1180px; }
}

@media (min-width: 1680px) {
  :root { --max: 1240px; }
}

@media (max-width: 1040px) {
  .logo { margin-right: auto; }
  .nav-toggle { display: inline-flex; order: 3; flex: none; }
  .header-cta { order: 2; margin-left: 0.55rem; margin-right: 0; flex: none; }
  .header-bar { position: relative; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 20;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-height: min(70vh, 28rem);
    overflow: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.2rem 0 0.6rem;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav svg { display: block; width: 1.15rem; height: 1.15rem; margin-right: 0.7rem; color: var(--bolt); flex: none; }
  .nav a {
    padding: 0.95rem 1.15rem;
    border-top: 1px solid var(--line);
    min-height: 3.15rem;
    font-size: 1rem;
  }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--bolt); background: #f7f5f1; }
  .site-header { background: #fff; backdrop-filter: none; }
  .topbar .social { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 1.6rem; }
  .hero-layout,
  .home-about,
  .home-close,
  .split,
  .contact-grid,
  .job-layout,
  .job-card-feature { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; gap: 0.75rem; }
  .offer img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .offer > span { white-space: normal; }
  .pillar-grid,
  .steps,
  .service-grid,
  .cards { grid-template-columns: 1fr 1fr; }
  .service-grid > :last-child,
  .cards > :last-child,
  .pillar-grid > :last-child,
  .steps > :last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-head-row { flex-direction: column; align-items: flex-start; }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }
  .shot-main { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .home-block { padding: 3.2rem 0; }
  .about-shots { height: auto; grid-template-columns: 1fr 1fr; }
  .about-shots .shot { min-height: 180px; }
  .job-card-feature img { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .page-hero { padding: 2.2rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.85rem, 6vw, 2.6rem); }
}

@media (max-width: 800px) {
  .home-trust .wrap,
  .job-meta { grid-template-columns: 1fr; }
  .home-trust article + article { border-left: 0; border-top: 1px solid var(--line); }
  .wa-float {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
  }
  .home-rail { padding-right: 4.6rem; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 1.25rem)); }
  .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.35rem); }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .pillar-grid,
  .steps,
  .service-grid,
  .cards,
  .mosaic,
  .about-shots,
  .job-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: none; }
  .shot,
  .shot-main,
  .about-shots .shot { min-height: 210px; height: auto; }
  .actions .btn,
  .hero-actions .btn { flex: 1 1 12rem; }
  .legal { flex-direction: column; }
  .home-photo img { aspect-ratio: 4 / 3; }
  .logo img { height: 28px; }
}

@media (max-width: 380px) {
  .header-cta { display: none; }
  .topbar { font-size: 0.72rem; letter-spacing: 0.01em; }
  .hero { padding-top: 1.2rem; }
  .hero h1 { font-size: 1.75rem; }
  .home-block { padding: 2.6rem 0; }
}

@media (max-width: 800px) {
  .home .hero {
    padding: 0;
    background: #081018;
  }
  .home .hero .wrap { width: 100%; }
  .home .header-cta { display: none; }
  .home .hero-layout {
    display: grid;
    min-height: calc(100svh - 12.2rem);
    gap: 0;
    position: relative;
  }
  .home .hero-frame {
    position: absolute;
    inset: 0;
    margin: 0;
  }
  .home .hero-frame img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 58% 42%;
    border-radius: 0;
  }
  .home .hero-frame figcaption {
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    right: auto;
    z-index: 1;
    gap: 0.35rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin: 0;
    padding: 0.38rem 0.6rem;
    background: rgba(8, 16, 22, 0.86);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
  .home .hero-frame figcaption strong { color: #fff; }
  .home .hero-frame figcaption span::before { content: "· "; }
  .home .hero-copy {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 1.7rem 1.15rem 0.85rem;
    background: linear-gradient(to top, rgba(8, 14, 20, 0.97) 0%, rgba(8, 14, 20, 0.94) 62%, rgba(8, 14, 20, 0.62) 86%, transparent 100%);
  }
  .home .hero-kicker {
    color: #f0e2c4;
    margin-bottom: 0.55rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-wrap: balance;
  }
  .home .hero-kicker::before { background: #e7c98a; }
  .home .hero h1 {
    max-width: 11em;
    margin-bottom: 0.55rem;
    color: #fff;
    font-size: clamp(1.95rem, 8vw, 2.55rem);
    text-wrap: balance;
  }
  .home .hero .lead {
    max-width: 26rem;
    margin-bottom: 0.95rem;
    color: #d7e1e7;
    font-size: 0.98rem;
  }
  .home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .home .hero-actions .btn { width: 100%; flex: none; min-height: 3.05rem; }
  .home .hero .btn-cover { background: #fff; color: var(--navy); }
  .home .hero .btn-cover:hover { background: #f0e2c4; color: var(--navy); }
  .home .hero .btn-hero-ghost { display: none; }
  .home .hero-note {
    margin-top: 0.35rem;
    color: #f0e2c4;
    font-size: 0.88rem;
  }

  .home-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--navy);
    border-top: 1px solid #243743;
  }
  .home-rail a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    min-height: 4.7rem;
    padding: 0.8rem 0.7rem 0.9rem;
    color: #fff;
    text-decoration: none;
  }
  .home-rail a + a { box-shadow: inset 1px 0 0 #243743; }
  .home-rail a:active { background: #162833; }
  .home-rail span {
    color: #e7c98a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
  }
  .home-rail strong {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
  }
  .home-rail em {
    color: #9aadb6;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
  }
  .only-mobile { display: inline; }

  .home .home-trust { background: #102833; padding: 0; }
  .home .home-trust .wrap { border: 0; }
  .home .home-trust article { padding: 0.85rem 0.15rem; }
  .home .home-trust article + article { border-top-color: #243743; }
  .home .home-trust strong { color: #fff; font-size: 0.92rem; }
  .home .home-trust article div span { color: #c5d2da; font-size: 0.84rem; }
  .home .home-trust a { color: #fff; }
  .home .home-ico { color: #e7c98a; }

  .home .home-block { padding: 2.35rem 0; }
  .home .home-head { margin-bottom: 1.25rem; }
  .home .home-about { gap: 1.15rem; }
  .home .home-photo { order: -1; }
  .home .home-photo img {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    aspect-ratio: 5 / 4;
    border-radius: 0;
  }
  .home .home-photo figcaption { padding-right: 0.2rem; }

  .home .pillar-grid,
  .home .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 0.2rem;
    border-left: 1px solid #d9d3c8;
  }
  .home .pillar-grid > :last-child,
  .home .steps > :last-child { grid-column: auto; }
  .home .pillar-grid article,
  .home .steps li {
    position: relative;
    border-top: 0;
    padding: 0 0 1.35rem 1.05rem;
  }
  .home .pillar-grid article::before,
  .home .steps li::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0.28rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bolt);
  }
  .home .steps li::before { top: 0.45rem; }

  .home .home-services .offer-list { border-top: 0; }
  .home .offer {
    gap: 0.7rem;
    padding: 0 0 1.15rem;
    margin-bottom: 1.35rem;
    overflow: visible;
  }
  .home .offer:last-child { margin-bottom: 0; }
  .home .offer img {
    width: 100vw;
    max-width: none;
    height: 11.5rem;
    margin-left: calc(50% - 50vw);
    aspect-ratio: auto;
    border-radius: 0;
    object-position: center 35%;
  }
  .home .offer > span::after { content: " →"; }

  .home .home-gallery .wrap { width: 100%; }
  .home .home-gallery .home-head { padding-inline: 1.15rem; }
  .home .home-head-row .btn { width: 100%; }
  .home .mosaic {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0.55rem;
    width: auto;
    margin: 0;
    padding-inline: 1.15rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.15rem;
    scrollbar-width: none;
  }
  .home .mosaic::-webkit-scrollbar { display: none; }
  .home .shot,
  .home .shot-main {
    flex: 0 0 78%;
    grid-column: auto;
    grid-row: auto;
    height: 72vw;
    min-height: 250px;
    max-height: 430px;
    scroll-snap-align: start;
  }
  .home .shot img { height: 100%; }

  .home .home-close { display: flex; flex-direction: column; gap: 1.6rem; }
  .home .quote-card {
    order: -1;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
    padding: 1.45rem 1.15rem 1.55rem;
  }
  .home .faq summary {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
}

@media (max-width: 800px) and (max-height: 700px) {
  .home .hero-layout { min-height: 0; }
  .home .hero-frame figcaption,
  .home .hero-note { display: none; }
  .home .hero-copy { padding-top: 0.85rem; }
  .home .hero-kicker { font-size: 0.64rem; letter-spacing: 0.04em; }
  .home .hero .lead { margin-bottom: 0.55rem; font-size: 0.86rem; line-height: 1.4; }
  .home .hero h1 { font-size: 1.55rem; }
  .home-rail a {
    min-height: 0;
    padding: 0.5rem 0.45rem 0.55rem;
  }
}

@media (max-width: 380px) {
  .home .hero h1 { font-size: 1.72rem; }
  .home-rail a { padding-inline: 0.5rem; }
  .home-rail em { font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy,
  .hero-frame,
  .offer img,
  .shot img,
  .service-tile,
  .service-tile img,
  .card,
  .card img,
  .job-card,
  .job-card img,
  .btn,
  .header-cta,
  .wa-float,
  .nav-burger,
  .nav-burger::before,
  .nav-burger::after { animation: none; transition: none; }
}
