:root {
  --green-950: #09271f;
  --green-900: #103a2d;
  --green-800: #174d3b;
  --green-700: #1f634b;
  --green-100: #e8f0ec;
  --gold: #d5a640;
  --gold-light: #f2d88c;
  --ink: #18231f;
  --muted: #64706b;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: rgba(16,58,45,.13);
  --shadow: 0 24px 80px rgba(9,39,31,.10);
  --radius: 22px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 14px; top: -70px; z-index: 9999; padding: 12px 16px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 14px; }

.topbar { background: var(--green-950); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; gap: 14px; min-height: 38px; }
.topbar a:hover { color: var(--white); }
.topbar-sep { opacity: .25; }

.navbar { position: sticky; top: 0; z-index: 100; background: rgba(247,247,242,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 238px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 650; }
.nav-links > a:not(.btn) { position: relative; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.nav-links > a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--green-950); margin: 6px 0; transition: .2s ease; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 760; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--green-950); box-shadow: 0 12px 30px rgba(213,166,64,.22); }
.btn-primary:hover { background: #e1b64f; box-shadow: 0 16px 36px rgba(213,166,64,.30); }
.btn-secondary { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.06); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-small { min-height: 42px; padding: 0 18px; }
.btn-block { width: 100%; }
.btn-ghost { border-color: rgba(255,255,255,.16); color: var(--white); background: rgba(255,255,255,.04); }

.hero { position: relative; overflow: hidden; background: var(--green-950); color: var(--white); min-height: 690px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 40%, rgba(213,166,64,.14), transparent 34%), linear-gradient(115deg, rgba(255,255,255,.02), transparent 45%); }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent 75%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding-block: 90px; }
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 850; color: var(--green-700); }
.eyebrow.light { color: var(--gold-light); }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: -.055em; font-weight: 850; }
.hero h1 span { color: var(--gold); }
.hero-text { max-width: 650px; margin: 28px 0 30px; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: rgba(255,255,255,.54); font-size: 13px; }
.hero-meta span::before { content: "•"; color: var(--gold); margin-right: 8px; }
.hero-art { min-height: 470px; display: flex; align-items: center; justify-content: center; }
.machine-stage { position: relative; width: min(540px, 100%); }
.machine-stage > img { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 45px 55px rgba(0,0,0,.35)); }
.machine-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(213,166,64,.35), rgba(213,166,64,0) 68%); left: 10%; top: -6%; }
.machine-label { position: absolute; right: 0; bottom: 16px; z-index: 3; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.15); padding: 14px 18px; border-radius: 14px; display: grid; }
.machine-label strong { font-size: 14px; }
.machine-label span { color: rgba(255,255,255,.55); font-size: 12px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; width: 4px; height: 8px; border-radius: 99px; background: var(--gold); top: 10px; left: 50%; transform: translateX(-50%); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

.section { padding: 110px 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow), .about-copy > p, .contact-copy > p { color: var(--muted); font-size: 17px; }
.intro-strip { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.service-card { padding: 34px; min-height: 250px; border-right: 1px solid var(--line); }
.service-card:last-child { border-right: 0; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 850; font-size: 12px; }
.service-card h3 { margin: 28px 0 12px; font-size: 23px; }
.service-card p { margin: 0; color: var(--muted); }

.machinery-section { background: var(--paper); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: end; }
.split-heading > p { margin-bottom: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-btn { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; }
.filter-btn:hover, .filter-btn.active { background: var(--green-900); color: white; border-color: var(--green-900); }
.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.machine-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.machine-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.machine-card.is-hidden { display: none; }
.machine-image { position: relative; min-height: 240px; display: grid; place-items: center; padding: 24px; background: linear-gradient(145deg, #eff2ec, #fafaf6); overflow: hidden; }
.machine-image::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(16,58,45,.08); border-radius: 50%; }
.machine-image img { position: relative; z-index: 2; width: 92%; height: 205px; object-fit: contain; transition: transform .3s ease; }
.machine-card:hover .machine-image img { transform: scale(1.04); }
.machine-body { padding: 22px 24px 25px; }
.tag { display: block; color: var(--green-700); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.machine-body h3 { margin: 5px 0 16px; font-size: 30px; line-height: 1; }
.machine-body a { font-size: 14px; font-weight: 750; color: var(--green-800); }
.machine-body a span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.machine-body a:hover span { transform: translateX(4px); }
.featured-card { border-color: rgba(213,166,64,.45); }
.featured-badge { position: absolute; z-index: 4; right: 14px; top: 14px; padding: 7px 11px; border-radius: 999px; background: var(--gold); color: var(--green-950); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }

.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-art { position: relative; min-height: 520px; border-radius: 26px; overflow: hidden; background: var(--green-900); display: flex; align-items: flex-end; justify-content: center; padding: 42px; }
.about-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(213,166,64,.22), transparent 35%); }
.about-art img { position: relative; z-index: 3; width: 96%; filter: drop-shadow(0 32px 30px rgba(0,0,0,.28)); }
.about-number { position: absolute; top: 40px; left: 40px; color: rgba(255,255,255,.06); font-weight: 950; font-size: 96px; letter-spacing: -.08em; }
.about-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 50px 50px; }
.about-copy > p { max-width: 560px; }
.location-list { margin: 32px 0; display: grid; gap: 12px; }
.location-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.location-list strong { color: var(--green-800); }
.location-list span { color: var(--muted); }
.text-link { font-weight: 800; color: var(--green-800); }
.text-link span { margin-left: 5px; }

.contact-section { background: var(--green-950); color: var(--white); position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 25%, rgba(213,166,64,.15), transparent 27%); }
.contact-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.contact-copy > p { color: rgba(255,255,255,.64); max-width: 650px; }
.contact-links { margin-top: 34px; display: grid; gap: 10px; }
.contact-links a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.10); }
.contact-links span { color: rgba(255,255,255,.45); font-size: 13px; }
.contact-links strong { text-align: right; font-size: 14px; }
.contact-card { padding: 32px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.contact-card-label { color: var(--gold-light); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; }
.contact-card h3 { margin: 10px 0 8px; font-size: 28px; }
.contact-card p { margin: 0 0 22px; color: rgba(255,255,255,.58); }
.contact-card .btn + .btn { margin-top: 9px; }

.site-footer { background: #071d17; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.06); padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand img { width: 38px; }
.footer-brand div { display: grid; }
.footer-brand span { color: rgba(255,255,255,.44); font-size: 12px; }
.footer-nav { display: flex; gap: 20px; font-size: 13px; }
.footer-nav a:hover { color: var(--white); }
.footer-grid > p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 99; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 30px rgba(0,0,0,.18); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 27px; fill: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 70px; }
  .hero-art { min-height: 340px; }
  .machine-stage { width: min(520px, 88%); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; }
  .service-card:last-child { border-bottom: 0; }
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 4px; }
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .about-grid { gap: 50px; }
  .contact-wrap { gap: 45px; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .topbar { display: none; }
  .nav-inner { min-height: 70px; }
  .brand img { width: 192px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 12px; }
  .nav-links .btn { margin-top: 6px; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 64px 80px; }
  .hero h1 { font-size: clamp(46px, 14vw, 70px); }
  .hero-art { min-height: 260px; }
  .machine-label { right: -4px; bottom: -6px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 78px 0; }
  .machine-grid { grid-template-columns: 1fr; }
  .machine-image { min-height: 220px; }
  .about-art { min-height: 390px; }
  .about-number { font-size: 68px; }
  .location-list > div { grid-template-columns: 1fr; gap: 3px; }
  .contact-links a { flex-direction: column; gap: 3px; }
  .contact-links strong { text-align: left; word-break: break-word; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; }
}

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


