/* ==========================================================================
   Madrino Overseas – main stylesheet
   Palette derived from the logo: navy #0D4D8D, sky #25B8EB, white.
   ========================================================================== */

:root {
  --navy: #0d4d8d;
  --navy-700: #0a3d70;
  --navy-800: #082f57;
  --navy-900: #0b2545;
  --sky: #25b8eb;
  --sky-600: #1a9fd0;
  --sky-100: #e3f5fc;
  --sky-50: #f1fafe;
  --ink: #1c2b3a;
  --muted: #5b6b7f;
  --muted-2: #8a97a6;
  --line: #dde6ef;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --whatsapp: #25d366;
  --danger: #d64545;
  --success: #1f9d61;

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 12px rgba(11, 37, 69, .06);
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .16);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--sky-600); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 100%); color: rgba(255, 255, 255, .86); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: .35em; }
.section-head .link-arrow { margin-top: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sky); }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-head); font-size: .95rem; font-weight: 600; line-height: 1;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(13, 77, 141, .28); }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 12px 26px rgba(13, 77, 141, .34); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn--light:hover { color: var(--navy-700); background: var(--sky-50); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--whatsapp:hover { background: #1fb956; color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--sky); }

/* ------------------------------------------------------------- topbar */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .82); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar__contact a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; fill: var(--sky); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__note { color: rgba(255, 255, 255, .6); }
.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.social--top a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: clamp(180px, 20vw, 250px); height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__item--mega { position: static; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 30px 14px;
  font-family: var(--font-head); font-size: .93rem; font-weight: 600; color: var(--navy-900);
  white-space: nowrap;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--sky); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__link.is-active, .nav__item:hover > .nav__link { color: var(--navy); }
.nav__link.is-active::after, .nav__item:hover > .nav__link::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav__item:hover .nav__link .chev, .nav__item:focus-within .nav__link .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; left: 50%; top: 100%; z-index: 50;
  width: min(960px, calc(100vw - 40px));
  transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__inner {
  display: grid; grid-template-columns: 260px 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.mega__inner--agri { grid-template-columns: 260px 1fr; }
.mega__intro { padding: 28px; background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: rgba(255, 255, 255, .8); }
.mega__intro h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.mega__intro p { font-size: .9rem; margin-bottom: 18px; }
.mega__col { padding: 24px 26px; }
.mega__col + .mega__col { border-left: 1px solid var(--line); }
.mega__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-100); font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.mega__heading small { font-size: .75rem; color: var(--muted-2); font-weight: 500; }
.mega__links li a { display: block; padding: 6px 0; font-size: .9rem; color: var(--ink); }
.mega__links li a:hover { color: var(--navy); padding-left: 6px; }
.mega__links--dense { columns: 2; column-gap: 18px; }
.mega__links--dense li { break-inside: avoid; }
.mega__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega__tiles a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); transition: background .2s; }
.mega__tiles a:hover { background: var(--bg-alt); color: var(--navy); }
.mega__tiles img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; flex: none; }
.mega__tiles span { display: flex; flex-direction: column; font-family: var(--font-head); font-size: .9rem; font-weight: 600; line-height: 1.25; }
.mega__tiles small { font-family: var(--font-body); font-size: .75rem; font-weight: 400; color: var(--muted-2); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Off-canvas nav */
.mobile-nav { position: fixed; inset: 0; z-index: 950; visibility: hidden; overflow: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(11, 37, 69, .55); opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
  display: flex; flex-direction: column;
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav__head img { width: 180px; }
.mobile-nav__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); }
.mobile-nav__close svg { width: 20px; height: 20px; fill: none; stroke: var(--navy-900); stroke-width: 2; stroke-linecap: round; }
.mobile-nav__list { flex: 1; overflow-y: auto; padding: 8px 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__list .accordion-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 20px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--navy-900);
}
.accordion-toggle[aria-expanded="true"] { color: var(--navy); }
.accordion-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-panel { display: none; background: var(--bg-alt); }
.accordion-toggle[aria-expanded="true"] + .accordion-panel { display: block; }
.accordion-panel a, .accordion-panel .accordion-toggle { padding-left: 32px; font-size: .92rem; font-weight: 500; }
.accordion-panel .accordion-panel { background: #eaf1f7; }
.accordion-panel .accordion-panel a { padding-left: 44px; font-weight: 400; color: var(--ink); }
.mobile-nav__list a.is-all { color: var(--sky-600); }
.mobile-nav__foot { display: grid; gap: 8px; padding: 18px 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.mobile-nav__foot .btn { margin-bottom: 6px; }
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; height: clamp(560px, 82vh, 780px); color: #fff; background: var(--navy-900); overflow: hidden; }
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 47, 87, .88) 0%, rgba(8, 47, 87, .62) 45%, rgba(8, 47, 87, .18) 100%); }
.hero__content { position: relative; z-index: 2; max-width: var(--container); }
.hero__content .hero__h { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.01em; }
.hero__content h1, .hero__content .hero__h { max-width: 640px; color: #fff; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease) .2s, opacity .7s var(--ease) .2s; }
.hero__content p { max-width: 560px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .88); margin-bottom: 30px; transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease) .35s, opacity .7s var(--ease) .35s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; transform: translateY(20px); opacity: 0; transition: transform .7s var(--ease) .5s, opacity .7s var(--ease) .5s; }
.hero__slide.is-active .hero__content .hero__h,
.hero__slide.is-active .hero__content h1, .hero__slide.is-active .hero__content p, .hero__slide.is-active .hero__actions { transform: none; opacity: 1; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; display: flex; align-items: center; gap: 18px; }
.hero__arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; transition: background .2s, border-color .2s; }
.hero__arrow:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); transition: background .2s, width .2s; }
.hero__dots button.is-active { background: var(--sky); width: 48px; }

