:root {
  --color-primary: #0891B2;
  --color-secondary: #22D3EE;
  --color-accent: #F97316;
  --color-neutral-dark: #164E63;
  --color-neutral-light: #ECFEFF;
  --color-text: #0F2A33;
  --color-muted: #4B6672;
  --color-line: rgba(22, 78, 99, 0.12);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 51, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 42, 51, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 42, 51, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
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.01em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; border-radius: 6px; z-index: 10000; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; font-weight: 600; font-family: var(--font-body);
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
  font-size: 1rem;
}
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -8px rgba(8, 145, 178, 0.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(8, 145, 178, 0.7); color: #fff; }
.btn--ghost { background: rgba(255,255,255,0.6); color: var(--color-neutral-dark); border-color: var(--color-line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(249, 115, 22, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(236, 254, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(22, 78, 99, 0.08);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 4px 24px -12px rgba(15, 42, 51, 0.2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--color-neutral-dark); padding: .4rem; cursor: pointer; border-radius: 8px; }
.nav-toggle:hover { background: rgba(22, 78, 99, 0.08); }

.primary-nav { display: none; flex-direction: column; gap: .25rem; padding: 1rem 0; }
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500; padding: .55rem .25rem; position: relative;
}
.primary-nav a::after {
  content: ''; position: absolute; left: .25rem; right: .25rem; bottom: .3rem; height: 2px;
  background: var(--color-accent); 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); }
.primary-nav .nav-cta {
  background: var(--color-accent); color: #fff; border-radius: 999px; padding: .55rem 1.1rem; margin-top: .5rem;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; }
  .primary-nav .nav-cta { margin-top: 0; }
}

/* === Hero (saas-spotlight) === */
.hero--spotlight {
  position: relative; overflow: hidden;
  padding-block: 3.5rem 3rem;
  background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(34,211,238,0.05) 60%, rgba(236,254,255,0) 100%);
}
.hero--inner { padding-block: 3rem 2.5rem; }
.hero__glow {
  position: absolute; inset: -20% 20% auto -10%; height: 480px;
  background: radial-gradient(ellipse at 30% 40%, rgba(249,115,22,0.18), transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(34,211,238,0.35), transparent 55%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero__visual { margin: 0; }
.hero__visual img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .hero--spotlight { padding-block: 5rem 4rem; } .hero__inner h1 { max-width: 22ch; } }

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--tight { padding-block: 2.5rem; }
.section--tinted { background: linear-gradient(180deg, rgba(236,254,255,0.7), rgba(236,254,255,0.2)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

/* Split (two-column) */
.split { display: grid; gap: 2rem; }
.split__image img { border-radius: var(--radius-md); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
}

/* === Grid of cards === */
.grid--cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; padding: 1.75rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(8,145,178,0.12), rgba(34,211,238,0.18));
  color: var(--color-primary); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }

/* === Quote === */
.quote {
  margin: 0; padding: 2rem; background: #fff;
  border-radius: var(--radius-md); border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: '“'; font-family: var(--font-heading); position: absolute;
  top: -.5rem; left: 1rem; font-size: 4.5rem; color: var(--color-secondary); line-height: 1;
}
.quote p { font-size: 1.15rem; color: var(--color-neutral-dark); font-style: italic; margin-bottom: 1rem; }
.quote cite { font-style: normal; font-weight: 600; color: var(--color-muted); font-size: .95rem; }
@media (min-width: 768px) { .quote { padding: 2.5rem 3rem; } .quote p { font-size: 1.25rem; } }

/* === CTA band === */
.cta-band { padding-block: 3rem; }
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; padding: 2.5rem; border-radius: var(--radius-lg);
  display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(236, 254, 255, 0.9); margin: 0; }
.cta-band__meta { font-size: .9rem; margin-top: .75rem; }
@media (min-width: 768px) {
  .cta-band__inner { grid-template-columns: 1fr auto; padding: 3rem; }
}

/* === Contact page === */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table caption { text-align: left; font-weight: 600; color: var(--color-neutral-dark); margin-bottom: .5rem; }
.hours-table th, .hours-table td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid var(--color-line); }
.hours-table th { font-weight: 500; color: var(--color-muted); }

.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-line); 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: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-line);
  border-radius: var(--radius-sm); background: #fff; color: var(--color-text);
  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(8,145,178,0.15);
}
.form-consent { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .88rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236, 254, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-heading); }
.footer-tagline { color: rgba(236, 254, 255, 0.7); font-size: .95rem; max-width: 28ch; }
.logo--footer img { height: 72px; filter: brightness(0) invert(1); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-legal a { color: rgba(236, 254, 255, 0.8); }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-contact address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; color: rgba(236, 254, 255, 0.8); }
.footer-contact a { color: rgba(236, 254, 255, 0.9); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(236, 254, 255, 0.12); margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: .85rem; color: rgba(236, 254, 255, 0.65); }

/* === 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.35rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  max-width: 560px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; color: rgba(236, 254, 255, 0.9); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer; font-weight: 500; font-size: .88rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: rgba(236, 254, 255, 0.14); color: #fff; }
.cookie-banner [data-cookie-settings] { background: transparent; color: #fff; border: 1px solid rgba(236, 254, 255, 0.3); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236, 254, 255, 0.12); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner [data-cookie-save] { background: var(--color-primary); color: #fff; align-self: flex-start; margin-top: .35rem; }

/* === Reveal === */
.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; } html { scroll-behavior: auto; } }
