/* ============================================================
   ERP DE PERSIANAS — Design System & Styles
   ============================================================ */

/* ----------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Colors — Base */
  --base-warm: #FAF7F2;
  --base-cool: #F3F0EB;
  --white: #FFFFFF;

  /* Colors — Text */
  --charcoal: #1E1C1A;
  --graphite: #3A3632;
  --stone: #78726C;
  --stone-light: #9C9690;

  /* Colors — Borders */
  --border: #E5E0D8;
  --border-strong: #D0C9BF;

  /* Colors — Accent */
  --amber: #C8872C;
  --amber-dark: #A06B1E;
  --amber-light: #FDF3E4;
  --slate: #5B7B8A;
  --slate-light: #E8F0F3;
  --sage: #6B8B7A;
  --sage-light: #EDF4F0;
  --red-oxide: #B8453A;

  /* Typography */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
  --nav-height-mobile: 56px;

  /* Borders & Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(30, 28, 26, 0.04), 0 1px 2px rgba(30, 28, 26, 0.02);
  --shadow-card-hover: 0 4px 24px rgba(30, 28, 26, 0.08);
  --shadow-nav: 0 1px 0 rgba(30, 28, 26, 0.06);
  --shadow-float: 0 8px 32px rgba(30, 28, 26, 0.12);
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--graphite);
  background-color: var(--base-warm);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

::selection {
  background-color: var(--amber);
  color: var(--white);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
.h1, h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.h2, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.625rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--charcoal);
}

.h3, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .h3, h3 {
    font-size: 1.5rem;
  }
}

.body-l {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--graphite);
}

@media (min-width: 768px) {
  .body-l {
    font-size: 1.1875rem;
  }
}

.body-m {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--graphite);
}

@media (min-width: 768px) {
  .body-m {
    font-size: 1rem;
  }
}

.caption {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--stone);
  font-weight: 500;
}

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-3xl);
  }
}

.section {
  padding: var(--space-4xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-5xl) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-4xl);
  }
}

.section-header--left {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: var(--amber-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.section-divider {
  width: 120px;
  height: 1px;
  background: var(--border);
  margin: var(--space-md) auto 0;
}

.section-header--left .section-divider {
  margin-left: 0;
}

/* Grid system */
.grid-2 { display: grid; gap: var(--space-lg); }
.grid-3 { display: grid; gap: var(--space-lg); }
.grid-4 { display: grid; gap: var(--space-lg); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

@media (min-width: 768px) {
  .btn {
    font-size: 1.0625rem;
    padding: 16px 32px;
  }
}

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

.btn--primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 135, 44, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}

.btn--secondary:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--slate);
  padding: 8px 16px;
  border: 1.5px solid transparent;
}

.btn--ghost:hover {
  color: var(--amber-dark);
  border-color: var(--amber);
}

/* WhatsApp-specific button */
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1FB855;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* Icon inside button */
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   6. CARD SYSTEM
   ---------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.card__top-line {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border);
  transition: background var(--duration-base) var(--ease-out);
}

.card:hover .card__top-line {
  background: var(--amber);
}

.card--highlight {
  border-color: var(--amber);
  border-width: 1.5px;
  border-top: 3px solid var(--amber);
}

.card__icon {
  width: 24px;
  height: 24px;
  color: var(--slate);
  margin-bottom: var(--space-md);
  transition: color var(--duration-base) var(--ease-out);
}

.card:hover .card__icon {
  color: var(--amber);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--graphite);
}

