* { box-sizing: border-box; }

:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --brown: #4a2816;
  --brown-2: #2c170d;
  --red: #d61f3a;
  --text: #1c120d;
  --muted: #745f52;
  --line: rgba(74, 40, 22, 0.14);
  --shadow: 0 26px 70px rgba(44, 23, 13, 0.16);
  --radius: 30px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  display: block;
  width: 260px;
  max-width: 52vw;
  height: auto;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.nav a { text-decoration: none; }
.nav a:hover { color: var(--red); }

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  padding: 18px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .96fr);
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-heading span,
.contact span {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(214,31,58,.10);
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .96;
  letter-spacing: -0.06em;
  color: var(--brown-2);
}

.hero-text {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.hero-offer {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.74);
}

.hero-offer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown);
  font-size: 19px;
}

.hero-offer span {
  color: var(--muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 950;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--red), #a81429);
  box-shadow: 0 18px 40px rgba(214,31,58,.25);
}

.button.secondary {
  color: var(--brown);
  background: white;
  border-color: var(--line);
}

.button.whatsapp {
  color: white;
  background: #25d366;
}

.button.whatsapp img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.button.wide { width: 100%; }

.hero-media {
  border-radius: 38px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.hero-media img,
.rounded-img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.stats {
  margin: 0 0 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
}

.stats strong {
  display: block;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  margin: 34px 0;
  padding: 42px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(44,23,13,.06);
}

.section.dark {
  color: white;
  background: linear-gradient(135deg, var(--brown-2), var(--brown));
}

.section.dark .section-heading h2,
.section.dark .events-grid div { color: white; }

.section.dark .section-heading span {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--brown-2);
}

.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.card-list {
  display: grid;
  gap: 12px;
}

.card-list div,
.events-grid div {
  padding: 18px 20px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  color: var(--brown);
  font-weight: 950;
}

.card-list div::before {
  content: "✓";
  margin-right: 10px;
  color: var(--red);
}

.rounded-img,
.gallery img {
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(44,23,13,.10);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.gallery.two img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid div {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.process-grid strong {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--red);
}

.process-grid h3 {
  margin: 18px 0 8px;
  color: var(--brown);
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq details {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.faq summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--brown);
}

.faq p {
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  margin: 34px 0;
  padding: 46px;
  border-radius: 34px;
  background: var(--brown-2);
  color: white;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: center;
}

.contact h2 { color: white; }
.contact p { color: rgba(255,255,255,.72); }

.contact-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  display: grid;
  gap: 12px;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto;
  padding: 26px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer img {
  width: 210px;
  height: auto;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero {
    min-height: 0;
    padding-top: 36px;
  }

  .stats,
  .events-grid,
  .process-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

/* PDF / Safari print safety */
@media print {
  body {
    background: #fbf7f2 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  main,
  footer {
    background: transparent !important;
  }

  .section,
  .stats div,
  .hero-offer,
  .contact-card,
  .process-grid div,
  .faq details,
  .card-list div,
  .events-grid div {
    box-shadow: none !important;
  }

  .hero {
    min-height: auto !important;
  }
}

.powered-by {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.powered-by a {
  color: var(--muted);
  text-decoration: none;
}

.powered-by a:hover {
  color: var(--red);
}

.powered-by span {
  margin: 0 10px;
}


/* Footer polish */
footer {
  margin: 18px auto 26px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(74, 40, 22, 0.10);
}

footer img {
  width: 170px;
}

footer p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.powered-by {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.88;
}

@media (max-width: 900px) {
  footer {
    text-align: left;
  }

  .powered-by {
    text-align: left;
  }
}


/* Mobile hamburger menu */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(44, 23, 13, 0.08);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--brown);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

@media (max-width: 900px) {
  .site-header {
    position: relative;
    flex-direction: row;
    align-items: center;
  }

  .brand img {
    max-width: 68vw;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(44, 23, 13, 0.12);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 80;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(214, 31, 58, 0.06);
    color: var(--brown);
  }

  .nav a:hover {
    background: rgba(214, 31, 58, 0.12);
  }
}
