/* A&Lma SpA — landing cPanel
   Diseño sin frameworks ni dependencias externas.
*/
:root {
  --ink: #0b1f35;
  --ink-soft: #53677e;
  --forest: #071a33;
  --forest-2: #0d2b4e;
  --teal: #1e5f91;
  --mint: #8fc5e8;
  --lime: #d9edf8;
  --sand: #edf3f8;
  --paper: #f8fafc;
  --white: #ffffff;
  --line: rgba(11, 31, 53, .12);
  --shadow-sm: 0 12px 30px rgba(7, 26, 51, .09);
  --shadow-lg: 0 30px 80px rgba(4, 19, 39, .18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1200px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--forest); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-heading { max-width: 760px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .expertise-copy h2, .contact-copy h2 {
  margin: 8px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 500;
}
.section-heading > p:last-child { max-width: 630px; margin: 0 auto; color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .73rem;
  font-weight: 800;
}
.eyebrow > span { width: 30px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--lime); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.button svg, .text-link svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: var(--white); box-shadow: 0 12px 25px rgba(30, 95, 145, .22); }
.button-primary:hover { background: var(--forest-2); box-shadow: 0 16px 30px rgba(30, 95, 145, .3); }
.button-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.07); }
.button-ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.45); }
.button-white { background: var(--white); color: var(--forest); }
.button-white:hover { box-shadow: 0 14px 30px rgba(7, 26, 51, .2); }
:focus-visible { outline: 3px solid #8fc5e8; outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  color: var(--white);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(7, 26, 51, .96);
  box-shadow: 0 12px 35px rgba(4, 30, 28, .18);
  backdrop-filter: blur(14px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--mint); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; letter-spacing: -.04em; }
.brand-copy strong span { color: var(--mint); }
.brand-copy small { margin-top: 5px; font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; opacity: .76; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: .9rem; font-weight: 650; }
.site-nav > a:not(.nav-cta) { position: relative; color: rgba(255,255,255,.82); }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--mint); transition: right .25s ease;
}
.site-nav > a:not(.nav-cta):hover { color: var(--white); }
.site-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.nav-cta:hover { background: var(--white); color: var(--forest); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 3px; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative;
  min-height: 860px;
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 18, 38, .96) 0%, rgba(5, 25, 50, .88) 48%, rgba(5, 27, 54, .68) 100%),
    url("../images/client/mundo-agua.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px; right: -330px; top: -170px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 85px rgba(255,255,255,.018), 0 0 0 170px rgba(255,255,255,.012);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
  z-index: 0;
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .72;
  mix-blend-mode: screen;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
  min-height: 680px;
  padding-top: 42px;
  padding-bottom: 88px;
}
.hero-copy { max-width: 660px; }
.hero-copy h1 {
  margin: 17px 0 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6.1vw, 6.25rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero-copy h1 em { color: var(--mint); font-style: italic; }
.hero-lead { max-width: 610px; margin: 0; color: rgba(255,255,255,.74); font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.hero-proof > div { padding: 20px 17px 20px 0; }
.hero-proof > div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .92rem; }
.hero-proof span { margin-top: 3px; color: rgba(255,255,255,.54); font-size: .72rem; }

.hero-visual { position: relative; min-height: 515px; }
.visual-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.visual-main {
  inset: 25px 0 50px 35px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.visual-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .82rem; font-weight: 700;
}
.status { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.66); font-size: .68rem; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(143,197,232,.12); }
.process-graphic { position: relative; height: 300px; overflow: hidden; }
.process-graphic::before {
  content: ""; position: absolute; inset: 25px;
  background-image: radial-gradient(rgba(255,255,255,.23) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .25;
}
.tank {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 112px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 46px 46px 16px 16px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
}
.tank::after { content: ""; position: absolute; left: 15px; right: 15px; top: 55px; height: 1px; background: rgba(255,255,255,.25); }
.tank span { font-family: Georgia, serif; font-size: 1.45rem; }
.tank small { color: rgba(255,255,255,.55); font-size: .64rem; }
.tank-a { left: 8%; top: 75px; }
.tank-b { left: 39%; top: 42px; width: 108px; height: 145px; border-radius: 54px 54px 18px 18px; }
.tank-c { right: 8%; top: 78px; }
.pipe { position: absolute; z-index: 1; height: 2px; background: rgba(143,197,232,.75); transform-origin: left center; }
.pipe::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.pipe-one { left: 25%; top: 130px; width: 25%; transform: rotate(-8deg); }
.pipe-two { left: 58%; top: 118px; width: 27%; transform: rotate(10deg); }
.water-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 135px; fill: rgba(73,135,190,.25); }
.water-wave .wave-line { fill: none; stroke: rgba(143,197,232,.75); stroke-width: 2; }
.visual-metrics { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.12); }
.visual-metrics > div { padding: 17px 20px; }
.visual-metrics > div + div { border-left: 1px solid rgba(255,255,255,.12); }
.visual-metrics span, .visual-metrics strong { display: block; }
.visual-metrics span { color: rgba(255,255,255,.5); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
.visual-metrics strong { margin-top: 4px; font-size: .78rem; }
.floating-tag {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(5, 22, 45, .88);
  box-shadow: 0 18px 38px rgba(1,24,23,.26);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
.tag-a { left: -10px; top: 5px; }
.tag-b { right: -24px; bottom: 18px; animation-delay: -2.3s; }
.tag-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; color: var(--mint); background: rgba(143,197,232,.12); }
.tag-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.floating-tag small, .floating-tag strong { display: block; }
.floating-tag small { color: rgba(255,255,255,.48); font-size: .57rem; text-transform: uppercase; letter-spacing: .12em; }
.floating-tag strong { font-size: .75rem; white-space: nowrap; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.11); background: rgba(4,18,38,.38); }
.sectors-strip { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.sectors-strip > span { color: rgba(255,255,255,.42); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.sectors-strip > div { color: rgba(255,255,255,.78); font-size: .78rem; font-weight: 700; }

/* Intro */
.intro { background: var(--paper); }
.split-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(60px, 9vw, 130px); align-items: start; }
.intro-content { padding-top: 6px; }
.intro-large { margin-top: 0; font-family: Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.35; letter-spacing: -.025em; }
.intro-content > p:not(.intro-large) { color: var(--ink-soft); }
.principles { margin-top: 36px; border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 55px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principles article > span { color: var(--teal); font-size: .72rem; font-weight: 800; }
.principles strong { display: block; }
.principles p { margin: 2px 0 0; color: var(--ink-soft); font-size: .86rem; }

/* Services */
.services-section { background: var(--sand); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 55px; }
.service-card {
  position: relative;
  min-height: 335px;
  padding: 30px;
  border: 1px solid rgba(16,40,37,.08);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.7);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(30,95,145,.23); box-shadow: var(--shadow-sm); }
.service-card.featured { color: var(--white); background: var(--forest); }
.service-card.featured::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018);
}
.service-number { position: absolute; right: 24px; top: 22px; color: rgba(16,40,37,.25); font-family: Georgia, serif; font-size: 1.1rem; }
.featured .service-number { color: rgba(255,255,255,.38); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 34px; border-radius: 15px; color: var(--teal); background: rgba(30,95,145,.09); }
.featured .service-icon { color: var(--mint); background: rgba(143,197,232,.12); }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { position: relative; margin: 0 0 11px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; }
.service-card p { position: relative; margin: 0; color: var(--ink-soft); font-size: .92rem; }
.featured p { color: rgba(255,255,255,.68); }
.service-card ul { position: relative; margin: 20px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 6px 0 6px 18px; color: rgba(255,255,255,.75); font-size: .76rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border: 1px solid var(--mint); border-radius: 50%; }
.service-card:not(.featured) ul { margin-top: 18px; }
.service-card:not(.featured) li { color: var(--ink-soft); }
.service-card:not(.featured) li::before { border-color: var(--teal); background: rgba(30,95,145,.08); }
.services-grid-compact .service-card { min-height: 380px; }

