:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #16202a;
  --muted: #5d6875;
  --line: #dbe3ea;
  --teal: #0b9f9a;
  --teal-dark: #047873;
  --blue: #2878d4;
  --coral: #ef6c5b;
  --gold: #c9972e;
  --charcoal: #243140;
  --shadow: 0 18px 50px rgba(20, 32, 44, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 18px rgba(22, 32, 42, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 0.55rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 18, 28, 0.82) 0%, rgba(9, 18, 28, 0.58) 36%, rgba(9, 18, 28, 0.12) 76%),
    linear-gradient(0deg, rgba(9, 18, 28, 0.58) 0%, rgba(9, 18, 28, 0) 30%);
}

.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0 3.5rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7af0e8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(2.5rem, 5.2vw, 4.85rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.78rem 1.05rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 159, 154, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.intro-band {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.section-grid,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-grid p,
.split-band p,
.api-panel p,
.contact-band p,
.product-card p,
.product-card li,
.service-item p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-item {
  min-height: 18rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
    linear-gradient(135deg, rgba(11, 159, 154, 0.16), rgba(239, 108, 91, 0.12));
  box-shadow: 0 10px 34px rgba(20, 32, 44, 0.06);
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-item p {
  margin: 0.8rem 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.api-panel,
.feature-list article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(20, 32, 44, 0.07);
}

.product-card {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  padding: 1.25rem;
  border-top: 4px solid var(--teal);
}

.product-card.accent-coral {
  border-top-color: var(--coral);
}

.product-card.accent-blue {
  border-top-color: var(--blue);
}

.product-card.accent-ink {
  border-top-color: var(--charcoal);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  font-weight: 760;
}

.product-topline a {
  color: var(--muted);
  text-decoration: none;
}

.product-topline a:hover,
.product-topline a:focus {
  color: var(--ink);
  text-decoration: underline;
}

.product-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: #e8f6f5;
  color: var(--teal-dark);
  font-weight: 900;
}

.accent-coral .product-icon {
  background: #fff0ed;
  color: #b9493b;
}

.accent-blue .product-icon {
  background: #eaf3ff;
  color: #1f67b6;
}

.accent-ink .product-icon {
  background: #edf0f3;
  color: var(--charcoal);
}

.product-card p {
  margin: 0.8rem 0 1rem;
}

.product-card ul {
  margin: auto 0 0;
  padding-left: 1.1rem;
}

.product-card li + li {
  margin-top: 0.55rem;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus {
  text-decoration: underline;
}

.split-band {
  width: min(100%, 1120px);
  background: #eef6f7;
  border-top: 1px solid #cfe5e4;
  border-bottom: 1px solid #cfe5e4;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list article {
  padding: 1.25rem;
}

.feature-list p {
  margin: 0.55rem 0 0;
}

.api-section {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.api-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.api-panel {
  padding: 1.35rem;
}

.api-panel p {
  margin: 0.75rem 0 1rem;
}

.text-link,
.contact-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-link {
  overflow-wrap: anywhere;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.business-address {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.contact-band .button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  text-decoration: underline;
}

.fineprint {
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(980px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.cookie-copy strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-copy a {
  color: var(--teal-dark);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 6.25rem;
  z-index: 29;
  display: inline-flex;
  width: 2.55rem;
  height: 2.55rem;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: #25d366;
  color: #102018;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.25);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-1px);
}

.has-cookie-banner .whatsapp-float {
  display: none;
}

.page-shell {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.page-shell h1 {
  max-width: 780px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.page-shell h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.page-shell p,
.page-shell li {
  color: var(--muted);
}

.page-shell .lead {
  max-width: 760px;
  margin-top: 1.2rem;
  font-size: 1.12rem;
}

.page-card {
  margin-top: 2rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .services-grid,
  .product-grid,
  .api-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .split-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    margin-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: 0 14px 20px rgba(22, 32, 42, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.8rem 0;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 18, 28, 0.86), rgba(9, 18, 28, 0.48)),
      linear-gradient(0deg, rgba(9, 18, 28, 0.68), rgba(9, 18, 28, 0.04) 52%);
  }

  .hero-inner {
    padding-bottom: 3rem;
  }

  .services-grid,
  .product-grid,
  .api-layout {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .product-card {
    min-height: auto;
  }

  .button {
    width: 100%;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 8.5rem;
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    font-size: 0.74rem;
  }
}
