/* ============================================================
   Sections — JL Refrigeración
   ============================================================ */

/* ---------- Top nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 200ms, border-color 200ms;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--hairline);
}
.nav .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 40px; height: 40px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--brand);
}
.brand .mark img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.brand .word { font-size: 15px; line-height: 1.15; }
.brand .word small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 4px;
  justify-self: center;
}
.nav-links a {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  transition: background 150ms, color 150ms;
  position: relative;
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.nav-links a.active { background: var(--brand-soft); color: var(--brand-ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta .phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta .phone::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--brand-soft);
}

/* ---------- Hero (home) ---------- */
.hero {
  padding: calc(var(--nav-h) + 56px) 0 0;
  border-top: 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.hero-title {
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
}
.hero-meta {
  border-top: 2px solid var(--brand);
  padding-top: 28px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  max-width: 44ch;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 500;
}
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-visual {
  position: relative;
  width: 100%;
  margin-top: 16px;
}
.hero-visual .frame {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 360px;
}
.hero-visual .frame > img { object-position: center 50%; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: white;
  margin-top: -1px;
}
.hero-stats .stat {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat .n {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  color: white;
}
.hero-stats .stat .n sup {
  font-size: 16px;
  vertical-align: super;
  margin-left: 4px;
  color: var(--brand);
  font-weight: 500;
}
.hero-stats .stat .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  line-height: 1.4;
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--brand);
  color: white;
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--brand-2);
  border-bottom: 1px solid var(--brand-2);
}
.strip-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: white;
}
.strip-item .sep {
  width: 6px; height: 6px;
  background: white;
  border-radius: 50%;
  opacity: 0.7;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 220ms, transform 220ms, box-shadow 220ms;
  cursor: pointer;
}
.service:hover {
  border-color: var(--brand);
  box-shadow: 0 12px 32px -16px rgba(0, 160, 218, 0.35);
  transform: translateY(-2px);
}
.service .img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-2);
}
.service .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.service:hover .img-wrap img { transform: scale(1.04); }
.service .img-wrap .num {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--brand);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.service .body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.service h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.service p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 36ch;
}
.service .tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
}
.service .tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-radius: 999px;
}
.service .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
}
.service .more::after {
  content: "→";
  transition: transform 200ms;
}
.service:hover .more::after { transform: translateX(4px); }

/* ---------- Sectores ---------- */
.sectores {
  background: var(--ink);
  color: white;
}
.sectores .section-head h2 { color: white; }
.sectores .section-head h2 em { color: var(--brand); }
.sectores .section-head .lede { color: rgba(255,255,255,0.65); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sector {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  transition: transform 350ms cubic-bezier(.2,.7,.2,1);
}
.sector:hover { transform: translateY(-4px); }
.sector img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}
.sector:hover img { transform: scale(1.05); }
.sector .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,160,218,0) 0%, rgba(0,0,0,0.8) 80%);
  z-index: 1;
}
.sector .label-area {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  z-index: 2;
  color: white;
}
.sector .label-area h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.sector .label-area .arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  transition: gap 200ms;
}
.sector:hover .label-area .arrow { gap: 14px; }

/* ---------- Sobre la empresa ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 18px 0 28px;
  text-wrap: balance;
}
.about-copy h2 em {
  font-style: normal;
  color: var(--brand);
}
.about-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: var(--ink-2);
  max-width: 52ch;
}
.about-copy p + p { color: var(--muted); }
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
}
.about-image .frame { width: 100%; height: 100%; }
.about-image .caption {
  position: absolute;
  bottom: -32px; right: -20px;
  background: var(--brand);
  color: white;
  padding: 20px 24px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 20px 40px -16px rgba(0, 160, 218, 0.4);
}
.about-image .caption strong {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ---------- Diferenciadores ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 96px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.diff {
  padding: 40px 32px;
  background: var(--paper);
  transition: background 250ms;
}
.diff:hover { background: var(--brand-softer); }
.diff .num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
}
.diff h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  text-wrap: balance;
  max-width: 18ch;
}
.diff p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 34ch;
}

/* ---------- Proceso ---------- */
.proceso {
  background: var(--paper-2);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  margin-top: 72px;
  gap: 24px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 2px;
  background: var(--hairline);
}
.process-track::after {
  content: "";
  position: absolute;
  top: 18px; left: 0;
  height: 2px;
  width: 20%;
  background: var(--brand);
}
.step {
  padding-top: 52px;
  padding-right: 16px;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: 8px; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--hairline);
  z-index: 2;
}
.step.first::before {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(0, 160, 218, 0.15);
}
.step .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 12px;
}
.step h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 26ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
}
.cta-band .wrap {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-band h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 18ch;
  text-wrap: balance;
  color: white;
}
.cta-band .actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 280px;
}
.cta-band .btn-primary {
  background: white;
  color: var(--brand);
}
.cta-band .btn-primary:hover { background: var(--ink); color: white; }
.cta-band .btn-ghost {
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px white;
  color: white;
}
.cta-band .lede {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-top: 16px;
  max-width: 56ch;
}

