:root {
  --burgundy: #5a1827;
  --burgundy-deep: #3f0d18;
  --warm-white: #f8f4ef;
  --paper: #fffdf9;
  --charcoal: #1e1b1c;
  --charcoal-soft: #3b3537;
  --green-accent: #6f816a;
  --line: #d6cbc4;
  --shadow-soft: 0 10px 24px rgba(63, 13, 24, 0.12);
  --shadow-strong: 0 14px 38px rgba(28, 18, 20, 0.18);
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --content-max: 72rem;
  --spacing: clamp(1rem, 3vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Trebuchet MS", "Helvetica Neue", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(120% 75% at 10% -10%, rgba(90, 24, 39, 0.08), transparent 60%),
    linear-gradient(180deg, var(--warm-white) 0%, var(--paper) 40%, #ffffff 100%);
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-accent);
  outline-offset: 3px;
}

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

main {
  overflow: clip;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--content-max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 9vw, 6rem) 0;
}

.hero-copy,
.about-copy,
.section-head,
.card,
.step,
.benefits-list li,
.faq-list details,
.cta-box,
.footer-grid,
.footer-bottom {
  text-align: center;
}

.eyebrow {
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.04rem, 2.6vw, 1.24rem);
  color: var(--charcoal-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 999;
  background: var(--paper);
  color: var(--charcoal);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 244, 239, 0.95);
  border-bottom: 1px solid rgba(90, 24, 39, 0.12);
  backdrop-filter: blur(7px);
}

.header-inner {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(30, 27, 28, 0.16);
}

.brand-text {
  font-size: clamp(0.8rem, 2.3vw, 0.95rem);
  font-weight: 700;
  color: var(--charcoal);
}

.desktop-nav {
  display: none;
}

.desktop-nav a,
.footer-nav a,
.footer-cta a,
.mobile-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(90, 24, 39, 0.2);
  background: var(--paper);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding-inline: 0.55rem;
  cursor: pointer;
}

.menu-line {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--burgundy-deep);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  padding: 0.55rem 1rem 1.25rem;
  border-top: 1px solid rgba(90, 24, 39, 0.12);
  background: var(--paper);
}

.mobile-nav a {
  font-size: 1rem;
  padding: 0.2rem 0;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav .btn {
  margin-top: 0.35rem;
  width: fit-content;
}

.header-ctas {
  display: none;
}

.header-cta {
  border-radius: 999px;
}

.hero {
  padding-top: clamp(2.5rem, 7vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 7.4vw, 3.4rem);
  margin-bottom: 0.85rem;
}

.hero-copy .lead {
  max-width: 62ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
  justify-content: center;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  margin-inline: auto;
  max-width: 60ch;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #f0ece7;
  border: 1px solid rgba(90, 24, 39, 0.12);
  max-width: 32rem;
  margin-inline: auto;
}

.hero-media img,
.about-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.8rem;
  padding: 0.55rem 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.btn-small {
  min-height: 2.45rem;
  padding-inline: 1rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--warm-white);
  box-shadow: 0 8px 18px rgba(90, 24, 39, 0.25);
}

.btn-primary:hover {
  background: #6d1d30;
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(90, 24, 39, 0.45);
  color: var(--burgundy);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(90, 24, 39, 0.08);
}

.about {
  background: linear-gradient(180deg, rgba(90, 24, 39, 0.03), rgba(90, 24, 39, 0));
}

.about-grid {
  display: grid;
  gap: 1.4rem;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(90, 24, 39, 0.12);
  max-width: 28rem;
  margin-inline: auto;
}

.about-copy {
  display: grid;
  gap: 0.9rem;
}

.about-copy h2,
.section-head h2,
.final-cta h2 {
  font-size: clamp(1.55rem, 5vw, 2.4rem);
}

.text-link {
  width: fit-content;
  margin-top: 0.3rem;
  margin-inline: auto;
  color: var(--burgundy);
  font-weight: 700;
  border-bottom: 2px solid rgba(90, 24, 39, 0.3);
}

.section-head {
  display: grid;
  gap: 0.7rem;
  max-width: 64ch;
  margin-bottom: clamp(1.2rem, 3.5vw, 2.3rem);
  margin-inline: auto;
}

