
:root {
  --ink: #17201f; --muted: #59615e; --amber: #ffb400; --orange: #ea710d;
  --paper: #f7f7f3; --line: #e3e6df; --page: min(1224px, calc(100% - 88px));
  color-scheme: light;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-synthesis: none; font-weight: 400; color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.wrap { width: var(--page); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-180%); background: #fff; padding: 12px 20px; z-index: 100; }
.skip:focus { transform: none; }
.hero { min-height: 740px; min-height: max(740px, 96svh); position: relative; isolation: isolate; color: #fff; background: #172623; display: flex; flex-direction: column; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-image { object-fit: cover; object-position: 59% 50%; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(5,18,14,.60) 0, rgba(5,18,14,.07) 35%, rgba(4,18,13,.30) 55%, rgba(3,17,12,.85) 100%), linear-gradient(90deg, rgba(4,15,11,.71) 0, rgba(4,15,11,.34) 43%, rgba(4,15,11,.02) 83%); }
.site-header { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.19); }
.brand { flex: none; display: inline-flex; }
.brand img { width: 177px; height: 66px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 27px; font-size: 14px; }
.desktop-nav > a, .desktop-nav summary { padding: 13px 0; font-weight: 550; white-space: nowrap; }
.desktop-nav > a:hover, .desktop-nav summary:hover { color: #ffca4b; }
.desktop-nav details { position: relative; }
.desktop-nav summary { cursor: pointer; display: flex; align-items: center; gap: 7px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.desktop-nav summary svg { width: 12px; height: 12px; }
.dropdown { position: absolute; top: calc(100% + 12px); left: -24px; width: 310px; padding: 13px; background: #fff; color: var(--ink); border-radius: 9px; box-shadow: 0 16px 55px #0003; border: 1px solid var(--line); }
.dropdown a { display: block; padding: 11px 12px; font-size: 14px; line-height: 1.4; border-radius: 5px; }
.dropdown a:hover, .dropdown a:focus-visible { background: #fff4d7; }
.contact-header { display: inline-flex; gap: 20px; align-items: center; border: 1px solid #ffffff70; border-radius: 40px; padding: 11px 21px !important; }
.contact-header svg { width: 18px; }
.menu-toggle { display: none; border: 1px solid #ffffff70; background: #14231a30; color: #fff; width: 48px; height: 46px; border-radius: 7px; align-items: center; justify-content: center; }
.mobile-menu { position: absolute; inset: 95px 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 20px 50px #0004; padding: 16px; max-height: calc(100svh - 135px); overflow-y: auto; }
.mobile-menu a { display: flex; min-height: 45px; padding: 12px; align-items: center; font-size: 16px; border-bottom: 1px solid #eceee8; }
.mobile-menu a:hover { background: #fff5d8; }
.hero-content { padding-top: clamp(65px, 10svh, 135px); padding-bottom: 38px; margin-top: auto; }
.eyebrow { display: flex; gap: 12px; align-items: center; font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before, .section-marker::before { content: ""; width: 36px; height: 3px; border-radius: 3px; background: var(--amber); flex: none; }
h1 { font-size: clamp(50px, 5.9vw, 83px); font-weight: 750; letter-spacing: -.048em; line-height: 1.015; margin: 24px 0 20px; max-width: 790px; text-wrap: balance; }
.hero-copy { max-width: 465px; font-size: 18px; line-height: 1.6; color: #f1f4ee; margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 15px 23px; min-height: 50px; background: var(--amber); color: #171c16; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 650; transition: background .18s, transform .18s; }
.btn:hover { background: #ffc229; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: #ffffff9c; color: #fff; }
.btn-outline:hover { background: #ffffff15; }
.hero-bottom { padding-bottom: 27px; }
.hero-controls { display: flex; justify-content: flex-end; gap: 5px; margin-bottom: 17px; }
.slide-dot { width: 43px; height: 43px; color: #eee; background: #14231c66; border: 1px solid #ffffff45; border-radius: 50%; font-size: 11px; }
.slide-dot[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #111; font-weight: 700; }
.quick-nav { border: 1px solid #ffffff52; border-radius: 12px; padding: 7px 0; background: #101c168f; backdrop-filter: blur(12px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.quick-nav a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 63px; font-size: 14px; padding: 15px 25px; line-height: 1.5; }
.quick-nav a + a { border-left: 1px solid #ffffff38; }
.quick-nav a:hover { color: #ffd273; }
.quick-nav svg { width: 18px; height: 18px; }
.scroll-cue { display: flex; justify-content: center; width: 52px; height: 40px; align-items: center; margin: 12px auto 0; color: #fff9; }
.section-marker { margin-bottom: 21px; display: flex; align-items: center; gap: 12px; color: #747a72; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 600; }
h2 { font-size: clamp(30px, 3.25vw, 47px); font-weight: 700; line-height: 1.12; letter-spacing: -.038em; margin: 0; text-wrap: balance; }
.intro { display: grid; grid-template-columns: 1fr 1.06fr; gap: 80px; padding-block: 76px 65px; }
.intro h2 { max-width: 420px; }
.intro blockquote { margin: 0 0 20px; font-size: 21px; line-height: 1.65; letter-spacing: -.015em; }
.existing-company { margin: 15px 0 0; font-size: 15px; color: var(--muted); line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 25px; min-height: 44px; font-size: 14px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.text-link svg { width: 18px; }
.services { padding-block: 66px 72px; background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.service-card { border-bottom: 1px solid #cdd4c8; padding-bottom: 22px; }
.service-photo { aspect-ratio: 16/10; overflow: hidden; background: #ddd; position: relative; border-radius: 5px; margin-bottom: 20px; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.service-card:hover .service-photo img { transform: scale(1.025); }
.service-num { position: absolute; bottom: 0; left: 0; background: var(--amber); color: #141a11; font-size: 11px; font-weight: 700; padding: 10px 13px; }
.service-card h3 { margin: 0 0 11px; font-size: 20px; line-height: 1.35; font-weight: 650; letter-spacing: -.02em; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.service-card > a { display: block; }
.service-card .card-link { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 650; margin-top: 18px; }
.card-link svg { width: 19px; }
.equipment { min-height: 335px; color: #fff; position: relative; isolation: isolate; display: flex; align-items: flex-end; padding-block: 55px; overflow: hidden; }
.equipment > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; }
.equipment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0b2014eb,#0b201485 50%,#0b201433); }
.equipment-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.equipment h2 { max-width: 470px; }
.equipment .section-marker { color: #fff; }
.objectives { padding-block: 66px; display: grid; grid-template-columns: .8fr 1.4fr; gap: 75px; }
.objective-list { border-top: 1px solid var(--line); }
.objective { border-bottom: 1px solid var(--line); }
.objective summary { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 19px 2px; list-style: none; font-size: 16px; line-height: 1.5; font-weight: 550; cursor: pointer; }
.objective summary::after { content: "+"; width: 25px; text-align: center; flex: none; color: var(--orange); font-size: 27px; font-weight: 400; }
.objective[open] summary::after { content: "−"; }
.objective p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; padding: 0 35px 24px 2px; }
.partners { background: var(--paper); padding-block: 57px; border-block: 1px solid var(--line); }
.partner-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 13px; }
.partner-logo { background: #fff; min-height: 87px; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px solid #e7e9e2; border-radius: 5px; }
.partner-logo img { width: auto; height: auto; max-width: 100%; max-height: 55px; object-fit: contain; }
.certifications { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding-block: 58px; }
.certification-images { display: flex; gap: 38px; justify-content: flex-end; align-items: center; }
.certification-images img { max-width: 48%; max-height: 98px; object-fit: contain; width: auto; height: auto; }
.site-footer { background: #15231d; color: #fff; padding-top: 58px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 45px; padding-bottom: 42px; }
.site-footer .section-marker { color: #b8c4ba; }
.site-footer h2 { font-size: 39px; }
.contact-detail small { color: #acb9af; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; display: block; margin: 0 0 13px; }
.contact-detail p { font-size: 16px; line-height: 1.8; margin: 0 0 24px; }
.contact-detail a:hover { color: #ffc952; }
.contact-grid .btn { margin-top: 26px; }
.footer-links { padding: 26px 0; border-top: 1px solid #ffffff24; display: grid; grid-template-columns: 1fr 1.5fr .95fr; align-items: start; gap: 42px; }
.footer-links .brand img { width: 177px; height: 66px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4px 20px; font-size: 12px; }
.footer-nav a { padding: 9px 0; color: #d9e0d8; line-height: 1.6; }
.footer-nav a:hover { color: #ffcb4d; }
.regulatory { background: #fff; padding: 14px; border-radius: 4px; }
.regulatory img { width: 100%; height: auto; object-fit: contain; }
.footer-bottom { border-top: 1px solid #ffffff24; padding-block: 23px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; color: #bac5b9; line-height: 1.7; }
.footer-bottom a:hover { color: var(--amber); }
@media(min-width:1700px) { .hero-content { padding-top: 170px; } }
@media(max-width:1100px) {
  :root { --page: calc(100% - 64px); }
  .desktop-nav { gap: 17px; font-size: 12px; }
  .contact-header { gap: 12px; padding: 10px 15px !important; }
  .intro { gap: 45px; }
  .service-grid { gap: 22px; }
  .partner-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .objectives { gap: 45px; }
}
@media(max-width:930px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: max(750px,96svh); }
  .hero-image { object-position: 63% 50%; }
  .hero-content { padding-top: 120px; }
  .intro { gap: 35px; }
  .intro blockquote { font-size: 18px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .objectives { grid-template-columns: 1fr; gap: 30px; }
  .partner-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .contact-grid { gap: 28px; grid-template-columns: 1fr 1fr; }
  .contact-heading { grid-column: 1/-1; }
  .footer-links { grid-template-columns: 1fr 1.5fr; }
  .regulatory { grid-column: 1/-1; width: 235px; }
}
@media(max-width:600px) {
  :root { --page: calc(100% - 40px); }
  .site-header { min-height: 94px; gap: 20px; }
  .brand img { width: 145px; height: 54px; }
  .mobile-menu { top: 83px; }
  .hero { min-height: max(820px,100svh); }
  .hero-image { object-position: 69% 50%; }
  .hero-shade { background: linear-gradient(180deg,rgba(7,23,14,.55),rgba(7,23,14,.16) 26%,rgba(7,23,14,.65) 52%,rgba(7,23,14,.93) 100%); }
  .hero-content { padding-top: 165px; padding-bottom: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; gap: 10px; }
  .eyebrow::before { width: 25px; }
  h1 { font-size: clamp(37px,10.9vw,54px); line-height: 1.025; letter-spacing: -.045em; margin-top: 20px; }
  .hero-copy { font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
  .btn { min-height: 48px; padding: 13px 20px; font-size: 13px; }
  .hero-controls { margin-bottom: 12px; }
  .slide-dot { height: 44px; width: 44px; }
  .quick-nav { grid-template-columns: 1fr; padding: 0 17px; border-radius: 9px; }
  .quick-nav a { min-height: 53px; padding: 14px 1px; font-size: 12px; }
  .quick-nav a+a { border-left: 0; border-top: 1px solid #ffffff30; }
  .quick-nav svg { height: 16px; }
  .hero-bottom { padding-bottom: 14px; }
  .scroll-cue { display: none; }
  .intro { grid-template-columns: 1fr; gap: 22px; padding-block: 47px; }
  .section-marker { font-size: 9px; gap: 9px; margin-bottom: 17px; }
  h2 { font-size: 34px; }
  .intro blockquote { font-size: 18px; }
  .existing-company { font-size: 13px; }
  .services { padding-block: 45px; }
  .section-heading { margin-bottom: 25px; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-photo { aspect-ratio: 16/9; margin-bottom: 16px; }
  .service-card h3 { font-size: 21px; }
  .service-card p { font-size: 14px; }
  .equipment { min-height: 330px; padding-block: 35px; }
  .equipment > img { object-position: 55% 50%; }
  .equipment-inner { display: block; }
  .equipment h2 { font-size: 35px; max-width: 300px; margin-bottom: 24px; }
  .objectives { padding-block: 45px; gap: 25px; }
  .objective summary { min-height: 66px; font-size: 14px; }
  .objective p { font-size: 14px; padding-right: 18px; }
  .partners { padding-block: 43px; }
  .partner-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 25px; }
  .partner-logo { min-height: 73px; padding: 10px; }
  .partner-logo img { max-height: 42px; }
  .certifications { grid-template-columns: 1fr; gap: 29px; padding-block: 43px; }
  .certification-images { justify-content: flex-start; gap: 22px; }
  .certification-images img { max-width: 46%; max-height: 76px; }
  .site-footer { padding-top: 42px; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 27px; }
  .contact-heading { grid-column: auto; }
  .contact-grid .btn { margin-top: 22px; }
  .contact-detail p { font-size: 15px; margin-bottom: 16px; }
  .contact-detail small { margin-bottom: 7px; }
  .footer-links { grid-template-columns: 1fr; gap: 25px; }
  .footer-nav { font-size: 12px; gap: 5px 20px; }
  .regulatory { grid-column: auto; width: 215px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; padding-bottom: 26px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* CSS adicional para portada integrada; mantener el estilo de la maqueta. */

/* =========================================================
   V4 — Profundidad visual y microinteracciones
   Mantiene la identidad corporativa y la estructura del CMS.
   ========================================================= */
:root {
  --shadow-sm: 0 10px 30px rgba(23,32,31,.08);
  --shadow-md: 0 22px 55px rgba(23,32,31,.12);
  --shadow-lg: 0 30px 80px rgba(6,20,15,.22);
  --radius-lg: 22px;
  --radius-md: 16px;
}
body {
  background:
    radial-gradient(circle at 12% 28%, rgba(255,180,0,.055), transparent 24rem),
    #fdfdfb;
  overflow-x: hidden;
}

/* Portada: vidrio, profundidad y transición entre imágenes */
.hero { overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,.18), rgba(255,180,0,0) 68%);
  pointer-events: none;
}
.hero-image {
  transform: scale(1.015);
  transition: opacity .48s ease, transform 6.5s ease;
  will-change: opacity, transform;
}
.hero-image.is-changing { opacity: .2; transform: scale(1.045); }
.site-header {
  min-height: 94px;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13,30,23,.68), rgba(13,30,23,.32));
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.desktop-nav > a:not(.contact-header), .desktop-nav summary { position: relative; }
.desktop-nav > a:not(.contact-header)::after, .desktop-nav summary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--amber);
  transition: right .22s ease;
}
.desktop-nav > a:not(.contact-header):hover::after, .desktop-nav summary:hover::after { right: 0; }
.contact-header {
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.contact-header:hover { transform: translateY(-2px); background: rgba(255,180,0,.16); border-color: rgba(255,202,75,.85); }
.hero-content { position: relative; }
.hero-content::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 58%;
  width: 4px;
  height: 110px;
  border-radius: 10px;
  background: linear-gradient(var(--amber), rgba(255,180,0,0));
}
.eyebrow {
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,23,17,.28);
  backdrop-filter: blur(8px);
}
h1 { text-shadow: 0 10px 34px rgba(0,0,0,.28); }
.hero-copy { text-shadow: 0 5px 18px rgba(0,0,0,.28); }
.btn {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(234,113,13,.18);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(234,113,13,.24); }
.hero-controls { gap: 8px; }
.slide-dot {
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  backdrop-filter: blur(10px);
}
.slide-dot:hover { transform: translateY(-3px); border-color: #fff9; }
.slide-dot[aria-pressed="true"] { transform: translateY(-3px); box-shadow: 0 9px 22px rgba(0,0,0,.2); }
.quick-nav {
  padding: 6px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.quick-nav a {
  border-radius: 11px;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.quick-nav a:hover { background: rgba(255,255,255,.075); transform: translateY(-2px); }
.quick-nav a + a { border-left: 0; }
.scroll-cue { animation: tdFloat 2s ease-in-out infinite; }
@keyframes tdFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* Nosotros */
.intro { position: relative; padding-block: 96px 82px; }
.intro::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -120px;
  top: 25px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,.12), rgba(255,180,0,0) 70%);
  pointer-events: none;
}
.intro > div:last-child {
  position: relative;
  padding: 34px 36px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(227,230,223,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.intro > div:last-child::before {
  content: "“";
  position: absolute;
  right: 24px;
  top: -28px;
  font: 700 92px/1 Georgia, serif;
  color: rgba(255,180,0,.18);
}

/* Servicios: tarjetas elevadas */
.services {
  position: relative;
  padding-block: 84px 92px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,180,0,.12), transparent 26rem),
    linear-gradient(180deg,#f7f7f3 0%,#f2f4ef 100%);
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23,32,31,.025) 1px, transparent 1px), linear-gradient(90deg,rgba(23,32,31,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.services .wrap { position: relative; z-index: 1; }
.service-grid { gap: 24px; }
.service-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(220,225,216,.95);
  border-bottom-color: rgba(220,225,216,.95);
  border-radius: var(--radius-lg);
  padding: 12px 12px 22px;
  box-shadow: 0 8px 24px rgba(23,32,31,.055);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,180,0,.45);
}
.service-photo { border-radius: 14px; margin-bottom: 18px; }
.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7,22,15,.24));
  pointer-events: none;
}
.service-photo img { transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.service-card:hover .service-photo img { transform: scale(1.06); filter: saturate(1.06) contrast(1.03); }
.service-num { bottom: 10px; left: 10px; border-radius: 9px; z-index: 1; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.service-card h3, .service-card p, .service-card .card-link { margin-left: 8px; margin-right: 8px; }
.card-link { color: #334039; }
.service-card:hover .card-link { color: var(--orange); }

/* Maquinaria: bloque cinematográfico */
.equipment {
  min-height: 450px;
  margin: 38px auto;
  width: min(1440px, calc(100% - 44px));
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding-block: 70px;
}
.equipment > img { transition: transform 1s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.equipment:hover > img { transform: scale(1.035); filter: saturate(1.08); }
.equipment::before { background: linear-gradient(90deg,rgba(5,24,14,.94),rgba(5,24,14,.72) 47%,rgba(5,24,14,.24)); }
.equipment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
  pointer-events: none;
}

/* Objetivos: contenedor premium */
.objectives {
  margin-block: 72px;
  padding: 58px;
  border: 1px solid #e7eae3;
  border-radius: 28px;
  background: linear-gradient(135deg,#fff 0%,#fbfcf8 65%,#fff8e8 100%);
  box-shadow: var(--shadow-sm);
}
.objective-list { border-top: 0; display: grid; gap: 10px; }
.objective {
  border: 1px solid #e5e9e0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.objective:hover { border-color: rgba(255,180,0,.48); transform: translateX(3px); }
.objective[open] { box-shadow: 0 10px 28px rgba(23,32,31,.07); border-color: rgba(255,180,0,.5); }
.objective summary { padding: 19px 20px; }
.objective p { padding: 0 54px 24px 20px; }
.objective summary::after { width: 34px; height: 34px; line-height: 31px; border-radius: 50%; background: #fff6dc; }

/* Clientes y certificaciones */
.partners {
  padding-block: 76px;
  background: linear-gradient(180deg,#f5f6f1,#eff2ec);
  border-block: 0;
}
.partner-grid { gap: 14px; }
.partner-logo {
  min-height: 102px;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(23,32,31,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.partner-logo:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: rgba(255,180,0,.42); }
.partner-logo img { filter: saturate(.88); transition: filter .22s ease, transform .22s ease; }
.partner-logo:hover img { filter: saturate(1.08); transform: scale(1.035); }
.certifications {
  margin-block: 66px;
  padding: 44px 48px;
  border: 1px solid #e5e9e0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.certification-images img { padding: 10px; border-radius: 12px; transition: transform .2s ease; }
.certification-images img:hover { transform: translateY(-4px); }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--amber);
  background:
    radial-gradient(circle at 82% 16%, rgba(255,180,0,.10), transparent 22rem),
    linear-gradient(135deg,#101d17,#182a21 58%,#13221c);
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -190px;
  bottom: -240px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 0 0 55px rgba(255,255,255,.018), 0 0 0 110px rgba(255,255,255,.012);
}
.contact-grid, .footer-links, .footer-bottom { position: relative; z-index: 1; }
.regulatory { border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }

/* Aparición progresiva al hacer scroll */
.is-revealable {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.is-revealable.is-visible { opacity: 1; transform: translateY(0); }
.service-card.is-revealable:nth-child(2), .partner-logo.is-revealable:nth-child(2) { transition-delay: .06s; }
.service-card.is-revealable:nth-child(3), .partner-logo.is-revealable:nth-child(3) { transition-delay: .12s; }
.service-card.is-revealable:nth-child(4), .partner-logo.is-revealable:nth-child(4) { transition-delay: .18s; }
.service-card.is-revealable:nth-child(5), .partner-logo.is-revealable:nth-child(5) { transition-delay: .24s; }
.service-card.is-revealable:nth-child(6), .partner-logo.is-revealable:nth-child(6) { transition-delay: .30s; }

@media(max-width:930px) {
  .site-header { margin-top: 12px; padding-inline: 18px; }
  .hero-content::before { display: none; }
  .intro > div:last-child { padding: 28px; }
  .equipment { width: calc(100% - 32px); border-radius: 22px; }
  .objectives { padding: 42px 34px; margin-block: 48px; }
  .certifications { padding: 36px; }
}
@media(max-width:600px) {
  .site-header { min-height: 76px; border-radius: 14px; padding-inline: 14px; }
  .mobile-menu { top: 82px; border-radius: 14px; }
  .eyebrow { padding: 7px 10px; }
  .quick-nav { padding: 5px 14px; }
  .quick-nav a + a { border-top: 1px solid #ffffff30; }
  .intro { padding-block: 56px; }
  .intro > div:last-child { padding: 25px 22px; border-radius: 18px; }
  .services { padding-block: 55px 62px; }
  .service-card { border-radius: 18px; }
  .equipment { width: calc(100% - 22px); margin-block: 24px; min-height: 390px; border-radius: 20px; padding-block: 46px; }
  .objectives { padding: 32px 20px; border-radius: 20px; margin-block: 34px; }
  .objective summary { padding-inline: 15px; }
  .objective p { padding-left: 15px; padding-right: 22px; }
  .partners { padding-block: 54px; }
  .partner-logo { min-height: 82px; border-radius: 11px; }
  .certifications { margin-block: 38px; padding: 28px 22px; border-radius: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .scroll-cue { animation: none; }
  .hero-image, .is-revealable { transition: none !important; transform: none !important; }
  .is-revealable { opacity: 1; }
}

/* V4.1: transición del contenido del carrusel sin alterar la estructura */
.hero-content-inner {
  transition: opacity .30s ease, transform .30s ease;
}
.hero-content-inner.is-changing {
  opacity: 0;
  transform: translateY(10px);
}
@media (prefers-reduced-motion: reduce) {
  .hero-content-inner { transition: none !important; transform: none !important; }
}

/* =========================================================
   V4.3 — SERVICIOS CON MAYOR PROFUNDIDAD VISUAL
   Cambio aislado: no altera portada, datos ni lógica PHP.
   ========================================================= */
.services {
  padding-block: 96px 104px;
  background:
    radial-gradient(circle at 7% 6%, rgba(234,113,13,.08), transparent 25rem),
    radial-gradient(circle at 91% 18%, rgba(255,180,0,.15), transparent 27rem),
    linear-gradient(180deg,#f8f8f5 0%,#eff2ec 100%);
}
.services::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -240px;
  bottom: -250px;
  border: 1px solid rgba(23,32,31,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(23,32,31,.022), 0 0 0 124px rgba(23,32,31,.015);
  pointer-events: none;
}
.services .section-heading {
  margin-bottom: 44px;
  align-items: end;
}
.section-heading-copy {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.service-grid {
  gap: 28px;
}
.service-card {
  position: relative;
  isolation: isolate;
  padding: 12px 12px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(214,220,211,.92);
  box-shadow: 0 14px 35px rgba(23,32,31,.075);
  transform: translateZ(0);
  transition: transform .34s cubic-bezier(.2,.75,.2,1), box-shadow .34s ease, border-color .34s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg,var(--amber),var(--orange));
  transform: scaleX(.18);
  transform-origin: left center;
  opacity: .38;
  transition: transform .35s ease, opacity .35s ease;
  z-index: 3;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 84% 8%, rgba(255,180,0,.13), transparent 32%);
  opacity: 0;
  transition: opacity .35s ease;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(23,32,31,.16);
  border-color: rgba(255,180,0,.58);
}
.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleX(1);
  opacity: 1;
}
.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
}
.service-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-photo {
  margin-bottom: 21px;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.service-photo::after {
  background: linear-gradient(180deg, rgba(6,22,14,.02) 38%, rgba(6,22,14,.54) 100%);
}
.service-photo::before {
  content: "↗";
  position: absolute;
  width: 42px;
  height: 42px;
  right: 13px;
  top: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #151a15;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  font-size: 18px;
  transform: translateY(-5px) rotate(-8deg);
  opacity: 0;
  transition: opacity .28s ease, transform .32s cubic-bezier(.2,.75,.2,1), background .28s ease;
}
.service-card:hover .service-photo::before,
.service-card:focus-within .service-photo::before {
  opacity: 1;
  transform: translateY(0) rotate(0);
  background: var(--amber);
}
.service-photo img {
  transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .45s ease;
}
.service-card:hover .service-photo img,
.service-card:focus-within .service-photo img {
  transform: scale(1.075);
  filter: saturate(1.09) contrast(1.035);
}
.service-num {
  bottom: 12px;
  left: 12px;
  min-width: 43px;
  text-align: center;
  border-radius: 10px;
  background: rgba(255,180,0,.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 9px 24px rgba(0,0,0,.18);
  letter-spacing: .08em;
}
.service-card h3 {
  margin: 0 10px 12px;
  font-size: clamp(19px,1.45vw,23px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.service-card p {
  margin: 0 10px 18px;
  -webkit-line-clamp: 3;
  line-height: 1.75;
}
.service-card .card-link {
  margin: auto 10px 0;
  padding-top: 15px;
  border-top: 1px solid rgba(215,221,212,.82);
  color: #26332c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .28s ease, border-color .28s ease;
}
.service-card .card-link svg {
  width: 20px;
  height: 20px;
  transition: transform .28s ease;
}
.service-card:hover .card-link,
.service-card:focus-within .card-link {
  color: var(--orange);
  border-color: rgba(234,113,13,.22);
}
.service-card:hover .card-link svg,
.service-card:focus-within .card-link svg {
  transform: translateX(5px);
}

@media (max-width:930px) {
  .services { padding-block: 72px 78px; }
  .services .section-heading { align-items: flex-start; }
  .section-heading-copy { max-width: 360px; font-size: 14px; }
}
@media (max-width:600px) {
  .services { padding-block: 54px 60px; }
  .services .section-heading { display: block; margin-bottom: 30px; }
  .section-heading-copy { margin-top: 15px; max-width: 100%; }
  .service-grid { gap: 22px; }
  .service-card { border-radius: 20px; padding: 10px 10px 21px; }
  .service-card:hover, .service-card:focus-within { transform: translateY(-4px); }
  .service-photo::before { opacity: 1; transform: none; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card::before, .service-card::after,
  .service-photo::before, .service-photo img, .service-card .card-link svg { transition: none !important; }
}

/* ============================================================
   V4.4 — Maquinaria y equipos con mayor profundidad visual
   La estructura general y el carrusel de portada no se alteran.
   ============================================================ */
.equipment.equipment-modern {
  width: min(1460px, calc(100% - 54px));
  min-height: 540px;
  margin: 34px auto 42px;
  padding: 0;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  background: #071711;
  box-shadow: 0 26px 70px rgba(7, 23, 17, .20), 0 3px 12px rgba(7, 23, 17, .13);
}
.equipment.equipment-modern .equipment-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  transform: scale(1.015);
  filter: saturate(.93) contrast(1.03);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.equipment.equipment-modern:hover .equipment-bg {
  transform: scale(1.055);
  filter: saturate(1.03) contrast(1.04);
}
.equipment.equipment-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4,18,12,.96) 0%, rgba(4,18,12,.88) 36%, rgba(4,18,12,.56) 61%, rgba(4,18,12,.25) 100%),
    linear-gradient(180deg, rgba(5,18,13,.04), rgba(5,18,13,.42));
}
.equipment.equipment-modern::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -190px;
  z-index: -2;
  border-radius: 50%;
  border: 1px solid rgba(255,180,0,.27);
  box-shadow: 0 0 0 54px rgba(255,180,0,.035), 0 0 0 108px rgba(255,180,0,.025);
  pointer-events: none;
}
.equipment-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .13;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.6) 48%, transparent 84%);
}
.equipment.equipment-modern .equipment-inner {
  width: var(--page);
  min-height: 540px;
  margin-inline: auto;
  padding-block: clamp(58px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}
.equipment-copy { max-width: 560px; }
.equipment.equipment-modern .section-marker { color: #d8e1d9; margin-bottom: 22px; }
.equipment.equipment-modern h2 {
  max-width: 520px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.052em;
}
.equipment-copy > p {
  max-width: 490px;
  margin: 0 0 31px;
  color: rgba(244,248,244,.82);
  font-size: 16px;
  line-height: 1.75;
}
.equipment-btn {
  background: var(--amber);
  box-shadow: 0 12px 34px rgba(255,180,0,.19);
}
.equipment-btn svg { transition: transform .22s ease; }
.equipment-btn:hover svg { transform: translateX(5px); }
.equipment-visual {
  width: 100%;
  max-width: 475px;
  justify-self: end;
  position: relative;
  padding: 18px 16px 34px 0;
}
.equipment-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 1.35 / 1;
  background: #12231c;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 28px 70px rgba(0,0,0,.33);
  transform: rotate(1.3deg);
  transition: transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s ease;
}
.equipment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4,15,11,.80));
  pointer-events: none;
}
.equipment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .75s cubic-bezier(.2,.75,.2,1);
}
.equipment.equipment-modern:hover .equipment-card {
  transform: translateY(-7px) rotate(.3deg);
  box-shadow: 0 34px 82px rgba(0,0,0,.40);
}
.equipment.equipment-modern:hover .equipment-card img { transform: scale(1.055); }
.equipment-card-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(7,24,16,.62);
  backdrop-filter: blur(10px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 700;
}
.equipment-index {
  position: absolute;
  right: 0;
  bottom: 0;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .18em;
}
@media(max-width: 980px) {
  .equipment.equipment-modern { width: calc(100% - 32px); min-height: 500px; }
  .equipment.equipment-modern .equipment-inner {
    min-height: 500px;
    grid-template-columns: 1fr .78fr;
    gap: 38px;
  }
  .equipment-visual { max-width: 370px; }
  .equipment.equipment-modern h2 { font-size: clamp(42px, 7vw, 62px); }
}
@media(max-width: 760px) {
  .equipment.equipment-modern {
    width: calc(100% - 22px);
    min-height: auto;
    margin-block: 24px 30px;
    border-radius: 22px;
  }
  .equipment.equipment-modern::before {
    background: linear-gradient(180deg, rgba(4,18,12,.90) 0%, rgba(4,18,12,.77) 52%, rgba(4,18,12,.92) 100%);
  }
  .equipment-grid { background-size: 52px 52px; opacity: .09; }
  .equipment.equipment-modern .equipment-inner {
    min-height: auto;
    padding-block: 48px 38px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .equipment-copy { max-width: none; }
  .equipment.equipment-modern h2 { font-size: clamp(40px, 12vw, 55px); margin-bottom: 18px; }
  .equipment-copy > p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
  .equipment-visual { justify-self: stretch; max-width: none; width: min(100%, 520px); padding: 0 13px 27px 0; }
  .equipment-card { aspect-ratio: 16/10; border-radius: 17px; transform: rotate(.8deg); }
}
@media(prefers-reduced-motion: reduce) {
  .equipment.equipment-modern .equipment-bg,
  .equipment-card,
  .equipment-card img,
  .equipment-btn svg { transition: none !important; }
}

/* =========================================================
   V4.5 — Maquinaria y equipos: una sola fotografía
   ========================================================= */
.equipment.equipment-modern .equipment-inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, .65fr);
  align-items: center;
}
.equipment-signature {
  justify-self: end;
  width: min(100%, 360px);
  min-height: 300px;
  padding: 30px 30px 28px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(10,28,20,.48),rgba(10,28,20,.18));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.equipment-signature::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,180,0,.22);
  border-radius: 50%;
  right: -70px;
  top: -58px;
}
.equipment-signature::after {
  content: "";
  position: absolute;
  inset: auto -34px -55px auto;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle,rgba(255,180,0,.14),transparent 68%);
}
.equipment.equipment-modern:hover .equipment-signature {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.42);
  background: linear-gradient(145deg,rgba(10,28,20,.58),rgba(10,28,20,.24));
}
.equipment-signature-brand {
  font-size: 11px;
  letter-spacing: .24em;
  font-weight: 700;
  color: rgba(255,255,255,.72);
}
.equipment-signature strong {
  font-size: clamp(92px, 10vw, 150px);
  line-height: .8;
  letter-spacing: -.08em;
  font-weight: 750;
  color: rgba(255,255,255,.94);
  margin-left: -6px;
  text-shadow: 0 16px 35px rgba(0,0,0,.18);
}
.equipment-signature-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,var(--amber),rgba(255,255,255,.22));
  margin: 18px 0 14px;
}
.equipment-signature-caption {
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.66);
}
@media(max-width:930px) {
  .equipment.equipment-modern .equipment-inner { grid-template-columns: 1fr .7fr; }
  .equipment-signature { min-height: 260px; padding: 24px; border-radius: 22px; }
}
@media(max-width:600px) {
  .equipment.equipment-modern .equipment-inner { grid-template-columns: 1fr; }
  .equipment-signature {
    width: 100%;
    max-width: 100%;
    min-height: 180px;
    justify-self: stretch;
    padding: 22px;
    border-radius: 18px;
  }
  .equipment-signature strong { font-size: 78px; }
  .equipment-signature-line { margin: 10px 0; }
}
@media(prefers-reduced-motion:reduce) {
  .equipment-signature { transition: none !important; }
}

/* =========================================================
   V4.6 — Vidrio de capacidad operativa con contenido útil
   ========================================================= */
.equipment-capacity-card {
  justify-self: end;
  width: min(100%, 390px);
  padding: 30px 30px 27px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(8,26,18,.58),rgba(8,26,18,.22));
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.09);
  position: relative;
  overflow: hidden;
  color: #fff;
  transform: translateY(0);
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.equipment-capacity-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -75px;
  top: -70px;
  border: 1px solid rgba(255,180,0,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,180,0,.025);
  pointer-events: none;
}
.equipment-capacity-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -30px;
  bottom: -65px;
  background: radial-gradient(circle,rgba(255,180,0,.15),transparent 70%);
  pointer-events: none;
}
.equipment.equipment-modern:hover .equipment-capacity-card {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.42);
  background: linear-gradient(145deg,rgba(8,26,18,.66),rgba(8,26,18,.28));
  box-shadow: 0 30px 82px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10);
}
.equipment-capacity-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: rgba(255,255,255,.74);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}
.equipment-capacity-kicker::before {
  content: "";
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.equipment-capacity-card h3 {
  position: relative;
  z-index: 1;
  max-width: 315px;
  margin: 0 0 13px;
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.06;
  letter-spacing: -.038em;
  font-weight: 700;
  color: #fff;
}
.equipment-capacity-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 23px;
  max-width: 315px;
  color: rgba(244,248,244,.76);
  font-size: 13px;
  line-height: 1.65;
}
.equipment-capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 25px;
}
.equipment-capability-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.91);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.equipment-capability-grid span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg,var(--amber),var(--orange));
}
.equipment-capability-grid span:hover {
  transform: translateY(-2px);
  border-color: rgba(255,180,0,.30);
  background: rgba(255,255,255,.085);
}
.equipment-capacity-link {
  position: relative;
  z-index: 1;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255,180,0,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: color .22s ease, border-color .22s ease;
}
.equipment-capacity-link svg {
  width: 17px;
  height: 17px;
  transition: transform .22s ease;
}
.equipment-capacity-link:hover { color: #ffd064; border-color: #ffd064; }
.equipment-capacity-link:hover svg { transform: translateX(5px); }

@media(max-width:930px) {
  .equipment-capacity-card { padding: 24px; border-radius: 22px; }
  .equipment-capability-grid { grid-template-columns: 1fr; }
  .equipment-capability-grid span { min-height: 48px; }
}
@media(max-width:600px) {
  .equipment.equipment-modern .equipment-inner { grid-template-columns: 1fr; }
  .equipment-capacity-card {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding: 22px;
    border-radius: 18px;
  }
  .equipment-capacity-card h3 { font-size: 30px; max-width: 290px; }
  .equipment-capability-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .equipment-capability-grid span { min-height: 52px; padding: 10px 10px 10px 14px; font-size: 10px; }
}
@media(max-width:420px) {
  .equipment-capability-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .equipment-capacity-card,
  .equipment-capability-grid span,
  .equipment-capacity-link svg { transition: none !important; }
}


/* =========================================================
   V4.7 — Panel de vidrio como navegador de operaciones
   Evita repetir el mensaje de Maquinaria y equipos.
   ========================================================= */
.equipment-operations-card {
  justify-self: end;
  width: min(100%, 410px);
  padding: 30px 30px 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(8,26,18,.60),rgba(8,26,18,.23));
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.09);
  position: relative;
  overflow: hidden;
  color: #fff;
  transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.equipment-operations-card::before {
  content: "";
  position: absolute;
  width: 188px;
  height: 188px;
  right: -70px;
  top: -76px;
  border: 1px solid rgba(255,180,0,.23);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,180,0,.023);
  pointer-events: none;
}
.equipment-operations-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  left: -85px;
  bottom: -95px;
  background: radial-gradient(circle,rgba(255,180,0,.12),transparent 70%);
  pointer-events: none;
}
.equipment.equipment-modern:hover .equipment-operations-card {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.42);
  background: linear-gradient(145deg,rgba(8,26,18,.68),rgba(8,26,18,.29));
  box-shadow: 0 30px 82px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10);
}
.equipment-operations-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .18em;
}
.equipment-operations-kicker::before {
  content: "";
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.equipment-operations-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(27px,2.35vw,36px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  color: #fff;
}
.equipment-operations-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  max-width: 320px;
  color: rgba(244,248,244,.73);
  font-size: 13px;
  line-height: 1.6;
}
.equipment-operation-list {
  position: relative;
  z-index: 1;
  display: grid;
  border-top: 1px solid rgba(255,255,255,.14);
}
.equipment-operation-list a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 21px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 3px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.94);
  position: relative;
  transition: background .24s ease, padding .24s ease, color .24s ease;
}
.equipment-operation-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  transform: translateY(-50%);
  border-radius: 4px;
  background: linear-gradient(180deg,var(--amber),var(--orange));
  transition: height .24s ease;
}
.equipment-operation-list a:hover,
.equipment-operation-list a:focus-visible {
  padding-left: 12px;
  padding-right: 8px;
  background: rgba(255,255,255,.065);
  color: #fff;
}
.equipment-operation-list a:hover::before,
.equipment-operation-list a:focus-visible::before { height: 62%; }
.operation-number {
  color: var(--amber);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}
.operation-name {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.equipment-operation-list svg {
  width: 17px;
  height: 17px;
  justify-self: end;
  opacity: .72;
  transition: transform .24s ease, opacity .24s ease;
}
.equipment-operation-list a:hover svg,
.equipment-operation-list a:focus-visible svg {
  transform: translateX(4px);
  opacity: 1;
}
@media(max-width:930px) {
  .equipment-operations-card { padding: 24px; border-radius: 22px; }
  .equipment-operation-list a { min-height: 54px; }
}
@media(max-width:600px) {
  .equipment-operations-card {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding: 22px;
    border-radius: 18px;
  }
  .equipment-operations-card h3 { font-size: 30px; }
  .equipment-operation-list a { grid-template-columns: 31px minmax(0,1fr) 18px; gap: 9px; min-height: 52px; }
  .operation-name { font-size: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  .equipment-operations-card,
  .equipment-operation-list a,
  .equipment-operation-list a::before,
  .equipment-operation-list svg { transition: none !important; }
}


/* V4.8 — Quinto acceso: Transporte de hidrocarburos y líquidos */
.equipment-operation-list a { min-height: 52px; padding-top: 7px; padding-bottom: 7px; }
@media(max-width:930px){ .equipment-operation-list a { min-height: 50px; } }
@media(max-width:600px){ .equipment-operation-list a { min-height: 48px; } }


/* =========================================================
   V4.9 — OBJETIVOS ESTRATÉGICOS
   Rediseño aislado: panel institucional + acordeón numerado.
   Conserva exactamente los títulos y descripciones del CMS.
   ========================================================= */
.objectives-modern {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px,.76fr) minmax(0,1.24fr);
  gap: 28px;
  margin-block: 86px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: start;
}
.objectives-intro {
  position: sticky;
  top: 112px;
  min-height: 430px;
  padding: 48px 44px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,180,0,.18), transparent 15rem),
    linear-gradient(145deg,#10231a 0%,#1a3427 62%,#15291f 100%);
  box-shadow: 0 28px 70px rgba(11,29,21,.20);
  isolation: isolate;
}
.objectives-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .20;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg,#000,transparent 78%);
}
.objectives-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 310px;
  height: 310px;
  right: -175px;
  bottom: -155px;
  border-radius: 50%;
  border: 1px solid rgba(255,180,0,.28);
  box-shadow: 0 0 0 46px rgba(255,180,0,.045), 0 0 0 92px rgba(255,180,0,.025);
}
.objectives-intro .section-marker { color: #c9d4cc; }
.objectives-intro h2 {
  margin-bottom: 42px;
  max-width: 310px;
  font-size: clamp(42px,4vw,60px);
  color: #fff;
}
.objectives-count {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.17);
  padding-top: 22px;
}
.objectives-count strong {
  font-size: clamp(54px,5vw,76px);
  line-height: .9;
  font-weight: 760;
  letter-spacing: -.065em;
  color: var(--amber);
}
.objectives-count span {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c8d4cc;
}
.objectives-orbit {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -68px;
  top: -84px;
  border: 1px solid rgba(255,180,0,.48);
  border-radius: 50%;
  pointer-events: none;
}
.objective-list {
  display: grid;
  gap: 13px;
  border-top: 0;
  counter-reset: none;
}
.objective {
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e5dc;
  border-radius: 19px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(23,32,31,.055);
  transition: transform .28s cubic-bezier(.2,.75,.2,1), border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.objective::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--amber),var(--orange));
  transform: scaleY(.26);
  opacity: .25;
  transition: transform .28s ease, opacity .28s ease;
}
.objective:hover {
  transform: translateY(-4px);
  border-color: rgba(255,180,0,.50);
  box-shadow: 0 20px 48px rgba(23,32,31,.10);
}
.objective[open] {
  color: #fff;
  border-color: rgba(255,180,0,.32);
  background:
    radial-gradient(circle at 95% 0%, rgba(255,180,0,.13), transparent 15rem),
    linear-gradient(135deg,#15281f 0%,#20382c 100%);
  box-shadow: 0 24px 58px rgba(12,33,23,.18);
}
.objective[open]::before { transform: scaleY(1); opacity: 1; }
.objective summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) 42px;
  align-items: center;
  gap: 18px;
  padding: 20px 24px 20px 27px;
  list-style: none;
  cursor: pointer;
}
.objective summary::-webkit-details-marker { display: none; }
.objective summary::after { display: none !important; content: none !important; }
.objective-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #f4f6f1;
  border: 1px solid #e3e7df;
  color: #747d77;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.objective-title {
  font-size: clamp(16px,1.35vw,20px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.018em;
}
.objective-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff5d5;
  border: 1px solid rgba(255,180,0,.28);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.objective-toggle::before,
.objective-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--orange);
  transform: translate(-50%,-50%);
  transition: transform .25s ease, background .25s ease;
}
.objective-toggle::after { transform: translate(-50%,-50%) rotate(90deg); }
.objective[open] .objective-toggle::after { transform: translate(-50%,-50%) rotate(0); }
.objective[open] .objective-number {
  background: var(--amber);
  border-color: var(--amber);
  color: #17201f;
  transform: translateY(-1px);
}
.objective[open] .objective-toggle {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.objective[open] .objective-toggle::before,
.objective[open] .objective-toggle::after { background: var(--amber); }
.objective-body {
  display: grid;
  grid-template-rows: 1fr;
}
.objective-body p {
  margin: 0;
  padding: 0 82px 28px 99px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}
.objective[open] .objective-body p { color: #d9e3dc; }

@media (max-width:930px) {
  .objectives-modern {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-block: 58px;
  }
  .objectives-intro {
    position: relative;
    top: auto;
    min-height: 250px;
    padding: 38px 36px;
  }
  .objectives-intro h2 { margin-bottom: 26px; max-width: 100%; }
  .objectives-count strong { font-size: 58px; }
}
@media (max-width:600px) {
  .objectives-modern { margin-block: 38px; }
  .objectives-intro { min-height: 225px; padding: 30px 24px; border-radius: 22px; }
  .objectives-intro h2 { font-size: 38px; }
  .objectives-count { padding-top: 17px; }
  .objectives-count strong { font-size: 49px; }
  .objective { border-radius: 16px; }
  .objective summary {
    min-height: 76px;
    grid-template-columns: 42px minmax(0,1fr) 36px;
    gap: 12px;
    padding: 16px 15px 16px 19px;
  }
  .objective-number { width: 38px; height: 38px; border-radius: 11px; font-size: 10px; }
  .objective-title { font-size: 15px; }
  .objective-toggle { width: 34px; height: 34px; }
  .objective-body p { padding: 0 18px 22px 73px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .objective, .objective::before, .objective-number, .objective-toggle,
  .objective-toggle::before, .objective-toggle::after { transition: none !important; }
}


/* ==========================================================
   V5.0 — CLIENTES + CERTIFICACIONES CON MAYOR PROFUNDIDAD
   ========================================================== */
.partners-modern {
  position: relative;
  overflow: hidden;
  padding-block: 82px;
  color: #fff;
  background:
    radial-gradient(circle at 9% 10%, rgba(255,180,0,.14), transparent 24rem),
    radial-gradient(circle at 92% 86%, rgba(234,113,13,.10), transparent 25rem),
    linear-gradient(135deg,#0f1d17 0%,#172a21 58%,#102018 100%);
}
.partners-modern::before {
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(90deg,#000,transparent 70%);
}
.clients-layout {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.75fr);
  gap:58px;
  align-items:center;
}
.clients-intro {
  position:relative;
  min-height:360px;
  padding:44px 42px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.17);
  border-radius:26px;
  background:linear-gradient(155deg,rgba(255,255,255,.105),rgba(255,255,255,.035));
  box-shadow:0 28px 70px rgba(0,0,0,.19);
  backdrop-filter:blur(14px);
}
.clients-intro .section-marker { color:#c9d4cb; }
.clients-intro h2 { position:relative; z-index:1; margin-bottom:20px; font-size:clamp(42px,4.4vw,64px); color:#fff; }
.clients-intro > p { position:relative; z-index:1; max-width:365px; margin:0 0 22px; color:#c9d3cc; font-size:15px; line-height:1.78; }
.clients-link { position:relative; z-index:1; margin-top:18px; color:#fff; text-decoration-color:var(--amber); }
.clients-orbit {
  position:absolute;
  width:330px; height:330px;
  border:1px solid rgba(255,180,0,.28);
  border-radius:50%;
  right:-180px; bottom:-165px;
}
.clients-orbit::before { content:""; position:absolute; inset:33px; border:1px solid rgba(255,255,255,.09); border-radius:50%; }
.partner-cloud {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.partner-cloud .partner-logo {
  position:relative;
  min-height:112px;
  padding:18px;
  overflow:hidden;
  background:rgba(255,255,255,.965);
  border:1px solid rgba(255,255,255,.62);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.10);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-cloud .partner-logo::after {
  content:"";
  position:absolute; left:18px; right:18px; bottom:0;
  height:2px;
  transform:scaleX(0);
  transform-origin:left;
  border-radius:2px;
  background:linear-gradient(90deg,var(--amber),var(--orange));
  transition:transform .25s ease;
}
.partner-cloud .partner-logo:hover {
  transform:translateY(-7px);
  border-color:rgba(255,180,0,.66);
  box-shadow:0 20px 42px rgba(0,0,0,.17);
}
.partner-cloud .partner-logo:hover::after { transform:scaleX(1); }
.partner-cloud .partner-logo img {
  max-height:58px;
  filter:grayscale(.15) saturate(.82);
  opacity:.88;
  transition:filter .25s ease, opacity .25s ease, transform .25s ease;
}
.partner-cloud .partner-logo:hover img { filter:none; opacity:1; transform:scale(1.04); }
.partner-cloud .partner-logo:nth-child(1),
.partner-cloud .partner-logo:nth-child(6),
.partner-cloud .partner-logo:nth-child(11) { grid-column:span 2; }

.certifications-modern {
  position:relative;
  display:grid;
  grid-template-columns:.72fr 1.55fr;
  gap:52px;
  align-items:center;
  margin-block:72px;
  padding:52px 54px;
  overflow:hidden;
  border:1px solid #e3e7df;
  border-radius:28px;
  background:
    radial-gradient(circle at 96% 0,rgba(255,180,0,.15),transparent 18rem),
    linear-gradient(135deg,#fff,#fbfcf8 58%,#fff8e9);
  box-shadow:0 18px 52px rgba(23,32,31,.08);
}
.certifications-modern::after {
  content:"";
  position:absolute;
  width:260px; height:260px;
  right:-125px; top:-145px;
  border:1px solid rgba(234,113,13,.18);
  border-radius:50%;
  box-shadow:0 0 0 38px rgba(255,180,0,.045),0 0 0 77px rgba(255,180,0,.025);
}
.certification-copy { position:relative; z-index:1; }
.certification-copy h2 { margin-bottom:16px; }
.certification-copy > p { max-width:330px; margin:0; color:var(--muted); font-size:15px; line-height:1.75; }
.certification-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.certification-card {
  margin:0;
  min-width:0;
  padding:18px;
  border:1px solid #e5e9e0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 24px rgba(23,32,31,.055);
  transition:transform .23s ease, box-shadow .23s ease, border-color .23s ease;
}
.certification-card:hover { transform:translateY(-5px); border-color:rgba(255,180,0,.48); box-shadow:0 18px 36px rgba(23,32,31,.10); }
.certification-logo {
  min-height:118px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:13px;
  border-radius:13px;
  background:linear-gradient(145deg,#f7f8f4,#fff);
}
.certification-logo img { width:auto; height:auto; max-width:100%; max-height:88px; object-fit:contain; padding:0; border-radius:0; }
.certification-card figcaption { display:flex; flex-direction:column; gap:4px; padding:15px 4px 2px; }
.certification-card figcaption span { color:#8a918b; font-size:9px; font-weight:700; letter-spacing:.15em; text-transform:uppercase; }
.certification-card figcaption strong { color:var(--ink); font-size:14px; line-height:1.4; }

@media(max-width:1100px) {
  .clients-layout { grid-template-columns:.8fr 1.35fr; gap:34px; }
  .partner-cloud { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .partner-cloud .partner-logo:nth-child(1), .partner-cloud .partner-logo:nth-child(6), .partner-cloud .partner-logo:nth-child(11) { grid-column:span 1; }
}
@media(max-width:930px) {
  .partners-modern { padding-block:60px; }
  .clients-layout { grid-template-columns:1fr; gap:28px; }
  .clients-intro { min-height:0; padding:38px 36px; }
  .partner-cloud { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .certifications-modern { grid-template-columns:1fr; gap:30px; padding:42px 38px; }
  .certification-copy > p { max-width:540px; }
}
@media(max-width:600px) {
  .partners-modern { padding-block:44px; }
  .clients-intro { padding:30px 24px; border-radius:22px; }
  .clients-intro h2 { font-size:39px; }
  .clients-link { margin-top:18px; }
  .partner-cloud { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .partner-cloud .partner-logo { min-height:88px; padding:12px; border-radius:12px; }
  .partner-cloud .partner-logo img { max-height:46px; }
  .certifications-modern { margin-block:38px; padding:30px 22px; border-radius:22px; }
  .certification-grid { grid-template-columns:1fr; gap:11px; }
  .certification-card { padding:14px; border-radius:15px; }
  .certification-logo { min-height:100px; }
  .certification-card figcaption { padding-top:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .partner-cloud .partner-logo, .partner-cloud .partner-logo::after,
  .partner-cloud .partner-logo img, .certification-card { transition:none !important; }
}

/* =========================================================
   V5.2 — Footer / contacto moderno
   ========================================================= */
.footer-modern {
  padding-top: 0;
  border-top: 0;
  background:
    radial-gradient(circle at 86% 8%, rgba(255,180,0,.11), transparent 25rem),
    linear-gradient(145deg,#0d1914 0%,#13231c 48%,#0d1813 100%);
}
.footer-modern::before {
  width: 520px;
  height: 520px;
  left: -260px;
  bottom: -330px;
  box-shadow: 0 0 0 72px rgba(255,255,255,.018), 0 0 0 145px rgba(255,255,255,.010);
}
.footer-modern::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.15;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom,#000,transparent 72%);
}
.footer-contact-shell {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  padding-block: 64px 54px;
}
.footer-cta {
  position:relative;
  padding: 40px 40px 38px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  box-shadow:0 26px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  overflow:hidden;
}
.footer-cta::after {
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-85px;
  bottom:-100px;
  border:1px solid rgba(255,180,0,.28);
  border-radius:50%;
  box-shadow:0 0 0 35px rgba(255,180,0,.035),0 0 0 70px rgba(255,180,0,.018);
}
.footer-cta .section-marker { color:#c7d2c9; }
.footer-cta h2 { max-width: 520px; font-size:clamp(36px,4vw,56px); line-height:1.03; margin-bottom:18px; }
.footer-cta p { max-width:470px; margin:0; color:#c6d0c8; font-size:15px; line-height:1.75; }
.footer-cta-actions { display:flex; flex-wrap:wrap; align-items:center; gap:22px; margin-top:30px; position:relative; z-index:1; }
.footer-contact-link { display:inline-flex; align-items:center; gap:12px; min-height:48px; font-size:13px; font-weight:650; color:#eef3ee; }
.footer-contact-link span { color:var(--amber); font-size:19px; transition:transform .2s ease; }
.footer-contact-link:hover span { transform:translateX(4px); }
.footer-contact-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.footer-contact-card {
  display:flex;
  gap:18px;
  align-items:flex-start;
  min-height:154px;
  padding:28px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:20px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.footer-contact-card:hover { transform:translateY(-4px); border-color:rgba(255,180,0,.35); background:rgba(255,255,255,.075); }
.footer-contact-card-wide { grid-column:1/-1; min-height:145px; }
.footer-contact-icon {
  width:46px;
  height:46px;
  flex:none;
  display:grid;
  place-items:center;
  color:#1a211b;
  background:var(--amber);
  border-radius:14px;
  box-shadow:0 10px 28px rgba(255,180,0,.14);
}
.footer-contact-icon svg { width:21px; height:21px; }
.footer-contact-card small { display:block; margin:2px 0 10px; color:#98a99c; text-transform:uppercase; letter-spacing:.14em; font-size:9px; font-weight:700; }
.footer-contact-card p { margin:0; color:#f3f5f2; font-size:15px; line-height:1.65; overflow-wrap:anywhere; }
.footer-contact-card a:hover { color:#ffd064; }
.footer-card-link { display:inline-flex; gap:10px; align-items:center; margin-top:13px; color:#d9e1db; font-size:12px; font-weight:650; }
.footer-card-link span { color:var(--amber); font-size:17px; }
.footer-main {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:.85fr 1.35fr .72fr;
  gap:48px;
  align-items:start;
  padding-block:36px;
  border-top:1px solid rgba(255,255,255,.11);
}
.footer-brand-block { display:flex; flex-direction:column; align-items:flex-start; gap:15px; }
.footer-brand-block .brand img { width:177px; height:66px; object-fit:contain; }
.footer-brand-block > span { color:#8fa095; font-size:9px; letter-spacing:.18em; font-weight:700; }
.footer-nav-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:42px; }
.footer-nav-group { display:flex; flex-direction:column; align-items:flex-start; }
.footer-nav-group strong { margin-bottom:13px; color:#fff; font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.footer-nav-group a { padding:7px 0; color:#bdc9c0; font-size:12px; line-height:1.45; transition:color .18s ease,transform .18s ease; }
.footer-nav-group a:hover { color:#ffca4b; transform:translateX(3px); }
.footer-modern .regulatory { padding:14px; background:#fff; border-radius:14px; box-shadow:0 18px 40px rgba(0,0,0,.17); }
.footer-modern .regulatory img { width:100%; height:auto; max-height:105px; object-fit:contain; }
.footer-modern .footer-bottom {
  position:relative;
  z-index:2;
  padding-block:22px 28px;
  border-top:1px solid rgba(255,255,255,.09);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#87988d;
  font-size:10px;
  letter-spacing:.03em;
}
.footer-bottom-links { display:flex; flex-wrap:wrap; gap:24px; }
.footer-bottom-links a { color:#aab7ae; }
.footer-bottom-links a:hover { color:var(--amber); }
@media(max-width:930px) {
  .footer-contact-shell { grid-template-columns:1fr; padding-block:48px 42px; }
  .footer-main { grid-template-columns:1fr 1.35fr; gap:34px; }
  .footer-modern .regulatory { grid-column:1/-1; max-width:270px; }
}
@media(max-width:600px) {
  .footer-contact-shell { padding-block:32px 30px; gap:16px; }
  .footer-cta { padding:29px 24px 28px; border-radius:19px; }
  .footer-cta h2 { font-size:37px; }
  .footer-cta-actions { align-items:flex-start; flex-direction:column; gap:12px; }
  .footer-contact-cards { grid-template-columns:1fr; gap:10px; }
  .footer-contact-card,.footer-contact-card-wide { grid-column:auto; min-height:0; padding:22px; border-radius:17px; }
  .footer-contact-icon { width:41px; height:41px; border-radius:12px; }
  .footer-main { grid-template-columns:1fr; gap:28px; padding-block:30px; }
  .footer-nav-groups { gap:25px; }
  .footer-modern .regulatory { grid-column:auto; max-width:230px; }
  .footer-modern .footer-bottom { flex-direction:column; align-items:flex-start; gap:10px; padding-bottom:26px; }
  .footer-bottom-links { gap:16px; }
}

/* =========================================================
   V5.3 — Footer compacto (sin alterar contenido ni enlaces)
   Reduce altura con tarjeta de contacto + tres franjas horizontales.
   ========================================================= */
.footer-contact-shell {
  grid-template-columns: .92fr 1.08fr;
  align-items: stretch;
  gap: 20px;
  padding-block: 26px 22px;
}
.footer-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 29px;
  border-radius: 17px;
  box-shadow: 0 15px 38px rgba(0,0,0,.13);
}
.footer-cta::after { width: 130px; height: 130px; right: -72px; bottom: -78px; }
.footer-cta .section-marker { margin-bottom: 10px; }
.footer-cta h2 { font-size: clamp(29px,2.9vw,40px); line-height:1.08; margin:0 0 10px; }
.footer-cta p { max-width: 400px; font-size: 13px; line-height: 1.5; }
.footer-cta-actions { gap: 16px; margin-top: 17px; }
.footer-cta-actions .btn { min-height: 40px; padding: 9px 16px; }
.footer-contact-link { min-height: 40px; font-size: 12px; }
.footer-contact-cards { grid-template-columns: 1fr; gap: 7px; }
.footer-contact-card,
.footer-contact-card-wide {
  grid-column: auto;
  min-height: 0;
  padding: 11px 15px;
  gap: 13px;
  align-items: center;
  border-radius: 12px;
}
.footer-contact-card:hover { transform: translateY(-2px); }
.footer-contact-icon { width: 35px; height: 35px; border-radius: 10px; box-shadow:none; }
.footer-contact-icon svg { width: 17px; height: 17px; }
.footer-contact-card small { margin:0 0 3px; letter-spacing:.11em; }
.footer-contact-card p { font-size: 13px; line-height:1.42; }
.footer-card-link { margin-top: 4px; font-size: 11px; }
.footer-main {
  grid-template-columns:.8fr 1.4fr .7fr;
  align-items:center;
  gap:24px;
  padding-block: 19px;
}
.footer-brand-block { gap:5px; }
.footer-brand-block .brand img { width:143px; height:53px; }
.footer-brand-block > span { font-size:8px; }
.footer-nav-groups { gap:20px; }
.footer-nav-group strong { margin-bottom:5px; }
.footer-nav-group a { padding:3px 0; font-size:11.5px; line-height:1.35; }
.footer-modern .regulatory { padding:9px; border-radius:10px; box-shadow:0 9px 22px rgba(0,0,0,.14); }
.footer-modern .regulatory img { max-height:73px; }
.footer-modern .footer-bottom { padding-block: 12px 15px; gap:12px; }
.footer-bottom-links { gap:15px; }
@media(max-width:930px) {
  .footer-contact-shell { grid-template-columns:1fr; gap:14px; padding-block:23px 18px; }
  .footer-cta { padding:22px 26px; }
  .footer-cta h2 { max-width:none; }
  .footer-contact-cards { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:9px; }
  .footer-contact-card,.footer-contact-card-wide { flex-direction:column; align-items:flex-start; padding:14px; }
  .footer-main { grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:17px; padding-block:18px; }
  .footer-modern .regulatory { grid-column:1/-1; width:180px; max-width:100%; }
}
@media(max-width:600px) {
  .footer-contact-shell { gap:12px; padding-block:18px 17px; }
  .footer-cta { padding:19px 20px; border-radius:14px; }
  .footer-cta h2 { font-size:29px; }
  .footer-cta p { font-size:12px; }
  .footer-cta-actions { flex-direction:row; align-items:center; gap:12px; margin-top:13px; }
  .footer-contact-cards { grid-template-columns:1fr; gap:7px; }
  .footer-contact-card,.footer-contact-card-wide { flex-direction:row; align-items:center; padding:10px 13px; border-radius:11px; }
  .footer-contact-icon { width:33px; height:33px; }
  .footer-main { grid-template-columns:minmax(0,1fr) 145px; gap:14px 12px; padding-block:15px; }
  .footer-brand-block { grid-column:1; grid-row:1; }
  .footer-brand-block .brand img { width:130px; height:49px; }
  .footer-brand-block > span { display:none; }
  .footer-modern .regulatory { grid-column:2; grid-row:1; width:145px; padding:7px; max-width:100%; }
  .footer-modern .regulatory img { max-height:54px; }
  .footer-nav-groups { grid-column:1/-1; grid-row:2; gap:16px; }
  .footer-nav-group a { font-size:11px; }
  .footer-modern .footer-bottom { flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 16px; padding-block:11px 15px; }
}


/* ===========================================================
   V5.4: Sello oficial en extremo derecho del menú de escritorio
   Sin reducir el logo principal ni interferir con el menú móvil.
   =========================================================== */
.site-header { column-gap: 15px; }
.site-header .desktop-nav { gap: clamp(11px, 1.15vw, 19px); font-size: 13px; margin-left: auto; }
.site-header .contact-header { gap: 9px; padding: 10px 13px !important; }
.supertransporte-header {
  flex: 0 0 186px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 13px;
  height: 57px;
  transition: opacity .18s ease, transform .18s ease;
}
.supertransporte-header img { display:block; width: 173px; max-height:51px; height:auto; object-fit:contain; }
.supertransporte-header:hover { opacity:.9; transform:translateY(-1px); }
@media (max-width:1160px) {
  .supertransporte-header { display:none; } /* Permanece en el pie de página */
  .site-header .desktop-nav { gap: 16px; }
}
@media (max-width:930px) {
  .site-header .desktop-nav { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .supertransporte-header { transition:none; }
}


/* V5.11 — Respaldo visual para registros sin archivo de logotipo.
   El servidor comprueba cada archivo; el navegador cubre imágenes corruptas o bloqueadas. */
.partner-cloud .partner-logo--text {
  background:linear-gradient(145deg,#fffefa,#f5f5ec);
  border-color:rgba(198,166,93,.33);
}
.partner-cloud .partner-name-fallback,
.certification-logo .certification-name-fallback {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  min-width:0;
  color:#263b30;
  font-size:clamp(12px,1.15vw,17px);
  font-weight:750;
  letter-spacing:.005em;
  line-height:1.35;
  text-align:center;
  overflow-wrap:anywhere;
}
.partner-cloud .partner-name-fallback[hidden],
.certification-logo .certification-name-fallback[hidden] { display:none !important; }
.certification-card--text .certification-logo {
  background:linear-gradient(135deg,#fff9e8,#f5f8f2);
  border:1px solid rgba(216,184,108,.23);
}
.certification-logo .certification-name-fallback {
  font-size:clamp(16px,1.45vw,23px);
  font-weight:800;
  color:#263b30;
  line-height:1.25;
}
/* El nombre se muestra en el espacio del logotipo: evitar duplicarlo debajo. */
.certification-card--text figcaption strong { display:none; }
@media(max-width:600px) {
  .partner-cloud .partner-name-fallback { font-size:13px; }
  .certification-logo .certification-name-fallback { font-size:19px; }
}
