:root {
  --ink: #0a0d0b;
  --ink-soft: #111712;
  --green: #3f922f;
  --green-bright: #79bd38;
  --yellow: #f7c515;
  --cream: #f6f3eb;
  --white: #ffffff;
  --muted: #aeb5af;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(5, 8, 5, 0.16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Inter", system-ui, sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow { margin: 0 0 12px; color: var(--yellow); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: #277b27; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; line-height: .95; text-transform: uppercase; margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(3.8rem, 7vw, 7rem); letter-spacing: -.025em; }
h1 span { color: var(--yellow); }
h2 { margin-bottom: 22px; font-size: clamp(2.8rem, 5vw, 4.8rem); letter-spacing: -.02em; }
h3 { font-size: 2rem; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: var(--white); background: rgba(8, 13, 9, .83); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 176px; height: 58px; object-fit: contain; background: var(--white); border-radius: 8px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 600; }
.main-nav a:not(.nav-cta):hover { color: var(--yellow); }
.nav-cta { padding: 11px 18px; color: var(--ink); background: var(--yellow); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; background: transparent; border: 0; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero { position: relative; min-height: 900px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; background-image: url("assets/excavadora-hero.jpeg"); background-size: cover; background-position: center 15%; transform: scale(1.025); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 6, .94) 0%, rgba(5, 9, 6, .76) 43%, rgba(5, 9, 6, .18) 74%), linear-gradient(0deg, rgba(5, 9, 6, .98) 0%, transparent 56%); }
.hero-content { position: relative; z-index: 1; padding: 190px 0 64px; }
.hero-copy { max-width: 680px; margin: 0 0 32px; color: #e1e5e2; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.48); background: rgba(0,0,0,.25); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 750px; margin: 70px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line); }
.hero-proof li { padding-right: 28px; }
.hero-proof li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; text-transform: uppercase; }
.hero-proof span { color: var(--muted); font-size: .82rem; }

