/* =============================================================================
   MRK Global Links — design system
   One stylesheet for every page (export, IT, checkout, legal).
   Tokens → base → layout → components → pages → utilities.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL — see /fonts/LICENSE-*.txt; source: @fontsource 5.3.0, latin subset) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/outfit-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/outfit-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched local fallback for Inter: keeps text from reflowing (layout shift) while the web font loads. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0c1f3a;
  --navy-800: #122b4f;
  --navy-700: #1a365d;          /* brand primary (logo navy) */
  --navy-600: #24477a;
  --navy-100: #e8eef7;
  --navy-50:  #f3f6fb;
  --green-700: #15803d;         /* accessible green for text/buttons on white (5.0:1) */
  --green-600: #16a34a;
  --green-400: #4ade80;         /* bright green: only on navy backgrounds */
  --green-100: #dcfce7;
  --ink:      #111827;
  --text:     #1f2937;
  --muted:    #4b5563;          /* 7.5:1 on white */
  --line:     #e2e8f0;
  --surface:  #ffffff;
  --surface-alt: #f5f7fa;
  --danger:   #b91c1c;
  --danger-bg:#fef2f2;
  --warning-bg:#fffbeb;
  --warning:  #92400e;
  --success-bg:#f0fdf4;
  --whatsapp: #0f7a40;          /* darkened WhatsApp green (5.4:1 with white text, WCAG AA) */

  --font-body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Outfit', var(--font-body);

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-4xl: clamp(2.125rem, 1.5rem + 3vw, 3.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4rem;
  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.28);
  --container: 1200px;
  --header-h: 72px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--navy-600);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p, li { text-wrap: pretty; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--green-100); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  background: var(--navy-700); color: #fff; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy-800); color: #dbe4f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-top: var(--space-3); }
