* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1e293b;
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea,
button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: #ffffff;
  color: #1e293b;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand-title {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  font-size: 14px;
  color: #64748b;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: #0369a1;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.55));
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 110px 0 120px;
}

.hero-copy {
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
}

.hero-title {
  margin: 0;
  font-size: 82px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
}

.hero-slogan {
  margin: 24px 0 0;
  font-size: 30px;
  color: #e2e8f0;
  font-weight: 600;
}

.hero-text {
  margin-top: 24px;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.8;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #0ea5e9;
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  margin-top: 24px;
  background: #0f172a;
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: end;
}

.stat-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(10px);
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
}

.section {
  padding: 96px 0;
}

.section-white {
  background: #ffffff;
}

.section-light {
  background: #f8fafc;
}

.section-dark {
  background: #0f172a;
  color: #ffffff;
}

.two-column-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.align-center {
  align-items: center;
}

.section-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
}

.section-title-light {
  color: #ffffff;
}

.section-text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.9;
  color: #475569;
}

.section-text-light {
  max-width: 760px;
  color: #cbd5e1;
}

.info-panel,
.form-panel {
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  background: #f8fafc;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.panel-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

.focus-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.focus-item,
.content-card,
.benefit-card {
  border-radius: 22px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: #334155;
}

.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.bullet-list {
  margin: 24px 0 0;
  padding-left: 20px;
  color: #475569;
}

.bullet-list li {
  margin-bottom: 14px;
  line-height: 1.8;
}

.highlight-box {
  margin-top: 28px;
  border-radius: 24px;
  background: #e0f2fe;
  padding: 24px;
  color: #0c4a6e;
}

.highlight-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.highlight-text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.advances-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.advance-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.advance-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.advance-text {
  color: #334155;
  line-height: 1.7;
}

.image-panel {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.image-panel-map {
  background-image: url('');
}

.benefit-card {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.impact-box {
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-data {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: #334155;
  font-size: 17px;
}

.contact-data span {
  font-weight: 700;
  color: #0f172a;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  outline: none;
}

.form-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-full {
  grid-column: 1 / -1;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 64px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 14px;
  }

  .hero-grid {
    padding: 80px 0 90px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-slogan {
    font-size: 24px;
  }

  .stats-grid,
  .card-grid-two,
  .card-grid-four,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 36px;
  }

  .panel-title {
    font-size: 24px;
  }
}

.advance-item-with-action {
  align-items: flex-start;
}

.advance-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 1px solid #0ea5e9;
  color: #0369a1;
}

.btn-outline:hover {
  background: #e0f2fe;
}

.btn-small {
  width: fit-content;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 14px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  width: min(980px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
}

.modal-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.7;
}

.modal-close {
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 26px;
  cursor: pointer;
}

.modal-close:hover {
  background: #e2e8f0;
}

.allies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ally-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.ally-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .allies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-box {
    padding: 24px;
  }

  .modal-title {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .allies-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================== */
/* MODAL CARRUSEL                        */
/* ===================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  width: min(920px, 100%);
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.modal-box-large {
  width: min(1100px, 100%);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.modal-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
}

.modal-subtitle {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 26px;
  cursor: pointer;
}

.modal-close:hover {
  background: #e2e8f0;
}

/* ===================================== */
/* CARRUSEL                              */
/* ===================================== */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: #f8fafc;
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 520px;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.carousel-btn:hover {
  background: #1e293b;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
}

.dot.active {
  background: #0ea5e9;
}

/* ===================================== */
/* BOTÓN OUTLINE                         */
/* ===================================== */
.btn-outline {
  background: transparent;
  border: 1px solid #0ea5e9;
  color: #0369a1;
}

.btn-outline:hover {
  background: #e0f2fe;
}

.btn-small {
  width: fit-content;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 14px;
}

/* ===================================== */
/* RESPONSIVE                            */
/* ===================================== */
@media (max-width: 768px) {
  .modal-box,
  .modal-box-large {
    padding: 20px;
  }

  .carousel-container {
    gap: 10px;
  }

  .carousel-track {
    min-height: 320px;
  }

  .carousel-slide {
    height: 320px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-title {
    font-size: 24px;
  }
}