/* v2 — fotografías de modelos y galería */
.photo-stage { background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.10); border-radius: 28px; padding: 24px; }
.photo-stage > img { max-height: 430px; object-fit: contain; border-radius: 18px; }
.machine-image { border: 0; width: 100%; cursor: pointer; text-align: left; position: relative; }
.machine-image img { width: 100%; height: 250px; object-fit: contain; }
.machine-image::after { display: none; }
.photo-chip { position: absolute; left: 14px; bottom: 14px; z-index: 3; padding: 7px 10px; border-radius: 999px; background: rgba(9,39,31,.88); color: white; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 850; backdrop-filter: blur(8px); }
.neutral { background: rgba(9,39,31,.88); color: white; }
.machine-body p { margin: -4px 0 16px; color: var(--muted); font-size: 14px; }
.text-button { border: 0; background: transparent; padding: 0; color: var(--green-800); font: inherit; font-size: 14px; font-weight: 760; cursor: pointer; }
.text-button span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.text-button:hover span { transform: translateX(4px); }
.other-equipment { margin-top: 26px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 24px; align-items: center; }
.other-equipment h3 { margin: 0; font-size: 24px; }
.other-equipment .eyebrow { margin-bottom: 5px; }
.model-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.model-pills span { padding: 8px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 13px; font-weight: 800; }
.about-art { padding: 0; align-items: stretch; }
.about-art img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.about-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,39,31,.45), transparent 55%); z-index: 2; }
.about-number { z-index: 4; color: rgba(255,255,255,.16); }
.about-lines { z-index: 3; opacity: .32; }
.gallery-dialog { width: min(980px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.gallery-dialog::backdrop { background: rgba(5,20,16,.78); backdrop-filter: blur(4px); }
.gallery-shell { position: relative; padding: 18px; }
.gallery-close { position: absolute; z-index: 5; right: 28px; top: 28px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(9,39,31,.78); color: white; font-size: 28px; cursor: pointer; }
.gallery-media { position: relative; min-height: 460px; border-radius: 18px; overflow: hidden; background: white; display: grid; place-items: center; }
.gallery-media img { width: 100%; height: 520px; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(9,39,31,.82); color: white; font-size: 32px; cursor: pointer; }
.gallery-prev { left: 16px; }.gallery-next { right: 16px; }
.gallery-info { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 4px 10px; }
.gallery-info h3 { margin: 0; font-size: 28px; }.gallery-info .eyebrow { margin-bottom: 4px; }.gallery-info > span { color: var(--muted); font-size: 13px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 6px; }
.gallery-thumb { flex: 0 0 88px; height: 64px; padding: 0; border-radius: 10px; border: 2px solid transparent; overflow: hidden; background: white; cursor: pointer; }
.gallery-thumb.active { border-color: var(--gold); }.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .other-equipment { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .machine-image img { height: 225px; } .gallery-shell { padding: 10px; } .gallery-media { min-height: 300px; } .gallery-media img { height: 340px; } .gallery-close { right: 18px; top: 18px; } .gallery-nav { width: 42px; height: 42px; } .gallery-info { align-items: flex-start; flex-direction: column; gap: 4px; } }

.service-card-photo{padding:0;overflow:hidden}.service-photo{height:190px;background:#eef1ed;overflow:hidden}.service-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.service-card-photo:hover .service-photo img{transform:scale(1.035)}.service-content{padding:24px}.service-content .service-icon{margin-bottom:16px}@media(max-width:760px){.service-photo{height:210px}}

/* v11 WhatsApp */
.whatsapp-float{color:#fff}.whatsapp-float svg{width:32px;height:32px;display:block;fill:currentColor}