/* ----------------------------------------------------------
   7. NAVIGATION
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height-mobile);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all var(--duration-base) var(--ease-out);
  background: transparent;
}

.nav--scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(30, 28, 26, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
  .nav {
    height: var(--nav-height);
  }
  .nav__inner {
    padding: 0 var(--space-2xl);
  }
}

@media (min-width: 1024px) {
  .nav__inner {
    padding: 0 var(--space-3xl);
  }
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.nav__logo span {
  color: var(--amber);
}

.nav__menu {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav__link:hover {
  color: var(--amber-dark);
}

.nav__cta {
  font-size: 0.875rem;
  padding: 8px 16px;
}

@media (min-width: 768px) {
  .nav__menu {
    display: flex;
  }

  .nav__cta {
    font-size: 0.9375rem;
    padding: 10px 24px;
  }
}

/* ----------------------------------------------------------
   8. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height-mobile);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--nav-height);
  }
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  width: 100%;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-3xl);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  order: 2;
}

@media (min-width: 1024px) {
  .hero__content {
    order: 1;
  }
}

.hero__tag {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--slate-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero__headline em {
  font-style: normal;
  color: var(--amber);
}

.hero__sub {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--graphite);
  max-width: 520px;
}

@media (min-width: 768px) {
  .hero__sub {
    font-size: 1.1875rem;
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero__social-proof {
  font-size: 0.8125rem;
  color: var(--stone);
  font-weight: 500;
}

.hero__visual {
  order: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .hero__visual {
    order: 2;
    min-height: 480px;
  }
}

/* Hero visual — abstract layered panels (CSS art) */
.hero-panels {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 320px;
}

@media (min-width: 1024px) {
  .hero-panels {
    height: 440px;
    max-width: 480px;
  }
}

.hero-panel {
  position: absolute;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hero-panel--1 {
  width: 85%;
  height: 85%;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #FDF3E4 0%, #FAF7F2 40%, #F3F0EB 100%);
}

.hero-panel--2 {
  width: 72%;
  height: 68%;
  top: 8%;
  right: 10%;
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF7F2 60%, #E8F0F3 100%);
  border-color: var(--amber);
  border-width: 1.5px;
}

.hero-panel--3 {
  width: 56%;
  height: 48%;
  top: 28%;
  right: 22%;
  background: var(--white);
}

/* Light lines inside panel 3 — blind slats */
.hero-panel--3::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 8px,
    var(--border) 8px,
    var(--border) 9px
  );
  border-radius: var(--radius-sm);
  opacity: 0.5;
}

/* Warm glow accent */
.hero-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 135, 44, 0.12) 0%, transparent 70%);
  top: -20px;
  left: -20px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-glow {
    width: 320px;
    height: 320px;
  }
}

/* ----------------------------------------------------------
   9. PAIN POINTS SECTION (Dor)
   ---------------------------------------------------------- */
.pain-section {
  background: var(--base-cool);
  position: relative;
}

.pain-section::before {
  content: '';
  position: absolute;
  inset: 0;
  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%3Cpath d='M30 0 L30 60 M0 30 L60 30' stroke='%23E5E0D8' stroke-width='0.5' opacity='0.3'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  position: relative;
  transition: all var(--duration-base) var(--ease-out);
}

.pain-card__top-line {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border);
}

.pain-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.pain-card:hover .pain-card__top-line {
  background: var(--red-oxide);
}

.pain-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.pain-card__text {
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   10. SOLUTION SECTION
   ---------------------------------------------------------- */
.solution-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.flow-step {
  flex: 0 0 auto;
  width: 140px;
  text-align: center;
  position: relative;
}

.flow-step__node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--amber);
  position: relative;
  z-index: 2;
}

.flow-step__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
}

.flow-connector {
  display: none;
}

@media (min-width: 768px) {
  .flow-connector {
    display: block;
    flex: 0 0 40px;
    height: 2px;
    background: var(--border-strong);
    margin-top: 28px;
  }
}

/* ----------------------------------------------------------
   11. MODULES SECTION
   ---------------------------------------------------------- */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--duration-base) var(--ease-out);
}

.module-card__top-line {
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--border);
  transition: background var(--duration-base) var(--ease-out);
}

.module-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.module-card:hover .module-card__top-line {
  background: var(--amber);
}

.module-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.module-card__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.module-card__bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--graphite);
  line-height: 1.5;
}

.module-card__bullet::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   12. TIMELINE / FLOW SECTION
   ---------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 0;
  }
}

/* Vertical line (mobile) */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong);
}

@media (min-width: 768px) {
  .timeline::before {
    display: none;
  }
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .timeline__item {
    flex: 1;
    padding-bottom: 0;
    padding-top: 80px;
    text-align: center;
    position: relative;
  }
}

.timeline__item:last-child {
  padding-bottom: 0;
}

