/*
 E&A Group — Minimal formal theme
 Focus: clarity, readability, high contrast, accessible sizing
*/

:root {
  /* Light theme palette (keeps brand blue) */
  --bg: #f7f9fc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --text: #0b132b;
  --muted: #43506b;
  --primary: #4aa3ff;
  --primary-contrast: #071222;
  --accent: #ffb703; /* warm accent for focus, pills */
  --ok: #199473;
  --border: #e5ecf6;
  --shadow: rgba(17, 24, 39, 0.06);
  --maxw: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--text);
  /* Sfondo uniforme per far risaltare le card prodotto */
  background: var(--bg);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto; height: auto; padding: 8px 12px;
  background: var(--accent);
  color: #1b1200;
  border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.1) blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.7) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2a5aff, #6fb1ff);
  color: white;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-text { font-weight: 700; font-size: 18px; opacity: 0.95; }

.site-nav { display: flex; gap: 18px; align-items: center; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}
.site-nav a:hover { background: #eef2ff; }
/* Mobile/iPad navigation handling */
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .site-nav { width: 100%; justify-content: flex-start; overflow-x: auto; gap: 12px; padding: 0 0 6px; }
  .site-nav a { white-space: nowrap; font-size: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; cursor: pointer;
  padding: 12px 16px; border-radius: 12px; font-weight: 600;
  border: 1px solid transparent; transition: 0.15s ease;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--border); background: #ffffff; }
.btn-ghost:hover { background: #f3f4f6; }
.btn-sm { padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.btn-invert { color: #ffffff; border-color: rgba(255,255,255,0.25); background: transparent; }
.btn-invert:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  /* Più spazio sotto per far scendere l'illustrazione nel "buco" tra i testi */
  padding: 64px 0 120px;
  /* Fondo chiaro con gradienti più visibili */
  background:
    radial-gradient(1000px 420px at 110% 42%, rgba(224, 242, 255, 0.72), transparent 72%),
    radial-gradient(900px 380px at 0% 100%, rgba(232, 255, 232, 0.60), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: max(0px, calc((100vw - var(--maxw)) / 2 - 20px));
  /* Ancora più in basso per centrarla visivamente tra le righe */
  bottom: -60px;
  width: min(44vw, 560px);
  aspect-ratio: 16/11;
  background: url('hero-illustration.svg') no-repeat bottom right / contain;
  opacity: 0.42; /* più visibile */
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { text-align: left; }
.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.lead { font-size: clamp(16px, 2.3vw, 20px); color: var(--muted); max-width: 900px; }
.hero-ctas { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 48px 0; }
.why { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.services { border-bottom: 1px solid var(--border); }
.products { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.method { border-bottom: 1px solid var(--border); }
.contact { background: var(--bg-soft); }

h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* Center last card when there's a single item on last row (3-col layouts) */
@media (min-width: 960px) {
  .features.center-last li:last-child { grid-column: 2; }
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --accent-1: rgba(99, 102, 241, 0.26);
  --accent-2: rgba(14, 165, 233, 0.24);
}
.features li:nth-child(2) { --accent-1: rgba(236, 72, 153, 0.25); --accent-2: rgba(192, 132, 252, 0.22); }
.features li:nth-child(3) { --accent-1: rgba(14, 165, 233, 0.24); --accent-2: rgba(34, 197, 94, 0.23); }
.features li:nth-child(4) { --accent-1: rgba(234, 179, 8, 0.22); --accent-2: rgba(249, 115, 22, 0.24); }
.features li:nth-child(5) { --accent-1: rgba(99, 102, 241, 0.23); --accent-2: rgba(107, 114, 128, 0.22); }
.features li:nth-child(6) { --accent-1: rgba(56, 189, 248, 0.23); --accent-2: rgba(59, 130, 246, 0.23); }

.features li::before,
.features li::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.features li::before {
  width: 160px;
  height: 160px;
  top: -80px;
  right: -70px;
  background: radial-gradient(circle at 60% 40%, var(--accent-1), transparent 70%);
  opacity: 0.75;
}
.features li::after {
  width: 120px;
  height: 120px;
  bottom: -70px;
  left: -60px;
  background: radial-gradient(circle at 35% 65%, var(--accent-2), transparent 70%);
  opacity: 0.55;
}
.features li:hover::before,
.features li:hover::after {
  transform: scale(1.05);
  opacity: 0.9;
}

.features h3 {
  position: relative;
  padding-top: 12px;
}
.features h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.features li, .card, .cards .card-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 2px var(--shadow);
}
.features p { color: var(--muted); }

.cards .card { position: relative; }
.cards .card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.cards .card-link:hover { box-shadow: 0 4px 16px var(--shadow); transform: translateY(-1px); transition: 0.15s ease; }
.products .grid.cards {
  grid-template-columns: 1fr;
  gap: 22px;
}

.product-band {
  padding: 32px 34px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}
.product-band > * {
  position: relative;
  z-index: 1;
}
.product-band::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 1;
  z-index: 0;
}

/* Small icons for first two product cards */
.product-head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.product-icon {
  position: relative;
  width: 52px; height: 40px; border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15,23,42,0.12);
  flex-shrink: 0;
}
.product-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.5), transparent 60%);
  mix-blend-mode: screen;
}
.product-icon--amber { background: linear-gradient(130deg, #ffcf99, #ffe8d1); border: 1px solid rgba(245, 158, 11, 0.28); }
.product-icon--amber::before {
  content: ""; position: absolute; left: 12px; top: 10px; width: 28px; height: 6px; border-radius: 8px;
  background: #fff4e0; box-shadow: 0 10px 0 0 #ffe3bf inset, 0 -10px 0 0 #fffdf7 inset;
}
.product-icon--sky { background: linear-gradient(130deg, #cfe4ff, #eaf4ff); border: 1px solid rgba(59, 130, 246, 0.28); }
.product-icon--sky::before {
  content: ""; position: absolute; left: 12px; top: 9px; width: 28px; height: 22px; border-radius: 8px;
  background: #e7f0ff; box-shadow: 0 0 0 2px #d9e9ff inset;
}
.product-band.product-band--sky {
  /* Azzurro pastello */
  background: #eaf4ff;
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.14);
}
.product-band.product-band--sky::after { background: none; }
.product-band.product-band--amber {
  /* Arancio pastello */
  background: #ffe8d1;
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.14);
}
.product-band.product-band--amber::after { background: none; }
.product-band.product-band--violet {
  /* Verde pastello */
  background: #e9f7ef;
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 12px 36px rgba(34, 197, 94, 0.14);
}
.product-band.product-band--violet::after { background: none; }
.product-band.product-band--sky:hover,
.product-band.product-band--amber:hover,
.product-band.product-band--violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.product-band .more-cta { margin-top: 24px; }

.products .card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #08162f;
}
.products .card .pill {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.products strong {
  font-weight: 750;
  color: #091a36;
}
.products .bundle-title {
  font-size: 17px;
  font-weight: 800;
  color: #065f46;
}

.card-bundle { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bundle-hero {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 32px 32px 26px;
  background: linear-gradient(120deg, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.12));
  border-bottom: 1px solid rgba(45, 212, 191, 0.35);
}
.bundle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px 210px at 0% 100%, rgba(255, 255, 255, 0.78), transparent 65%),
              radial-gradient(240px 200px at 100% 0%, rgba(134, 239, 172, 0.32), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: lighten;
}
.bundle-icon {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  height: 60px;
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(130deg, #22c55e, #34d399);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.3);
  overflow: hidden;
  isolation: isolate;
}
.bundle-icon::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 12px;
  width: 54px;
  height: 24px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(140deg, #5eead4, #22c55e);
  box-shadow: 0 10px 18px rgba(34, 197, 94, 0.3);
}
.bundle-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.38), transparent 60%);
  mix-blend-mode: screen;
}
.bundle-sheets {
  position: absolute;
  bottom: 10px;
  left: 12px;
  width: 52px;
  height: 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.22);
}
.bundle-sheets::before,
.bundle-sheets::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 4px;
  border-radius: 999px;
  background: #bbf7d0;
}
.bundle-sheets::before { top: 10px; }
.bundle-sheets::after {
  top: 18px;
  background: #d1fae5;
}
.bundle-eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: #3f4963;
}
.bundle-text {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}
.bundle-list {
  list-style: none;
  margin: 0;
  padding: 24px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg, rgba(134, 239, 172, 0.16), rgba(255, 255, 255, 0.96) 55%);
}
.bundle-list li { margin: 0; }
.bundle-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bundle-link:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.48);
  box-shadow: 0 12px 26px rgba(34, 197, 94, 0.2);
}
.bundle-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bundle-title {
  font-weight: 700;
  font-size: 16px;
}
.bundle-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.bundle-list li:nth-child(1) .bundle-link {
  background: linear-gradient(90deg, rgba(209, 250, 229, 0.88), rgba(255, 255, 255, 0.98));
  border-color: rgba(16, 185, 129, 0.3);
}
.bundle-list li:nth-child(2) .bundle-link {
  background: linear-gradient(90deg, rgba(187, 247, 208, 0.85), rgba(255, 255, 255, 0.98));
  border-color: rgba(34, 197, 94, 0.3);
}
.bundle-list li:nth-child(3) .bundle-link {
  background: linear-gradient(90deg, rgba(167, 243, 208, 0.82), rgba(255, 255, 255, 0.98));
  border-color: rgba(22, 163, 74, 0.28);
}
.bundle-arrow {
  font-size: 20px;
  color: #0f9f6e;
  margin-top: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.bundle-link:hover .bundle-arrow {
  transform: translateX(3px);
  color: #10b981;
}
@media (max-width: 720px) {
  .bundle-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .bundle-link {
    flex-direction: column;
  }
  .bundle-arrow {
    align-self: flex-end;
  }
}
.card-items { list-style: none; padding: 0; margin: 8px 0 12px; color: var(--muted); font-size: 14px; }
.card-items li { display: flex; gap: 8px; align-items: flex-start; }
.card-items li::before { content: "•"; color: #94a3b8; line-height: 1; }
.more-cta { margin-top: auto; align-self: flex-start; }
.pill {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #1b1200; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; font-size: 12px;
}
.soon { outline: 1px dashed #ffd36e66; }

.list-check { padding-left: 0; }
.list-check li { list-style: none; padding-left: 26px; position: relative; }
.list-check li::before {
  content: "✓"; position: absolute; left: 0; top: 0; line-height: 1; color: var(--ok);
}

.solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}
.solution-card {
  position: relative;
  background: linear-gradient(135deg, rgba(241, 245, 255, 0.88), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px 160px at 18% 20%, rgba(99, 102, 241, 0.14), transparent 70%),
              radial-gradient(220px 160px at 80% 80%, rgba(59, 130, 246, 0.1), transparent 75%);
  pointer-events: none;
  mix-blend-mode: lighten;
}
.solution-card:nth-child(2)::after {
  background: radial-gradient(220px 160px at 18% 20%, rgba(244, 114, 182, 0.12), transparent 70%),
              radial-gradient(220px 160px at 80% 80%, rgba(96, 165, 250, 0.1), transparent 75%);
}
.solution-card:nth-child(3)::after {
  background: radial-gradient(220px 160px at 18% 20%, rgba(45, 212, 191, 0.12), transparent 70%),
              radial-gradient(200px 160px at 80% 80%, rgba(56, 189, 248, 0.12), transparent 75%);
}
.solution-card:nth-child(4)::after {
  background: radial-gradient(220px 160px at 20% 22%, rgba(251, 191, 36, 0.15), transparent 70%),
              radial-gradient(200px 160px at 75% 78%, rgba(249, 115, 22, 0.08), transparent 75%);
}
.solution-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #08162f;
  position: relative;
  z-index: 1;
}
.solution-card p {
  margin: 0;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.solution-tag {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  position: relative;
  z-index: 1;
}
.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  border-color: rgba(99, 102, 241, 0.28);
}

/* Contact */
.contact-inner { text-align: center; }
.contact-ctas {
  margin-top: 16px;
  display: flex; /* block-level to go under the card */
  width: 100%;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* Contact card */
.contact-card {
  margin: 16px auto 6px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
  padding: 16px 18px;
}
.contact-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
}
.contact-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.contact-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 700;
  font-size: clamp(18px, 3.2vw, 22px);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--primary-contrast);
  background: #f3f6ff;
}
.contact-value.email { background: #eef6ff; }
.contact-value.phone { background: #f5fff9; }
@media (max-width: 520px) {
  .contact-item { grid-template-columns: 1fr; }
  .contact-label { margin-bottom: -2px; }
}

/* Footer */
.site-footer {
  margin-top: 16px;
  background: linear-gradient(180deg, #0b132b, #0e1a33);
  color: #e6edf7;
}
.footer-top {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr;
  padding: 28px 20px 10px;
}
@media (min-width: 900px) {
  /* Colonna sinistra a larghezza fissa per centrare meglio le tre colonne a destra */
  .footer-top { grid-template-columns: 520px 1fr 1fr 1fr; align-items: center; gap: 44px; }
  .footer-brand { max-width: 520px; }
}
.footer-brand .brand-line { color: #e6edf7; margin: 0 0 10px; }
.footer-lead { margin: 0 0 6px; font-weight: 700; }
.footer-sub { margin: 0 0 12px; color: #b6c2d9; }
.footer-contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.contact-person {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}
.contact-person .person-name { margin: 0 0 4px; font-weight: 800; color: #ffffff; }
.contact-person .person-line { margin: 0; }
.contact-person a { color: #ffffff; text-decoration: none; font-weight: 700; }
.contact-person a:hover { text-decoration: underline; }
.contact-person .person-id { margin: 6px 0 0; color: #a9b7d3; font-size: 12px; }

.footer-grid { display: contents; }
.footer-col { color: #c7d3ea; }
.footer-heading { margin: 0 0 10px; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #a9b7d3; }
.footer-link { display: block; color: #d7e4ff; text-decoration: none; padding: 4px 0; font-size: 14px; }
.footer-link:hover { color: #ffffff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 16px; }
.footer-backtop { display: flex; justify-content: center; padding: 8px 20px 28px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 18px; color: #a9b7d3; }
.footer-bottom-inner .small { margin: 0; color: inherit; }
.footer-bottom-inner a { color: #d7e4ff; text-decoration: none; font-size: 13px; }
.footer-bottom-inner a:hover { text-decoration: underline; }

.brand-line { display: inline-flex; align-items: center; gap: 8px; margin: 0; }

/* Links */
a { color: #1a73e8; }
a:hover { color: #0b63d1; }

/* High-contrast focus */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Print basics */
@media print {
  .site-header, .site-footer, .hero-ctas, .contact-ctas { display: none !important; }
  body { background: white; color: black; }
}

/* Calendar component */
.calendar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px var(--shadow);
  overflow: hidden;
}
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
}
.calendar-header h3 { margin: 0; font-size: 16px; }
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  padding: 12px; align-items: stretch;
}
.calendar-weekday { font-size: 12px; color: var(--muted); text-align: center; padding: 4px 0; }
.day {
  min-height: 72px; background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px; position: relative; display: flex; flex-direction: column; gap: 6px;
}
.day .date { font-size: 12px; color: var(--muted); }

/* Responsive fine‑tuning for small devices */
@media (max-width: 420px) {
  .hero { padding: 44px 0 32px; }
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .features li, .cards .card-link { padding: 16px; }
  .hero::after { display: none; }
}

/* iPad landscape tweaks */
@media (min-width: 721px) and (max-width: 1024px) {
  :root { --maxw: 980px; }
  .grid { gap: 18px; }
}
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 6px; border-radius: 999px; width: fit-content; }
.chip.leave { background: #e0f2fe; color: #075985; }
.chip.shift { background: #e7f5e9; color: #166534; }
.chip.rol { background: #fff0e1; color: #8a3b00; }
.legend { display: flex; gap: 8px; padding: 8px 12px 12px; flex-wrap: wrap; }
.legend .chip { border: 1px solid var(--border); }
@media (max-width: 520px) {
  .day { min-height: 56px; padding: 6px; }
  .calendar-grid { gap: 4px; padding: 8px; }
}

/* Demo illustration card */
.demo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px var(--shadow);
  padding: 12px;
}
.demo svg { width: 100%; height: auto; display: block; }
.demo-caption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Cookie consent banner */
.cc-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1000;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 36px var(--shadow);
  padding: 14px 16px;
  display: none; /* shown via JS */
}
.cc-banner.show { display: block; }
.cc-banner .cc-title { font-weight: 700; margin: 0 0 6px; font-size: 14px; }
.cc-banner .cc-text { margin: 0; color: var(--muted); font-size: 13px; }
.cc-banner .cc-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cc-banner .cc-btn { cursor: pointer; border: 1px solid var(--border); background: #fff; color: var(--text); padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.cc-banner .cc-btn.primary { background: var(--primary); color: #fff; border-color: transparent; }
.cc-banner .cc-link { color: #1a73e8; text-decoration: none; }