.services {
  background:
    radial-gradient(65% 60% at 95% 10%, rgba(111, 129, 106, 0.12), transparent 65%),
    var(--paper);
}

.cards-grid {
  display: grid;
  gap: 0.95rem;
}

.card,
.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.05rem;
  box-shadow: 0 4px 10px rgba(21, 18, 19, 0.04);
}

.card h3,
.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.benefits-list li {
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-accent);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  background: #ffffff;
}

.steps-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.step-number {
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(90, 24, 39, 0.12);
  color: var(--burgundy);
}

.reel-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #120d10;
  width: min(100%, 42rem);
  margin-inline: auto;
}

.reel-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #120d10;
}

.faq {
  background: linear-gradient(180deg, rgba(90, 24, 39, 0), rgba(90, 24, 39, 0.04));
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 0.25rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  padding-inline: 2rem;
  font-weight: 700;
  color: var(--charcoal);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.45rem;
  color: var(--burgundy);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list p {
  margin-bottom: 0.7rem;
  color: var(--charcoal-soft);
}

.final-cta {
  padding-top: clamp(2.2rem, 8vw, 5rem);
}

.cta-box {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, var(--burgundy), #712036),
    var(--burgundy);
  color: var(--warm-white);
  padding: clamp(1.4rem, 4.5vw, 2.4rem);
  box-shadow: var(--shadow-strong);
}

.cta-box h2,
.cta-box .eyebrow {
  color: var(--warm-white);
}

.cta-box p {
  max-width: 60ch;
  margin-inline: auto;
}

.cta-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.cta-box .btn-primary {
  background: var(--warm-white);
  color: var(--burgundy-deep);
}

.cta-box .btn-primary:hover {
  background: #fff;
}

.cta-box .btn-secondary {
  border-color: rgba(248, 244, 239, 0.8);
  color: var(--warm-white);
}

.cta-box .btn-secondary:hover {
  background: rgba(248, 244, 239, 0.16);
}

.site-footer {
  margin-top: clamp(2rem, 6vw, 4rem);
  background: #161214;
  color: #e9e2dc;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.footer-title {
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  margin-bottom: 0.65rem;
  color: #f8f4ef;
}

.footer-note {
  max-width: 40ch;
  margin-inline: auto;
  color: #d6cbc4;
}

.footer-nav,
.footer-cta {
  display: grid;
  gap: 0.22rem;
  justify-items: center;
}

.footer-nav a,
.footer-cta a {
  color: #f8f4ef;
  width: fit-content;
}

.footer-nav a:hover,
.footer-cta a:hover {
  color: #c2d0be;
}

.footer-bottom {
  margin-top: 1.35rem;
  border-top: 1px solid rgba(248, 244, 239, 0.16);
  padding: 1rem 0 5rem;
  display: grid;
  gap: 0.25rem;
  color: #cabfb8;
  font-size: 0.92rem;
}

.floating-live-help {
  position: fixed;
  right: 0.95rem;
  bottom: calc(0.95rem + 3.85rem);
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 3rem;
  padding: 0.4rem 0.72rem 0.4rem 0.45rem;
  border: 1px solid rgba(90, 24, 39, 0.65);
  border-radius: 999px;
  background: #111111;
  color: #f4de95;
  box-shadow: 0 10px 24px rgba(30, 27, 28, 0.26);
  font-weight: 700;
  cursor: pointer;
}

.floating-live-help:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 27, 28, 0.3);
}

.floating-live-help[aria-expanded="true"] {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 27, 28, 0.3);
}

.live-help-fab-logo {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: 0 4px 12px rgba(30, 27, 28, 0.22);
}

.floating-live-help span {
  display: inline;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-help-panel {
  position: fixed;
  right: 0.95rem;
  bottom: calc(0.95rem + 7.95rem);
  width: min(94vw, 24rem);
  z-index: 120;
}

.live-help-panel[hidden] {
  display: none;
}

.live-help-card {
  position: relative;
  border: 1px solid rgba(90, 24, 39, 0.18);
  border-radius: 1rem;
  background: #fffcf8;
  box-shadow: 0 18px 42px rgba(25, 16, 19, 0.24);
  overflow: hidden;
}

.live-help-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../icons/logo-transparent.png");
  background-repeat: no-repeat;
  background-position: right -2.4rem bottom -2.2rem;
  background-size: 11rem;
  pointer-events: none;
}