.section--navy .section-head p { color: #c7d3e3; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-700); margin-bottom: var(--space-3);
}
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--green-400); }
.accent { color: var(--green-700); }
.hero .accent, .page-hero .accent, .section--navy .accent { color: var(--green-400); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.2fr 1fr; }
}
.stack > * + * { margin-top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-700); --btn-fg: #fff; --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7rem 1.35rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-border);
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--navy-800); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.btn--green { --btn-bg: var(--green-700); }
.btn--green:hover { --btn-bg: #166534; }
.btn--whatsapp { --btn-bg: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #0b6334; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-border: var(--navy-700); }
.btn--outline:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn--light:hover { --btn-bg: var(--green-100); --btn-fg: var(--navy-900); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-border: #fff; }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* No backdrop-filter here: it would make the header the containing block of the fixed mobile drawer. */
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: 6px; }
.brand img { width: auto; height: 46px; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 48px; min-height: 48px; padding: 0 .75rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.translate-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; min-width: 44px;
  padding: 0 .6rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy-800); font-size: var(--fs-sm); font-weight: 600;
}
#google_translate_element { min-height: 0; flex: none; }
#google_translate_element:empty { display: none; }

.primary-nav a, .submenu-toggle { color: var(--text); text-decoration: none; font-weight: 500; }
.submenu-toggle { background: none; border: 0; display: inline-flex; align-items: center; gap: .3rem; }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav [aria-current="page"], .primary-nav .is-current > .submenu-toggle { color: var(--green-700); }
.header-cta { display: none; }

/* Mobile / tablet portrait (below 1024px): off-canvas drawer */
@media (max-width: 1023.98px) {
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
    overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4) clamp(16px, 4vw, 32px) var(--space-7);
    border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .primary-nav > ul { list-style: none; padding: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a, .submenu-toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    min-height: 56px; padding: var(--space-3) 0; font-size: var(--fs-lg);
  }
  .submenu { list-style: none; padding: 0 0 var(--space-3) var(--space-4); }
  .submenu[hidden] { display: none; }
  .submenu a { display: flex; min-height: 44px; align-items: center; color: var(--muted); }
  .nav-mobile-cta { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
  body.nav-open { overflow: hidden; }
}
/* Desktop */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav { margin-left: auto; }
  .primary-nav > ul { display: flex; align-items: center; gap: clamp(.75rem, 1.4vw, 1.5rem); list-style: none; padding: 0; }
  .primary-nav > ul > li { position: relative; }
  .primary-nav > ul > li > a, .submenu-toggle { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-sm); }
  .primary-nav > ul > li > a:hover, .submenu-toggle:hover { color: var(--green-700); }
  .submenu {
    position: absolute; top: calc(100% + 6px); left: -16px; min-width: 250px; list-style: none;
    padding: var(--space-2); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .submenu[hidden] { display: none; }
  .submenu a { display: block; padding: .55rem .75rem; border-radius: 8px; font-size: var(--fs-sm); }
  .submenu a:hover { background: var(--navy-50); color: var(--navy-800); }
  .nav-mobile-cta { display: none; }
  .header-actions { margin-left: var(--space-4); }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #dbe4f0;
  background: radial-gradient(1100px 600px at 85% 20%, rgba(34,197,94,.22), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(36,71,122,.8), transparent 60%),
              linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding-block: clamp(4rem, 3rem + 6vw, 7.5rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero__lead { font-size: var(--fs-lg); max-width: 60ch; margin-top: var(--space-5); color: #c7d3e3; }
.hero .btn-row { margin-top: var(--space-6); }
.hero__company { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #e2e8f0; margin-bottom: var(--space-5); }
.hero__areas { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-sm); }
.hero__areas span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__areas .icon { color: var(--green-400); }

/* ---------- Sub-page header ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #c7d3e3;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); }
.page-hero p { max-width: 65ch; margin-top: var(--space-3); font-size: var(--fs-lg); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin-bottom: var(--space-4); font-size: var(--fs-sm); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: #8ea3c0; }
.breadcrumb a { color: #c7d3e3; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Cards ---------- */
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.card__media { aspect-ratio: 3 / 2; background: var(--navy-50); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1; }
.card__body p { color: var(--muted); font-size: var(--fs-sm); }
.card__body .link-arrow { margin-top: auto; padding-top: var(--space-2); }
.card--link { position: relative; }
.card--link .card__title a { text-decoration: none; color: inherit; }
.card--link .card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover, .card--link:focus-within { box-shadow: var(--shadow); border-color: #cbd5e1; transform: translateY(-3px); }
.card--link:hover .card__media img { transform: scale(1.04); }
.card--link:focus-within { box-shadow: var(--focus); }
.card--link .card__title a:focus-visible { box-shadow: none; }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--navy-600); background: linear-gradient(135deg, var(--navy-50), #eef2f8); }
.card__placeholder .icon { width: 56px; height: 56px; stroke-width: 1.5; }

.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy-700); flex: none; }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--green { background: var(--green-100); color: var(--green-700); }
.feature { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature p { color: var(--muted); font-size: var(--fs-sm); }

/* Business-area cards (home) */
.area-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.area-card__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.area-card ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.area-card li { font-size: var(--fs-xs); font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); }
.area-card .btn { align-self: flex-start; margin-top: auto; }

/* IT product cards */
.product-card { padding: var(--space-5); gap: var(--space-3); }
.product-card h3 { font-size: var(--fs-lg); }
.product-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .6rem; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.price__main { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--navy-800); }
.price__alt { font-size: var(--fs-sm); color: var(--muted); }
.product-card__actions { display: grid; gap: var(--space-2); }

/* ---------- Content / prose ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); font-size: var(--fs-2xl); }
.prose h3 { margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: var(--space-2); }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-50); border: 1px solid var(--line); }
.figure img { width: 100%; }
.figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--space-2); }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0 !important; }
.checklist .icon { color: var(--green-700); margin-top: .2em; }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0 !important; }
.chips li { margin: 0 !important; padding: .45rem .9rem; border-radius: 999px; background: var(--navy-50); border: 1px solid var(--navy-100); font-size: var(--fs-sm); font-weight: 500; color: var(--navy-800); }
.detail-section { padding-block: var(--space-7); border-top: 1px solid var(--line); }
.detail-section:first-of-type { border-top: 0; padding-top: 0; }
.variety-list { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.variety { padding: var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.variety h4 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.variety p { font-size: var(--fs-sm); color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.toc a { display: inline-flex; min-height: 40px; align-items: center; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; background: #fff; }
.toc a:hover { border-color: var(--green-700); }

/* Notices */
.notice { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--navy-50); font-size: var(--fs-sm); }
.notice .icon { margin-top: .15em; color: var(--navy-600); }
.notice--warning { background: var(--warning-bg); border-color: #fcd34d; color: var(--warning); }
.notice--warning .icon { color: var(--warning); }
.notice--success { background: var(--success-bg); border-color: #86efac; color: #14532d; }
.notice--success .icon { color: var(--green-700); }
.notice--error { background: var(--danger-bg); border-color: #fca5a5; color: var(--danger); }
.notice--error .icon { color: var(--danger); }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-size: var(--fs-xs); font-weight: 600; }
.tag--soon { background: var(--warning-bg); color: var(--warning); }

/* CTA band */
.cta-band { border-radius: var(--radius-lg); padding: clamp(1.75rem, 1rem + 3vw, 3rem); background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #c7d3e3; display: grid; gap: var(--space-5); align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(36,71,122,.25); border-radius: 10px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--fs-xs); font-weight: 500; }
.field-error:empty { display: none; }
.field-hint { color: var(--muted); font-size: var(--fs-xs); }
.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.checkbox input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--green-700); flex: none; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-sm); }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact details */
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list h3 { font-size: var(--fs-base); margin-bottom: .15rem; }
.contact-list p, .contact-list a { font-size: var(--fs-sm); color: var(--muted); }
.contact-list a { color: var(--navy-700); }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: var(--space-6); }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.summary { display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.summary__row { display: flex; justify-content: space-between; gap: var(--space-4); }
.summary__row dt { color: var(--muted); }
.summary__row dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.summary__row--total { padding-top: var(--space-3); margin-top: var(--space-2); border-top: 1px solid var(--line); font-size: var(--fs-lg); }
.summary__row--total dt, .summary__row--total dd { color: var(--ink); font-weight: 700; }
dialog.modal { margin: auto; border: 0; padding: 0; border-radius: var(--radius-lg); width: min(520px, calc(100% - 32px)); box-shadow: var(--shadow-lg); color: var(--text); }
dialog.modal::backdrop { background: rgba(12, 31, 58, .6); }
.modal__body { padding: var(--space-6); display: grid; gap: var(--space-4); }
.modal__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; }

