* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #a10078;
  --pink-light: #ff4fc3;
  --pink-soft: #f8dff0;
  --purple: #2b0838;
  --purple-soft: #642061;
  --blue: #2879d9;
  --cyan: #47c7e8;
  --dark: #111022;
  --text: #4b4b5a;
  --muted: #777889;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(34, 8, 48, 0.18);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

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

.hero {
  min-height: 620px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(21, 7, 30, 0.78) 0%, rgba(21, 7, 30, 0.58) 42%, rgba(21, 7, 30, 0.28) 100%),
    url("images/cabecera.png") center/cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
  z-index: 1;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: "Pacifico", cursive;
  font-size: 25px;
  line-height: 1;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink-light), var(--purple-soft));
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  box-shadow: 0 10px 25px rgba(161, 0, 120, 0.35);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  transition: 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--pink-light);
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: white;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 10px 18px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.nav-cta:hover {
  background: var(--pink-light);
  border-color: var(--pink-light);
  transform: translateY(-2px);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 3;
  padding: 40px 0 100px;
}

.eyebrow,
.mini-label {
  display: inline-flex;
  color: var(--pink-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 620px;
  color: white;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.hero p {
  max-width: 540px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

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

.btn {
  min-height: 48px;
  padding: 13px 25px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink-light), var(--pink));
  color: white;
  box-shadow: 0 14px 30px rgba(161, 0, 120, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(161, 0, 120, 0.35);
}

.btn-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: white;
  color: var(--pink);
  transform: translateY(-2px);
}

.hero-gallery {
  position: relative;
  min-height: 360px;
}

.hero-card {
  position: absolute;
  width: 210px;
  height: 250px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  isolation: isolate;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 0, 42, 0.75), transparent 60%);
  z-index: 1;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: white;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hero-card-large {
  width: 255px;
  height: 320px;
  left: 10px;
  top: 10px;
}

.hero-card:not(.hero-card-large):not(.hero-card-small) {
  right: 90px;
  top: 38px;
}

.hero-card-small {
  width: 170px;
  height: 210px;
  right: 0;
  top: 90px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.deals-section {
  margin-top: -90px;
  position: relative;
  z-index: 4;
  padding-top: 0;
}

.section-card {
  background: white;
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(161, 0, 120, 0.08);
}

.section-heading {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 720px;
}

.section-heading h2 {
  color: var(--pink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-heading p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

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

.deal-card {
  position: relative;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(22, 6, 36, 0.18);
  background: var(--purple);
}

.deal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(42, 5, 54, 0.92), rgba(161, 0, 120, 0.18), rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
}

.deal-content {
  position: relative;
  z-index: 2;
  min-height: 300px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.deal-content h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.deal-content ul {
  list-style: none;
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
}

.deal-content p {
  margin-bottom: 14px;
  font-size: 13px;
}

.deal-content a {
  display: inline-flex;
  justify-content: center;
  background: white;
  color: var(--pink);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  transition: 0.25s ease;
}

.deal-content a:hover {
  background: var(--pink-light);
  color: white;
}

.legal-note {
  text-align: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.destinations-section {
  padding-top: 40px;
}

.destination-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1.1fr 1fr;
  grid-auto-rows: 220px;
  gap: 20px;
}

.destination-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  background: #ddd;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(93, 8, 97, 0.9), rgba(161, 0, 120, 0.05), transparent 55%);
  z-index: 1;
}

.destination-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: white;
}

.destination-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.destination-card h3 {
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
}

.destination-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.destination-tall {
  grid-row: span 2;
}

.destination-wide {
  grid-column: span 2;
}

.responsibilities {
  width: min(1180px, calc(100% - 40px));
  margin: 45px auto 85px;
  padding: 70px 40px;
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(135deg, rgba(34, 4, 46, 0.76), rgba(161, 0, 120, 0.42)),
    url("images/avion.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-heading.light h2,
.section-heading.light p {
  color: white;
}

.section-heading.light .mini-label {
  color: #ffd6f1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 2;
}

.feature-box {
  padding: 32px 22px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  color: var(--purple);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.feature-box span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--pink);
  color: white;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 18px;
}

.feature-box h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--pink);
}

.feature-box p {
  font-size: 13px;
  line-height: 1.6;
}

.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 80px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  max-width: 680px;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 50px;
  border-top: 1px solid #ece7ef;
}

.footer-logo {
  color: var(--pink);
}

.footer-brand p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 350px;
}

.footer h3 {
  color: var(--pink);
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer a {
  color: var(--muted);
  font-weight: 500;
  transition: 0.25s ease;
}

.footer a:hover {
  color: var(--pink);
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--pink-light), var(--pink));
}

.copyright {
  border-top: 1px solid #ece7ef;
  text-align: center;
  padding: 18px 20px;
  color: #999;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .nav-links {
    gap: 18px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-bottom: 130px;
  }

  .hero-gallery {
    display: none;
  }

  .deal-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-direction: column;
    padding: 20px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 48px 0 140px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 55px 0;
  }

  .section-card {
    padding: 24px;
  }

  .deal-grid,
  .features-grid,
  .destination-mosaic,
  .footer {
    grid-template-columns: 1fr;
  }

  .destination-mosaic {
    grid-auto-rows: 280px;
  }

  .destination-tall {
    grid-row: span 1;
  }

  .responsibilities,
  .cta-section {
    width: min(100% - 28px, 1180px);
    padding: 38px 22px;
  }

  .footer {
    gap: 28px;
  }
}