/* Expertise */
.expertise-section {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(143,197,232,.1), transparent 27%),
    linear-gradient(120deg, #071a33, #0b2a4e);
  overflow: hidden;
}
.expertise-section::after {
  content: ""; position: absolute; width: 680px; height: 680px; right: -360px; top: -300px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.01);
}
.expertise-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.expertise-copy h2 { max-width: 520px; }
.expertise-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.65); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--mint); font-weight: 750; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .2s ease; }
.expertise-panel { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.expertise-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 5px; border-radius: 999px; background: rgba(2,27,26,.32); }
.expertise-tab { padding: 11px 14px; border: 0; border-radius: 999px; color: rgba(255,255,255,.55); background: transparent; font-size: .78rem; font-weight: 750; cursor: pointer; }
.expertise-tab.active { color: var(--forest); background: var(--lime); }
.expertise-content { padding: 18px 8px 5px; }
.expertise-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.expertise-item:last-child { border-bottom: 0; }
.expertise-item > span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(143,197,232,.35); border-radius: 50%; color: var(--mint); font-size: .67rem; }
.expertise-item strong { display: block; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 500; }
.expertise-item p { margin: 2px 0 0; color: rgba(255,255,255,.52); font-size: .8rem; }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 27px 5px; }
.tech-cloud span { padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.045); font-size: .8rem; }

/* Process */
.process-section { background: var(--paper); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 62px; }
.process-steps article { position: relative; padding: 42px 28px 5px 0; }
.process-steps article + article { padding-left: 28px; border-left: 0; }
.process-steps article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 20px;
  right: -30px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), rgba(143,197,232,.45));
  transform: translateY(-50%);
  pointer-events: none;
}
.process-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -32px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.process-steps span { display: inline-flex; margin-bottom: 48px; color: var(--teal); font-size: .74rem; font-weight: 850; }
.process-steps span::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px rgba(30,95,145,.24), 0 0 0 8px rgba(143,197,232,.14);
  transform: translateY(-50%);
  z-index: 2;
}
.process-steps article + article span::after { left: 28px; }
.process-steps h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.process-steps p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