/* ---------------------------------------------------------- divisions */
.divisions__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.division-card { position: relative; display: block; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.division-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.division-card:hover img { transform: scale(1.05); }
.division-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 47, 87, 0) 25%, rgba(8, 47, 87, .92) 100%); }
.division-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 32px; }
.division-card__count { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(37, 184, 235, .2); border: 1px solid rgba(37, 184, 235, .5); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: #dff4fd; }
.division-card h3 { color: #fff; font-size: 1.55rem; }
.division-card p { color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.division-card .link-arrow { color: var(--sky); }

/* -------------------------------------------------------- about split */
.about-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-split__media, .about-split__text { min-width: 0; }
.about-split--reverse .about-split__media { order: 2; }
.about-split__media { position: relative; }
.about-split__media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-split__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); border: 2px solid var(--sky-100); z-index: -1; }
.about-split--reverse .about-split__media::before { inset: 24px 24px -24px -24px; }
.about-split__text p { color: var(--muted); }
.about-split__text .btn { margin-top: 12px; }

/* ------------------------------------------------------ category tiles */
.category-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.category-tiles a { display: block; position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.category-tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-tiles a:hover img { transform: scale(1.08); }
.category-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 47, 87, 0) 40%, rgba(8, 47, 87, .9)); }
.category-tiles__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .98rem; line-height: 1.25; }
.category-tiles__label small { font-family: var(--font-body); font-weight: 400; font-size: .74rem; color: rgba(255, 255, 255, .7); margin-top: 2px; }

/* ----------------------------------------------------------- features */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-card__body { padding: 24px; }
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------ process */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-card { position: relative; padding: 28px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-card__num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--sky-100); line-height: 1; }
.process-card img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 18px; }
.process-card h3 { font-size: 1.05rem; }
.process-card p { font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------- page hero */
.page-hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); color: #fff; background: var(--navy-900); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 47, 87, .95), rgba(13, 77, 141, .55)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: rgba(255, 255, 255, .82); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb [aria-current] { color: #fff; }

