:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #FBBF24;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #4B6E86;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(12, 74, 110, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(12, 74, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-hero: linear-gradient(135deg, #0EA5E9 0%, #0C4A6E 100%);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }

/* === Header / nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(240, 249, 255, 0.95); box-shadow: 0 4px 20px rgba(12, 74, 110, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; font-size: .95rem; position: relative; padding: .25rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--color-neutral-dark); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1.25rem; gap: 1rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .primary-nav.is-open { position: static; flex-direction: row; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .header-inner { padding: 1rem 1.25rem; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; padding: .85rem 1.75rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-align: center; }
.btn--primary { background: var(--gradient-hero); color: #fff; box-shadow: 0 8px 24px -8px rgba(14, 165, 233, 0.5); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(14, 165, 233, 0.6); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { background: var(--color-neutral-light); transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-dark); box-shadow: 0 8px 24px -8px rgba(251, 191, 36, 0.55); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(251, 191, 36, 0.65); color: var(--color-neutral-dark); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Hero (hero-card archetype, saas-spotlight polish) === */
.hero { position: relative; padding: 3rem 0 4rem; overflow: hidden; background: radial-gradient(ellipse at top left, rgba(251, 191, 36, 0.10), transparent 60%), radial-gradient(ellipse at bottom right, rgba(56, 189, 248, 0.14), transparent 60%), var(--color-neutral-light); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(12, 74, 110, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 74, 110, 0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%); }
.hero-card__box { position: relative; max-width: 880px; margin: 0 auto; background: #fff; padding: 2.5rem 1.75rem; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: .78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero h1 { margin-bottom: 1.25rem; max-width: 28ch; }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.hero-card__img { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-card__box { padding: 4rem 3rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section--narrow .container { max-width: 780px; }
.section--muted { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }

@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* === Grids & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: flex; flex-direction: column; gap: .5rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(56, 189, 248, 0.18)); color: var(--color-primary); margin-bottom: .5rem; }
.card h3 { margin: 0; }
.card p { color: var(--color-muted); margin: 0; font-size: .98rem; }
.card--service { padding: 2rem; }

/* === Split section === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin: 0; }
.split__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* === Quote / testimonial === */
.quote { max-width: 820px; margin: 0 auto; text-align: center; padding: 1rem; }
.quote p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1.25rem; }
.quote cite { display: block; color: var(--color-muted); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band { background: var(--gradient-hero); color: #fff; border-radius: 0; }
.cta-band .container { }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; padding: 2rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; max-width: 60ch; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem 0; } }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: .75rem; color: var(--color-muted); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info h2 { margin-bottom: 1rem; }
.hours { display: grid; grid-template-columns: 1fr; gap: .35rem; margin: 1.25rem 0 0; }
.hours > div { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--color-border); }
.hours dt { font-weight: 600; color: var(--color-neutral-dark); margin: 0; }
.hours dd { margin: 0; color: var(--color-muted); }

.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); }
.contact-form input, .contact-form textarea { font: inherit; font-family: var(--font-body); font-weight: 400; color: var(--color-text); background: var(--color-neutral-light); border: 1px solid var(--color-border); border-radius: 10px; padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem !important; font-weight: 400 !important; font-family: var(--font-body) !important; font-size: .88rem; color: var(--color-muted); }
.form-consent input { flex-shrink: 0; margin-top: .2rem; }
.form-consent span { line-height: 1.5; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(240, 249, 255, 0.12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.logo--footer img { height: 72px; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(240, 249, 255, 0.75); margin-top: 1rem; font-size: .95rem; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: rgba(240, 249, 255, 0.85); font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.7; color: rgba(240, 249, 255, 0.85); font-size: .95rem; }
.footer-contact a { color: rgba(240, 249, 255, 0.9); }
.footer-legal { margin-top: 1rem; font-size: .85rem; color: rgba(240, 249, 255, 0.65); }
.footer-legal a { color: rgba(240, 249, 255, 0.85); }
.footer-copy { padding-top: 1.5rem; font-size: .85rem; color: rgba(240, 249, 255, 0.6); text-align: center; }
.footer-copy p { margin: 0; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; margin-left: auto; margin-right: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; line-height: 1.5; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; font-family: var(--font-heading); font-weight: 600; font-size: .88rem; padding: .55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-dark); }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1.5px solid rgba(240, 249, 255, 0.3); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1.5px solid rgba(240, 249, 255, 0.3); }
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(240, 249, 255, 0.9); }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); color: #fff; margin-top: .5rem; }
