/* ============================================================
   WINNERS Rotavator — winnersrotavator.com
   Palette: copper #B87333 / black #1c1c1c / ink #111111
            off-white #F7F5EF / warm grey #dcd8d0
   ============================================================ */

:root {
  --orange: #B87333;          /* copper */
  --orange-dark: #935a24;     /* dark copper */
  --navy: #1c1c1c;            /* near-black (was navy) */
  --navy-dark: #0a0a0a;       /* black */
  --ink: #111111;
  --offwhite: #F7F5EF;
  --grey: #dcd8d0;
  --grey-text: #55504a;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  --maxw: 1200px;
}

/* Metric-matched fallback fonts (local Arial adjusted to match the webfonts'
   dimensions) so text occupies the same space before the Google webfonts swap
   in — eliminates font-driven layout shift (CLS). The real webfonts still load
   and render exactly as before; these only affect the ~0.1s fallback period. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%;
}
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial');
  ascent-override: 84.85%; descent-override: 22.31%; line-gap-override: 0%; size-adjust: 103.10%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
picture { display: contents; } /* let <img> inside <picture> keep its existing layout/styles */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Inter', 'Inter Fallback', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
}

h1, h2, h3, h4 { font-family: 'Archivo', 'Archivo Fallback', 'Inter Fallback', sans-serif; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 70px 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block; color: var(--orange); font-weight: 800;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-sub { color: var(--grey-text); max-width: 660px; margin-bottom: 38px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-dark); color: #d8d2c8; font-size: 0.85rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

header.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.09); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-logo { height: 52px; width: auto; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 10px; }
.footer-logo-chip img { height: 46px; width: auto; display: block; }
.brand-word { font-family: 'Archivo', 'Archivo Fallback', sans-serif; font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: 0.02em; }
.brand-word .globe-i { color: var(--orange); }
.brand-sub { font-family: 'Archivo', 'Archivo Fallback', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--grey-text); letter-spacing: 0.14em; text-transform: uppercase; }

