/* Dutaco website styles. Tokens mirror design/brand/tokens.css. */
:root {
  --c-teal: #0f766e;
  --c-teal-600: #0d5f59;
  --c-teal-300: #5eead4;
  --c-deep: #12302d;
  --c-dark: #0d2b28;
  --c-amber: #f59e0b;
  --c-amber-600: #e08e06;
  --c-mint: #e6f4f1;
  --c-paper: #f7f8f6;
  --c-white: #ffffff;
  --c-muted: #56665f;
  --c-line: #dfe7e5;

  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-md: 12px;
  --r-lg: 18px;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(18, 48, 45, .06), 0 8px 24px rgba(18, 48, 45, .06);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-deep);
  font: 400 1.0625rem/1.6 var(--f-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-teal); }
a:hover { color: var(--c-teal-600); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.eyebrow { font: 600 .8125rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-teal); margin: 0 0 14px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.2rem); color: var(--c-muted); }
.hint { font-size: .9375rem; color: var(--c-muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none;
  padding: 14px 22px; border-radius: var(--r-md); border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--c-amber); color: #1f1300; }
.btn-cta:hover { background: var(--c-amber-600); color: #1f1300; }
.btn-outline { border-color: var(--c-teal); color: var(--c-teal); background: transparent; }
.btn-outline:hover { background: var(--c-mint); color: var(--c-teal-600); }
.btn-small { padding: 10px 16px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 248, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--c-deep); text-decoration: none; font-weight: 500; font-size: .9875rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--c-teal); }
.site-nav ul a[aria-current="page"] { color: var(--c-teal); border-bottom-color: var(--c-teal); }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; border: 1px solid var(--c-line); border-radius: 8px; overflow: hidden; background: var(--c-white); }
.lang-switch a { padding: 6px 10px; font-size: .8125rem; font-weight: 600; text-decoration: none; color: var(--c-muted); }
.lang-switch a[aria-current="true"] { background: var(--c-teal); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--c-line); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--c-deep); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-paper); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 1.0625rem; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--c-line); }
  .nav-extra { justify-content: space-between; padding-top: 18px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.page-head { padding: clamp(56px, 9vw, 110px) 0; }

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #f1f8f6 0%, var(--c-paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; }
.hero-art svg { width: 100%; filter: drop-shadow(0 12px 28px rgba(18, 48, 45, .10)); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin: 8px auto 0; width: 100%; }
  .actions .btn { flex: 1 1 100%; }
}

.trust { background: var(--c-dark); color: #fff; padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--f-head); color: var(--c-teal-300); }
.trust-item span { font-size: .9375rem; color: #c3dad6; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-dark); color: #c3dad6; padding: 56px 0 0; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1.1fr; gap: 32px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font: 600 .8125rem/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c3dad6; text-decoration: none; }
.site-footer a:hover { color: var(--c-teal-300); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: #9fc5bf; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* The hidden attribute must win over display rules (quiz form, form messages). */
[hidden] { display: none !important; }
