/* =========================================================================
   PT. MYCO AGRO LESTARI — CORE STYLESHEET
   Design system: agriculture + biotechnology + corporate premium
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors — extracted from the MAL logo */
  --color-primary: #2F5A27;        /* deep forest green — headings, buttons */
  --color-primary-light: #447A3A;  /* logo green */
  --color-primary-dark: #1D3A18;
  --color-secondary: #FCAE1B;      /* logo gold */
  --color-secondary-light: #FFD873;
  --color-accent: #8BAF3F;         /* fresh olive-lime — tags, micro-details */

  --color-bg: #F6F8F3;
  --color-bg-alt: #EEF2E6;
  --color-surface: #FFFFFF;
  --color-ink: #1E2A1A;
  --color-ink-soft: #37402F;
  --color-muted: #66735D;
  --color-border: #E1E7D6;

  --gradient-forest: linear-gradient(135deg, #1D3A18 0%, #4E7F3C 100%);
  --gradient-gold: linear-gradient(135deg, #FCAE1B 0%, #FFD873 100%);
  --gradient-soft: linear-gradient(180deg, rgba(139,175,63,0.10) 0%, rgba(246,248,243,0) 100%);

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-xs: 0 2px 10px -4px rgba(29,58,24,0.14);
  --shadow-soft: 0 14px 34px -16px rgba(29,58,24,0.22);
  --shadow-lift: 0 24px 50px -20px rgba(29,58,24,0.30);
  --tracking-label: .07em;

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-primary-dark); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--color-ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.muted { color: var(--color-muted); }
.text-center { text-align: center; }

.eyebrow-row { display: flex; align-items: center; gap: 10px; color: var(--color-primary); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: var(--tracking-label); margin-bottom: 16px; }
.eyebrow-row .dot { width: 22px; height: 3px; border-radius: 2px; background: var(--gradient-gold); flex: none; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.btn-primary { background: var(--gradient-forest); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: transparent; color: var(--color-primary-dark); border-color: var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); background: var(--color-bg-alt); transform: translateY(-2px); }
.btn-gold { background: var(--gradient-gold); color: var(--color-primary-dark); box-shadow: 0 10px 26px -12px rgba(252,174,27,0.55); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-whatsapp { background: #1F8A4C; color: #fff; }
.btn-whatsapp:hover { background: #17703C; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Preloader ---------- */
#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--color-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; transition: opacity .6s ease, visibility .6s ease; }
#preloader.hide { opacity: 0; visibility: hidden; }
#preloader img { width: 92px; height: auto; animation: pl-fade 1.6s ease-in-out infinite; }
.pl-bar { width: 180px; height: 4px; border-radius: 4px; background: var(--color-border); overflow: hidden; }
.pl-bar::after { content: ''; display: block; height: 100%; width: 40%; background: var(--gradient-forest); border-radius: 4px; animation: pl-run 1.1s ease-in-out infinite; }
@keyframes pl-fade { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes pl-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

/* ---------- Header ---------- */
#site-header { position: sticky; top: 0; z-index: 500; height: var(--header-h); display: flex; align-items: center; background: rgba(246,248,243,0.7); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
#site-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary-light) 45%, var(--color-secondary) 100%); }
#site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 12px 28px -20px rgba(29,58,24,0.35); border-bottom-color: var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; color: var(--color-primary-dark); }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; }
.brand-text span { font-size: .68rem; font-weight: 600; color: var(--color-muted); letter-spacing: .02em; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--color-ink-soft); transition: color .25s ease, background .25s ease; }
.main-nav a:hover { color: var(--color-primary-dark); background: var(--color-bg-alt); }
.main-nav a.active { color: var(--color-primary-dark); }
.main-nav a.active::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--color-secondary); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; padding: 4px; font-weight: 700; font-size: .82rem; }
.lang-switch button { background: transparent; border: none; padding: 6px 12px; border-radius: 999px; color: var(--color-muted); transition: background .25s ease, color .25s ease; }
.lang-switch button.active { background: var(--color-primary-dark); color: #fff; }
.lang-sep { color: var(--color-border); font-weight: 400; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--color-primary-dark); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav { position: fixed; inset: 0; z-index: 600; background: rgba(29,58,24,0.55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 360px); background: var(--color-surface); padding: 28px 26px; display: flex; flex-direction: column; gap: 26px; transform: translateX(100%); transition: transform .4s cubic-bezier(.22,.9,.3,1); }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-close { background: var(--color-bg-alt); border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 1.2rem; color: var(--color-primary-dark); }
.mobile-nav-links a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 700; color: var(--color-primary-dark); border-bottom: 1px solid var(--color-border); }
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 56px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { font-size: 1.12rem; max-width: 520px; color: var(--color-ink-soft); }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div { padding-left: 18px; border-left: 2px solid var(--color-border); }
.hero-stats div:first-child { padding-left: 0; border-left: none; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary-dark); }
.hero-stats div span { font-size: .84rem; color: var(--color-muted); }

.hero-visual { position: relative; aspect-ratio: 1/1; }
.hero-visual .frame-accent { position: absolute; inset: 0 12% 12% 0; border-radius: var(--radius-l); background: linear-gradient(150deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%); z-index: 0; }
.hero-visual .frame-main { position: absolute; inset: 8% 0 0 8%; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid rgba(255,255,255,0.4); z-index: 1; }
.hero-visual .frame-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card { position: absolute; z-index: 2; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-radius: var(--radius-m); padding: 14px 20px; box-shadow: var(--shadow-soft); border: 1px solid var(--color-border); display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .86rem; color: var(--color-primary-dark); }
.hero-visual .float-1 { top: 10%; left: -4%; }
.hero-visual .float-2 { bottom: 4%; right: -4%; }
.hero-visual .float-card .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient-forest); display: flex; align-items: center; justify-content: center; flex: none; }
.hero-visual .float-card .ic svg { stroke: #fff !important; }

/* ---------- Cards ---------- */
.card { background: var(--color-surface); border-radius: var(--radius-m); border: 1px solid var(--color-border); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; }
.product-card .thumb { aspect-ratio: 4/5; background: var(--color-bg-alt); position: relative; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.92); color: var(--color-primary-dark); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.product-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card p { font-size: .88rem; margin: 0; flex: 1; }
.product-card .actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.product-card .actions .btn { padding: 10px 16px; font-size: .82rem; }

/* Client / customer logos */
.client-logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.client-logo { min-height: 112px; border: 1px solid var(--color-border); border-radius: var(--radius-m); background: var(--color-surface); display: flex; align-items: center; justify-content: center; padding: 18px; color: var(--color-primary-dark); font-weight: 700; text-align: center; }
.client-logo img { max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .82; transition: filter .2s ease, opacity .2s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-empty { grid-column: 1 / -1; text-align: center; color: var(--color-muted); border: 1px dashed var(--color-border); border-radius: var(--radius-m); padding: 26px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; padding: 56px 0; border-bottom: 1px solid var(--color-border); }
.product-detail:last-child { border-bottom: none; }
.product-detail .thumb { border-radius: var(--radius-l); overflow: hidden; background: var(--color-bg-alt); position: sticky; top: calc(var(--header-h) + 24px); }
.product-detail .thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.product-meta-grid .item { background: var(--color-bg-alt); border-radius: var(--radius-s); padding: 16px 18px; }
.product-meta-grid .item h4 { margin: 0 0 6px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); font-family: var(--font-body); font-weight: 700; }
.product-meta-grid .item p { margin: 0; font-size: .95rem; color: var(--color-ink-soft); }
.product-detail .cat-badge { display: inline-block; background: var(--gradient-gold); color: var(--color-primary-dark); font-weight: 700; font-size: .78rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.news-card { display: flex; flex-direction: column; height: 100%; }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.07); }
.news-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--color-muted); font-weight: 600; margin-bottom: 12px; }
.news-meta .cat { color: var(--color-primary); background: var(--color-bg-alt); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.news-card h3 { margin-bottom: 10px; font-size: 1.12rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a { transition: color .2s ease; }
.news-card:hover h3 a { color: var(--color-primary); }
.news-card p { font-size: .92rem; margin-bottom: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .readmore { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--color-primary-dark); font-size: .86rem; margin-top: 18px; padding: 10px 18px; border: 1.5px solid var(--color-primary-dark); border-radius: 999px; align-self: flex-start; transition: background .25s ease, color .25s ease, transform .25s ease; }
.news-card .readmore svg { width: 15px; height: 15px; transition: transform .25s ease; }
.news-card:hover .readmore { background: var(--color-primary-dark); color: #fff; transform: translateY(-2px); }
.news-card:hover .readmore svg { transform: translateX(4px); }

/* News detail */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 52px; align-items: start; }
.article-hero { border-radius: var(--radius-l); overflow: hidden; margin-bottom: 28px; aspect-ratio: 21/9; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { margin-top: 1.4em; }
.article-body p { font-size: 1.02rem; max-width: 68ch; }
.sidebar-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-m); padding: 22px; margin-bottom: 22px; }
.sidebar-card h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
.related-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.related-item:last-child { border: none; padding-bottom: 0; }
.related-item img { width: 62px; height: 62px; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.related-item .t { font-size: .87rem; font-weight: 700; line-height: 1.3; }
.related-item .d { font-size: .74rem; color: var(--color-muted); }
.archive-list a { display: flex; justify-content: space-between; padding: 9px 0; font-weight: 600; font-size: .92rem; border-bottom: 1px dashed var(--color-border); }
.archive-list a:last-child { border: none; }

/* Events */
.events-tabs { display: flex; gap: 10px; margin-bottom: 36px; }
.events-tabs button { padding: 12px 24px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); font-weight: 700; font-size: .92rem; color: var(--color-muted); transition: all .25s ease; }
.events-tabs button.active { background: var(--gradient-forest); color: #fff; border-color: transparent; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.event-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-date-badge { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: var(--radius-s); padding: 8px 12px; text-align: center; line-height: 1.1; box-shadow: var(--shadow-soft); }
.event-date-badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--color-primary); }
.event-date-badge span { font-size: .68rem; color: var(--color-muted); font-weight: 700; }
.event-card .body { padding: 20px; }
.event-loc { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--color-muted); font-weight: 600; margin-bottom: 8px; }
.event-loc svg { width: 15px; height: 15px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid button { padding: 0; border: none; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 1/1; background: var(--color-bg-alt); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid button:hover img { transform: scale(1.08); }

.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(15,26,12,0.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: var(--radius-s); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; transition: background .25s ease; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Value / feature blocks ---------- */
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card { padding: 26px 22px; border-radius: var(--radius-m); background: var(--color-surface); border: 1px solid var(--color-border); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: transparent; }
.value-card .ic { width: 46px; height: 46px; border-radius: var(--radius-s); background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-card .ic svg { width: 24px; height: 24px; color: var(--color-primary); }
.value-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.value-card p { font-size: .87rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img, .split .media { border-radius: var(--radius-l); overflow: hidden; }
.media-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-soft); }

.stat-row { display: flex; gap: 40px; flex-wrap: wrap; padding: 40px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin: 40px 0; }
.stat-row .stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--color-primary-dark); }
.stat-row .stat span { color: var(--color-muted); font-size: .88rem; }

.timeline-cta { background: var(--gradient-forest); border-radius: var(--radius-l); padding: 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.timeline-cta::before { content: ''; position: absolute; top: -30%; right: -8%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(252,174,27,0.22) 0%, rgba(252,174,27,0) 70%); pointer-events: none; }
.timeline-cta::after { content: ''; position: absolute; bottom: -40%; left: 10%; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.timeline-cta h2 { color: #fff; position: relative; }
.timeline-cta p { color: rgba(255,255,255,0.82); position: relative; }
.timeline-cta > button, .timeline-cta > a { position: relative; }

/* Page hero banner (inner pages) */
.page-banner { padding: calc(var(--header-h) + 54px) 0 64px; background: var(--gradient-soft); position: relative; overflow: hidden; }
.page-banner .crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--color-muted); font-weight: 600; margin-bottom: 14px; }
.page-banner .crumbs .sep { color: var(--color-border); }
.page-banner h1 { margin-bottom: 10px; }
.page-banner .lede { max-width: 560px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .88rem; color: var(--color-ink-soft); }
.form-field input, .form-field textarea, .form-field select { border: 1px solid var(--color-border); background: var(--color-surface); border-radius: var(--radius-s); padding: 13px 16px; font-family: inherit; font-size: .96rem; color: var(--color-ink); transition: border-color .25s ease, box-shadow .25s ease; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(47,90,39,0.14); }
.form-field .error-msg { font-size: .78rem; color: #B4432B; min-height: 1em; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #B4432B; }
.form-note { font-size: .8rem; color: var(--color-muted); margin-top: 10px; }
.form-success { display: none; background: #EAF4E6; border: 1px solid #BFE0B2; color: #24521C; padding: 16px 18px; border-radius: var(--radius-s); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }

.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: start; }
.contact-info-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-l); padding: 34px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-soft); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-row .ic svg { width: 20px; height: 20px; color: var(--color-primary); }
.contact-row h4 { margin: 0 0 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); font-family: var(--font-body); font-weight: 700; }
.contact-row p { margin: 0; font-size: .95rem; }
.map-embed { border-radius: var(--radius-l); overflow: hidden; margin-top: 26px; border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Footer */
footer { position: relative; background: var(--color-primary-dark); color: rgba(255,255,255,0.82); padding: 76px 0 28px; margin-top: 60px; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary-light) 55%, var(--color-primary-dark) 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 42px; }
.footer-brand strong { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,0.72); transition: color .2s ease; }
.footer-col a:hover { color: var(--color-secondary-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,0.6); flex-wrap: wrap; gap: 12px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-socials svg { width: 17px; height: 17px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 400; width: 60px; height: 60px; border-radius: 50%; background: #1F8A4C; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(31,138,76,0.6); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #1F8A4C; animation: wa-pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
.wa-tooltip { position: absolute; right: 72px; bottom: 16px; background: var(--color-ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-s); font-size: .82rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* Reveal animation base */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].in-view { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].in-view { transform: scale(1); }

/* Page transition */
body.page-exit { animation: page-out .35s ease forwards; }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
body.page-enter { animation: page-in .5s ease; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Custom cursor (desktop only, subtle) */
.cursor-dot { position: fixed; width: 9px; height: 9px; border-radius: 50%; background: var(--color-secondary); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: opacity .2s ease; display: none; }
.cursor-ring { position: fixed; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--color-primary); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: transform .15s ease-out, opacity .2s ease; display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* Skip link for accessibility */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-primary-dark); color: #fff; padding: 12px 18px; z-index: 9999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
