:root {
  --navy: #172641;
  --navy-2: #20375f;
  --navy-3: #0f1a2d;
  --blue: #23528c;
  --sky: #eaf2fb;
  --orange: #f27a24;
  --orange-dark: #c95d13;
  --ink: #172033;
  --muted: #66758d;
  --line: #dbe5f0;
  --white: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(17, 31, 53, 0.16);
  --font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { font-family: var(--font-family); color: var(--ink); background: var(--white); line-height: 1.65; overflow-x: hidden; }
body.menu-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul { list-style-position: inside; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 860px; }

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  gap: 18px;
  align-content: center;
  background: radial-gradient(circle at 50% 36%, #29466f 0%, var(--navy) 42%, #08111f 100%);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  animation: introExit 0.85s ease 2.1s forwards;
}
.intro-mark { position: relative; width: 148px; height: 148px; display: grid; place-items: center; }
.intro-mark img { width: 112px; height: 112px; object-fit: cover; border-radius: 26px; background: white; padding: 10px; box-shadow: 0 20px 55px rgba(0,0,0,.35); animation: logoPop 1.1s cubic-bezier(.16,1,.3,1) both; }
.intro-mark span { position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(242,122,36,.75); border-left-color: transparent; animation: spin 1.2s linear infinite; }

.main-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: rgba(23, 38, 65, .96); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 34px rgba(12,24,42,.18); backdrop-filter: blur(16px); transition: background .3s ease, box-shadow .3s ease; }
.main-header.scrolled { background: rgba(15, 26, 45, .98); box-shadow: 0 16px 42px rgba(12,24,42,.28); }
.header-container { height: 88px; display: flex; align-items: center; gap: 26px; width: min(1360px, calc(100% - 36px)); margin: 0 auto; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: white; padding: 6px; }
.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li > a { display: flex; align-items: center; min-height: 88px; padding: 0 15px; color: white; font-weight: 800; font-size: .88rem; letter-spacing: .02em; }
.nav-links > li > a:hover { color: #ffd6bb; }
.dropdown { position: relative; }
.dropdown > a::after { content: ''; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown-menu { position: absolute; top: 88px; left: 0; min-width: 310px; list-style: none; background: #10213a; color: white; border-top: 3px solid var(--orange); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .24s ease; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 13px 18px; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.dropdown-menu a:hover { background: rgba(255,255,255,.08); color: white; }
.search-btn { width: 76px; height: 88px; border: 0; background: var(--orange); color: white; display: grid; place-items: center; cursor: pointer; transition: background .25s ease; }
.search-btn:hover { background: var(--orange-dark); }
.search-btn svg { width: 28px; height: 28px; }
.mobile-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); background: transparent; border-radius: 12px; }
.mobile-menu-btn span { display: block; width: 21px; height: 2px; margin: 5px auto; background: white; transition: transform .2s ease, opacity .2s ease; }

.search-panel { position: fixed; inset: 0; z-index: 2100; background: rgba(8,17,31,.72); display: grid; place-items: start center; padding-top: 128px; opacity: 0; visibility: hidden; transition: .25s ease; backdrop-filter: blur(8px); }
.search-open .search-panel { opacity: 1; visibility: visible; }
.search-box { width: min(760px, calc(100% - 34px)); background: white; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.search-box label { display: block; font-size: 1.7rem; font-weight: 800; margin-bottom: 16px; color: var(--navy); }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 14px 18px; font: inherit; }
.search-row button { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 800; cursor: pointer; background: var(--orange); color: white; }
.search-row .search-close { background: var(--navy); }
.search-hint { color: var(--muted); margin-top: 12px; font-size: .95rem; }

.hero, .page-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: 88px; }
.video-hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,18,33,.88) 0%, rgba(23,38,65,.66) 45%, rgba(23,38,65,.16) 100%); }
.hero-content { max-width: 820px; color: white; animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .35s both; }
.hero-kicker { display: inline-block; margin-bottom: 18px; color: #ffd7c0; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
.hero h1 { max-width: 900px; }
.hero p:not(.hero-kicker), .page-hero p:not(.hero-kicker) { margin-top: 24px; max-width: 640px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 22px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 16px 34px rgba(242,122,36,.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-3px); }
.btn-outline { color: white; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.btn-outline:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }

.proof-strip { background: var(--navy); color: white; border-top: 1px solid rgba(255,255,255,.08); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 26px 24px; border-left: 1px solid rgba(255,255,255,.1); }
.proof-grid div:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.proof-grid strong { display: block; color: white; font-size: 1.15rem; }
.proof-grid span { color: rgba(255,255,255,.62); font-size: .9rem; }

section { scroll-margin-top: 100px; }
.white-section, .light-section, .dark-section, .docs-section { padding: 96px 0; }
.white-section { background: white; }
.light-section { background: linear-gradient(180deg, var(--soft), #edf4fb); }
.dark-section { background: var(--navy-3); color: white; }
.section-header { text-align: center; max-width: 850px; margin: 0 auto 48px; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; color: var(--navy); }
.section-title span { color: var(--orange); }
.section-subtitle { margin-top: 15px; color: var(--muted); font-size: 1.05rem; }
.light-title { color: white; }
.light-subtitle { color: rgba(255,255,255,.7); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card, .benefit-panel { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 18px 50px rgba(23,38,65,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover, .benefit-panel:hover { transform: translateY(-8px); border-color: rgba(242,122,36,.42); box-shadow: 0 26px 70px rgba(23,38,65,.15); }
.service-vector { width: 72px; height: 72px; object-fit: contain; margin-bottom: 22px; }
.line-icon { width: 72px; height: 72px; border-radius: 20px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.line-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3, .benefit-panel h3 { color: var(--navy); font-size: 1.2rem; line-height: 1.2; margin-bottom: 12px; }
.service-card p, .benefit-panel p { color: var(--muted); font-size: .96rem; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.technical-section { padding: 96px 0; }
.tech-block { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; margin-bottom: 76px; }
.tech-block:last-child { margin-bottom: 0; }
.tech-block:nth-child(even) .tech-img { order: 2; }
.tech-img, .feature-image { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: white; }
.tech-img img, .feature-image img { width: 100%; height: 420px; object-fit: cover; transition: transform .5s ease; }
.tech-img:hover img, .feature-image:hover img { transform: scale(1.04); }
.tech-text h2, .product-copy h2, .about-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -.04em; color: var(--navy); margin-bottom: 20px; }
.tech-text p, .product-copy p, .about-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: #0a1424; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, opacity .3s ease; }
.gallery-item figcaption { position: absolute; inset: auto 16px 16px 16px; padding: 12px 14px; border-radius: 16px; background: rgba(9,18,33,.75); color: white; font-weight: 800; backdrop-filter: blur(10px); transform: translateY(12px); opacity: 0; transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.08); opacity: .8; }
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }
.docs-section { background: linear-gradient(135deg, var(--navy-2), var(--navy-3)); color: white; text-align: center; }
.docs-content { max-width: 820px; }
.docs-content h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 18px; }
.docs-content p { color: rgba(255,255,255,.72); font-size: 1.1rem; }
.clients-section { background: #edf5fb; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-card { min-height: 140px; display: grid; place-items: center; text-align: center; gap: 12px; padding: 22px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,38,65,.08); border-radius: 22px; color: var(--navy); font-weight: 800; box-shadow: 0 16px 44px rgba(23,38,65,.07); transition: .24s ease; }
.client-card:hover { transform: translateY(-6px); background: white; box-shadow: var(--shadow); }
.client-card img { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; }

.page-hero { min-height: 62vh; color: white; background: linear-gradient(135deg, rgba(15,26,45,.92), rgba(35,82,140,.78)), url('../assets/images/Fondo_01.png') center/cover; }
.products-hero { background-image: linear-gradient(135deg, rgba(15,26,45,.92), rgba(35,82,140,.72)), url('../assets/images/SKIDS/SKID_01.jpg'); }
.about-hero { background-image: linear-gradient(135deg, rgba(15,26,45,.9), rgba(35,82,140,.68)), url('../assets/images/Fotografias Operativas/WhatsApp Image 2025-09-15 at 4.49.13 PM.jpeg'); }
.about-layout, .product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.product-layout.reverse { grid-template-columns: .85fr 1fr; }
.experience-card { min-height: 330px; border-radius: 30px; padding: 42px; color: white; background: radial-gradient(circle at top right, rgba(242,122,36,.9), transparent 34%), linear-gradient(145deg, var(--navy), var(--navy-3)); display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
.experience-card span { font-size: clamp(4rem, 10vw, 7rem); line-height: .9; font-weight: 800; color: white; }
.experience-card strong { display: block; margin: 14px 0 8px; text-transform: uppercase; letter-spacing: .08em; color: #ffd6bb; }
.experience-card p { color: rgba(255,255,255,.72); }
.mission-band { text-align: center; }
.mission-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; max-width: 900px; margin: 0 auto 18px; }
.mission-band p { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.72); }
.product-feature { padding: 96px 0; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-gallery img { width: 100%; height: 210px; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 45px rgba(23,38,65,.14); }
.product-gallery img:first-child { grid-column: span 2; height: 280px; }
.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list span { position: relative; padding-left: 30px; color: var(--ink); font-weight: 700; }
.check-list span::before { content: ''; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 5px white, 0 0 0 1px var(--orange); }
.value-add { margin-top: 34px; border-radius: 28px; padding: 34px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.value-add h3 { font-size: 1.5rem; margin-bottom: 16px; color: white; }
.value-add ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; list-style: none; }
.value-add li { position: relative; padding-left: 24px; color: rgba(255,255,255,.78); }
.value-add li::before { content: ''; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.shims-section { padding: 96px 0; }

.footer { background: var(--navy-3); color: rgba(255,255,255,.76); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 42px; padding: 58px 0; }
.footer-logo { width: 86px; height: 86px; object-fit: contain; border-radius: 16px; background: white; padding: 7px; margin-bottom: 18px; }
.footer h3 { color: white; margin-bottom: 14px; }
.footer a:hover { color: #ffd6bb; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links a { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 14px; font-weight: 800; color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .9rem; }
.whatsapp-float { position: fixed; right: 26px; bottom: 26px; z-index: 1400; width: 62px; height: 62px; border-radius: 999px; display: grid; place-items: center; color: white; background: #25d366; box-shadow: 0 16px 36px rgba(37,211,102,.35); transition: transform .25s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.04); }

.reveal { opacity: 0; transform: translateY(34px); filter: blur(4px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1), filter .75s cubic-bezier(.16,1,.3,1); }
.reveal.active { opacity: 1; transform: translateY(0); filter: blur(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logoPop { from { opacity: 0; transform: scale(.72); } to { opacity: 1; transform: scale(1); } }
@keyframes introExit { to { opacity: 0; visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 1080px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links > li > a { padding: 0 10px; font-size: .82rem; }
}

@media (max-width: 860px) {
  .header-container { height: 78px; }
  .logo img { width: 60px; height: 60px; }
  .mobile-menu-btn { display: block; }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; display: block; background: var(--navy); padding: 18px 20px 40px; transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; }
  .menu-open .main-nav { transform: translateX(0); }
  .menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links { display: grid; align-items: stretch; gap: 0; }
  .nav-links > li > a { min-height: auto; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .dropdown > a::after { margin-left: auto; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none; border-top: 0; background: rgba(255,255,255,.05); margin-bottom: 8px; }
  .search-btn { width: 54px; height: 54px; border-radius: 14px; }
  .hero, .page-hero { min-height: 82vh; padding-top: 78px; }
  .proof-grid, .benefit-row, .tech-block, .about-layout, .product-layout, .product-layout.reverse, .footer-main { grid-template-columns: 1fr; }
  .tech-block:nth-child(even) .tech-img { order: 0; }
  .gallery-grid, .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout.reverse .feature-image { order: -1; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px, 1180px); }
  h1 { font-size: 2.45rem; }
  .white-section, .light-section, .dark-section, .docs-section, .technical-section, .product-feature, .shims-section { padding: 68px 0; }
  .cards-grid, .gallery-grid, .clients-grid, .value-add ul { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 18px 12px; }
  .search-row { flex-direction: column; }
  .tech-img img, .feature-image img { height: 300px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery img:first-child { grid-column: auto; height: 240px; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 56px; height: 56px; }
}

/* Public-site alignment and expanded home sections */
.public-header { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(15,26,45,.08); box-shadow: 0 8px 28px rgba(17,31,53,.08); }
.public-header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 16px 42px rgba(17,31,53,.13); }
.public-header .header-container { height: 104px; }
.public-header .logo img { width: 72px; height: 72px; border-radius: 8px; background: white; padding: 0; }
.public-header .nav-links > li > a { min-height: 104px; color: #111827; font-size: 1rem; }
.public-header .nav-links > li > a:hover,
.public-header .dropdown:hover > a { color: #30308f; }
.public-header .dropdown > a::after { border-color: currentColor; }
.public-header .dropdown-menu { top: 104px; background: white; color: var(--ink); border-top: 3px solid #ff5628; border-radius: 0 0 18px 18px; overflow: hidden; }
.public-header .dropdown-menu a { color: var(--ink); border-bottom: 1px solid var(--line); }
.public-header .dropdown-menu a:hover { background: var(--soft); color: #30308f; }
.public-header .search-btn { order: 4; width: 54px; height: 54px; background: transparent; color: #c7c7c7; border-radius: 999px; }
.public-header .search-btn:hover { color: var(--orange); background: rgba(242,122,36,.08); }
.header-cta { order: 5; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 24px; border-radius: 999px; background: #ff5628; color: white; font-weight: 800; white-space: nowrap; box-shadow: 0 18px 35px rgba(255,86,40,.24); transition: transform .22s ease, background .22s ease; }
.header-cta:hover { transform: translateY(-2px); background: var(--orange-dark); }
.public-header .mobile-menu-btn { border-color: rgba(15,26,45,.18); }
.public-header .mobile-menu-btn span { background: var(--navy); }

.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.quality-grid article { background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.quality-grid h3 { color: var(--navy); margin-bottom: 8px; }
.quality-grid p { color: var(--muted); font-size: .95rem; }
.service-card { color: inherit; }
.service-details .tech-text ul { color: var(--muted); padding-left: 1.2rem; margin-top: 16px; }
.service-details .tech-text li { margin-bottom: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { background: white; border-radius: 0 0 18px 18px; overflow: hidden; box-shadow: 0 16px 44px rgba(23,38,65,.08); text-align: center; }
.project-card img { width: 100%; height: 285px; object-fit: cover; }
.project-card figcaption { padding: 14px 12px 20px; font-size: 1.05rem; line-height: 1.2; text-transform: uppercase; color: var(--navy); font-weight: 800; letter-spacing: .02em; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card { display: grid; grid-template-columns: 170px 1fr; gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 16px 44px rgba(23,38,65,.08); }
.blog-card img { width: 170px; height: 150px; object-fit: cover; border-radius: 18px; background: var(--sky); }
.blog-card time { display: block; color: var(--orange); font-weight: 800; font-size: .84rem; margin-bottom: 8px; text-transform: uppercase; }
.blog-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.blog-card p { color: var(--muted); font-size: .95rem; }
.blog-card a { display: inline-block; margin-top: 12px; color: var(--orange); font-weight: 800; }
.policies-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(242,122,36,.10), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}
.policies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.policy-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(23,38,65,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.policy-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242,122,36,.35);
  box-shadow: 0 26px 70px rgba(23,38,65,.14);
}
.policy-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.policy-code,
.policy-date {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
}
.policy-code {
  background: var(--navy);
  color: white;
}
.policy-date {
  background: var(--sky);
  color: var(--blue);
}
.policy-card h3 {
  color: var(--navy);
  font-size: 1.28rem;
  line-height: 1.2;
}
.policy-card p,
.policy-card li {
  color: var(--muted);
}
.policy-card ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2rem;
}
.policy-actions {
  margin-top: auto;
  padding-top: 6px;
}
.policy-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.policy-actions a:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); color: var(--navy); line-height: 1.05; margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 16px; }
.contact-list { margin-top: 26px; padding: 26px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; }
.contact-list p { margin-bottom: 12px; }
.contact-form { background: var(--navy); color: white; border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.55rem; margin-bottom: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 15px; color: rgba(255,255,255,.82); font-weight: 700; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.08); color: white; font: inherit; padding: 13px 14px; outline: none; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.46); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--orange); }

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .public-header .nav-links > li > a { padding: 0 9px; font-size: .92rem; }
}

@media (max-width: 860px) {
  .public-header .header-container { height: 78px; }
  .public-header .logo img { width: 60px; height: 60px; }
  .public-header .main-nav { top: 78px; background: white; }
  .public-header .nav-links > li > a { color: var(--navy); border-bottom: 1px solid var(--line); }
  .public-header .dropdown-menu { background: var(--soft); border-radius: 0; }
  .public-header .search-btn { width: 54px; height: 54px; }
  .quality-grid, .project-grid, .blog-grid, .policies-grid, .contact-layout { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card img { width: 100%; height: 230px; }
}

@media (max-width: 580px) {
  .project-card img { height: 230px; }
  .contact-form { padding: 24px; }
}

/* Sliding clients banner */
.clients-marquee-section {
  padding: 86px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(9, 25, 48, .92), rgba(13, 55, 91, .82)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 62px),
    #0b213d;
  overflow: hidden;
}
.clients-marquee-header { text-align: center; max-width: 860px; }
.clients-marquee-header h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 12px; }
.clients-marquee-header p:not(.hero-kicker) { color: rgba(255,255,255,.72); }
.client-logo-rail {
  position: relative;
  margin-top: 34px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.client-logo-rail::-webkit-scrollbar { display: none; }
.client-logo-rail.is-dragging { cursor: grabbing; user-select: none; }
.client-logo-track { display: flex; width: max-content; gap: 22px; padding: 2px 0 14px; }
.client-logo-card { flex: 0 0 230px; height: 126px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 18px 22px; border-radius: 24px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 20px 55px rgba(0,0,0,.22), 0 0 22px rgba(87, 182, 255, .12); transition: transform .25s ease, box-shadow .25s ease; }
.client-logo-card:hover { transform: translateY(-5px); box-shadow: 0 26px 70px rgba(0,0,0,.28), 0 0 30px rgba(242,122,36,.18); }
.client-logo-card img { max-width: 178px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.client-logo-card span { color: var(--navy); font-size: .78rem; font-weight: 800; text-align: center; line-height: 1.1; }
.client-logo-card:active { transform: translateY(-2px) scale(.99); }
@media (prefers-reduced-motion: reduce) { .client-logo-track { flex-wrap: wrap; justify-content: center; width: 100%; } }
@media (max-width: 580px) {
  .clients-marquee-section { padding: 64px 0; }
  .client-logo-card { flex-basis: 190px; height: 112px; }
  .client-logo-card img { max-width: 148px; max-height: 62px; }
}

/* Mobile menu hardening: keep links visible above the page content. */
@media (max-width: 860px) {
  .public-header .main-nav {
    position: fixed !important;
    top: 78px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2200;
    display: block !important;
    height: calc(100dvh - 78px);
    padding: 18px 24px 120px !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    opacity: 1;
    visibility: visible;
    transform: translateX(100%) !important;
  }

  .menu-open .public-header .main-nav {
    transform: translateX(0) !important;
  }

  .public-header .main-nav .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .public-header .main-nav .nav-links > li {
    display: block;
    width: 100%;
  }

  .public-header .main-nav .nav-links > li > a {
    display: flex !important;
    min-height: 0 !important;
    width: 100%;
    padding: 16px 4px !important;
    color: var(--navy) !important;
    font-size: 1.06rem !important;
    line-height: 1.25;
    opacity: 1 !important;
    visibility: visible !important;
    border-bottom: 1px solid var(--line);
  }

  .public-header .main-nav .dropdown-menu {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: 100%;
    margin: 0 0 10px;
    padding: 8px 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: var(--soft) !important;
    border: 0 !important;
    border-radius: 14px !important;
  }

  .public-header .main-nav .dropdown-menu a {
    display: block !important;
    padding: 11px 16px !important;
    color: var(--navy) !important;
    font-size: .94rem;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* SEO-focused lubrication unit section */
.service-photo-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: var(--sky);
  box-shadow: 0 10px 26px rgba(23,38,65,.12);
}
.lubrication-seo-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(242,122,36,.11), transparent 28%),
    linear-gradient(180deg, #fff, #f7fbff);
}
.lubrication-layout .feature-image img {
  height: 500px;
  object-fit: cover;
}
.seo-note {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: var(--navy);
  color: white;
  box-shadow: 0 18px 45px rgba(23,38,65,.16);
}
.seo-note h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.seo-note p {
  color: rgba(255,255,255,.78);
  margin: 0;
}
@media (max-width: 580px) {
  .lubrication-layout .feature-image img { height: 320px; }
}

/* Reparación cámara de empuje gallery */
.project-card-link {
  position: relative;
  display: block;
  color: inherit;
}
.project-card figcaption,
.project-card .project-caption {
  display: block;
  padding: 14px 12px 20px;
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .02em;
}
.project-card-cta {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(242,122,36,.95);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15,26,45,.18);
}
.thrust-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 285px;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}
.thrust-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
}
.thrust-gallery-item-tall {
  grid-row: span 2;
}
.thrust-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.thrust-gallery-item:hover img {
  transform: scale(1.05);
}
.thrust-gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15,26,45,.78);
  color: white;
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
@media (max-width: 720px) {
  .thrust-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .thrust-gallery-item-tall { grid-row: span 1; }
}

/* Inline expandable gallery inside project cards */
.project-card-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.project-card-button img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}
.project-card-button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.project-inline-gallery {
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(242,122,36,.12), transparent 30%),
    #ffffff;
  box-shadow: var(--shadow);
  animation: inlineGalleryOpen .28s ease both;
}
.project-inline-gallery[hidden] {
  display: none;
}
.project-inline-gallery-copy {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}
.project-inline-gallery-copy h3 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.project-inline-gallery-copy p:not(.hero-kicker) {
  color: var(--muted);
}
.project-card.is-open .project-card-cta {
  background: var(--navy);
}
@keyframes inlineGalleryOpen {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 580px) {
  .project-card-button img { height: 230px; }
  .project-inline-gallery { padding: 18px; border-radius: 24px; }
}

/* Mobile services accordion */
@media (max-width: 860px) {
  .public-header .main-nav .dropdown-menu {
    max-height: 0;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px !important;
    transition: max-height .28s ease, padding .28s ease, margin .28s ease;
  }
  .public-header .main-nav .dropdown.is-open .dropdown-menu {
    max-height: 760px;
    margin: 0 0 10px;
    padding: 8px 0 !important;
  }
  .public-header .main-nav .dropdown.is-open > a::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }
}
