/* ═══════════════════════════════════════════
   RIVRO — Styles
   Modern CSS: Custom Props, BEM, Nesting-ready
   ═══════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg: #fafafa;
  --color-bg-soft: #f3f3f3;
  --color-text: #111111;
  --color-text-mid: #555555;
  --color-text-light: #999999;
  --color-border: #e8e8e8;

  --color-orange: #ff6b1a;
  --color-orange-light: #fff4ed;
  --color-yellow: #f5c800;
  --color-blue: #00b4d8;
  --color-whatsapp: #25D366;
  --color-whatsapp-bg: #e7fce6;
  --color-whatsapp-dark: #075e54;

  --gradient-brand: linear-gradient(135deg, #ff6b1a, #ffaa33);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-phone: 0 40px 100px rgba(0, 0, 0, 0.10), 0 8px 30px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --radius-phone: 40px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
}


/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-body);
  background: var(--color-white);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }


/* ─── Utility Classes ─── */
.text--orange { color: var(--color-orange); }
.text--green { color: var(--color-whatsapp-dark); }
.text--green-light { color: var(--color-whatsapp); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.8rem;
}

.section-header {
  text-align: center;
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--color-text-mid);
  font-size: 1rem;
  line-height: 1.65;
}


/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem var(--space-lg);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  font-weight: 600;
}

.btn--ghost:hover {
  border-color: var(--color-text);
  background: var(--color-bg);
}

.btn--lg {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}


/* ═══════════════════════════
   NAVBAR
   ═══════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-normal) var(--ease-smooth);
}

.navbar--scrolled {
  border-bottom-color: var(--color-border);
}

.navbar__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
}

.navbar__links {
  display: flex;
  gap: 2.5rem;
}

.navbar__links a {
  color: var(--color-text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--duration-normal);
}

.navbar__links a:hover {
  color: var(--color-text);
}

.navbar__cta {
  padding: 0.55rem 1.5rem;
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--duration-normal);
}

.navbar__cta:hover {
  background: var(--color-orange);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.navbar__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.navbar__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration-normal);
}

.navbar__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__links {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu__links a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--duration-normal);
}

.mobile-menu__links a:hover {
  color: var(--color-orange);
}

.mobile-menu__cta {
  background: var(--color-whatsapp);
  color: var(--color-white) !important;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1.1rem !important;
}


/* ═══════════════════════════
   HERO
   ═══════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem var(--space-lg) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.35;
}

.hero__orb--1 {
  width: 550px;
  height: 550px;
  background: #ffe0c4;
  top: -12%;
  right: -8%;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: #c4f0e0;
  bottom: 0;
  left: -10%;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1100px;
  width: 100%;
}

.hero__text {
  flex: 1;
  min-width: 0;
}

/* Pill */
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.35rem 1rem;
  background: var(--color-whatsapp-bg);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-whatsapp-dark);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.2s;
}

.hero__pulse {
  width: 8px;
  height: 8px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  position: relative;
}

.hero__pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--color-whatsapp);
  animation: ping 2s ease-in-out infinite;
}

/* Title */
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: lineReveal 0.8s var(--ease-out) forwards;
}

.hero__line:nth-child(1) .hero__line-inner { animation-delay: 0.35s; }
.hero__line:nth-child(2) .hero__line-inner { animation-delay: 0.5s; }
.hero__line:nth-child(3) .hero__line-inner { animation-delay: 0.65s; }

/* Subtitle */
.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text-mid);
  line-height: 1.7;
  max-width: 440px;
  margin: 1.5rem 0 var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.85s;
}

.hero__buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1s;
}

.hero__phone {
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}


/* ═══════════════════════════
   PHONE MOCKUP
   ═══════════════════════════ */
.phone {
  width: 310px;
  background: var(--color-white);
  border-radius: var(--radius-phone);
  padding: 10px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-phone);
}

.phone__top {
  display: flex;
  justify-content: center;
  padding: 6px 0 8px;
}

.phone__island {
  width: 95px;
  height: 26px;
  background: var(--color-text);
  border-radius: 20px;
}

.phone__body {
  background: #efeae2;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

/* WhatsApp Header */
.wa-header {
  background: var(--color-whatsapp-dark);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  flex-shrink: 0;
}

.wa-header__back {
  font-size: 1.1rem;
  opacity: 0.7;
}

.wa-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
}

.wa-header__name {
  font-size: 0.85rem;
  font-weight: 600;
}

.wa-header__status {
  font-size: 0.6rem;
  opacity: 0.7;
}

/* Chat area */
.wa-chat {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23d4ccba' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-chat::-webkit-scrollbar { width: 3px; }
.wa-chat::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); border-radius: 3px; }

/* Input bar */
.wa-input {
  background: #f0f0f0;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wa-input__field {
  flex: 1;
  background: var(--color-white);
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-family: var(--font-body);
}

.wa-input__send {
  width: 32px;
  height: 32px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.8rem;
}

