:root {
  --red: #ad1a1a;
  --red-dark: #8f1212;
  --red-soft: #fff2f2;
  --ink: #151515;
  --muted: #626262;
  --line: #ead6d6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(173, 26, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}

.brand::before {
  width: 14px;
  height: 34px;
  background: var(--red);
  content: "";
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--red);
  color: var(--red);
}

.hero {
  display: block;
  padding: 0;
  background: var(--white);
}

.hero-media {
  display: block;
  width: 100%;
}

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

.hero-registration {
  display: flex;
  justify-content: center;
  padding: clamp(22px, 4vw, 38px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--red-soft);
}

.hero-registration-button {
  width: min(100%, 420px);
  min-height: 62px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.8vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.copy p,
.feature-content p,
.certificate p,
.registration-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(173, 26, 26, 0.22);
}

.button.primary:hover {
  background: var(--red-dark);
}

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

.button.full {
  width: 100%;
}

.pulse-button {
  animation: pulse 1.7s ease-in-out infinite;
}

.pulse-button:hover,
.pulse-button:focus-visible {
  animation-play-state: paused;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 16px 32px rgba(173, 26, 26, 0.22),
      0 0 0 0 rgba(173, 26, 26, 0.32);
  }

  50% {
    box-shadow:
      0 18px 38px rgba(173, 26, 26, 0.28),
      0 0 0 12px rgba(173, 26, 26, 0);
  }
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-info article {
  min-height: 138px;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
  background: var(--white);
}

.quick-info article:last-child {
  border-right: 0;
}

.quick-info span {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-info strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.section,
.registration {
  padding: clamp(64px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.two-column,
.certificate,
.registration {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 84px);
}

.copy {
  max-width: 820px;
}

.copy p:first-child {
  margin-top: 0;
}

.feature-band {
  background: var(--red);
  color: var(--white);
}

.feature-band .section-kicker,
.feature-band h2,
.feature-band p {
  color: var(--white);
}

.feature-content {
  max-width: 920px;
}

.certificate {
  align-items: center;
  background: var(--red-soft);
}

.certificate p {
  max-width: 620px;
  margin: 0;
  font-size: 1.2rem;
}

.registration {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 242, 242, 0.6), rgba(255, 255, 255, 1)),
    var(--white);
}

.registration-copy {
  max-width: 620px;
}

.registration-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.registration-prices article {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(173, 26, 26, 0.08);
}

.registration-prices span {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.registration-prices strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.registration-panel {
  width: min(100%, 520px);
  margin-left: auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.registration-panel strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.16;
}

.registration-panel ul {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.registration-panel li {
  position: relative;
  padding-left: 24px;
}

.registration-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  content: "";
  transform: translateY(-50%);
}

.registration-panel small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(21, 21, 21, 0.58);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(21, 21, 21, 0.24);
}

.modal h2 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.modal p:not(.section-kicker) {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--red);
  background: var(--red-soft);
}

.modal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.modal-option {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 220px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--white);
}

.modal-option span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-option strong {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer a {
  color: var(--red);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(173, 26, 26, 0.28);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.back-to-top:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}



@media (max-width: 600px) {
  .button-whatsapp {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .two-column,
  .certificate,
  .registration {
    grid-template-columns: 1fr;
  }

  .quick-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-info article:nth-child(2) {
    border-right: 0;
  }

  .quick-info article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .registration-panel {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    justify-content: center;
    font-size: 1rem;
  }

  .brand::before {
    width: 10px;
    height: 28px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.82rem;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    text-align: center;
    line-height: 1.15;
  }

  .nav .nav-cta {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
  }

  .button {
    width: 100%;
  }

  .modal-backdrop {
    align-items: end;
    padding: 16px;
  }

  .modal {
    width: 100%;
    max-height: calc(100vh - 32px);
    padding-top: 56px;
  }

  .modal-options {
    grid-template-columns: 1fr;
  }

  .registration-prices {
    grid-template-columns: 1fr;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .quick-info article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info article:last-child {
    border-bottom: 0;
  }

  .footer {
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
 
}

a.button-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 8px;
  background: #25d366 !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.button-whatsapp:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

a.button-whatsapp .whatsapp-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}

@media (max-width: 600px) {
  a.button-whatsapp {
    width: 100%;
  }
}