/* Dot on timeline */
.timeline__item::after {
  content: '';
  position: absolute;
  left: -25px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--amber-light);
  box-shadow: 0 0 0 4px var(--base-cool);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline__item::after {
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    box-shadow: 0 0 0 6px var(--base-warm);
    width: 14px;
    height: 14px;
  }
}

/* Horizontal line connecting dots */
@media (min-width: 768px) {
  .timeline__item::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-strong);
    z-index: 1;
  }

  .timeline__item:first-child::before {
    left: 50%;
  }

  .timeline__item:last-child::before {
    right: 50%;
  }
}

.timeline__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--amber);
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.timeline__desc {
  font-size: 0.8125rem;
  color: var(--graphite);
  line-height: 1.5;
  max-width: 260px;
}

@media (min-width: 768px) {
  .timeline__desc {
    margin: 0 auto;
  }
}

/* ----------------------------------------------------------
   13. PORTAL SECTION (Highest visual impact)
   ---------------------------------------------------------- */
.portal-section {
  background: var(--base-cool);
  position: relative;
  overflow: hidden;
}

.portal-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 135, 44, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

.portal__content {
  position: relative;
  z-index: 1;
}

.portal__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: var(--amber-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.portal__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

.portal__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.portal__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.portal__feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 2px;
}

.portal__feature-text {
  font-size: 0.9375rem;
  color: var(--graphite);
  line-height: 1.5;
}

.portal__feature-text strong {
  color: var(--charcoal);
  font-weight: 600;
}

/* Phone mockup */
.portal__mockup {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------
   14.5 OWNER / DAILY FINANCIAL HEALTH
   ---------------------------------------------------------- */
.owner-section {
  background: linear-gradient(180deg, var(--base-cool) 0%, var(--base-warm) 100%);
}

.owner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .owner-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
  }
}

.owner-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.owner-content__text {
  max-width: 640px;
}

.owner-points {
  display: grid;
  gap: var(--space-md);
}

.owner-point {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-xs);
  box-shadow: var(--shadow-card);
}

.owner-point strong {
  color: var(--charcoal);
  font-size: 1rem;
}

.owner-point span {
  color: var(--graphite);
  font-size: 0.9375rem;
}

.owner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .owner-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

.owner-visual {
  display: flex;
  justify-content: center;
}

.owner-report {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--space-xl);
  box-shadow: var(--shadow-card-hover);
}

.owner-report__header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.owner-report__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.owner-report__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--charcoal);
}

.owner-report__badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--amber-light);
  color: var(--amber-dark);
  font-size: 0.8125rem;
  font-weight: 700;
}

.owner-report__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

@media (max-width: 639px) {
  .owner-report__cards {
    grid-template-columns: 1fr;
  }
}

.owner-report__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  background: var(--base-warm);
}

.owner-report__card span {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone);
  margin-bottom: 6px;
}

.owner-report__card strong {
  font-size: 1.125rem;
  color: var(--charcoal);
}

.owner-report__card--highlight {
  background: var(--amber-light);
  border-color: rgba(200, 135, 44, 0.32);
}

.owner-report__list {
  display: grid;
  gap: 12px;
}

.owner-report__item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.owner-report__item:first-child {
  border-top: none;
  padding-top: 0;
}

.owner-report__item span {
  color: var(--stone);
  font-size: 0.875rem;
}

.owner-report__item strong {
  color: var(--charcoal);
  font-size: 0.9375rem;
  text-align: right;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: var(--charcoal);
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-float);
}

.phone-frame__screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-frame__header {
  background: var(--amber);
  padding: 16px 16px 12px;
  color: var(--white);
}

.phone-frame__header-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.phone-frame__header-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 2px;
}

.phone-frame__body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone-frame__order {
  background: var(--base-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-frame__order-id {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal);
}

.phone-frame__order-status {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 100px;
}

.phone-frame__order-status--production {
  background: var(--amber-light);
  color: var(--amber-dark);
}

.phone-frame__order-status--ready {
  background: var(--sage-light);
  color: var(--sage);
}

.phone-frame__order-date {
  font-size: 0.6875rem;
  color: var(--stone);
  margin-top: 2px;
}

.phone-frame__order-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--charcoal);
}

.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100px;
}

