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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #0b2545;
}

a {
  color: #022f66;
}

a:hover {
  color: #6cafe0;
}

input:focus {
  outline: 2px solid #6cafe0;
  outline-offset: 1px;
}

::placeholder {
  color: #94a3b8;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: 100%;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  background: linear-gradient(180deg, #022f66 0%, #0a3e7a 100%);
  padding: 56px 6vw 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-copy {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-kicker {
  color: #f79994;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.hero p {
  margin: 0;
  color: #cfe0f5;
  font-size: 19px;
  line-height: 1.6;
  max-width: 680px;
  text-wrap: pretty;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 12px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 18px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.primary-pill-button {
  background: #f79994;
  color: #022f66;
  border: none;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease;
}

.primary-pill-button:hover {
  background: #f58c85;
}

.why-attend {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 6vw;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.section-header h2 {
  margin: 0;
  color: #022f66;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
}

.section-header p {
  margin: 0;
  color: #4a5b72;
  font-size: 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(2, 47, 102, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf3fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.why-card p {
  margin: 0;
  color: #0b2545;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 500;
}

.speaker-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(2, 47, 102, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.speaker-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.speaker-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
  flex: 1;
}

.speaker-name {
  margin: 0;
  color: #022f66;
  font-weight: 700;
  font-size: 17px;
}

.speaker-description {
  margin: 0;
  color: #4a5b72;
  font-size: 15px;
  line-height: 1.55;
}

.registration-section {
  width: 100%;
  padding: 16px 6vw 80px;
  display: flex;
  justify-content: center;
}

.registration-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 10px 40px rgba(2, 47, 102, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.registration-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.registration-header h2 {
  margin: 0;
  color: #022f66;
  font-size: 26px;
  font-weight: 800;
}

.registration-header p {
  margin: 0;
  color: #4a5b72;
  font-size: 15px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field > span {
  font-size: 14px;
  font-weight: 600;
  color: #022f66;
}

.form-field input {
  border: 1.5px solid #dce6f2;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #0b2545;
}

.child-ages-group {
  gap: 10px;
}

.child-ages-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.child-age-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.child-age-row input {
  flex: 1;
}

.child-remove {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #dce6f2;
  background: #ffffff;
  color: #7a8aa0;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.child-remove:hover {
  color: #0b2545;
}

.add-child {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: #022f66;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}

.field-error {
  min-height: 16px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  line-height: 1.3;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 2px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.form-status.error {
  background: #fee4e2;
  color: #912018;
}

.success-box {
  background: #eaf6ee;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #1e6b3e;
  font-weight: 600;
  font-size: 15px;
}

.submit-button {
  margin-top: 4px;
  box-shadow: none;
  font-size: 16px;
  padding: 16px;
}

.submit-button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.form-note {
  margin: 4px 0 0;
  text-align: center;
  color: #7a8aa0;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  width: 100%;
  background: #022f66;
  padding: 36px 6vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.footer-subtitle {
  color: #9fc0e5;
  font-size: 13.5px;
}

.footer-whatsapp {
  color: #f79994;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}

.footer-whatsapp:hover {
  color: #f9b3ae;
}

.conf-page {
  min-height: calc(100vh - 96px);
  padding: 48px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conf-card {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(2, 47, 102, 0.12);
  overflow: hidden;
}

.conf-header {
  background: linear-gradient(180deg, #022f66 0%, #0a3e7a 100%);
  padding: 28px 26px 30px;
  text-align: center;
}

.conf-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.conf-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.conf-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.8px;
  color: #f79994;
  font-weight: 700;
}

.conf-title {
  margin: 12px 0 10px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  color: #ffffff;
  font-weight: 800;
}

.conf-subtitle {
  margin: 0;
  color: #cfe0f5;
  font-size: 15px;
  line-height: 1.55;
}

.conf-details {
  padding: 24px 24px 14px;
}

.conf-details h2 {
  margin: 0 0 14px;
  color: #022f66;
  font-size: 15px;
  letter-spacing: 1.4px;
  font-weight: 800;
}

.conf-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.conf-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #f4f7fb;
  border-radius: 12px;
  padding: 12px 14px;
}

.conf-detail-list span {
  color: #4a5b72;
  font-size: 14px;
}

.conf-detail-list strong {
  color: #022f66;
  font-size: 14px;
  text-align: right;
}

.conf-calendar-cta {
  display: inline-flex;
  margin: 4px 24px 0;
  padding: 12px 18px;
  background: #f79994;
  color: #022f66;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  align-items: center;
  justify-content: center;
}

.conf-calendar-cta:hover {
  background: #f58c85;
  color: #022f66;
}

.conf-speaker {
  margin: 18px 24px 24px;
  padding: 14px;
  border: 1px solid #dce6f2;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.conf-speaker-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.conf-speaker p {
  margin: 0;
  color: #4a5b72;
  font-size: 14px;
  line-height: 1.5;
}

.conf-footer {
  background: #022f66;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.conf-footer-title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
}

.conf-footer-subtitle {
  margin: 3px 0 0;
  color: #9fc0e5;
  font-size: 13px;
}

.conf-footer a {
  color: #f79994;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.conf-footer a:hover {
  color: #f9b3ae;
}

@media (max-width: 640px) {
  .hero p {
    font-size: 17px;
  }

  .speaker-card {
    padding: 24px;
  }

  .site-footer {
    justify-content: flex-start;
  }

  .conf-title {
    font-size: 30px;
  }

  .conf-detail-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .conf-detail-list strong {
    text-align: left;
  }
}
