:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0F2A28;
  --color-muted: #4B6B68;
  --color-line: rgba(19, 78, 74, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 36px -12px rgba(19, 78, 74, 0.2);
  --shadow-lg: 0 24px 60px -20px rgba(19, 78, 74, 0.28);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -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); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-weight: 700; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.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; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 600; color: var(--color-primary); margin-bottom: 1rem; }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
  .container { padding-inline: 2rem; }
}

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 253, 250, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); box-shadow: 0 6px 20px -12px rgba(19,78,74,0.2); border-bottom-color: var(--color-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid var(--color-line); border-radius: 12px; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav a { position: relative; font-weight: 500; color: var(--color-neutral-dark); padding: 0.75rem 0.5rem; }
.primary-nav a::after { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.35rem; 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-cta { background: var(--color-neutral-dark); color: var(--color-neutral-light) !important; padding: 0.7rem 1.15rem !important; border-radius: 999px; margin-top: 0.5rem; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--color-primary); }

.primary-nav.is-open { display: flex; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--color-line); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; flex-direction: row; align-items: center; gap: 0.25rem; position: static; padding: 0; background: transparent; box-shadow: none; border: none; }
  .nav-cta { margin-top: 0; margin-left: 0.5rem; }
}

/* === Hero (SaaS spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(160deg, #ffffff 0%, var(--color-neutral-light) 100%); }
.hero--compact { padding-block: 3rem 2rem; }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(60% 60% at 50% 40%, rgba(249, 115, 22, 0.14), transparent 70%), radial-gradient(50% 50% at 80% 20%, rgba(20, 184, 166, 0.22), transparent 70%); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 56ch; margin: 1rem auto 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; }
.hero__visual { margin: 3rem auto 0; max-width: 960px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero__visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); pointer-events: none; }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); }
.btn:focus-visible { outline: 3px solid rgba(249,115,22,0.4); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 28px -12px rgba(13,148,136,0.55); }
.btn--primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 36px -14px rgba(13,148,136,0.7); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-line); }
.btn--ghost:hover { background: rgba(19,78,74,0.06); transform: translateY(-2px); color: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(249,115,22,0.55); }
.btn--accent:hover { transform: translateY(-2px); color: #fff; background: #ea580c; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s 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(13,148,136,0.12), rgba(20,184,166,0.18)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }

/* === Split section === */
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.split__media img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }

/* === Stats === */
.stats { background: linear-gradient(135deg, var(--color-neutral-dark), #0b3d3a); color: var(--color-neutral-light); border-radius: 0; }
.stat { text-align: center; padding: 1rem; }
.stat__num { display: block; font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-accent); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.stat p { color: rgba(240,253,250,0.85); margin: 0; font-size: 0.95rem; }

/* === Testimonial === */
.testimonial { position: relative; margin: 0; text-align: center; padding: 2rem 1rem; }
.testimonial__mark { color: var(--color-secondary); opacity: 0.6; margin: 0 auto 1rem; display: block; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.45; max-width: 62ch; margin: 0 auto 1.25rem; }
.testimonial cite { color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding-block: 3.5rem; margin-block: 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 80% 30%, rgba(249,115,22,0.25), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band p { color: rgba(240,253,250,0.9); margin: 0; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; } }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem; 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: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 0.75rem; color: var(--color-muted); margin-bottom: 0; }

/* === Forms === */
.contact-form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { font: inherit; padding: 0.85rem 1rem; border: 1px solid var(--color-line); border-radius: 12px; background: #fff; color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(13,148,136,0.15); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Hours table === */
.hours-table { margin-top: 2rem; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.5rem; max-width: 480px; }
.hours-table dl { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; margin: 0; }
.hours-table dt { color: var(--color-neutral-dark); font-weight: 500; }
.hours-table dd { margin: 0; color: var(--color-muted); }

/* === Map === */
.map-placeholder { margin-top: 2rem; background: linear-gradient(135deg, #e6f6f3, #cdece5); border: 1px solid var(--color-line); border-radius: var(--radius); min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--color-primary); text-align: center; gap: 0.5rem; }
.map-placeholder p { color: var(--color-neutral-dark); font-weight: 500; margin: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,253,250,0.85); padding-block: 3.5rem 1.5rem; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(240,253,250,0.85); display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer .logo--footer img { filter: brightness(0) invert(1); }
.legal-links { margin-top: 1rem; }
.legal-links a { display: inline; }
.site-footer__bottom { border-top: 1px solid rgba(240,253,250,0.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(240,253,250,0.6); }
.site-footer__bottom p { margin: 0; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }

/* === Reveal on scroll === */
.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; }
}

/* === 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-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), background .15s var(--ease); }
.cookie-banner__actions button:first-child { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button:first-child:hover { background: #ea580c; }
.cookie-banner__actions button:nth-child(2) { background: transparent; border-color: rgba(240,253,250,0.4); color: var(--color-neutral-light); }
.cookie-banner__actions button:nth-child(2):hover { background: rgba(240,253,250,0.08); }
.cookie-banner__actions button:nth-child(3) { background: transparent; color: rgba(240,253,250,0.75); text-decoration: underline; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; background: var(--color-primary); color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; margin-top: 0.5rem; }