/* ----------------------------------------------------- mission/vision */
.mission .section-head h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; line-height: 1.45; }
.mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mission-card { padding: 36px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); backdrop-filter: blur(6px); }
.mission-card img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 20px; filter: brightness(0) invert(1); }
.mission-card h3 { font-size: 1.35rem; }
.mission-card__lead { font-weight: 600; color: #fff; margin-top: 18px; }
.check-list li { position: relative; padding-left: 30px; margin-top: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ------------------------------------------------------------- export */
.export__video { max-width: 1000px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.export__video video { width: 100%; }

/* ------------------------------------------------------------ timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sky), var(--navy)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 22px; }
.timeline__marker { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.timeline__card { display: flex; gap: 22px; align-items: center; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline__card img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.timeline__card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.timeline__card p { color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------- catalog */
.catalog__layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.catalog__side, .catalog__main { min-width: 0; }
.catalog__side-inner { position: sticky; top: calc(var(--header-h) + 20px); }
.catalog__side-title { font-size: 1.05rem; margin-bottom: 12px; }
.side-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .93rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a span { font-size: .75rem; color: var(--muted-2); background: var(--bg-alt); padding: 2px 8px; border-radius: 999px; }
.side-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.side-nav a.is-active { background: var(--navy); color: #fff; }
.side-nav a.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
.side-card { margin-top: 20px; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--sky-50), var(--sky-100)); border: 1px solid #cfeaf7; }
.side-card h3 { font-size: 1rem; }
.side-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.side-card__wa { display: block; margin-top: 10px; text-align: center; font-size: .85rem; }
.catalog__intro { max-width: 820px; margin-bottom: 28px; color: var(--muted); }
.catalog__intro p:nth-child(n+2) { display: none; }
.chip-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); background: #fff; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog__group + .catalog__group { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.catalog__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.catalog__group-head h2 { font-size: 1.45rem; margin: 0; }
.catalog__group-head .count { font-size: .85rem; font-weight: 500; color: var(--muted-2); margin-left: 8px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid--sheet { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.product-card--sheet .product-card__media { aspect-ratio: 3 / 4; background: #eef3f8; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card--sheet .product-card__media img { object-fit: cover; object-position: top; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; }
.product-card h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.product-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--sky-600); white-space: nowrap; }
.product-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.product-card:hover .product-card__more svg { transform: translateX(4px); }

/* ------------------------------------------------------ product detail */
.product-detail__layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.product-detail__info { min-width: 0; }
.product-detail__gallery { display: grid; gap: 20px; min-width: 0; }
.product-detail__figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.product-detail__figure img { width: 100%; }
.product-detail__zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(11, 37, 69, .82); color: #fff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(4px); }
.product-detail__zoom:hover { background: var(--navy); color: #fff; }
.product-detail__zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.product-detail__info { position: sticky; top: calc(var(--header-h) + 20px); }
.product-detail__info h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.product-detail__lead { color: var(--muted); }
.spec-list { display: grid; gap: 0; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 16px; font-size: .93rem; border-bottom: 1px solid var(--line); }
.spec-list > div:nth-child(odd) { background: var(--bg-alt); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-weight: 500; }
.spec-list dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-detail__pdf { display: flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 22px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sky-50); border: 1px dashed #b6e3f6; font-size: .9rem; font-weight: 500; }
.product-detail__pdf svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }

/* --------------------------------------------------------------- harvest */
.harvest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.harvest__head p { color: var(--muted); max-width: 560px; }
.harvest__legend { display: flex; gap: 20px; font-size: .86rem; color: var(--muted); }
.harvest__legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-swatch { width: 18px; height: 18px; border-radius: 5px; }
.legend-swatch--on { background: var(--sky); }
.legend-swatch--now { background: #fff; border: 2px solid var(--navy); }
.harvest__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.harvest-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 820px; font-size: .9rem; }
.harvest-table th, .harvest-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.harvest-table thead th { position: sticky; top: 0; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.harvest-table thead th.is-now { background: var(--navy-700); box-shadow: inset 0 -3px 0 var(--sky); }
.harvest-table__name { text-align: left !important; padding-left: 16px !important; min-width: 200px; }
.harvest-table tbody .harvest-table__name { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-900); border-right: 1px solid var(--line); }
.harvest-table tbody .harvest-table__name img { width: 28px; height: 28px; object-fit: contain; }
.harvest-table tbody tr:nth-child(even) { background: #fafcfe; }
.harvest-table tbody tr:last-child td, .harvest-table tbody tr:last-child th { border-bottom: 0; }
.harvest-table td { position: relative; height: 48px; }
.harvest-table td.is-now { background: rgba(37, 184, 235, .07); }
.harvest-table td.is-on::before { content: ""; position: absolute; inset: 8px 4px; border-radius: 6px; background: var(--sky); box-shadow: 0 4px 10px rgba(37, 184, 235, .35); }
.harvest-table td.is-on.is-now::before { outline: 2px solid var(--navy); outline-offset: 2px; }
.harvest-cards { display: none; }
.harvest__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-alt); }
.harvest__foot p { margin: 0; color: var(--muted); }

/* --------------------------------------------------------------- contact */
.contact__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info, .contact__form-wrap { min-width: 0; }
.contact__info > p { color: var(--muted); }
.info-cards { display: grid; gap: 14px; margin-top: 28px; }
.info-card { display: flex; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-card__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--sky-100); color: var(--navy); }
.info-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-card > div { min-width: 0; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; }
.info-card p { margin: 0; font-size: .93rem; color: var(--muted); overflow-wrap: anywhere; }
.info-card p + p { margin-top: 4px; }
.contact-form { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .88rem; font-weight: 600; color: var(--navy-900); }
.field label span { color: var(--danger); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; color: var(--ink);
  background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(37, 184, 235, .18); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fff6f6; }
.field__error { min-height: 0; margin: 6px 0 0; font-size: .8rem; color: var(--danger); }
.field__error:empty { display: none; }
.form-status { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; font-size: .93rem; }
.form-status.is-success { background: #e8f7ef; color: #146c43; border: 1px solid #b7e4c7; }
.form-status.is-error { background: #fdecec; color: #9b2c2c; border: 1px solid #f5c2c2; }
.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.contact-form__note { margin: 0; font-size: .82rem; color: var(--muted-2); }
.map iframe { display: block; width: 100%; filter: saturate(.9); }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); }
.site-footer__cta { background: linear-gradient(135deg, var(--navy) 0%, var(--sky-600) 100%); color: #fff; }
.site-footer__cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(40px, 5vw, 64px) var(--gutter); }
.site-footer__cta h2 { color: #fff; margin-bottom: 8px; }
.site-footer__cta p { max-width: 560px; color: rgba(255, 255, 255, .85); margin: 0; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.site-footer__brand img { width: 56px; height: 56px; margin-bottom: 16px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer h4 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer__brand p { font-size: .93rem; }
.social--footer { margin-top: 18px; }
.social--footer a { background: rgba(255, 255, 255, .08); color: #fff; width: 38px; height: 38px; }
.social--footer a:hover { background: var(--sky); }
.social--footer svg { width: 17px; height: 17px; }
.site-footer__links li { margin-bottom: 9px; }
.site-footer__links a { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.site-footer__links a:hover { color: var(--sky); }
.site-footer__col--contact address { display: grid; gap: 8px; font-size: .93rem; }
.site-footer__col--contact a { color: rgba(255, 255, 255, .85); }
.site-footer__col--contact a:hover { color: var(--sky); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; padding-bottom: 20px; padding-right: 96px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--sky); font-weight: 600; }

/* -------------------------------------------------------- floating UI */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 800;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.whatsapp-fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--whatsapp); opacity: .5; animation: pulse 2.2s ease-out infinite; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
.whatsapp-fab img { width: 30px; height: 30px; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.to-top { position: fixed; right: 26px; bottom: 96px; z-index: 800; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top[hidden] { display: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------------- not found */
.not-found__inner { text-align: center; max-width: 640px; }
.not-found__code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--sky-100); }
.not-found h1 { margin-top: -.3em; }
.not-found p { color: var(--muted); }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================ responsive */
@media (max-width: 1100px) {
  .nav__link { padding-left: 10px; padding-right: 10px; font-size: .88rem; }
  .site-header__cta { display: none; }
  .mega__links--dense { columns: 1; }
  .product-grid--sheet { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav, .topbar__note { display: none; }
  .nav-toggle { display: flex; }
  .process__grid, .features__grid { grid-template-columns: repeat(2, 1fr); }
  .divisions__grid { grid-template-columns: 1fr; }
  .division-card { min-height: 340px; }
  .about-split__inner { grid-template-columns: 1fr; }
  .about-split--reverse .about-split__media { order: 0; }
  .about-split__media::before { display: none; }
  .mission__grid { grid-template-columns: 1fr; }
  .catalog__layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog__side { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--sheet { grid-template-columns: repeat(2, 1fr); }
  .product-detail__layout { grid-template-columns: 1fr; }
  .product-detail__info { position: static; }
  .contact__layout { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { height: clamp(520px, 78vh, 680px); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .topbar__contact li:first-child { display: none; }
  .topbar__inner { justify-content: space-between; }
  .brand img { width: 170px; }
  .hero { height: auto; min-height: 520px; }
  .hero__slide { position: relative; display: none; padding: 96px 0 110px; }
  .hero__slide.is-active { display: flex; }
  .hero__track { position: relative; }
  .hero__controls { bottom: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .process__grid, .features__grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid--sheet { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body { padding: 12px 14px; }
  .product-card h3 { font-size: .9rem; }
  .chip-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .chip-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .catalog__group-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .timeline::before { left: 21px; }
  .timeline__item { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline__marker { width: 44px; height: 44px; font-size: .9rem; }
  .timeline__card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form__foot .btn { width: 100%; }
  .harvest__table-wrap { display: none; }
  .harvest-cards { display: grid; gap: 12px; }
  .harvest-card { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .harvest-card img { width: 40px; height: 40px; object-fit: contain; flex: none; }
  .harvest-card h3 { font-size: 1rem; margin-bottom: 8px; }
  .harvest-card__months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .harvest-card__months li { padding: 5px 0; text-align: center; font-size: .72rem; font-weight: 600; border-radius: 6px; color: var(--muted-2); background: var(--bg-alt); }
  .harvest-card__months li.is-on { background: var(--sky); color: #fff; }
  .harvest-card__months li.is-now { outline: 2px solid var(--navy); outline-offset: -2px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom-inner { flex-direction: column; text-align: center; padding-right: var(--gutter); padding-bottom: 84px; }
  .whatsapp-fab { right: 14px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 19px; bottom: 82px; }
}