@media (min-width: 768px) {
  .phone-frame {
    width: 280px;
    height: 560px;
  }
}

/* ----------------------------------------------------------
   14. DIFFERENTIATORS SECTION
   ---------------------------------------------------------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

.diff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 2px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
}

.diff-card:hover {
  border-left-color: var(--amber);
  box-shadow: var(--shadow-card-hover);
}

.diff-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.diff-card__title strong {
  color: var(--amber);
  font-weight: 500;
}

.diff-card__text {
  font-size: 0.9375rem;
  color: var(--graphite);
  line-height: 1.55;
}

/* ----------------------------------------------------------
   15. CONVERSION SECTION
   ---------------------------------------------------------- */
.conversion-section {
  background: var(--base-cool);
}

.conversion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .conversion-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form__input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  transition: all var(--duration-fast) var(--ease-out);
}

.form__input::placeholder {
  color: var(--stone-light);
}

.form__input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 135, 44, 0.08);
}

.form__submit {
  width: 100%;
}

.form__alternative {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone);
  margin-top: var(--space-sm);
}

.form__alternative a {
  color: var(--amber);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__alternative a:hover {
  color: var(--amber-dark);
}

.form__feedback {
  min-height: 22px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--amber-dark);
}

.form__trust {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--stone);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.form__trust svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
}

/* Social proof */
.social-proof {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--amber);
}

.testimonial__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--stone);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.stat {
  text-align: left;
}

.stat__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--stone);
  margin-top: var(--space-xs);
}

/* ----------------------------------------------------------
   16. FAQ SECTION
   ---------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-item__trigger:hover {
  color: var(--amber);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--stone);
  transition: all var(--duration-base) var(--ease-out);
}

.faq-item--open .faq-item__icon {
  transform: rotate(45deg);
  color: var(--amber);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-in-out);
}

.faq-item--open .faq-item__content {
  max-height: 400px;
}

.faq-item__answer {
  padding-bottom: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--graphite);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--stone-light);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--stone);
}

.footer__brand-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(200, 135, 44, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
}

.footer__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.875rem;
  color: var(--stone);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--stone);
}

/* ----------------------------------------------------------
   18. WHATSAPP FLOATING BUTTON
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all var(--duration-base) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Mobile bar (shows when scrolled past hero) */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px var(--space-lg);
    box-shadow: 0 -1px 0 var(--border), 0 -4px 20px rgba(30, 28, 26, 0.06);
    z-index: 998;
    transform: translateY(100%);
    transition: transform var(--duration-base) var(--ease-out);
  }

  .mobile-cta-bar--visible {
    transform: translateY(0);
  }

  .mobile-cta-bar .btn {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 80px;
  }
}

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

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

.reveal--delay-1 { transition-delay: 0.05s; }
.reveal--delay-2 { transition-delay: 0.1s; }
.reveal--delay-3 { transition-delay: 0.15s; }
.reveal--delay-4 { transition-delay: 0.2s; }
.reveal--delay-5 { transition-delay: 0.25s; }
.reveal--delay-6 { transition-delay: 0.3s; }

/* Fade in only */
.fade-in {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.fade-in--visible {
  opacity: 1;
}

/* Hero panels animation */
@keyframes panelFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.hero-panel--1 {
  animation: panelFloat 6s ease-in-out infinite;
}

.hero-panel--2 {
  animation: panelFloat 6s ease-in-out 1s infinite;
}

.hero-panel--3 {
  animation: panelFloat 6s ease-in-out 2s infinite;
}

/* Pulse dot for timeline */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 135, 44, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(200, 135, 44, 0); }
}

.timeline__item:first-child::after {
  animation: pulse 2s ease-in-out infinite;
}

/* ----------------------------------------------------------
   20. RESPONSIVE ADJUSTMENTS
   ---------------------------------------------------------- */
@media (max-width: 479px) {
  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-panels {
    height: 240px;
    max-width: 320px;
  }

  .stats {
    justify-content: center;
  }

  .stat {
    text-align: center;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .hero-panels {
    height: 280px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-panels {
    height: 360px;
    max-width: 400px;
  }
}

/* ----------------------------------------------------------
   21. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
  .nav,
  .whatsapp-float,
  .mobile-cta-bar {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
}
