/* ==========================================================================
   GRUPO HBC PERÚ — estilos principales
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES Y RESET
   -------------------------------------------------------------------------- */
:root {
  --navy: #082d49;
  --navy-deep: #061f34;
  --blue: #087ca5;
  --cyan: #37d4d0;
  --ink: #102b3d;
  --muted: #637785;
  --paper: #f4f8fa;
  --white: #fff;
  --line: #dce7ec;
  --container: 1180px;
  --radius: 4px;
  --shadow: 0 18px 55px rgba(8, 45, 73, .12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

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

/* --------------------------------------------------------------------------
   2. LAYOUT / CONTENEDOR
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   3. TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep);
  color: #d3e3eb;
  font-size: 12px;
  letter-spacing: .035em;
}

.topbar-inner, .topbar-links {
  display: flex;
  align-items: center;
}

.topbar-inner {
  min-height: 38px;
  justify-content: space-between;
  gap: 20px;
}

.topbar-links { gap: 26px; }

.topbar a:hover { color: var(--cyan); }

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(55,212,208,.12);
}

/* --------------------------------------------------------------------------
   4. HEADER Y NAVEGACIÓN
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(8,45,73,.08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 29px;
  padding: 3px;
  transform: skew(-13deg);
}

.brand-mark span {
  display: block;
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: var(--blue);
}



.brand-name {
  font: 800 17px/1.1 Manrope, sans-serif;
  letter-spacing: -.06em;
  color: var(--navy);
}

.brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .1em;
}

/* Navegación principal */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.7vw, 36px);
  font-size: 13px;
  font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
  color: #385363;
}

.main-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.main-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 13px 17px;
  background: var(--navy);
  color: white;
  border-radius: 3px;
  transition: background .2s;
}

.nav-cta span {
  padding-left: 12px;
  color: var(--cyan);
}

.nav-cta:hover { background: var(--blue); }

/* Menú hamburguesa */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--navy);
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: white;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("https://plus.unsplash.com/premium_photo-1733266883899-29971ddbe5e3?q=80&w=1075&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D") center 48%/cover no-repeat;
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,27,45,.95) 0%, rgba(5,35,56,.84) 43%, rgba(5,35,56,.22) 100%),
    linear-gradient(0deg, rgba(4,27,45,.25), transparent 60%);
}

.hero-content {
  padding-top: 66px;
  padding-bottom: 86px;
  position: relative;
}

.hero h1, h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 760px;
  margin: 25px 0 20px;
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 800;
  line-height: 1.04;
}

h1 em, h2 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lead {
  max-width: 570px;
  color: #d5e3e9;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 55px;
  color: #d1e0e7;
  font-size: 14px;
  letter-spacing: .05em;
}

.note-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--cyan);
}

.hero-side-label {
  position: absolute;
  right: 25px;
  bottom: 40px;
  writing-mode: vertical-rl;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  letter-spacing: .25em;
}

/* --------------------------------------------------------------------------
   6. COMPONENTES REUTILIZABLES (botones, textos, eyebrows)
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .19em;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}

.eyebrow.light { color: #c2dce6; }

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 800;
  transition: transform .2s, background .2s, border-color .2s;
  cursor: pointer;
}

.button:hover { transform: translateY(-2px); }

.button span {
  font-size: 15px;
  line-height: 1;
}

.button-primary {
  background: var(--cyan);
  color: var(--navy-deep);
}

.button-primary:hover { background: #7af0e9; }

.button-ghost {
  color: white;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.03);
}

.button-ghost:hover { border-color: var(--cyan); }

.button-light {
  background: white;
  color: var(--navy);
}

.button-light span { color: var(--blue); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.text-link span {
  color: var(--blue);
  font-size: 18px;
  transition: transform .2s;
}

.text-link:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. MÉTRICAS
   -------------------------------------------------------------------------- */
.metrics {
  background: var(--paper);
  padding: 31px 0 15px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.metric {
  min-height: 88px;
  padding: 4px 25px;
  border-right: 1px solid #d8e5ea;
}

.metric:first-child { padding-left: 0; }
.metric:nth-child(3) { border-right: 1px solid #d8e5ea; }

.metric strong {
  font: 800 34px/1.1 Manrope, sans-serif;
  letter-spacing: -.06em;
  color: var(--navy);
}

.metric strong span { color: var(--blue); }

.metric p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.metric-statement {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
}

.metric-statement p {
  max-width: 200px;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}

.metric-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: #d7f7f4;
  color: var(--blue);
  font-size: 22px;
}

.metric-footnote {
  margin: 10px 24px 0;
  text-align: right;
  color: #8b9aa3;
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   8. SECCIONES GENÉRICAS
   -------------------------------------------------------------------------- */
.section { padding: 108px 0; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  margin-bottom: 42px;
}

.about-copy h2,
.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  margin: 20px 0 20px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.14;
  font-weight: 800;
}

.about-copy h2 em,
.section-heading h2 em,
.contact-copy h2 em { color: var(--blue); }

.section-heading h2 { margin-bottom: 0; }

.section-heading > p {
  max-width: 400px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
}

.section-lead {
  color: #304c5e;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. ABOUT (NOSOTROS)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
}

.about-visual {
  position: relative;
  padding: 0 28px 28px 0;
}

.about-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
}

