:root {
  --egida-primary: #621a10;
  --egida-primary-dark: #4a140c;
  --egida-accent: #e46224;
  --egida-accent-hover: #cf5319;
  --egida-yellow: #fcb73e;
  --egida-beige: #f0dec1;
  --egida-cream: #faf6f0;
  --text: #1f1412;
  --text-muted: #5c4a45;
  --border: #e8d9c8;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(98, 26, 16, 0.12);
  --radius: 16px;
  --container: 1120px;
  --header-h: 76px;
  --font-body: "Lato", system-ui, sans-serif;
  --font-title: "Raleway", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 3px solid var(--egida-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--egida-primary);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--egida-primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: center;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

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

.btn--block {
  width: 100%;
}

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

.btn--primary:hover {
  background: var(--egida-primary-dark);
}

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

.btn--accent:hover {
  background: var(--egida-accent-hover);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.btn--light:hover {
  background: var(--egida-beige);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(98, 26, 16, 0.06);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: min(80vw, 640px);
  height: calc(var(--header-h) - 12px);
}

.brand__logo {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--egida-primary);
}

.nav__cta {
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--egida-primary);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(228, 98, 36, 0.35), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(252, 183, 62, 0.18), transparent 30%),
    linear-gradient(135deg, #4a140c 0%, #621a10 45%, #8a2e1c 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

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

.hero__slide {
  display: none;
}

.hero__slide.is-active {
  display: block;
}

.hero__content {
  position: relative;
  max-width: 760px;
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.hero__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero__nav--prev {
  left: 1rem;
}

.hero__nav--next {
  right: 1rem;
}

.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero__dots button.is-active {
  width: 22px;
  background: var(--egida-yellow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--egida-beige);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero h1 span {
  display: block;
  color: var(--egida-yellow);
}

.hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.hero__lead strong {
  color: var(--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.hero__trust li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--egida-yellow);
}

/* Trust strip */
.trust {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.trust__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--egida-cream);
  color: var(--egida-primary);
  margin-bottom: 0.9rem;
}

.trust__icon svg {
  width: 24px;
  height: 24px;
}

.trust__item h3 {
  margin-bottom: 0.4rem;
}

.trust__item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section__eyebrow {
  display: inline-block;
  color: var(--egida-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: linear-gradient(160deg, var(--egida-primary), #8a2e1c);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.about-card h3,
.about-card p {
  color: var(--white);
}

.about-card p {
  opacity: 0.9;
}

.about-card dl {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.about-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.about-card dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.checklist {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(228, 98, 36, 0.12);
  color: var(--egida-accent);
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(98, 26, 16, 0.08), rgba(228, 98, 36, 0.12));
  color: var(--egida-primary);
  margin-bottom: 1rem;
}

.product-card__icon svg {
  width: 26px;
  height: 26px;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Stats */
.stats {
  background: linear-gradient(120deg, var(--egida-primary), #8a2e1c 55%, var(--egida-accent));
  color: var(--white);
  padding: 3rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat__num {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--egida-yellow);
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: var(--egida-accent);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.testimonial__quote {
  margin: 0 0 1.25rem;
  font-style: italic;
  flex: 1;
}

.testimonial__author {
  display: grid;
  gap: 0.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial__author strong {
  color: var(--egida-primary);
  font-size: 0.98rem;
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-wrap {
  position: relative;
}

.reviews-status {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-style: italic;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.reviews-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--egida-primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.reviews-nav__btn:hover {
  background: var(--egida-primary);
  color: var(--white);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.step__num {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--egida-accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step p {
  margin: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--egida-primary), #8a2e1c 55%, var(--egida-accent));
  color: var(--white);
  padding: 3rem 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin: 0;
  opacity: 0.92;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-list__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--egida-accent);
  font-weight: 700;
}

.contact-list a {
  font-weight: 700;
  color: var(--egida-primary);
}

.contact-list a:hover {
  color: var(--egida-accent);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-action {
  display: grid;
  justify-items: start;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-action svg {
  width: 26px;
  height: 26px;
  margin-bottom: 0.5rem;
  color: var(--egida-accent);
}

.contact-action span {
  font-weight: 700;
  color: var(--egida-primary);
}

.contact-action small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--egida-primary);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--egida-accent);
  box-shadow: 0 0 0 3px rgba(228, 98, 36, 0.15);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: #c0392b;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.25rem 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--egida-primary);
}

.form-note {
  margin: 0.85rem 0 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-note.is-success {
  color: #1f7a3f;
}

.form-note.is-error {
  color: #b42318;
}

/* Footer */
.footer {
  background: #2a100c;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer p,
.footer li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer ul {
  display: grid;
  gap: 0.55rem;
}

.footer a:hover {
  color: var(--egida-yellow);
}

.footer__bottom {
  padding-top: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
}

.footer__note {
  opacity: 0.7;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

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

/* Responsive */
@media (max-width: 960px) {
  .trust__grid,
  .products,
  .steps,
  .testimonials,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .split,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  .brand {
    max-width: min(80vw, 480px);
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.75rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--egida-cream);
  }

  .nav__cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 4.5rem;
  }

  .hero__content {
    padding: 0 2.5rem;
  }

  .hero__nav--prev {
    left: 0.25rem;
  }

  .hero__nav--next {
    right: 0.25rem;
  }

  .trust {
    margin-top: -1.5rem;
  }

  .trust__grid,
  .products,
  .steps,
  .testimonials,
  .footer__grid,
  .form-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