/* ─── Chat Messages ─── */
.msg {
  max-width: 84%;
  padding: 7px 10px 3px;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.msg.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.msg--out {
  background: #d9fdd3;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.msg--in {
  background: var(--color-white);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.msg__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.msg__time { font-size: 0.52rem; color: var(--color-text-light); }
.msg__check { font-size: 0.58rem; color: #53bdeb; }

/* Divider */
.msg-divider {
  align-self: center;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin: 8px 0;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
}

.msg-divider.show {
  opacity: 1;
  transform: scale(1);
}

/* Location card */
.loc-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 4px;
}

.loc-card__map {
  width: 100%;
  height: 70px;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7 50%, #81c784);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  position: relative;
}

.loc-card__map::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 16px, rgba(255, 255, 255, 0.3) 16px, rgba(255, 255, 255, 0.3) 17px),
    repeating-linear-gradient(90deg, transparent, transparent 16px, rgba(255, 255, 255, 0.3) 16px, rgba(255, 255, 255, 0.3) 17px);
}

.loc-card__text {
  padding: 6px 8px;
  font-size: 0.62rem;
  color: var(--color-text-mid);
  background: #e8f5e9;
}

.loc-card__text strong {
  color: var(--color-text);
}

/* QR Code / Pix card */
.pix-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  border: 1px solid var(--color-border);
  margin-top: 6px;
}

.pix-card__title {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 5px;
}

.pix-card__qr {
  width: 80px;
  height: 80px;
  margin: 0 auto 5px;
  background: var(--color-white);
  border: 2px solid var(--color-text);
  border-radius: 5px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  padding: 3px;
  gap: 1px;
}

.qc { border-radius: 1px; }
.qc--b { background: var(--color-text); }
.qc--w { background: var(--color-white); }

.pix-card__value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-whatsapp-dark);
}

/* Success message */
.msg--success {
  background: #d9fdd3;
  border: 1px solid rgba(37, 211, 102, 0.25);
  text-align: center;
  align-self: center;
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 10px;
}

.msg--success__icon { font-size: 1.1rem; margin-bottom: 1px; }
.msg--success__title { font-weight: 700; font-size: 0.72rem; color: var(--color-whatsapp-dark); }
.msg--success__sub { font-size: 0.6rem; color: var(--color-text-mid); }

/* Typing indicator */
.typing {
  align-self: flex-start;
  background: var(--color-white);
  padding: 10px 14px;
  border-radius: 10px;
  border-bottom-left-radius: 3px;
  display: flex;
  gap: 4px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-normal), transform var(--duration-normal);
  box-shadow: var(--shadow-sm);
}

.typing.show {
  opacity: 1;
  transform: translateY(0);
}

.typing__dot {
  width: 5px;
  height: 5px;
  background: var(--color-text-light);
  border-radius: 50%;
  animation: typeBounce 1.2s ease-in-out infinite;
}

.typing__dot:nth-child(2) { animation-delay: 0.15s; }
.typing__dot:nth-child(3) { animation-delay: 0.3s; }


/* ═══════════════════════════
   STEPS
   ═══════════════════════════ */
.steps {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-bg);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.steps__card {
  text-align: center;
  padding: var(--space-lg) 1.5rem;
}

.steps__num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
}

.steps__num--orange { background: var(--color-orange); }
.steps__num--blue { background: var(--color-blue); }
.steps__num--green { background: var(--color-whatsapp); }

.steps__card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.steps__card p {
  color: var(--color-text-mid);
  font-size: 0.88rem;
  line-height: 1.6;
}


/* ═══════════════════════════
   AUDIENCE
   ═══════════════════════════ */
.audience {
  padding: var(--space-3xl) var(--space-lg);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.audience__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) 1.5rem;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal),
              border-color var(--duration-normal);
}

.audience__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}

.audience__emoji {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  display: block;
}

.audience__card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.audience__card p {
  color: var(--color-text-mid);
  font-size: 0.85rem;
  line-height: 1.6;
}


/* ═══════════════════════════
   ADVANTAGES
   ═══════════════════════════ */
.advantages {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--color-bg);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.advantages__card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) 1.5rem;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal);
}

.advantages__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.advantages__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.advantages__card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.advantages__card p {
  color: var(--color-text-mid);
  font-size: 0.84rem;
  line-height: 1.6;
}


/* ═══════════════════════════
   CTA
   ═══════════════════════════ */
.cta {
  padding: var(--space-3xl) var(--space-lg);
}

.cta__box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-text);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.cta__box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.2), transparent 70%);
  pointer-events: none;
}

.cta__box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.15), transparent 70%);
  pointer-events: none;
}

.cta__box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.cta__box p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
}

.cta__box .btn {
  position: relative;
  z-index: 2;
}


/* ═══════════════════════════
   FOOTER
   ═══════════════════════════ */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg) 1.5rem;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer__brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.footer__desc {
  color: var(--color-text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.footer__col a {
  display: block;
  color: var(--color-text-light);
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
  transition: color var(--duration-normal);
}

.footer__col a:hover {
  color: var(--color-text);
}

.footer__bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-light);
}


/* ═══════════════════════════
   ANIMATIONS
   ═══════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ping {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.8); opacity: 0; }
}

@keyframes typeBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) ease, transform var(--duration-slow) ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */
@media (max-width: 960px) {
  .navbar { padding: 0.8rem 1.5rem; }
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__mobile-toggle { display: flex; }

  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }

  .hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .phone { width: 280px; }
  .phone__body { height: 500px; }

  .audience__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .cta__box {
    padding: var(--space-xl) 1.5rem;
  }
}

/* ─── Prefers Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__line-inner {
    opacity: 1;
    transform: none;
  }

  .hero__pill,
  .hero__sub,
  .hero__buttons,
  .hero__phone {
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
</style>