.live-help-head,
.live-help-messages,
.live-help-form {
  position: relative;
  z-index: 1;
}

.live-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(90, 24, 39, 0.14);
  background: rgba(248, 244, 239, 0.96);
}

.live-help-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.live-help-brand img {
  border-radius: 0.45rem;
}

.live-help-brand h2 {
  font-size: 1rem;
  line-height: 1.1;
  margin: 0;
}

.live-help-brand p {
  font-size: 0.78rem;
  color: var(--charcoal-soft);
}

.live-help-close {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(90, 24, 39, 0.24);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--burgundy-deep);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.live-help-messages {
  max-height: min(52vh, 20rem);
  overflow-y: auto;
  padding: 0.9rem 0.85rem;
  display: grid;
  gap: 0.62rem;
}

.live-help-message {
  max-width: 88%;
  padding: 0.56rem 0.74rem;
  border-radius: 0.72rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.live-help-message-user {
  margin-left: auto;
  background: var(--burgundy);
  color: #fff;
}

.live-help-message-assistant {
  margin-right: auto;
  background: #f1ebe5;
  color: var(--charcoal);
}

.live-help-message-status {
  margin-right: auto;
  background: #ece6df;
  color: #5c5456;
  font-style: italic;
}

.live-help-form {
  border-top: 1px solid rgba(90, 24, 39, 0.14);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem 0.85rem;
  background: rgba(255, 252, 248, 0.97);
}

.live-help-form input {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid rgba(90, 24, 39, 0.26);
  border-radius: 0.68rem;
  padding: 0.4rem 0.68rem;
  font: inherit;
  color: var(--charcoal);
  background: #fff;
}

.live-help-send {
  min-height: 2.65rem;
  border: 0;
  border-radius: 0.68rem;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.live-help-send:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.floating-whatsapp {
  position: fixed;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  min-height: 3rem;
  padding: 0.58rem 1rem 0.58rem 0.72rem;
  border-radius: 999px;
  background: #1f7a42;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 90, 42, 0.35);
  font-weight: 700;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: #20874a;
}

.wa-icon {
  width: 1.62rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.not-found-card {
  width: min(100% - 2rem, 40rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: clamp(1.3rem, 4vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.not-found-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.not-found-actions {
  margin-top: 1rem;
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 3rem, var(--content-max));
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.45fr 1fr 1fr;
    align-items: start;
  }

  .floating-whatsapp {
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .floating-live-help {
    right: 1.2rem;
    bottom: calc(1.2rem + 3.85rem);
  }

  .live-help-panel {
    right: 1.2rem;
    bottom: calc(1.2rem + 7.95rem);
  }
}

@media (min-width: 64rem) {
  .site-header {
    background: rgba(248, 244, 239, 0.9);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: inline-flex;
    justify-self: center;
    flex-wrap: wrap;
    gap: 0.95rem;
  }

  .desktop-nav a {
    min-height: 44px;
    padding: 0 0.45rem;
    border-radius: 0.4rem;
    color: var(--charcoal-soft);
    font-weight: 600;
  }

  .desktop-nav a:hover {
    color: var(--burgundy);
    background: rgba(90, 24, 39, 0.08);
  }

  .header-ctas {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.4rem;
  }

  .hero-media {
    justify-self: center;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: clamp(4rem, 7vw, 6rem) 0;
  }

  .floating-whatsapp {
    right: 1.55rem;
    bottom: 1.55rem;
  }

  .floating-live-help {
    right: 1.55rem;
    bottom: calc(1.55rem + 3.85rem);
  }

  .live-help-panel {
    right: 1.55rem;
    bottom: calc(1.55rem + 7.95rem);
  }
}

@media (min-width: 90rem) {
  :root {
    --content-max: 78rem;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .section-head {
    margin-bottom: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
