: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-border: rgba(19, 78, 74, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 20px;
  --shadow-soft: 0 2px 20px rgba(19, 78, 74, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(19, 78, 74, 0.25);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; 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.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  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 var(--color-border);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px -18px rgba(19, 78, 74, 0.35);
}
.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0.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; }
.primary-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none; margin: 0; padding: 0; display: none;
  gap: 2rem;
}
.nav-list a {
  position: relative;
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.4rem 0;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px;
  background: transparent; border: 1px solid var(--color-border);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s 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); }
.nav-list.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.nav-list.is-open li { padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
.nav-list.is-open li:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-list { display: flex !important; flex-direction: row; position: static; padding: 0; background: transparent; box-shadow: none; border: none; }
  .nav-list li { padding: 0; border: none; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(13, 148, 136, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(13, 148, 136, 0.7); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.6);
  border-color: var(--color-border);
  color: var(--color-neutral-dark);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; color: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(249, 115, 22, 0.55); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(249, 115, 22, 0.4); outline-offset: 3px; }

/* === Hero === */
.hero.saas-hero {
  position: relative;
  padding: 4rem 1.25rem 3rem;
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 3rem;
  overflow: hidden;
}
.hero.saas-hero::before {
  content: ''; position: absolute; inset: -20% 30% 40% -20%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.12), transparent 60%);
  z-index: -1; pointer-events: none;
}
.hero.saas-hero::after {
  content: ''; position: absolute; inset: 30% -20% -20% 40%;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.18), transparent 60%);
  z-index: -1; pointer-events: none;
}
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 999px;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 1.25rem 0 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 900px) {
  .hero.saas-hero {
    padding: 6rem 1.5rem 5rem;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

/* === Proof strip === */
.proof-strip {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.proof-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  text-align: center;
}
.proof-strip li { color: var(--color-muted); font-size: 0.95rem; }
.proof-strip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-neutral-dark);
  font-weight: 700;
}
@media (min-width: 700px) {
  .proof-strip ul { grid-template-columns: repeat(4, 1fr); }
}

/* === Sections === */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section.narrow { max-width: 760px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Cards === */
.cards-3, .cards-2 {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(249,115,22,0.12));
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); margin: 0; }

/* === Testimonial === */
.testimonial {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(13,148,136,0.06), rgba(20,184,166,0.08));
  border: 1px solid var(--color-border);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -30% -10% auto auto; width: 60%; height: 200%;
  background: radial-gradient(circle at center, rgba(249,115,22,0.25), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 700px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.cta-address { font-size: 0.98rem; }
.cta-address a { color: var(--color-neutral-light); text-decoration: underline; }
@media (min-width: 900px) { .cta-band { margin: 4rem auto; max-width: 1140px; padding: 4.5rem 2rem; } }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.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.4rem; color: var(--color-primary);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.8rem 0 0; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--color-neutral-dark); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff; color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--color-muted);
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; }
@media (min-width: 700px) {
  .contact-form { grid-template-columns: 1fr 1fr; padding: 2.5rem; }
  .field-full, .form-consent, .contact-form .btn { grid-column: 1 / -1; }
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.85);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.footer-grid h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.4rem; }
.footer-grid a { color: rgba(240, 253, 250, 0.85); }
.footer-grid a:hover { color: var(--color-accent); }
.tagline { color: rgba(240, 253, 250, 0.7); margin-top: 0.5rem; }
.logo-footer img { height: 64px; }
.legal-links { margin-top: 1rem; }
address { font-style: normal; line-height: 1.7; }
.copyright {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 253, 250, 0.12);
  font-size: 0.85rem;
  color: rgba(240, 253, 250, 0.6);
  text-align: center;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

/* === Reveal motion === */
.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.4rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button {
  border: 1px solid rgba(240, 253, 250, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cookie-banner__actions button:hover { transform: translateY(-1px); }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { margin-top: 0.9rem; display: grid; gap: 0.5rem; }
.cookie-banner__prefs label { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }
