
:root{
  --ink:#151515;
  --ink-soft:#232323;
  --paper:#f7f7f4;
  --paper-2:#ffffff;
  --muted:#70706c;
  --line:#deded8;
  --ochre:#c69a2d;
  --ochre-dark:#a47d20;
  --container:min(1180px,calc(100% - 40px));
  --radius:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--ink)}
body{
  margin:0;
  font-family:Inter,"SF Pro Display","Segoe UI",Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit}
::selection{background:var(--ochre);color:#fff}

.container{width:var(--container);margin-inline:auto}
.section{padding:clamp(82px,9vw,132px) 0}

.header{
  position:fixed;
  z-index:100;
  inset:0 0 auto;
  height:82px;
  transition:background .3s,border-color .3s,box-shadow .3s;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header.scrolled{
  background:rgba(17,17,17,.94);
  backdrop-filter:blur(18px);
  box-shadow:0 10px 40px rgba(0,0,0,.12);
}
.header-inner{
  width:min(1240px,calc(100% - 34px));
  height:100%;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.logo{
  width:108px;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.logo img{
  max-width:100%;
  max-height:62px;
  object-fit:contain;
}
.nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.nav>a:not(.nav-cta){
  color:#f3f3ef;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  transition:color .2s;
}
.nav>a:not(.nav-cta):hover{color:#d7b562}
.nav-cta{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  padding:0 18px;
  border-radius:999px;
  background:var(--ochre);
  color:#111;
  font-size:11px;
  font-weight:700;
  transition:transform .28s ease, background .25s ease, box-shadow .25s ease;
  will-change:transform;
}
.nav-cta:hover{
  background:#d1a73f;
  box-shadow:0 14px 26px rgba(198,154,45,.22);
}
.menu{
  display:none;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  padding:10px;
}
.menu span{
  display:block;
  height:1.5px;
  background:#fff;
  margin:8px 0;
  transition:.25s;
}

.hero{
  min-height:780px;
  height:92svh;
  max-height:980px;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#111;
  color:#fff;
}
.hero-image{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}
.hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 45%;
  transform:scale(1.02);
  animation:heroZoom 18s ease-in-out infinite alternate;
  will-change:transform;
}
.hero-shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(7,7,7,.80) 0%,rgba(7,7,7,.57) 44%,rgba(7,7,7,.18) 74%,rgba(7,7,7,.34) 100%),
    linear-gradient(0deg,rgba(7,7,7,.72) 0%,transparent 45%,rgba(7,7,7,.10) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  width:min(1240px,calc(100% - 40px));
  margin:0 auto 86px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);
  gap:clamp(50px,7vw,110px);
  align-items:end;
}
.hero-copy{max-width:720px}
.eyebrow,
.section-kicker{
  margin:0 0 18px;
  color:var(--ochre);
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hero h1{
  margin:0 0 22px;
  font-size:clamp(46px,5.8vw,78px);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:520;
  max-width:720px;
}
.hero-copy>p{
  max-width:640px;
  margin:0;
  color:rgba(255,255,255,.80);
  font-size:clamp(16px,1.6vw,20px);
  line-height:1.65;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}
.btn{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 22px;
  font-size:12px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .28s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  position:relative;
  overflow:hidden;
  will-change:transform;
}
.btn::after{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(120deg, transparent 18%, rgba(255,255,255,.28) 34%, transparent 48%);
  transform:translateX(-135%);
  transition:transform .72s ease;
  pointer-events:none;
}
.btn:hover::after{transform:translateX(135%);}
.btn.primary{background:var(--ochre);color:#111}
.btn.primary:hover{background:#d2a83f;transform:translateY(-2px)}
.btn.secondary{
  border-color:rgba(255,255,255,.32);
  color:#fff;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
}
.btn.secondary:hover{background:#fff;color:#111}
.btn.dark{background:var(--ink);color:#fff}
.btn.line{border-color:#cfcfc8;background:#fff}

.hero-service-panel{
  border-radius:22px;
  overflow:hidden;
  background:rgba(15,15,15,.58);
  backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.16);
  display:grid;
  grid-template-columns:1fr 1fr;
}
.hero-service-panel>div{
  min-height:130px;
  padding:22px;
  border-right:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.hero-service-panel>div:nth-child(2n){border-right:0}
.hero-service-panel>div:nth-last-child(-n+2){border-bottom:0}
.hero-service-panel span{
  display:block;
  color:var(--ochre);
  font-size:10px;
  font-weight:700;
  margin-bottom:18px;
}
.hero-service-panel strong{
  display:block;
  font-size:16px;
  font-weight:600;
}
.hero-service-panel small{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.60);
  font-size:12px;
  line-height:1.45;
}
.hero-bottom{
  position:absolute;
  z-index:2;
  left:0;right:0;bottom:0;
  min-height:42px;
  padding:0 max(20px,calc((100vw - 1240px)/2));
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(13,13,13,.86);
  border-top:1px solid rgba(255,255,255,.08);
  color:#92928e;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
}

.intro-strip{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.intro-inner{
  width:var(--container);
  min-height:190px;
  margin:auto;
  display:grid;
  grid-template-columns:.42fr 1.58fr;
  align-items:center;
  gap:50px;
}
.intro-copy{
  margin:0;
  max-width:920px;
  font-size:clamp(22px,2.8vw,38px);
  line-height:1.25;
  letter-spacing:-.025em;
  font-weight:420;
  color:#292927;
}

.section-head{
  display:grid;
  grid-template-columns:1.1fr .55fr;
  gap:60px;
  align-items:end;
  margin-bottom:48px;
}
.section-head h2,
.company-copy h2,
.contact-copy h2{
  margin:0;
  font-size:clamp(38px,4.5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
  font-weight:500;
}
.section-head>p,
.company-copy>p,
.contact-copy>p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}

.services{background:var(--paper)}
.services-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.service-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;
}
.service-card:hover{
  transform:translateY(-5px);
  border-color:#c7c7bf;
  box-shadow:0 22px 54px rgba(24,24,20,.08);
}
.service-image{
  height:300px;
  overflow:hidden;
  background:#ddd;
}
.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
  transition:transform .55s ease;
}
.service-card:hover .service-image img{transform:scale(1.025)}
.service-body{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:18px;
  padding:26px 28px 30px;
}
.service-index{
  color:var(--ochre);
  font-size:11px;
  font-weight:700;
  padding-top:5px;
}
.service-body h3{
  margin:0 0 9px;
  font-size:24px;
  line-height:1.12;
  letter-spacing:-.025em;
  font-weight:600;
}
.service-body p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
}

.company{
  background:#fff;
  padding-top:0;
  padding-bottom:0;
}
.company-grid{
  min-height:760px;
  display:grid;
  grid-template-columns:1fr 1fr;
}
.company-photo{
  min-height:760px;
  overflow:hidden;
}
.company-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.company-copy{
  padding:clamp(70px,8vw,120px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.company-copy>p{
  margin-top:24px;
  max-width:620px;
}
.company-points{
  margin-top:42px;
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}
.company-points>div{
  display:grid;
  grid-template-columns:42px 120px 1fr;
  gap:18px;
  align-items:start;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}
.company-points span{
  color:var(--ochre);
  font-size:10px;
  font-weight:700;
  padding-top:3px;
}
.company-points strong{font-size:14px;font-weight:700}
.company-points p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.mission{
  background:var(--ink);
  color:#fff;
}
.mission-inner{
  width:var(--container);
  min-height:500px;
  margin:auto;
  padding:90px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.section-kicker.light{color:#b99a50}
.mission-text{
  margin:0;
  max-width:1040px;
  font-size:clamp(32px,4.2vw,58px);
  line-height:1.12;
  letter-spacing:-.035em;
  font-weight:420;
  color:#f4f4ef;
}
.mission-signature{
  margin-top:38px;
  display:flex;
  align-items:center;
  gap:14px;
  color:#aaa9a2;
  font-size:13px;
}
.mission-signature span{
  width:54px;
  height:2px;
  background:var(--ochre);
}

.operations{background:var(--paper)}
.gallery{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:260px;
  gap:16px;
}
.gallery-card{
  margin:0;
  grid-column:span 4;
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#ddd;
}
.gallery-card.large{
  grid-column:span 8;
  grid-row:span 2;
  min-height:536px;
}
.gallery-card.wide{
  grid-column:span 8;
  grid-row:span 2;
  min-height:536px;
}
.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 24%;
  transition:transform .55s ease;
}
.gallery-card.top-focus img{
  object-position:center 12%;
}
.gallery-card:hover img{transform:scale(1.025)}
.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.66),transparent 52%);
}
.gallery-card figcaption{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:18px;
  color:#fff;
}
.gallery-card figcaption span{
  display:block;
  margin-bottom:6px;
  color:#d4ad50;
  font-size:9px;
  font-weight:700;
  letter-spacing:.13em;
}
.gallery-card figcaption strong{
  font-size:15px;
  font-weight:600;
}

.contact{
  background:#fff;
  border-top:1px solid var(--line);
}
.contact-layout{
  display:grid;
  grid-template-columns:1fr .88fr;
  gap:clamp(50px,8vw,110px);
  align-items:start;
}
.contact-copy>p{
  margin-top:22px;
  max-width:620px;
}
.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:30px;
}
.contact-card{
  border:1px solid var(--line);
  border-radius:24px;
  padding:10px 28px 22px;
  background:var(--paper-2);
}
.contact-row{
  padding:22px 0;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
}
.contact-row>span{
  color:#8b8b85;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding-top:4px;
}
.contact-row a{
  display:block;
  width:max-content;
  max-width:100%;
  overflow-wrap:anywhere;
  font-size:15px;
  font-weight:600;
  line-height:1.7;
}
.contact-row a:hover{color:var(--ochre-dark)}
.contact-row address{
  font-style:normal;
  color:#494945;
  font-size:14px;
  line-height:1.65;
}
.location{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:18px;
  color:var(--ochre-dark);
  font-size:12px;
  font-weight:700;
}

footer{
  background:#101010;
  color:#8f8f89;
}
.footer-inner{
  width:var(--container);
  min-height:150px;
  margin:auto;
  display:grid;
  grid-template-columns:140px 1fr auto;
  gap:34px;
  align-items:center;
  font-size:10px;
  letter-spacing:.09em;
}
.footer-inner img{
  width:90px;
  max-height:72px;
  object-fit:contain;
}
.footer-inner p{margin:0}
.footer-inner>span{white-space:nowrap}

.whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:90;
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ochre);
  color:#111;
  font-size:10px;
  font-weight:800;
  box-shadow:0 12px 36px rgba(0,0,0,.20);
  transition:.25s;
}
.whatsapp:hover{transform:translateY(-3px)}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible{opacity:1;transform:none}
.delay-1{transition-delay:.10s}
.delay-2{transition-delay:.20s}

@keyframes heroZoom{
  from{transform:scale(1.02)}
  to{transform:scale(1.055)}
}

@media(max-width:980px){
  .menu{display:block;z-index:102}
  .nav{
    position:fixed;
    z-index:101;
    inset:82px 0 0;
    background:rgba(16,16,16,.98);
    flex-direction:column;
    justify-content:center;
    gap:30px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:.25s;
  }
  .nav.open{
    opacity:1;
    visibility:visible;
    transform:none;
  }
  .nav>a:not(.nav-cta){font-size:18px}
  .menu.active span:first-child{transform:translateY(4.7px) rotate(45deg)}
  .menu.active span:last-child{transform:translateY(-4.7px) rotate(-45deg)}

  .hero{
    min-height:760px;
    height:auto;
    padding-top:160px;
    padding-bottom:100px;
    align-items:center;
  }
  .hero-content{
    margin:0 auto;
    grid-template-columns:1fr;
    gap:34px;
  }
  .hero-service-panel{max-width:680px}
  .hero-bottom{display:none}

  .intro-inner{
    grid-template-columns:1fr;
    gap:16px;
    padding:42px 0;
  }
  .section-head{
    grid-template-columns:1fr;
    gap:18px;
  }
  .section-head>p{max-width:620px}
  .company-grid{grid-template-columns:1fr}
  .company-photo{min-height:620px}
  .company-copy{padding:70px max(24px,calc((100vw - 1180px)/2))}
  .contact-layout{grid-template-columns:1fr}
  .gallery-card{grid-column:span 6}
  .gallery-card.large{grid-column:span 12}
  .gallery-card.wide{grid-column:span 12}
  .footer-inner{grid-template-columns:120px 1fr}
  .footer-inner>span{grid-column:1/-1;padding-bottom:24px}
}

@media(max-width:640px){
  :root{--container:min(100% - 28px,1180px)}
  .header{height:74px}
  .header-inner{width:calc(100% - 24px)}
  .logo{width:88px;height:60px}
  .logo img{max-height:56px}
  .nav{inset:74px 0 0}
  .hero{
    min-height:720px;
    padding-top:120px;
    padding-bottom:76px;
  }
  .hero-image img{object-position:58% center}
  .hero-shade{
    background:
      linear-gradient(90deg,rgba(7,7,7,.84),rgba(7,7,7,.48)),
      linear-gradient(0deg,rgba(7,7,7,.82) 0%,transparent 58%);
  }
  .hero-content{width:calc(100% - 28px)}
  .hero h1{font-size:clamp(42px,12vw,58px);max-width:92%}
  .hero-copy>p{font-size:15px}
  .hero-actions .btn{width:100%}
  .hero-service-panel{grid-template-columns:1fr 1fr}
  .hero-service-panel>div{min-height:118px;padding:18px}
  .hero-service-panel small{display:none}

  .intro-copy{font-size:24px}
  .section{padding:72px 0}
  .section-head h2,.company-copy h2,.contact-copy h2{font-size:38px}
  .services-grid{grid-template-columns:1fr}
  .service-image{height:245px}
  .company-photo{min-height:500px}
  .company-copy{padding:64px 18px}
  .company-points>div{
    grid-template-columns:36px 100px 1fr;
    gap:10px;
  }
  .company-points p{font-size:12px}
  .mission-inner{min-height:440px;padding:70px 0}
  .mission-text{font-size:34px}

  .gallery{
    grid-template-columns:1fr;
    grid-auto-rows:330px;
  }
  .gallery-card,.gallery-card.large,.gallery-card.wide{
    grid-column:auto;
    grid-row:auto;
  }

  .contact-card{padding:8px 20px 20px}
  .contact-row{grid-template-columns:1fr;gap:8px}
  .contact-row>span{padding-top:0}
  .footer-inner{
    grid-template-columns:1fr;
    padding:28px 0 86px;
    gap:12px;
  }
  .footer-inner img{width:82px}
  .footer-inner>span{grid-column:auto;padding-bottom:0}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation:none!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
  .reveal{opacity:1!important;transform:none!important}
}


.hero-copy,
.hero-service-panel{
  will-change:transform;
}

@media(max-width:980px){
  .gallery-card.large,
  .gallery-card.wide{
    min-height:520px;
  }
  .gallery-card.wide{
    grid-column:span 12;
    grid-row:span 2;
  }
}

@media(max-width:640px){
  .gallery-card.top-focus img{
    object-position:center 10%;
  }
  .gallery-card,.gallery-card.large,.gallery-card.wide{
    min-height:auto;
  }
}


/* ==========================================================
   CONTROL VS — MOBILE CALIBRATION V5
   Bloque final deliberadamente prioritario.
   ========================================================== */

@media (max-width: 767px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  :root {
    --container: calc(100% - 28px);
  }

  .container,
  .header-inner,
  .hero-content,
  .intro-inner,
  .mission-inner,
  .footer-inner {
    width: calc(100% - 28px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header */
  .header {
    height: 72px;
  }

  .header-inner {
    height: 72px;
  }

  .logo {
    width: 82px;
    height: 56px;
  }

  .logo img {
    width: auto;
    height: 52px;
    max-width: 100%;
    object-fit: contain;
  }

  .menu {
    display: block;
    width: 42px;
    height: 42px;
  }

  .nav {
    inset: 72px 0 0 !important;
    min-height: calc(100svh - 72px);
    padding: 40px 24px;
  }

  .nav > a:not(.nav-cta) {
    font-size: 18px;
  }

  .nav-cta {
    width: min(280px, 100%);
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    height: auto;
    max-height: none;
    padding: 112px 0 64px;
    align-items: flex-end;
  }

  .hero-image img {
    object-position: 58% center !important;
    transform: scale(1.03) !important;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7,7,7,.86) 0%, rgba(7,7,7,.58) 58%, rgba(7,7,7,.30) 100%),
      linear-gradient(0deg, rgba(7,7,7,.88) 0%, rgba(7,7,7,.28) 52%, rgba(7,7,7,.08) 100%);
  }

  .hero-content {
    display: block;
    margin-bottom: 0;
  }

  .hero-copy {
    max-width: 100%;
    transform: none !important;
  }

  .eyebrow,
  .section-kicker {
    font-size: 9px;
    letter-spacing: .14em;
    margin-bottom: 12px;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .hero-copy > p {
    width: 100%;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-service-panel {
    margin-top: 28px;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    transform: none !important;
    border-radius: 18px;
  }

  .hero-service-panel > div {
    min-height: 96px;
    padding: 16px;
  }

  .hero-service-panel span {
    margin-bottom: 10px;
  }

  .hero-service-panel strong {
    font-size: 14px;
  }

  .hero-service-panel small {
    display: none;
  }

  .hero-bottom {
    display: none;
  }

  /* Intro */
  .intro-inner {
    min-height: auto;
    padding: 36px 0;
    display: block;
  }

  .intro-copy {
    margin-top: 12px;
    font-size: 21px;
    line-height: 1.34;
  }

  /* General sections */
  .section {
    padding: 64px 0;
  }

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

  .section-head h2,
  .company-copy h2,
  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(32px, 8.8vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .section-head > p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .service-card {
    width: 100%;
    border-radius: 18px;
  }

  .service-image {
    height: auto !important;
    aspect-ratio: 16 / 10;
  }

  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }

  .service-body {
    grid-template-columns: 34px 1fr;
    padding: 20px 18px 22px;
    gap: 12px;
  }

  .service-body h3 {
    font-size: 21px;
  }

  .service-body p {
    font-size: 13px;
  }

  /* Company */
  .company-grid {
    display: block;
    min-height: 0;
  }

  .company-photo {
    min-height: 0 !important;
    height: auto !important;
  }

  .company-photo img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
  }

  .company-copy {
    padding: 54px 18px 62px !important;
  }

  .company-points > div {
    grid-template-columns: 28px 92px 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .company-points strong {
    font-size: 13px;
  }

  .company-points p {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Mission */
  .mission-inner {
    min-height: 0;
    padding: 64px 0;
  }

  .mission-text {
    font-size: clamp(29px, 7.8vw, 38px);
    line-height: 1.15;
  }

  /* OPERACIONES — corrección principal del screenshot */
  .operations .section-head {
    margin-bottom: 26px;
  }

  .gallery {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 18px !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
  }

  .gallery-card,
  .gallery-card.large,
  .gallery-card.wide,
  .gallery-card.top-focus {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    border-radius: 18px;
    overflow: hidden;
  }

  /* En móvil no recortamos las fotografías:
     se respeta su proporción real para evitar cabezas cortadas. */
  .gallery-card img,
  .gallery-card.large img,
  .gallery-card.wide img,
  .gallery-card.top-focus img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
  }

  .gallery-card:hover img {
    transform: none !important;
  }

  .gallery-card::after {
    background: linear-gradient(0deg, rgba(0,0,0,.68), rgba(0,0,0,0) 42%);
  }

  .gallery-card figcaption {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .gallery-card figcaption span {
    font-size: 8px;
  }

  .gallery-card figcaption strong {
    display: block;
    max-width: 90%;
    font-size: 14px;
    line-height: 1.25;
  }

  /* Contact */
  .contact-layout {
    display: block;
  }

  .contact-copy {
    margin-bottom: 34px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .contact-card {
    padding: 6px 18px 18px;
    border-radius: 18px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .contact-row > span {
    padding-top: 0;
  }

  .contact-row a,
  .contact-row address {
    font-size: 13px;
  }

  /* Footer */
  .footer-inner {
    display: block;
    min-height: 0;
    padding: 28px 0 88px;
  }

  .footer-inner img {
    width: 78px;
    margin-bottom: 12px;
  }

  .footer-inner p {
    margin: 0 0 8px;
    font-size: 9px;
  }

  .footer-inner > span {
    display: block;
    font-size: 9px;
  }

  /* Floating WhatsApp */
  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  /* En táctil: quitar efectos magnéticos/parallax que pueden alterar layout */
  [data-magnetic],
  .parallax-copy,
  .parallax-panel {
    transform: none !important;
  }
}

/* Teléfonos estrechos */
@media (max-width: 390px) {
  :root {
    --container: calc(100% - 22px);
  }

  .container,
  .header-inner,
  .hero-content,
  .intro-inner,
  .mission-inner,
  .footer-inner {
    width: calc(100% - 22px) !important;
  }

  .hero h1 {
    font-size: 37px;
  }

  .hero-service-panel > div {
    padding: 13px;
  }

  .hero-service-panel strong {
    font-size: 13px;
  }

  .service-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .company-points > div {
    grid-template-columns: 24px 82px 1fr;
  }
}