.intro-section { background: var(--white); }
.split-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 90px; align-items: start; }
.intro-copy { padding-top: 28px; color: #424a44; font-size: 1.07rem; }
.intro-copy p:first-child { margin-top: 0; }

.fleet-section { color: var(--white); background: var(--ink-soft); }
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.fleet-image { min-height: 620px; background-image: url("assets/servicios.jpeg"); background-size: 100% auto; background-repeat: no-repeat; background-position: center top; border-radius: var(--radius); box-shadow: var(--shadow); }
.fleet-content > p:not(.eyebrow) { color: #c7cec8; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.spec-grid article { min-height: 125px; padding: 22px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 14px; }
.spec-grid strong, .spec-grid span { display: block; }
.spec-grid strong { color: var(--yellow); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; text-transform: uppercase; }
.spec-grid span { color: var(--muted); font-size: .87rem; }

.services-section { background: var(--cream); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading > p:not(.eyebrow) { color: #535c55; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card { position: relative; padding: 42px; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 16px 45px rgba(10, 13, 11, .08); }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 7px; background: var(--green); }
.agriculture-card::before { background: var(--yellow); }
.service-number { position: absolute; top: 26px; right: 32px; color: rgba(10,13,11,.08); font-family: "Barlow Condensed", sans-serif; font-size: 5rem; font-weight: 800; }
.service-card ul { margin: 26px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; margin: 15px 0; padding-left: 30px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.agriculture-card li::before { color: #bd9200; }

.benefits-section { color: var(--white); background: linear-gradient(135deg, #080c09, #142017); }
.section-heading.light { color: var(--white); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits-grid article { min-height: 245px; padding: 30px 24px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; }
.benefits-grid article > span { color: var(--yellow); font-size: .8rem; font-weight: 800; }
.benefits-grid h3 { margin: 50px 0 15px; font-size: 1.8rem; }
.benefits-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.parts-section { background: linear-gradient(135deg, #f6f3eb 0%, #eef3ea 100%); }
.parts-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.parts-copy > p:not(.eyebrow) { max-width: 620px; color: #535c55; font-size: 1.05rem; }
.parts-checklist { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.parts-checklist li { position: relative; padding-left: 34px; color: #273029; font-weight: 600; }
.parts-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; color: var(--white); background: var(--green); border-radius: 50%; text-align: center; line-height: 24px; font-size: .78rem; font-weight: 900; }
.parts-card { padding: 42px; color: var(--white); background: var(--ink-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.parts-card h3 { margin: 24px 0 16px; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.parts-card > p:not(.parts-note) { margin: 0 0 28px; color: #c7cec8; }
.parts-badge { display: inline-flex; padding: 7px 12px; color: var(--ink); background: var(--yellow); border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.parts-note { margin: 14px 0 0; color: var(--muted); text-align: center; font-size: .8rem; }

.quote-section { background: var(--white); }
.quote-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 80px; align-items: start; }
.quote-copy > p:not(.eyebrow) { max-width: 520px; color: #535c55; }
.contact-list { display: grid; gap: 12px; margin-top: 36px; }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid #dfe4df; }
.contact-list span { color: #697169; font-size: .83rem; }
.contact-list strong { text-align: right; }
.quote-form { display: grid; gap: 18px; padding: 38px; background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-form label { display: grid; gap: 7px; color: #2c342e; font-size: .86rem; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; color: var(--ink); background: var(--white); border: 1px solid #ccd3cc; border-radius: 9px; outline: none; }
.quote-form input, .quote-form select { height: 52px; padding: 0 14px; }
.quote-form textarea { padding: 12px 14px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,146,47,.12); }
.full-width { width: 100%; }
.form-note { margin: -6px 0 0; color: #6b736c; text-align: center; font-size: .75rem; }

.site-footer { padding: 44px 0; color: var(--white); background: #050806; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.site-footer p { margin: 0; color: var(--muted); font-size: .84rem; }
.floating-whatsapp { position: fixed; z-index: 45; right: 22px; bottom: 22px; padding: 13px 18px; color: var(--white); background: #1faa59; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.24); font-size: .85rem; font-weight: 800; }

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .site-header { z-index: 100; }
  .main-nav { position: absolute; z-index: 101; top: 100%; left: 0; right: 0; height: calc(100vh - 82px); height: calc(100dvh - 82px); display: none; align-items: stretch; flex-direction: column; gap: 10px; padding: 24px; color: var(--white); background: #071109; border-top: 1px solid rgba(247, 197, 21, .28); box-shadow: 0 24px 55px rgba(0, 0, 0, .48); overflow-y: auto; }
  .main-nav.open { display: flex; visibility: visible; opacity: 1; }
  .main-nav a:not(.nav-cta) { padding: 15px 18px; color: var(--white); background: #101d13; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; font-size: 1rem; }
  .main-nav a:not(.nav-cta):hover,
  .main-nav a:not(.nav-cta):focus-visible { color: var(--yellow); background: #18291b; border-color: rgba(247, 197, 21, .55); outline: none; }
  .main-nav .nav-cta { margin-top: 8px; padding: 15px 18px; color: var(--ink); background: var(--yellow); text-align: center; border: 2px solid var(--yellow); }
  .menu-toggle { display: block; background: #132317; border: 1px solid rgba(247, 197, 21, .55); border-radius: 10px; }
  .menu-toggle span { background: var(--yellow); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 820px; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,9,6,.98) 5%, rgba(5,9,6,.6) 58%, rgba(5,9,6,.2)); }
  .hero-content { padding-top: 150px; }
  .split-layout, .fleet-grid, .parts-layout, .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .fleet-image { min-height: 560px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; padding-inline: 18px; }
  .main-nav { top: 100%; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
  .brand img { width: 150px; height: 50px; }
  .hero { min-height: 850px; }
  .hero-backdrop { background-position: 58% top; }
  .hero-content { padding: 135px 0 44px; }
  h1 { font-size: clamp(3.3rem, 17vw, 5.1rem); }
  h2 { font-size: 3rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 15px; margin-top: 42px; }
  .hero-proof li, .hero-proof li + li { padding: 0; border-left: 0; }
  .hero-proof li + li { padding-top: 15px; border-top: 1px solid var(--line); }
  .hero-proof strong { font-size: 1.65rem; }
  .fleet-image { min-height: 410px; }
  .spec-grid, .service-columns, .benefits-grid { grid-template-columns: 1fr; }
  .service-card, .parts-card, .quote-form { padding: 28px 22px; }
  .benefits-grid article { min-height: 200px; }
  .contact-list a { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-list strong { text-align: left; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

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