/* === Tokens === */
:root {
  --color-primary: #0D9488;
  --color-secondary: #14B8A6;
  --color-accent: #F97316;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0f2a2a;
  --color-muted: #4b6a68;
  --color-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(15, 42, 42, 0.06);
  --shadow-md: 0 10px 40px -12px rgba(15, 42, 42, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(15, 42, 42, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  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; }
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 .75rem; }
h1 { font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Skip link === */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); }
.eyebrow { font-family: var(--font-heading); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 1rem; }
.muted { color: var(--color-muted); }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(240, 253, 250, 0.72); 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-hover), border-color .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.site-header.scrolled { background: rgba(240, 253, 250, 0.92); border-bottom-color: var(--color-border); box-shadow: 0 8px 30px -20px rgba(15,42,42,0.25); }
.site-header__inner { max-width: 1160px; margin-inline: auto; padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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 { display: none; flex-direction: column; gap: .25rem; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem 1.5rem; background: rgba(240,253,250,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open { display: flex; }
.primary-nav a { position: relative; display: inline-block; padding: .6rem 0; font-weight: 500; color: var(--color-neutral-dark); }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: .25rem; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: .55rem 1rem; border-radius: 999px; margin-top: .5rem; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; flex-direction: row; padding: 0; background: transparent; border: 0; align-items: center; gap: 1.5rem; }
  .primary-nav a { padding: .3rem 0; }
  .primary-nav .nav-cta { margin-top: 0; margin-left: .5rem; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Hero (centered, SaaS spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(180deg, rgba(20,184,166,0.08) 0%, rgba(240,253,250,0) 70%); }
.hero__glow { position: absolute; inset: -20% 20% auto 20%; height: 60vh; background: radial-gradient(closest-side, rgba(249,115,22,0.14), 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); max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 56ch; margin: 1rem auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero__media { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__media 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; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s, color .2s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 30px -12px rgba(13,148,136,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(13,148,136,0.65); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(249,115,22,0.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(249,115,22,0.7); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(20,184,166,0.4); outline-offset: 3px; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(20,184,166,0.35); }
.card h3 { margin-top: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.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.16)); color: var(--color-primary); }
.card-link { color: inherit; text-decoration: none; display: block; }
.card-link:hover { color: inherit; }
.card-link:hover h3 { color: var(--color-primary); }

/* === Testimonial === */
.testimonial { text-align: center; margin: 0; padding: 2rem 0; }
.testimonial p { font-size: 1.2rem; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); max-width: 60ch; margin-inline: auto; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; max-width: 30ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 1.5rem; }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: .75rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; 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; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(20,184,166,0.18); }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); margin: 0 0 1.25rem; }
.form-consent input { margin-top: .2rem; }

.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 500; color: var(--color-neutral-dark); }
.hours-table td { color: var(--color-muted); }

.contact-band { text-align: center; }
.contact-band p { font-size: 1.05rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.8); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem; font-size: .9rem; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1rem !important; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.25rem; text-align: center; font-size: .88rem; color: rgba(255,255,255,0.65); }
.site-footer .muted { color: rgba(255,255,255,0.7); }

/* === Reveal (scroll 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.35rem; border-radius: var(--radius-md); box-shadow: 0 20px 60px -10px rgba(0,0,0,0.35); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .93rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button { font: inherit; font-family: var(--font-heading); font-weight: 600; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: .88rem; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__actions button:hover { background: rgba(255,255,255,0.08); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .35rem; }
