/* ─── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg: #f6fbfa;
  --surface: #ffffff;
  --text: #173a36;
  --text-muted: #5c7a76;
  --accent: #4fa89a;
  --accent-strong: #2e7f73;
  --line: #cfe2de;
  --line-strong: #b8d5cf;
  --shadow-sm: 0 8px 24px rgba(21, 53, 49, 0.07);
  --shadow: 0 20px 48px rgba(21, 53, 49, 0.1);
  --shadow-lg: 0 32px 64px rgba(21, 53, 49, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1160px, calc(100% - 48px));
}

/* ─── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; padding: 0; }

/* ─── PAGE BG ─────────────────────────────────────────────────────── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 168, 154, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 96% 12%, rgba(37, 112, 100, 0.1) 0%, transparent 36%),
    radial-gradient(circle at 50% 80%, rgba(79, 168, 154, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f4faf8 0%, #f8fcfb 60%, #f6fbfa 100%);
}

/* ─── CONTAINER ───────────────────────────────────────────────────── */
.container {
  width: var(--container);
  margin: 0 auto;
}

/* ─── HEADER ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(246, 251, 250, 0.9);
  border-bottom: 1px solid rgba(184, 213, 207, 0.5);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: -0.015em;
  line-height: 1;
}

.brand-iris { color: #1c2f2c; }
.brand-vet  { color: var(--accent); }

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid #1f7367; outline-offset: 3px; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--accent) 0%, #67b6aa 100%);
  color: #08332d;
  box-shadow: 0 8px 20px rgba(79, 168, 154, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(79, 168, 154, 0.38);
}

.btn-sm  { padding: 10px 20px; font-size: 0.9rem; }
.btn-md  { padding: 13px 22px; font-size: 0.97rem; }
.btn-lg  { padding: 15px 28px; font-size: 1.05rem; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.09;
  max-width: 14ch;
}

.subtitle {
  margin-top: 22px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 48ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.small-note {
  margin-top: 14px;
  color: #7a9e99;
  font-size: 0.88rem;
}

/* ─── CAROUSEL ────────────────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.carousel-track {
  position: relative;
  /* height driven by the tallest slide, all positioned absolute */
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

/* first slide defines the natural height */
.carousel-slide:first-child {
  position: relative;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(79, 168, 154, 0.35);
  transition: background 300ms ease, width 300ms ease;
}

.dot.active {
  background: var(--accent-strong);
  width: 22px;
}

/* ─── SECTION BASE ────────────────────────────────────────────────── */
.section {
  padding: 88px 0;
}

.section h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.16;
  max-width: 22ch;
  margin: 16px 0 16px;
}

/* ─── FEATURE BADGE ───────────────────────────────────────────────── */
.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 168, 154, 0.12);
  border: 1px solid rgba(79, 168, 154, 0.28);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-badge-whatsapp {
  background: rgba(37, 179, 90, 0.1);
  border-color: rgba(37, 179, 90, 0.28);
  color: #1a7a3d;
}

.badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── FEATURE ROW ─────────────────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }

.feature-text { max-width: 500px; }

.feature-text p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 44ch;
}

.feature-list {
  margin: 22px 0 28px;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(79, 168, 154, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232e7f73' d='M13.5 4.5L6.5 11.5 2.5 7.5' stroke='%232e7f73' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* ─── SECTION ALT BG ──────────────────────────────────────────────── */
.section-feature-alt {
  background: linear-gradient(180deg, rgba(240, 250, 247, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
}

/* ─── FEATURE VISUALS: OVERLAY (desktop images) ───────────────────── */
.feature-visuals-overlay {
  position: relative;
  /* extra space for floating card */
  padding-bottom: 48px;
  padding-right: 16px;
}

.image-real {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-main {
  position: relative;
  z-index: 1;
}

.image-float {
  position: absolute;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.image-float-br {
  bottom: 0;
  right: -16px;
  width: 58%;
}

.image-float-tl {
  top: -20px;
  left: -16px;
  width: 52%;
}

/* ─── FEATURE VISUALS: MOBILE PAIR ───────────────────────────────── */
.feature-visuals-mobile-pair {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0 20px;
  min-height: 480px;
}

.image-mobile-screen {
  width: 52%;
  max-width: 240px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.image-mobile-float {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 2;
  width: 48%;
  max-width: 220px;
  box-shadow: var(--shadow-lg);
}

/* ─── PLATFORM SECTION ────────────────────────────────────────────── */
.section-platform {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(240,250,247,0.5) 100%);
}

.platform-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}

.platform-header h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: none;
  margin: 0 0 14px;
}

.platform-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.platform-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.platform-visuals {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.image-platform-desktop {
  flex: 1;
  min-width: 0;
}

.image-platform-mobile {
  width: 220px;
  flex-shrink: 0;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
}

/* ─── FINAL CTA ───────────────────────────────────────────────────── */
.section-final-cta {
  padding-bottom: 100px;
}

.cta-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(239, 249, 246, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow);
  padding: clamp(36px, 5.5vw, 64px);
  text-align: center;
}

.cta-eyebrow {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-card h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 20ch;
  margin: 0 auto 16px;
}

.cta-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

.cta-card .hero-cta {
  justify-content: center;
  margin-top: 30px;
}

.cta-card .small-note {
  text-align: center;
}

/* ─── RESPONSIVE: TABLET ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 { max-width: none; }
  .subtitle { max-width: none; }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row-reverse { direction: ltr; }

  .feature-text { max-width: none; }
  .feature-text p { max-width: none; }
  .section h2 { max-width: none; }

  .feature-visuals-overlay {
    padding-bottom: 32px;
    padding-right: 8px;
  }

  .image-float-br { right: -8px; }
  .image-float-tl { left: -8px; }

  .platform-visuals {
    flex-direction: column;
    align-items: center;
  }

  .image-platform-mobile {
    width: 280px;
    margin-top: 0;
  }
}

/* ─── RESPONSIVE: MOBILE ──────────────────────────────────────────── */
@media (max-width: 720px) {
  :root {
    --container: min(1160px, calc(100% - 28px));
  }

  .site-header { position: static; }

  .nav-wrap {
    min-height: 64px;
    justify-content: space-between;
  }

  .hero { padding: 48px 0 52px; }
  .section { padding: 64px 0; }

  h1 { font-size: 2rem; }

  .btn { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }

  .feature-row { gap: 32px; }

  .feature-visuals-overlay {
    padding-bottom: 40%;
    padding-right: 0;
  }

  .image-float-br {
    right: 0;
    width: 55%;
  }

  .feature-visuals-mobile-pair {
    min-height: 380px;
    padding: 12px 0;
  }

  .image-mobile-screen {
    width: 54%;
    max-width: none;
  }

  .image-mobile-float {
    width: 50%;
    max-width: none;
    right: 0;
    top: 32px;
  }

  .platform-visuals { gap: 16px; }

  .image-platform-mobile {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-card { text-align: left; }
  .cta-card h2 { margin: 0 0 16px; }
  .cta-card p { margin: 0; }
  .cta-card .hero-cta { justify-content: flex-start; }
  .cta-card .small-note { text-align: left; }
}
