:root {
  --brand: #ab0029;
  --brand-dark: #5c0016;
  --accent: #f04e23;
  --text: #1f1f1f;
  --text-light: #4c4c4c;
  --bg: #f7f4f2;
  --card-bg: #ffffff;
  --border: rgba(31, 31, 31, 0.1);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
}

.hero {
  background: radial-gradient(circle at top left, rgba(171, 0, 41, 0.8), rgba(92, 0, 22, 0.95)), url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  padding: 2.5rem clamp(1.5rem, 5vw, 5rem) 4.5rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  opacity: 0.8;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 30rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tag {
  font-size: 0.95rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

main {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.section {
  margin-bottom: 4rem;
}

.section.highlight {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-header p {
  margin: 0 0 1.5rem;
  color: var(--text-light);
  max-width: 600px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
  color: var(--brand-dark);
}

.card ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

.card p {
  color: var(--text-light);
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.metric-card {
  background: linear-gradient(135deg, rgba(171, 0, 41, 0.08), rgba(171, 0, 41, 0.3));
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--brand-dark);
  border: 1px solid rgba(171, 0, 41, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--brand-dark);
}

.profile ul {
  list-style: none;
  padding: 0;
}

.profile li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.profile li:last-child {
  border-bottom: none;
}

.no-wrap {
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
}

.modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  max-width: 520px;
  width: min(90vw, 520px);
  border-radius: 1.2rem;
  padding: 2.5rem 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  line-height: 72px;
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
  font-weight: 700;
}

.modal h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.modal p {
  margin: 0 0 1.5rem;
  color: var(--text-light);
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-accept {
  width: 100%;
  justify-content: center;
}

.subsection {
  margin-bottom: 2rem;
}

.subsection h3 {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
}

.subsection ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media-card.download p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.pdf-description {
  margin-bottom: 1.5rem;
}

.pdf-description:last-of-type {
  margin-bottom: 0;
}

.pdf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(171, 0, 41, 0.08);
  border-radius: 0.75rem;
  border: 1px solid rgba(171, 0, 41, 0.2);
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}

.pdf-tag span {
  font-weight: 600;
  color: var(--brand-dark);
}

.message blockquote {
  margin: 0;
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(171, 0, 41, 0.2);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--brand-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.application-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 2rem;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
  position: relative;
}

.captcha-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.captcha-actions input {
  flex: 1;
}

.refresh-btn {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease;
}

.refresh-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.form-control input,
.form-control textarea {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-control input:focus,
.form-control textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(171, 0, 41, 0.15);
  outline: none;
}

.file-control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-area {
  position: relative;
  border: 2px dashed rgba(171, 0, 41, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(171, 0, 41, 0.04);
  color: var(--text-light);
}

.drop-area strong {
  color: var(--brand-dark);
}

.drop-area.drag-over {
  border-color: var(--brand);
  background: rgba(171, 0, 41, 0.08);
}

.file-note {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#application-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
}

.whatsapp-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: #fff;
}

.whatsapp-btn img {
  width: 2rem;
  height: 2rem;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(37, 211, 102, 0.4);
}

.avatar-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-btn svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: #fff;
}

.avatar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(171, 0, 41, 0.4);
}

.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;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .assistant-card {
    flex-direction: column;
    text-align: center;
  }

  .assistant-visual .orb {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 60vh;
  }

  .grid.two-col,
  .grid.cards,
  .metrics {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

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

  .cta {
    text-align: center;
  }

  .cta .btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  main {
    padding: 2rem 1.5rem;
  }

  .hero {
    padding: 2rem 1.5rem 3rem;
  }

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

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

  .metrics {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .subsection ul {
    padding-left: 1rem;
  }

  .pdf-tag {
    width: 100%;
  }

  .whatsapp-btn {
    right: 1rem;
    bottom: 1rem;
  }
}
.assistant-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.assistant-content h2 {
  margin-top: 0;
}

.assistant-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.assistant-visual .orb {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at top, rgba(171, 0, 41, 0.7), rgba(92, 0, 22, 0.95));
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(171, 0, 41, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 3s ease-in-out infinite;
  text-decoration: none;
}

.assistant-visual svg {
  width: 80px;
  height: 80px;
  fill: #fff;
}

.assistant-visual span {
  text-transform: uppercase;
  font-size: 0.85rem;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}