/* Instagram slider */
.instagram-section { background: var(--sand); overflow: hidden; }
.instagram-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.instagram-heading h2 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.04em; }
.instagram-link { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-weight: 750; white-space: nowrap; }
.instagram-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.slider-shell { position: relative; margin-top: 48px; }
.instagram-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  padding: 8px 4px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.instagram-slider::-webkit-scrollbar { display: none; }
.slider-loading { grid-column: 1/-1; min-height: 340px; display: grid; place-items: center; color: var(--ink-soft); }
.instagram-card {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 9px 30px rgba(7,26,51,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.instagram-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(7,26,51,.13); }
.instagram-card-image { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: #dfe9e3; }
.instagram-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.instagram-card:hover img { transform: scale(1.035); }
.instagram-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,39,37,.16), transparent 50%); pointer-events: none; }
.instagram-badge { position: absolute; z-index: 2; top: 15px; right: 15px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--white); background: rgba(8,48,45,.75); backdrop-filter: blur(8px); }
.instagram-badge svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.instagram-card-body { padding: 20px 21px 22px; }
.instagram-card-body small { color: var(--teal); font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.instagram-card-body p { margin: 8px 0 0; font-family: Georgia, serif; font-size: 1.1rem; line-height: 1.35; }
.slider-button {
  position: absolute; z-index: 3; top: 42%;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}
.slider-button:hover { transform: translateY(-2px); }
.slider-button:disabled { opacity: .35; cursor: default; transform: none; }
.slider-button.prev { left: -24px; }
.slider-button.next { right: -24px; }
.slider-button svg { width: 22px; height: 22px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider-dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.slider-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(7,26,51,.23); cursor: pointer; transition: width .2s, border-radius .2s, background .2s; }
.slider-dot.active { width: 24px; border-radius: 10px; background: var(--teal); }

/* Contact */
.contact-section {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9,48,46,.98), rgba(9,48,46,.9)),
    radial-gradient(circle at 20% 30%, rgba(143,197,232,.18), transparent 40%);
}
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 100px); align-items: center; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.64); }
.contact-list { margin-top: 38px; }
.contact-list > a, .contact-list > div { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--mint); background: rgba(143,197,232,.1); flex: 0 0 auto; }
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small, .contact-list strong { display: block; }
.contact-list small { color: rgba(255,255,255,.45); font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; }
.contact-list strong { margin-top: 2px; font-size: .82rem; overflow-wrap: anywhere; }
.contact-card { padding: clamp(25px, 4vw, 42px); border-radius: var(--radius-lg); color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(1,25,24,.28); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .76rem; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(16,40,37,.16);
  border-radius: 12px;
  color: var(--ink);
  background: #fbfcfa;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input, .field select { height: 49px; padding: 0 14px; }
.field textarea { min-height: 122px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(30,95,145,.1); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #82928e; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ad3b36; }
.field-error { min-height: 17px; display: block; margin-top: 4px; color: #a22f2b; font-size: .67rem; }
.field-meta { display: flex; justify-content: space-between; gap: 20px; }
.field-meta > span { margin-top: 4px; color: #7b8d88; font-size: .66rem; }
.check-field { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 22px; color: var(--ink-soft); font-size: .72rem; cursor: pointer; }
.check-field input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--teal); }
.submit-button { width: 100%; border: 0; }
.submit-button.loading { pointer-events: none; opacity: .78; }
.submit-button.loading::before { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { min-height: 24px; margin-top: 12px; text-align: center; font-size: .75rem; }
.form-status.success { color: #155d8f; }
.form-status.error { color: #a22f2b; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.cta-band { color: var(--white); background: var(--teal); }
.cta-band .container { min-height: 145px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band span, .cta-band strong { display: block; }
.cta-band span { color: rgba(255,255,255,.65); font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; }
.cta-band strong { margin-top: 4px; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; }

/* Footer */
.site-footer { padding: 75px 0 25px; color: rgba(255,255,255,.72); background: #041427; }
.footer-main { display: grid; grid-template-columns: 1fr 1.8fr; gap: 70px; padding-bottom: 55px; }
.footer-brand { align-self: start; color: var(--white); }
.footer-links { display: grid; grid-template-columns: .75fr 1.45fr .8fr; gap: 35px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links strong { margin-bottom: 7px; color: var(--white); font-size: .8rem; }
.footer-links a, .footer-links span { font-size: .72rem; color: rgba(255,255,255,.55); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: .66rem; }

/* WhatsApp */
.whatsapp-float {
  position: fixed; z-index: 999;
  right: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 9px;
  height: 56px; padding: 0 17px 0 15px;
  border-radius: 999px;
  color: var(--white);
  background: #25D366;
  box-shadow: 0 12px 30px rgba(20,122,61,.32);
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(20,122,61,.38); }
.whatsapp-float > svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-label { font-size: .78rem; }
.whatsapp-pulse { position: absolute; inset: 0; border: 1px solid rgba(32,180,90,.5); border-radius: inherit; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%,100% { transform: scale(1.22); opacity: 0; } }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1050px) {
  :root { --header-h: 74px; }
  .menu-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 90px max(28px, 8vw);
    gap: 24px;
    color: var(--white);
    background: #06172f;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.35rem; }
  .site-nav .nav-cta { margin-top: 10px; font-size: 1rem; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 1100px; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 150px; gap: 55px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 660px); margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .expertise-layout, .contact-layout { grid-template-columns: 1fr; }
  .expertise-copy { max-width: 690px; }
  .process-steps { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .process-steps article:nth-child(2)::before,
  .process-steps article:nth-child(2)::after { display: none; }
  .process-steps article:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-steps article:nth-child(4) { border-top: 1px solid var(--line); }
  .process-steps article:nth-child(3)::before { left: 20px; right: -30px; }
  .process-steps article:nth-child(3)::after { right: -32px; }
  .process-steps article:nth-child(3) span::after { left: 0; top: -5px; }
  .process-steps article:nth-child(4) span::after { top: -5px; }
  .instagram-slider { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 82px 0; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .hero { min-height: 1050px; }
  .hero-layout { min-height: auto; padding-top: 70px; }
  .hero-copy h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div, .hero-proof > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-proof > div:last-child { border-bottom: 0; }
  .hero-visual { min-height: 440px; }
  .visual-main { inset: 20px 0 50px 0; }
  .floating-tag.tag-a { left: -5px; }
  .floating-tag.tag-b { right: -5px; }
  .visual-metrics { grid-template-columns: 1fr 1fr; }
  .visual-metrics > div:last-child { display: none; }
  .tank { transform: scale(.82); }
  .tank-a { left: 2%; }
  .tank-b { left: 34%; }
  .tank-c { right: 1%; }
  .sectors-strip { justify-content: flex-start; overflow-x: auto; }
  .sectors-strip > span { display: none; }
  .sectors-strip > div { white-space: nowrap; }
  .split-layout { grid-template-columns: 1fr; gap: 35px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps article, .process-steps article + article { padding: 28px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .process-steps article:first-child { border-top: 0; }
  .process-steps article::before,
  .process-steps article::after,
  .process-steps article span::after,
  .process-steps article + article span::after { display: none; }
  .process-steps span { margin-bottom: 22px; }
  .instagram-heading { align-items: flex-start; flex-direction: column; }
  .instagram-slider { grid-auto-columns: 86%; gap: 15px; }
  .slider-button { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 24px 18px; }
  .cta-band .container { min-height: 200px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 54px; padding: 0; justify-content: center; }
  .whatsapp-label { display: none; }
}
@media (max-width: 420px) {
  .hero-actions .button { width: 100%; }
  .floating-tag { transform: scale(.88); transform-origin: left center; }
  .tag-b { transform-origin: right center; }
  .expertise-tabs { border-radius: 18px; }
  .expertise-tab { padding: 10px 6px; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* Navy image-led refinements */
.brand { min-width: 190px; }
.brand-logo-wrap {
  display: flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 7px 18px rgba(0,0,0,.12);
}
.brand-logo { width: 145px; height: 48px; object-fit: contain; }
.site-header.scrolled .brand-logo-wrap { padding-block: 3px; }
.footer-brand .brand-logo-wrap { padding: 9px 14px; }
.footer-brand .brand-logo { width: 170px; height: 58px; }

.hero-photo-card {
  position: absolute;
  inset: 36px 5px 55px 55px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,10,25,.35);
}
.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,18,38,.9), transparent 58%);
}
.hero-photo-card > img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 25px;
}
.hero-photo-card small, .hero-photo-card strong { display: block; }
.hero-photo-card small { color: var(--mint); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-photo-card strong { margin-top: 5px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.recycle-visual {
  position: absolute;
  z-index: 3;
  right: -23px;
  top: -15px;
  width: 190px;
  height: 245px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 26px;
  background: rgba(5,24,48,.72);
  box-shadow: 0 22px 55px rgba(0,10,25,.30);
  backdrop-filter: blur(12px);
}
.recycle-visual img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.2)); }
.company-image { position: relative; margin: 38px 0 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-sm); }
.company-image img { width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; }
.company-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,19,39,.7), transparent 54%); }
.company-image figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 17px; color: #fff; font-size: .78rem; line-height: 1.45; }
.service-card.featured { background: linear-gradient(145deg, #071a33, #0d3158); }
.expertise-section { background: radial-gradient(circle at 12% 20%, rgba(143,197,232,.12), transparent 27%), linear-gradient(120deg, #06172f, #0b2b50); }
.contact-section { background: linear-gradient(90deg, rgba(5,22,45,.99), rgba(8,37,70,.94)), radial-gradient(circle at 20% 30%, rgba(143,197,232,.18), transparent 40%); }
.cta-band { background: #1e5f91; }
.instagram-card-image { background: #dce7f1; }
.instagram-card-image img { object-position: center; }
.instagram-card:nth-child(3) .instagram-card-image img { object-fit: contain; padding: 20px; background: #071a33; }
.instagram-card:nth-child(4) .instagram-card-image img { object-fit: contain; padding: 18px; background: #fff; }

@media (max-width: 1050px) {
  .brand-logo { width: 130px; height: 44px; }
  .hero-photo-card { inset: 30px 30px 55px 30px; }
  .recycle-visual { right: 0; }
}
@media (max-width: 760px) {
  .brand-logo-wrap { padding: 3px 8px; }
  .brand-logo { width: 112px; height: 39px; }
  .hero-photo-card { inset: 20px 0 55px 0; }
  .recycle-visual { width: 130px; height: 170px; right: -5px; top: -8px; }
  .hero-photo-card figcaption { left: 20px; right: 20px; bottom: 20px; }
  .hero-photo-card strong { font-size: 1.2rem; }
}

/* Mobile premium refinement v4
   Objetivo: versión móvil más pulida, imágenes contenidas, menú con presencia y timeline con flechas visibles.
*/
@media (max-width: 1050px) {
  .site-header {
    background: linear-gradient(180deg, rgba(4, 18, 38, .94), rgba(4, 18, 38, .68));
    backdrop-filter: blur(14px);
  }

  .menu-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 10px 24px rgba(0, 10, 25, .16);
  }
  .menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    margin: 0;
    background: #fff;
  }
  .menu-toggle span:nth-child(1) { transform: translateY(-7px); }
  .menu-toggle span:nth-child(2) { transform: translateY(0); }
  .menu-toggle span:nth-child(3) { transform: translateY(7px); }
  .menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }

  .site-nav {
    inset: 0;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    padding: 108px 22px 28px;
    background:
      radial-gradient(circle at 22% 8%, rgba(143,197,232,.20), transparent 30%),
      radial-gradient(circle at 92% 82%, rgba(30,95,145,.22), transparent 36%),
      linear-gradient(145deg, #041427 0%, #071a33 52%, #0b2d53 100%);
    overflow-y: auto;
  }
  .site-nav::before {
    content: "Menú";
    display: block;
    margin: 0 0 10px;
    color: rgba(255,255,255,.94);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 9vw, 3.3rem);
    line-height: .95;
    letter-spacing: -.045em;
  }
  .site-nav::after {
    content: "Asesorías industriales, agua, residuos y producción limpia.";
    display: block;
    order: 1;
    margin-top: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(143,197,232,.18);
    border-radius: 18px;
    color: rgba(255,255,255,.62);
    background: rgba(255,255,255,.045);
    font-size: .78rem;
    line-height: 1.5;
  }
  .site-nav > a,
  .site-nav > a:not(.nav-cta) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    color: rgba(255,255,255,.9);
    background: rgba(255,255,255,.065);
    box-shadow: 0 12px 26px rgba(0, 12, 30, .14);
    font-size: 1rem;
    font-weight: 780;
  }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav > a::before {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 999px;
    color: var(--forest);
    background: var(--mint);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .03em;
    flex: 0 0 auto;
  }
  .site-nav > a:nth-child(1)::before { content: "01"; }
  .site-nav > a:nth-child(2)::before { content: "02"; }
  .site-nav > a:nth-child(3)::before { content: "03"; }
  .site-nav > a:nth-child(4)::before { content: "04"; }
  .site-nav > a:not(.nav-cta)::after {
    content: "";
  }
  .site-nav > a:not(.nav-cta)::before { margin-right: 12px; }
  .site-nav > a:not(.nav-cta):hover {
    color: #fff;
    border-color: rgba(143,197,232,.35);
    background: rgba(255,255,255,.095);
  }
  .site-nav > a:not(.nav-cta)::marker { display: none; }
  .site-nav > a.nav-cta {
    min-height: 60px;
    margin-top: 6px;
    justify-content: center;
    border: 0;
    color: var(--forest);
    background: linear-gradient(135deg, #d9edf8, #8fc5e8);
    box-shadow: 0 18px 38px rgba(30,95,145,.28);
  }
  .site-nav > a.nav-cta::before { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .section-heading h2,
  .expertise-copy h2,
  .contact-copy h2,
  .instagram-heading h2 {
    font-size: clamp(2rem, 10.8vw, 2.85rem);
    line-height: 1.03;
    letter-spacing: -.045em;
  }
  .section-heading.centered { text-align: left; }
  .section-heading > p:last-child { margin-inline: 0; font-size: .94rem; }
  .eyebrow {
    gap: 8px;
    font-size: .64rem;
    letter-spacing: .12em;
    line-height: 1.35;
  }
  .eyebrow > span { width: 22px; }

  .site-header,
  .site-header.scrolled { height: var(--header-h); }
  .nav-wrap { gap: 12px; }
  .brand-logo-wrap {
    padding: 3px 7px;
    border-radius: 11px;
    box-shadow: 0 7px 17px rgba(0,0,0,.13);
  }
  .brand-logo { width: 106px; height: 38px; }

  .hero {
    min-height: auto;
    padding-top: var(--header-h);
    background-position: 50% 0;
  }
  .hero::before { opacity: .38; width: 420px; height: 420px; right: -240px; top: 20px; }
  .hero-grid-bg { opacity: .08; background-size: 44px 44px; }
  .hero-particles { opacity: .42; }
  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    min-height: auto;
    padding-top: 31px;
    padding-bottom: 100px;
  }
  .hero-copy { max-width: none; }
  .hero-copy h1 {
    margin: 13px 0 17px;
    font-size: clamp(2.35rem, 12.4vw, 3.28rem);
    line-height: .98;
    letter-spacing: -.056em;
  }
  .hero-lead {
    font-size: .94rem;
    line-height: 1.68;
    color: rgba(255,255,255,.77);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 24px;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
    font-size: .9rem;
  }
  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
    border: 0;
  }
  .hero-proof > div,
  .hero-proof > div + div {
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
  }
  .hero-proof strong { font-size: .84rem; }
  .hero-proof span { font-size: .68rem; color: rgba(255,255,255,.58); }

  .hero-visual {
    width: 100%;
    height: clamp(255px, 73vw, 330px);
    min-height: 0;
    margin: 2px auto 0;
  }
  .hero-photo-card {
    inset: 0;
    border-radius: 24px;
    box-shadow: 0 22px 58px rgba(0,10,25,.28);
  }
  .hero-photo-card::after {
    background: linear-gradient(to top, rgba(4,18,38,.86), rgba(4,18,38,.12) 58%, rgba(4,18,38,.06));
  }
  .hero-photo-card > img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero-photo-card figcaption {
    left: 17px;
    right: 17px;
    bottom: 16px;
  }
  .hero-photo-card small { font-size: .6rem; letter-spacing: .1em; }
  .hero-photo-card strong { max-width: 78%; font-size: 1.05rem; line-height: 1.14; }
  .recycle-visual {
    width: 82px;
    height: 108px;
    top: 12px;
    right: 12px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(5,24,48,.66);
  }
  .floating-tag {
    padding: 9px 11px;
    gap: 8px;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(0, 10, 25, .24);
  }
  .floating-tag .tag-icon { width: 30px; height: 30px; border-radius: 10px; }
  .floating-tag .tag-icon svg { width: 17px; height: 17px; }
  .floating-tag small { font-size: .49rem; }
  .floating-tag strong { font-size: .65rem; }
  .tag-a { left: 12px !important; top: auto !important; bottom: 12px; }
  .tag-b { display: none; }

  .hero-bottom {
    position: absolute;
    bottom: 0;
    background: rgba(4,18,38,.62);
    backdrop-filter: blur(10px);
  }
  .sectors-strip {
    min-height: 70px;
    gap: 9px;
    padding: 0 14px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sectors-strip::-webkit-scrollbar { display: none; }
  .sectors-strip > div {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    font-size: .68rem;
  }

  .intro-large { font-size: clamp(1.35rem, 6.8vw, 1.75rem); }
  .principles article {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 17px 0;
  }
  .company-image {
    margin-top: 28px;
    border-radius: 20px;
  }
  .company-image img {
    aspect-ratio: 16 / 10;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
  }
  .company-image figcaption { font-size: .72rem; }

  .services-grid,
  .services-grid-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 34px;
  }
  .services-grid-compact .service-card,
  .service-card {
    min-height: 0;
    padding: 23px 21px;
    border-radius: 20px;
  }
  .service-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 24px;
    border-radius: 14px;
  }
  .service-icon svg { width: 23px; height: 23px; }
  .service-number { top: 18px; right: 20px; }
  .service-card h3 { font-size: 1.27rem; }
  .service-card p { font-size: .86rem; }
  .service-card li { font-size: .75rem; }

  .expertise-layout,
  .contact-layout { gap: 32px; }
  .expertise-panel {
    padding: 14px;
    border-radius: 22px;
  }
  .expertise-tabs {
    grid-template-columns: 1fr;
    border-radius: 18px;
    gap: 6px;
    padding: 6px;
  }
  .expertise-tab {
    padding: 11px 12px;
    text-align: left;
    font-size: .76rem;
  }
  .expertise-item { grid-template-columns: 38px 1fr; gap: 12px; padding: 15px 2px; }
  .tech-cloud { gap: 8px; padding: 18px 2px 6px; }
  .tech-cloud span { padding: 10px 12px; font-size: .72rem; }

  .process-section { background: linear-gradient(180deg, var(--paper), #eef5fb); }
  .process-steps {
    position: relative;
    display: block;
    grid-template-columns: none;
    margin-top: 40px;
    padding-left: 22px;
    border: 0;
  }
  .process-steps::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 21px;
    bottom: 33px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mint), rgba(143,197,232,.25));
  }
  .process-steps article,
  .process-steps article + article,
  .process-steps article:nth-child(3),
  .process-steps article:nth-child(4) {
    position: relative;
    min-height: 0;
    margin: 0 0 18px;
    padding: 18px 18px 18px 20px;
    border: 1px solid rgba(11,31,53,.08) !important;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 14px 34px rgba(7, 26, 51, .07);
  }
  .process-steps article:last-child { margin-bottom: 0; }
  .process-steps article::before { display: none !important; }
  .process-steps article:not(:last-child)::after {
    content: "";
    display: block !important;
    position: absolute;
    left: -20px;
    top: auto;
    right: auto;
    bottom: -15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--mint);
    border-right: 2px solid var(--mint);
    transform: rotate(135deg);
    background: transparent;
    pointer-events: none;
    z-index: 3;
  }
  .process-steps span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin: 0 0 11px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #0d2b4e;
    background: rgba(143,197,232,.18);
    font-size: .68rem;
    letter-spacing: .04em;
  }
  .process-steps span::after,
  .process-steps article + article span::after,
  .process-steps article:nth-child(3) span::after,
  .process-steps article:nth-child(4) span::after {
    content: "";
    display: block !important;
    position: absolute;
    left: -22px;
    top: 24px;
    width: 14px;
    height: 14px;
    border: 3px solid #eef5fb;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 1px rgba(30,95,145,.25), 0 0 0 7px rgba(143,197,232,.13);
    transform: translateY(-50%);
    z-index: 4;
  }
  .process-steps h3 { font-size: 1.18rem; }
  .process-steps p { font-size: .82rem; line-height: 1.55; }

  .instagram-heading { gap: 16px; }
  .slider-shell { margin-top: 30px; }
  .instagram-slider {
    grid-auto-columns: min(82%, 292px);
    gap: 14px;
    padding: 3px 2px 18px;
    scroll-padding-left: 2px;
  }
  .instagram-card {
    border-radius: 20px;
  }
  .instagram-card-image {
    aspect-ratio: 1 / .68;
  }
  .instagram-card-image img {
    object-fit: cover;
    object-position: center;
  }
  .instagram-card:nth-child(3) .instagram-card-image img,
  .instagram-card:nth-child(4) .instagram-card-image img {
    object-fit: contain;
    padding: 12px;
  }
  .instagram-card-body { padding: 16px 17px 18px; }
  .instagram-card-body p { font-size: .98rem; }
  .slider-dots { margin-top: 2px; }

  .contact-card {
    padding: 22px 16px;
    border-radius: 22px;
  }
  .contact-list { margin-top: 26px; }
  .contact-list > a,
  .contact-list > div { align-items: flex-start; gap: 11px; padding: 13px 0; }
  .contact-icon { width: 36px; height: 36px; border-radius: 11px; }
  .field { margin-bottom: 14px; }
  .field input,
  .field select { height: 48px; }
  .field textarea { min-height: 112px; }

  .cta-band .container {
    min-height: 170px;
    gap: 20px;
  }
  .cta-band strong { font-size: 1.35rem; line-height: 1.15; }
  .footer-main {
    gap: 34px;
    padding-bottom: 34px;
  }
  .footer-brand .brand-logo { width: 150px; height: 52px; }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero-layout { padding-top: 27px; gap: 22px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 12.2vw, 3rem); }
  .hero-lead { font-size: .9rem; }
  .hero-visual { height: clamp(240px, 70vw, 292px); }
  .recycle-visual { width: 74px; height: 98px; }
  .floating-tag { transform: none; }
  .instagram-slider { grid-auto-columns: min(86%, 280px); }
}

@media (max-width: 1050px) {
  .site-nav > a:not(.nav-cta) { justify-content: flex-start; }
  .site-nav > a:not(.nav-cta)::after {
    content: "›";
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin-left: auto;
    background: none;
    color: var(--mint);
    font-size: 1.45rem;
    line-height: 1;
    transform: none;
  }
}

/* Fix v5 — menú mobile robusto y flechas/timeline correctamente alineadas */
@media (max-width: 1050px) {
  body.menu-open { overflow: hidden; touch-action: none; }
  body.menu-open .site-header { z-index: 3000; }

  .menu-toggle {
    position: relative !important;
    z-index: 3200 !important;
    flex: 0 0 auto;
    transform: translateZ(0);
  }

  .site-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 3000 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh;
    padding: calc(var(--header-h) + 34px) 22px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.22,.61,.36,1), opacity .22s ease, visibility .22s ease !important;
    background:
      radial-gradient(circle at 18% 7%, rgba(143,197,232,.24), transparent 32%),
      radial-gradient(circle at 92% 86%, rgba(30,95,145,.24), transparent 36%),
      linear-gradient(145deg, #031022 0%, #061a34 52%, #0b2d53 100%) !important;
  }

  .site-nav.open {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav::before {
    content: "Menú principal" !important;
    display: block !important;
    margin: 0 0 8px !important;
    padding-right: 64px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 8.5vw, 3.2rem);
    line-height: .98;
    letter-spacing: -.045em;
  }

  .site-nav::after {
    content: "A&Lma SpA · Asesorías industriales, agua, residuos y producción limpia." !important;
    display: block !important;
    order: 30 !important;
    margin-top: 8px !important;
    padding: 15px 17px !important;
    border: 1px solid rgba(143,197,232,.18) !important;
    border-radius: 18px !important;
    color: rgba(255,255,255,.64) !important;
    background: rgba(255,255,255,.045) !important;
    font-size: .78rem !important;
    line-height: 1.48 !important;
  }

  .site-nav > a,
  .site-nav > a:not(.nav-cta) {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 0 17px !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 18px !important;
    color: rgba(255,255,255,.93) !important;
    background: rgba(255,255,255,.07) !important;
    box-shadow: 0 12px 26px rgba(0,12,30,.15) !important;
    font-size: 1rem !important;
    font-weight: 780 !important;
  }

  .site-nav > a:not(.nav-cta)::before {
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 12px !important;
    border-radius: 999px !important;
    color: #061a34 !important;
    background: #8fc5e8 !important;
    font-size: .64rem !important;
    font-weight: 900 !important;
    letter-spacing: .03em !important;
    flex: 0 0 auto !important;
  }

  .site-nav > a:not(.nav-cta)::after {
    content: "›" !important;
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    background: none !important;
    color: #8fc5e8 !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    transform: none !important;
  }

  .site-nav > a.nav-cta {
    justify-content: center !important;
    min-height: 60px !important;
    margin-top: 6px !important;
    border: 0 !important;
    color: #061a34 !important;
    background: linear-gradient(135deg, #e4f3fb, #8fc5e8) !important;
    box-shadow: 0 18px 38px rgba(30,95,145,.30) !important;
  }
}

/* Desktop/tablet: conectores claros entre los puntos del método */
@media (min-width: 761px) {
  .process-steps {
    position: relative;
    gap: 0;
  }
  .process-steps article:not(:last-child)::before {
    top: -5px !important;
    left: 24px !important;
    right: -20px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #8fc5e8, rgba(143,197,232,.35)) !important;
  }
  .process-steps article:not(:last-child)::after {
    top: -5px !important;
    right: -21px !important;
    width: 11px !important;
    height: 11px !important;
    border-top: 2px solid #8fc5e8 !important;
    border-right: 2px solid #8fc5e8 !important;
    transform: translateY(-50%) rotate(45deg) !important;
    background: transparent !important;
  }
  .process-steps span::after,
  .process-steps article + article span::after {
    top: -5px !important;
    width: 15px !important;
    height: 15px !important;
    background: #8fc5e8 !important;
    border-color: var(--paper) !important;
  }
}

/* Mobile: timeline vertical premium con flechas centradas entre tarjetas */
@media (max-width: 760px) {
  .process-steps {
    position: relative !important;
    display: block !important;
    margin-top: 38px !important;
    padding-left: 50px !important;
    border: 0 !important;
  }

  .process-steps::before {
    content: "" !important;
    position: absolute !important;
    left: 18px !important;
    top: 30px !important;
    bottom: 38px !important;
    width: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #8fc5e8, rgba(143,197,232,.28)) !important;
    display: block !important;
  }

  .process-steps article,
  .process-steps article + article,
  .process-steps article:nth-child(3),
  .process-steps article:nth-child(4) {
    position: relative !important;
    min-height: 0 !important;
    margin: 0 0 30px !important;
    padding: 18px 18px 18px 18px !important;
    border: 1px solid rgba(11,31,53,.08) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 14px 34px rgba(7,26,51,.07) !important;
    overflow: visible !important;
  }

  .process-steps article:last-child {
    margin-bottom: 0 !important;
  }

  .process-steps article::before {
    display: none !important;
    content: none !important;
  }

  .process-steps article:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: -39px !important;
    top: auto !important;
    right: auto !important;
    bottom: -23px !important;
    width: 14px !important;
    height: 14px !important;
    border-top: 2px solid #8fc5e8 !important;
    border-right: 2px solid #8fc5e8 !important;
    background: transparent !important;
    transform: rotate(135deg) !important;
    pointer-events: none !important;
    z-index: 4 !important;
  }

  .process-steps span {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    margin: 0 0 11px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    color: #0d2b4e !important;
    background: rgba(143,197,232,.18) !important;
    font-size: .68rem !important;
    letter-spacing: .04em !important;
  }

  .process-steps span::after,
  .process-steps article + article span::after,
  .process-steps article:nth-child(3) span::after,
  .process-steps article:nth-child(4) span::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: -51px !important;
    top: 50% !important;
    width: 18px !important;
    height: 18px !important;
    border: 4px solid #eef5fb !important;
    border-radius: 50% !important;
    background: #8fc5e8 !important;
    box-shadow: 0 0 0 1px rgba(30,95,145,.25), 0 0 0 7px rgba(143,197,232,.13) !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
  }
}