/* ---------- Proyectos ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.proj {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.proj img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.proj:hover img { transform: scale(1.05); }
.proj::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.proj:nth-child(1) { grid-column: span 7; aspect-ratio: 7/5; }
.proj:nth-child(2) { grid-column: span 5; aspect-ratio: 5/5; }
.proj:nth-child(3) { grid-column: span 4; aspect-ratio: 4/4; }
.proj:nth-child(4) { grid-column: span 4; aspect-ratio: 4/4; }
.proj:nth-child(5) { grid-column: span 4; aspect-ratio: 4/4; }
.proj .info {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  z-index: 2;
  color: white;
}
.proj .info .title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.proj .info .title small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.proj .info .loc {
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.contact-copy h2 em {
  font-style: normal;
  color: var(--brand);
}
.contact-copy p.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 44ch;
  line-height: 1.55;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  border-top: 2px solid var(--brand);
  padding-top: 32px;
}
.contact-info .item .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.contact-info .item .val {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contact-info .item .val a:hover { color: var(--brand); }
.contact-info .item .val small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.form {
  background: var(--paper-2);
  padding: 40px;
  border-radius: 4px;
  border-top: 4px solid var(--brand);
}
.form h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font: inherit;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 160, 218, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.checkbox {
  display: flex; gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.checkbox input { margin-top: 3px; accent-color: var(--brand); }
.checkbox a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form .submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form .submit .note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
footer.foot {
  background: var(--ink);
  color: white;
  padding: 88px 0 32px;
  border-top: 4px solid var(--brand);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-grid h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 18px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: rgba(255,255,255,0.78); font-size: 14px; }
.foot-grid a:hover { color: white; }
.foot-brand .brand-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.foot-brand .brand-line .mark {
  width: 44px; height: 44px;
  overflow: hidden;
  border-radius: 6px;
}
.foot-brand .brand-line .mark img {
  width: 100%; height: 100%; object-fit: cover;
}
.foot-brand .brand-line .word { font-size: 18px; font-weight: 600; line-height: 1.15; }
.foot-brand .brand-line .word small {
  display: block; font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.55); margin-top: 4px;
}
.foot-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 38ch;
  line-height: 1.55;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.foot-bottom .legal { display: flex; gap: 24px; }
.foot-bottom .legal a:hover { color: white; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-track::before, .process-track::after { display: none; }
  .step {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--hairline);
    margin-top: 16px;
  }
  .step::before { display: none; }
  .projects-grid { grid-template-columns: repeat(6, 1fr); }
  .proj { grid-column: span 6 !important; aspect-ratio: 16/9 !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual .frame { aspect-ratio: 16/10; }
  .hero-stats .stat { padding: 22px 18px; }
  .hero-stats .stat .n { font-size: 32px; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .form { padding: 28px; }
  .contact-info { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-cta .phone { display: none; }
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}


/* ============================================================
   INTERNAL PAGES — subpage hero, breadcrumb, content blocks
   ============================================================ */
.subhero {
  padding: calc(var(--nav-h) + 72px) 0 80px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.subhero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--brand);
}
.subhero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); transition: color 150ms; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: rgba(11,13,14,0.3); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }
.subhero h1 {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
  margin-bottom: 0;
}
.subhero h1 em { font-style: normal; color: var(--brand); }
.subhero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 24px;
}
.subhero .lede + .lede { margin-top: 16px; }

/* Two-col content block: text + image */
.content-block {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.content-block .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.content-block.reverse .wrap > .text-col { order: 2; }
.content-block .text-col h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
  text-wrap: balance;
}
.content-block .text-col h2 em { font-style: normal; color: var(--brand); }
.content-block .text-col p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 16px;
  max-width: 56ch;
}
.content-block .text-col p + p { color: var(--muted); }
.content-block .text-col .bullet-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.content-block .text-col .bullet-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
  align-items: start;
}
.content-block .text-col .bullet-list li::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand);
  margin-top: 11px;
}
.content-block .image-col {
  aspect-ratio: 4/3;
  position: relative;
}
.content-block .image-col .frame { width: 100%; height: 100%; }

/* Problems + Solutions split */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.split-card {
  padding: 40px 36px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.split-card.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.split-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,160,218,0.12);
  color: var(--brand);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.split-card.dark .tag {
  background: rgba(0,160,218,0.2);
  color: var(--brand);
}
.split-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.split-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
}
.split-card ul li {
  font-size: 15px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.split-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--brand);
}
.split-card.dark ul li { color: rgba(255,255,255,0.85); }

/* Service detail blocks (servicios.html) */
.svc-detail {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.svc-detail .svc-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.svc-detail .svc-num {
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 600;
  color: var(--brand);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.svc-detail .svc-title h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 16px;
}
.svc-detail .svc-title .lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.55;
}
.svc-detail .svc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.svc-detail .svc-image {
  aspect-ratio: 4/3;
  position: relative;
}
.svc-detail .svc-image .frame { width: 100%; height: 100%; }
.svc-detail .svc-points {
  display: grid;
  gap: 18px;
}
.svc-detail .point {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.svc-detail .point h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.svc-detail .point p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .icon {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 18px;
  transition: transform 250ms, background 200ms;
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--brand); color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(.2,.7,.2,1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 72ch;
}

/* Quick-jump pills (for servicios.html anchor nav) */
.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
}
.jump-bar a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  transition: background 150ms, color 150ms;
}
.jump-bar a:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* Map + contact info side-by-side */
.map-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--hairline);
  margin-top: 56px;
}
.map-block .map {
  position: relative;
  min-height: 420px;
  background: var(--paper-2);
  overflow: hidden;
}
.map-block .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-block .info {
  padding: 40px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.map-block .info h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.map-block .info-row {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
}
.map-block .info-row .lbl {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand);
  margin-bottom: 6px;
}
.map-block .info-row .val {
  font-size: 15px;
  font-weight: 500;
}
.map-block .info-row .val small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Page-level responsive */
@media (max-width: 1100px) {
  .subhero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .content-block { padding: 64px 0; }
  .content-block .wrap { grid-template-columns: 1fr; gap: 32px; }
  .content-block.reverse .wrap > .text-col { order: 0; }
  .split-block { grid-template-columns: 1fr; }
  .svc-detail .svc-body { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail .svc-head { grid-template-columns: 1fr; gap: 16px; }
  .map-block { grid-template-columns: 1fr; }
  .map-block .map { min-height: 320px; }
  .jump-bar { display: none; }
}