nav.main-nav ul { display: flex; gap: 2px; list-style: none; align-items: center; flex-wrap: wrap; }
nav.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.92rem; padding: 8px 12px; border-radius: 7px; text-decoration: none; transition: 0.15s; }
nav.main-nav a:hover { background: var(--offwhite); color: var(--orange-dark); }
nav.main-nav a.active { color: var(--navy); background: #f2ece2; }
nav.main-nav a.btn-quote { background: var(--orange); color: #fff; margin-left: 8px; }
nav.main-nav a.btn-quote:hover { background: var(--orange-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--navy); margin: 5px auto; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: 0; text-decoration: none; transition: 0.15s; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn + .btn { margin-left: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 90px 0 96px; background: linear-gradient(115deg, var(--navy-dark) 20%, var(--navy) 70%, #3a2a1a); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-product { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.hero-product img { width: 100%; height: auto; aspect-ratio: 4 / 3; } /* reserve box before load (image is 1600×1200) */
.hero-product figcaption { font-size: 0.78rem; color: var(--grey-text); padding-top: 10px; text-align: center; }
.hero .eyebrow { color: #e0a877; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: 0.01em; }
.hero .tagline { font-family: 'Archivo', 'Archivo Fallback', sans-serif; font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--orange); margin: 6px 0 18px; }
.hero p.lead { max-width: 620px; font-size: 1.08rem; color: #e4ded4; margin-bottom: 30px; }
.hero .support-line { margin-top: 34px; font-size: 0.9rem; color: #c2baac; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(100deg, var(--navy-dark), var(--navy)); color: #fff; padding: 62px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.page-hero p { color: #d8d2c8; margin-top: 10px; max-width: 680px; }
.breadcrumb { font-size: 0.84rem; margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #8a8278; }
.breadcrumb a { color: #e0a877; text-decoration: none; }
.breadcrumb [aria-current] { color: #d8d2c8; }

/* ---------- Strips & grids ---------- */
.range-strip { background: var(--navy); color: #fff; padding: 22px 0; }
.range-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; }
.range-strip div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.range-strip svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; }
.range-strip .note { flex-basis: 100%; text-align: center; font-size: 0.75rem; color: #9c9488; font-weight: 400; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: 0.2s; }
.card:hover { transform: translateY(-4px); }
.card-img { height: 200px; overflow: hidden; background: var(--grey); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card-body .meta { color: var(--orange-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.card-body p { color: var(--grey-text); font-size: 0.92rem; flex: 1; }
.card-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-actions .btn { padding: 9px 16px; font-size: 0.85rem; }
.img-note { font-size: 0.72rem; color: #8b94a1; padding: 6px 22px 0; }

.feature { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature h3 svg { width: 22px; height: 22px; fill: var(--orange); flex-shrink: 0; }
.feature p { color: var(--grey-text); font-size: 0.92rem; }

.app-tile { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.app-tile h3 { color: #fff; font-size: 1.05rem; }
.app-tile p { color: #cfc8bc; font-size: 0.88rem; margin-top: 6px; }

.photo-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--grey); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
figure.eng-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
figure.eng-shot img { width: 100%; height: 230px; object-fit: cover; }
figure.eng-shot figcaption { padding: 12px 16px; font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.94rem; }
.spec-table caption { text-align: left; padding: 14px 18px; background: #fff; font-weight: 700; color: var(--navy); font-family: 'Archivo', 'Archivo Fallback', sans-serif; }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--grey); }
.spec-table thead th { background: var(--navy); color: #fff; font-family: 'Archivo', 'Archivo Fallback', sans-serif; }
.spec-table tbody th[scope="row"] { background: #f2f0e9; font-weight: 700; }
.spec-table tbody tr:hover { background: #f6f8fb; }
.spec-note { font-size: 0.84rem; color: var(--grey-text); margin-top: 12px; }

/* ---------- Bands / CTA ---------- */
.navy-band { background: linear-gradient(100deg, var(--navy-dark), var(--navy)); color: #fff; }
.navy-band .section-title, .navy-band h2, .navy-band h3 { color: #fff; }
.navy-band p { color: #d8d2c8; }
/* Cards inside navy bands keep dark text on their white background */
.navy-band .feature h3, .navy-band .card h3, .navy-band figure.eng-shot figcaption { color: var(--navy); }
.navy-band .feature p, .navy-band .card p { color: var(--grey-text); }
.navy-band .spec-table th, .navy-band .spec-table td { color: var(--ink); }
.navy-band .spec-table thead th { color: #fff; }
.cta-band { background: linear-gradient(100deg, var(--navy), var(--navy-dark)); border-left: 6px solid var(--orange); color: #fff; border-radius: var(--radius); padding: 52px 40px; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: #d8d2c8; margin-bottom: 26px; max-width: 640px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-field { margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 6px; color: var(--navy); }
.form-field .req { color: var(--orange-dark); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--grey); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; background: #fdfdfb;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form-field .error-msg { display: none; color: #b3261e; font-size: 0.82rem; margin-top: 4px; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #b3261e; }
.form-field.invalid .error-msg { display: block; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-status.ok { display: block; background: #e7f2e7; color: #1d5c2c; }
.form-status.err { display: block; background: #fdecea; color: #b3261e; }
.hp-field { position: absolute; left: -9999px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; }
.consent-row input { width: auto; margin-top: 5px; }
.consent-row label { font-weight: 400; font-size: 0.85rem; color: var(--grey-text); }

/* ---------- Info cards / contact ---------- */
.info-card { background: var(--white); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.info-card p { color: var(--grey-text); font-size: 0.93rem; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }

/* ---------- Downloads ---------- */
.dl-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.dl-card svg { width: 34px; height: 34px; fill: var(--navy); flex-shrink: 0; }
.dl-card h3 { font-size: 1rem; margin-bottom: 4px; }
.dl-card p { color: var(--grey-text); font-size: 0.88rem; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #b9bec6; padding: 56px 0 0; margin-top: 40px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.98rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9bec6; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 300px; }
.footer-bottom { border-top: 1px solid #2a2d31; padding: 16px 0; font-size: 0.82rem; color: #83888f; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: #b9bec6; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 190;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; text-decoration: none;
  padding: 13px 20px 13px 16px; border-radius: 100px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28); transition: 0.15s;
}
.wa-float:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float span { display: none; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 200;
  background: var(--navy-dark); color: #e4ded4; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: none; gap: 16px; align-items: center; flex-wrap: wrap; max-width: 720px; margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1; min-width: 240px; font-size: 0.88rem; }
.cookie-banner a { color: #e0a877; }
.cookie-banner .btn { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Utility ---------- */
.disclaimer { font-size: 0.84rem; color: var(--grey-text); background: #f2f0e9; border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 210px; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,0.14); display: none; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  nav.main-nav a { display: block; }
  nav.main-nav a.btn-quote { margin-left: 0; text-align: center; }
  .grid-2, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
}