.visual-outline {
  position: absolute;
  top: 26px;
  right: 0;
  bottom: 0;
  left: 28px;
  border: 1px solid var(--cyan);
}

.visual-caption {
  position: absolute;
  right: -1px;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 245px;
  padding: 19px 23px;
  color: white;
  background: var(--navy);
  font-size: 12px;
  line-height: 1.5;
}

.caption-mark {
  color: var(--cyan);
  font: 800 21px Manrope, sans-serif;
}

.about-copy > p:not(.section-lead) {
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  padding: 0;
  margin: 26px 0;
  color: #294658;
  font-size: 13px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list li span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: #d8f8f3;
  color: var(--blue);
  font-weight: 800;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   10. SOLUCIONES
   -------------------------------------------------------------------------- */
.solutions-section { background: var(--paper); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: white;
  border: 1px solid #e2ebef;
  transition: transform .25s, box-shadow .25s;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-image {
  height: 210px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.card-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5,35,56,.5), transparent 75%);
}

.image-ptar { background-image: url("https://images.unsplash.com/photo-1696850194823-24cf64cb3dad?q=80&w=1331&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D"); }
.image-ptap { background-image: url("Images/471190904_576127485029114_2867145010111690215_n.jpg"); }
.image-om   { background-image: url("Images/hq720.jpg"); }

.card-number {
  position: absolute;
  top: 17px;
  left: 19px;
  z-index: 1;
  color: white;
  font: 700 11px Manrope, sans-serif;
  letter-spacing: .1em;
}

.card-body {
  position: relative;
  padding: 28px 25px 25px;
}

.card-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  margin-top: -51px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  background: var(--cyan);
  color: var(--navy);
  border: 4px solid white;
  border-radius: 50%;
  font-size: 22px;
}

.card-body h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font: 800 20px Manrope, sans-serif;
  letter-spacing: -.04em;
}

.card-body p {
  min-height: 88px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.card-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
}

.card-body a span {
  color: var(--blue);
  font-size: 17px;
}

.solutions-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 35px;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   11. PROCESO
   -------------------------------------------------------------------------- */
.process-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--navy);
  color: white;
}

.process-section::after {
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(55,212,208,.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 60px rgba(55,212,208,.035), 0 0 0 120px rgba(55,212,208,.025);
  pointer-events: none;
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(55px, 9vw, 130px);
}

.process-intro h2 {
  margin: 22px 0;
  color: white;
  font-size: clamp(38px, 4.5vw, 54px);
}

.process-intro p {
  max-width: 370px;
  margin-bottom: 30px;
  color: #bfd2dc;
  font-size: 14px;
}

.process-steps { border-top: 1px solid rgba(255,255,255,.18); }

.process-step {
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  gap: 20px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.step-no {
  padding-top: 3px;
  color: var(--cyan);
  font: 800 12px Manrope, sans-serif;
}

.process-step h3 {
  margin: 0 0 6px;
  color: white;
  font: 700 17px Manrope, sans-serif;
}

.process-step p {
  max-width: 440px;
  margin: 0;
  color: #b7cbd5;
  font-size: 12px;
  line-height: 1.7;
}

.step-arrow {
  color: var(--cyan);
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   12. PROYECTOS / GALERÍA
   -------------------------------------------------------------------------- */
.projects-section { background: white; }

.project-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 300px;
  gap: 16px;
}

.project {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: var(--navy);
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .83;
  transition: transform .45s, opacity .3s;
}

.project:hover img {
  transform: scale(1.05);
  opacity: .95;
}

.project::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(4,27,45,.9), transparent 65%);
  pointer-events: none;
}

.project figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  color: white;
}

