@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-alt: #F2F0EC;
  --navy: #1C2B4A;
  --navy-light: #2E4170;
  --terra: #C4622D;
  --terra-light: #D4764A;
  --text: #1C2B4A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E0D8;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 72px;
  --container: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 64px;
}


/* ── Reset ── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}


/* ── Container ── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

h1 em, h2 em, h3 em {
  font-style: italic;
}

p {
  color: var(--text-muted);
  max-width: 620px;
}

p + p {
  margin-top: 1em;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}


/* ── Section Tag ── */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terra);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--terra);
}


/* ── Navbar ── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.navbar-logo span {
  font-weight: 400;
  color: var(--terra);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--navy);
}

.navbar-cta {
  flex-shrink: 0;
}

.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 26px;
  cursor: pointer;
}

.navbar-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--navy);
}


/* ── Sections ── */

section, .section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255,255,255,0.7);
}

.section-navy .section-tag {
  color: rgba(255,255,255,0.5);
}

.section-navy .section-tag::before {
  background: rgba(255,255,255,0.3);
}


/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  max-width: 780px;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}


/* ── Buttons ── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--terra);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: var(--terra-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--navy);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: none;
  border: none;
  color: var(--terra);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: gap 0.25s ease;
}

.btn-ghost::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.25s ease;
}

.btn-ghost:hover {
  gap: 12px;
}

.btn-ghost:hover::after {
  transform: translateX(2px);
}


/* ── Cards ── */

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 36px;
  border-radius: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: var(--terra);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card-number {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--navy);
}

.card-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ── Grids ── */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}


/* ── Highlight Block ── */

.highlight-block {
  background: var(--bg-alt);
  border-left: 3px solid var(--terra);
  padding: 32px 36px;
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--navy);
  max-width: 700px;
}


/* ── Problem List ── */

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--terra);
  margin-top: 2px;
}


/* ── Steps ── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.step-item {
  padding: 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.25;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}


/* ── Gallery ── */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item.full-width {
  grid-column: 1 / -1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(28,43,74,0.8), transparent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}


/* ── Numbers Table ── */

.numbers-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.numbers-block {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
}

.numbers-block-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terra);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.numbers-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-alt);
  gap: 16px;
}

.numbers-row:last-child {
  border-bottom: none;
}

.numbers-label {
  font-size: 14px;
  color: var(--text-muted);
}

.numbers-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.numbers-row.total {
  border-top: 2px solid var(--navy);
  border-bottom: none;
  padding-top: 14px;
  margin-top: 4px;
}

.numbers-row.total .numbers-label {
  font-weight: 500;
  color: var(--navy);
}

.numbers-row.total .numbers-value {
  font-size: 18px;
  font-weight: 700;
}

.numbers-row.result .numbers-value {
  color: var(--terra);
  font-size: 20px;
  font-weight: 700;
}


/* ── Comparison Table ── */

.compare-table {
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding-bottom: 16px;
}

.compare-table thead th.compare-highlight {
  color: var(--terra);
}

.compare-table tbody td {
  color: var(--text-muted);
}

.compare-table tbody td:first-child {
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}

.compare-table td.compare-highlight {
  color: var(--navy);
}

.compare-table td.compare-highlight strong {
  font-weight: 500;
}

@media (max-width: 768px) {
  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .compare-table tbody td:first-child {
    white-space: normal;
  }
}


/* ── FAQ Accordion ── */

.faq-list {
  max-width: 780px;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--navy);
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--terra);
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--terra);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 24px;
  max-width: 660px;
}


/* ── Footer ── */

.footer {
  background: var(--navy);
  padding: 80px 0 40px;
  color: var(--white);
  border-top: 3px solid var(--terra);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand span {
  font-weight: 400;
  color: var(--terra-light);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--terra-light);
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}


/* ── WhatsApp Float ── */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(196,98,45,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196,98,45,0.4);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}


/* ── Animations ── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }


/* ── Responsive — 1024px ── */

@media (max-width: 1024px) {
  :root {
    --section-pad: 88px;
  }

  .grid-3,
  .numbers-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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


/* ── Responsive — 768px ── */

@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  .container {
    padding: 0 20px;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

  .hero .container {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-scroll {
    display: none;
  }

  .grid-2,
  .grid-3,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .card {
    padding: 32px 24px;
  }

  .highlight-block {
    padding: 24px 28px;
  }

  .numbers-block {
    padding: 28px 24px;
  }

  .faq-question {
    padding: 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

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


/* ── Selection ── */

::selection {
  background: rgba(196,98,45,0.15);
  color: var(--navy);
}
