/* ECO TRANSPORT — base + utility styles (complementing Tailwind via CDN) */

:root {
  --brand-50:  #f0fdf4;
  --brand-100: #dcfce7;
  --brand-200: #bbf7d0;
  --brand-300: #86efac;
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --brand-800: #166534;
  --brand-900: #14532d;
  --ink-900:   #0b1220;
  --ink-700:   #1f2937;
  --ink-500:   #475569;
  --ink-300:   #cbd5e1;
  --bg:        #ffffff;
  --bg-soft:   #f8fafc;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
}

h1, h2, h3, h4 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 9999px; font-weight: 600; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 8px 22px -10px rgba(22,163,74,.55); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-300); }
.btn-ghost:hover { border-color: var(--brand-600); color: var(--brand-700); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

.gradient-hero {
  background:
    radial-gradient(80rem 40rem at 110% -20%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(60rem 30rem at -10% 10%, rgba(20,83,45,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(2,6,23,.18); border-color: #d1fae5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  padding: .35rem .7rem; border-radius: 9999px;
}

.divider-soft { height: 1px; background: linear-gradient(90deg, transparent, #e5e7eb, transparent); }

.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .btn, .card { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem;
  box-shadow: 0 30px 60px -25px rgba(2,6,23,.25);
  padding: 1rem 1.1rem;
}
@media (min-width: 768px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 28rem; }
}

/* Mobile menu */
.menu-open { overflow: hidden; }

/* Form */
.field {
  width: 100%;
  border: 1px solid #e5e7eb; border-radius: .75rem;
  padding: .75rem .9rem; font-size: 1rem; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(34,197,94,.15); outline: none; }
.label { font-size: .9rem; font-weight: 600; color: var(--ink-700); margin-bottom: .35rem; display: block; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Lists */
.check-list li { position: relative; padding-left: 1.75rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: 1.1rem;
  background-color: var(--brand-600);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 111.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z' fill='black'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3-3a1 1 0 111.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z' fill='black'/></svg>") no-repeat center / contain;
}

/* FAQ */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .2s ease; }

/* Hero image overlay */
.hero-img { position: relative; }
.hero-img::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}

/* Print */
@media print {
  header, footer, .cookie-banner { display: none !important; }
  body { color: #000; }
}