.project figcaption span {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.project figcaption strong {
  font: 700 15px Manrope, sans-serif;
}

.gallery-note {
  margin: 15px 0 0;
  color: #84949e;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   13. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  padding: 58px 0;
  background: var(--blue);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.cta-inner h2 {
  margin: 15px 0 0;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.17;
  letter-spacing: -.045em;
}

.cta-inner .button {
  flex-shrink: 0;
  background: white;
  color: var(--navy);
}

.cta-inner .button span { color: var(--blue); }

/* --------------------------------------------------------------------------
   14. CONTACTO
   -------------------------------------------------------------------------- */
.contact-section { background: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: start;
}

.contact-copy h2 { font-size: clamp(34px, 4vw, 46px); }

.contact-copy > p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 24px;
}

.contact-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  background: #d8f7f3;
  color: var(--blue);
  font-size: 20px;
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  color: #7d909b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.contact-item a,
.contact-item p {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-item a:hover { color: var(--blue); }

/* Formulario */
.contact-form {
  padding: clamp(25px, 4vw, 42px);
  background: white;
  box-shadow: 0 12px 45px rgba(8,45,73,.07);
  border: 1px solid #e5edf0;
}

.contact-form h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font: 800 23px Manrope, sans-serif;
  letter-spacing: -.04em;
}

.contact-form > p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #365365;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #d8e4e9;
  border-radius: 2px;
  outline: none;
  background: #fbfdfe;
  color: var(--ink);
  font-size: 12px;
  transition: border .2s, box-shadow .2s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 105px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,124,165,.1);
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note {
  margin: 12px 0 0 !important;
  color: #84949e !important;
  font-size: 10px !important;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 38px 0 0;
  background: var(--navy-deep);
  color: #d0e0e8;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
}

.brand-footer .brand-name { color: white; }

.footer-main > p {
  max-width: 430px;
  margin: 0 auto 0 0;
  color: #a9bfcb;
  font-size: 12px;
}

.footer-top {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 17px;
  padding-bottom: 17px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #91aab7;
  font-size: 10px;
}

.footer-bottom a { color: var(--cyan); }

/* --------------------------------------------------------------------------
   16. BOTÓN FLOTANTE (WHATSAPP / CONTACTO)
   -------------------------------------------------------------------------- */
.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border-radius: 50px;
  background: #1fbd75;
  color: white;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s;
}

.floating-contact:hover { transform: translateY(-3px); }

.floating-contact > span:first-child { font-size: 18px; }

/* --------------------------------------------------------------------------
   17. RESPONSIVE — TABLET (≤ 900px)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 36px)); }

  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 15px 24px 23px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(8,45,73,.08);
    align-items: stretch;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f4;
  }

  .main-nav > a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  .hero { min-height: 600px; }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3) { padding-left: 0; }
  .metric-statement { padding-left: 25px !important; }

  .about-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual { max-width: 650px; }
  .about-visual > img { height: 420px; }
  .about-copy { max-width: 680px; }

  .process-intro { max-width: 600px; }
  .process-intro p { max-width: 500px; }

  .solutions-grid { gap: 14px; }
  .card-body { padding: 25px 18px 20px; }
  .card-body h3 { font-size: 17px; }
  .card-body p { min-height: 125px; }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 270px 230px;
  }

  .project-large { grid-column: 1 / -1; }

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

/* --------------------------------------------------------------------------
   18. RESPONSIVE — MÓVIL (≤ 620px)
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .container { width: calc(100% - 34px); }

  .topbar-inner {
    justify-content: center;
    min-height: 35px;
  }

  .topbar-links { display: none; }

  .nav-wrap { min-height: 68px; }
  .brand-name { font-size: 15px; }

  /* Hero */
  .hero {
    min-height: 600px;
    align-items: flex-end;
  }

  .hero-image { background-position: 58% center; }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4,27,45,.93), rgba(5,35,56,.55)),
      linear-gradient(0deg, rgba(4,27,45,.65), transparent);
  }

  .hero-content {
    padding-top: 75px;
    padding-bottom: 62px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(43px, 12vw, 61px);
  }

  .hero-lead { font-size: 15px; }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 330px;
  }

  .button { justify-content: space-between; }

  .hero-note { margin-top: 34px; }
  .hero-side-label { display: none; }

  /* Métricas */
  .metrics { padding-top: 24px; }
  .metrics-grid { column-gap: 0; row-gap: 15px; }

  .metric {
    min-height: 76px;
    padding: 5px 12px;
  }

  .metric strong { font-size: 29px; }
  .metric p { font-size: 11px; }

  .metric-statement {
    padding-left: 12px !important;
    gap: 8px;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 17px;
  }

  .metric-statement p { font-size: 10px; }

  .metric-footnote {
    text-align: left;
    margin: 12px 17px 0;
  }

  /* Secciones */
  .section { padding: 72px 0; }

  .about-grid { gap: 40px; }

  .about-visual {
    padding-right: 16px;
    padding-bottom: 20px;
  }

  .about-visual > img { height: 330px; }
  .visual-outline { top: 17px; left: 17px; }

  .visual-caption {
    min-width: 215px;
    padding: 13px 16px;
    font-size: 11px;
  }

  .about-copy h2,
  .section-heading h2,
  .contact-copy h2 { font-size: 36px; }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading > p { margin-top: 18px; }

  /* Soluciones */
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-image { height: 205px; }
  .card-body p { min-height: 0; }

  .solutions-bottom {
    justify-content: flex-start;
    gap: 12px;
  }

  /* Proceso