/* Status page */
.status-card { text-align: center; display: grid; gap: var(--space-4); justify-items: center; }
.status-card .icon-badge { width: 72px; height: 72px; border-radius: 50%; }
.status-card .icon-badge .icon { width: 36px; height: 36px; }

/* ---------- Blog ---------- */
.post-card .card__body { gap: var(--space-2); }
.post-card h2 { font-size: var(--fs-xl); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.gallery figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
/* One heading system for every gallery card: titles and in-image labels are HTML (not baked into images),
   same font, size, weight, case and colours. Images are never cropped (contained in a fixed 4:3 area). */
.g-card { container-type: inline-size; }
.g-media { aspect-ratio: 4 / 3; display: flex; flex-direction: column; background: var(--navy-50); }
.g-title, .g-label {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(11px, 3.4cqi, 14px); line-height: 1.2; color: var(--green-400); background: var(--navy-700);
  text-align: center; text-wrap: balance;
}
.g-title { margin: 0; padding: .6em .75em; }
.g-stage { position: relative; flex: 1; min-height: 0; container-type: size; display: grid; place-items: center; }
.g-frame { position: relative; aspect-ratio: var(--r); width: min(100cqw, calc(100cqh * var(--r))); }
.gallery .g-frame img { width: 100%; height: 100%; object-fit: contain; }
.g-labels { position: absolute; inset: 0; pointer-events: none; }
.g-row { position: absolute; top: var(--top); left: 0; right: 0; min-height: var(--h); display: flex; }
.g-label { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; padding: .2em .35em; }
.gallery figcaption { padding: var(--space-3) var(--space-4); font-size: var(--fs-sm); color: var(--muted); }
.gallery figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Company profile mockup ---------- */
.doc-card { position: relative; max-width: 360px; margin-inline: auto; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: var(--space-6); display: flex; flex-direction: column; justify-content: space-between; }
.doc-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.doc-card > * { position: relative; }
.doc-card img { width: 170px; }
.doc-card__title { color: #fff; font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 700; line-height: 1.1; }
.doc-card__meta { color: #c7d3e3; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b8c6da; font-size: var(--fs-sm); }
.site-footer a { color: #dbe4f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; gap: var(--space-7); padding-block: var(--space-8) var(--space-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 440px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand img { height: 52px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; margin-bottom: var(--space-4); }
.site-footer h2 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--space-4); letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a { display: inline-flex; min-height: 32px; align-items: center; }
.footer-contact { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact .icon { color: var(--green-400); margin-top: .2em; }
.social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--green-700); text-decoration: none; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.whatsapp-float .icon { width: 30px; height: 30px; }
body.nav-open .whatsapp-float { display: none; }

/* ---------- Reveal-on-scroll (progressive; content visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Google Translate widget tidy-up */
body { top: 0 !important; }
.goog-te-gadget-simple { display: inline-flex !important; align-items: center; gap: 4px; min-height: 44px; padding: 0 .6rem !important; border: 1px solid var(--line) !important; border-radius: 10px; background: #fff !important; font: 500 14px/1 var(--font-body) !important; }
.goog-te-gadget-simple a, .goog-te-gadget-simple span { color: var(--navy-800) !important; text-decoration: none !important; }
/* Keep "Select Language ▼" on one line inside the box (it otherwise spills over the WhatsApp button). */
.goog-te-gadget-simple > span, .goog-te-gadget-simple a { display: inline-flex !important; align-items: center; gap: 6px; white-space: nowrap; }
.goog-te-gadget-simple a img, .goog-te-gadget-simple a span[style*="border-left"] { display: none !important; }
/* Narrower headers: shorten the language label (laptops), icon + ▼ only (phones), so nothing overflows. */
@media (max-width: 1279.98px) {
  .goog-te-gadget-simple a > span:first-child { display: block !important; max-width: 5.5em; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 599.98px) {
  .goog-te-gadget-simple a > span:first-child { display: none !important; }
}
.goog-te-banner-frame { display: none !important; }

@media print {
  .site-header, .site-footer, .whatsapp-float, .nav-toggle { display: none !important; }
  .page-hero, .hero { background: none; color: #000; }
  .page-hero h1, .hero h1 { color: #000; }
}

/* ---------- Utilities ---------- */
.u-mt-3 { margin-top: var(--space-3); }
.u-mt-4 { margin-top: var(--space-4); }
.u-mt-5 { margin-top: var(--space-5); }
.u-mt-6 { margin-top: var(--space-6); }
.u-mt-7 { margin-top: var(--space-7); }
.u-mb-4 { margin-bottom: var(--space-4); }
.u-mb-6 { margin-bottom: var(--space-6); }
.u-center { text-align: center; }
.lead--light { color: #c7d3e3; }
.checklist--light .icon { color: var(--green-400); }
.split--top { align-items: start; }
.status-card .btn-row { justify-content: center; }
.icon-badge--danger { background: var(--danger-bg); color: var(--danger); }
.h3 { font-size: var(--fs-xl); }
.h4 { font-size: var(--fs-base); }
.card__title { font-size: var(--fs-xl); }
a.feature { text-decoration: none; color: inherit; transition: box-shadow .2s var(--ease), border-color .2s; }
a.feature:hover { box-shadow: var(--shadow); border-color: #cbd5e1; color: inherit; }
.figure--placeholder { aspect-ratio: 4 / 3; }
mark.review { background: #fef3c7; color: #92400e; padding: 0 .3em; border-radius: 4px; font-weight: 500; }
.section-head p.eyebrow { color: var(--green-700); font-size: var(--fs-xs); margin-top: 0; }
.section--navy .section-head p.eyebrow { color: var(--green-400); }
.cta-band h2 + p { margin-top: var(--space-2); }
.primary-nav .btn { color: var(--btn-fg); }

/* Desktop nav fits on one line from 1024px: no wrapping; compact spacing until 1200px. */
@media (min-width: 1024px) {
  .primary-nav > ul > li > a, .submenu-toggle { white-space: nowrap; }
}
/* Wide screens: header spans wider than the content so the WhatsApp button sits further right
   and the translate picker has room. */
@media (min-width: 1400px) {
  .site-header__inner { max-width: 1400px; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .primary-nav > ul { gap: .7rem; }
  .primary-nav > ul > li > a, .submenu-toggle { font-size: .875rem; }
  .header-actions { margin-left: var(--space-3); }
  .header-cta { padding-inline: .75rem; }
  .header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
