/* ==============================
   TRAVELS SV - STYLES.CSS
   ============================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* VARIABLES */
:root {
  --navy: #071b4d;
  --navy-soft: #102b63;
  --cyan: #009fc3;
  --cyan-light: #00b8d9;
  --orange: #ff4b0b;
  --yellow: #ffc400;
  --green: #20c768;
  --white: #ffffff;
  --gray: #f5f8fb;
  --text: #1b2740;
  --muted: #5f6f85;
  --border: #e5edf5;

  --shadow-soft: 0 12px 35px rgba(7, 27, 77, 0.12);
  --shadow-card: 0 10px 25px rgba(7, 27, 77, 0.10);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --transition: all 0.3s ease;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* GENERAL */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==============================
   HEADER
   ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 237, 245, 0.8);
}

.header-container {
  min-height: 72px;
  padding: 0 26px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo img {
  width: 210px;
  height: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 700;
  transition: var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--cyan);
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(32, 199, 104, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* ==============================
   HERO
   ============================== */

.hero-section {
  position: relative;
  padding: 70px 0 95px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 184, 217, 0.13), transparent 35%),
    linear-gradient(135deg, #ffffff 0%, #f2fbff 45%, #ffffff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--orange), var(--yellow), var(--cyan), var(--orange));
  opacity: 0.95;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, var(--cyan), var(--yellow), var(--orange), var(--cyan));
  opacity: 0.95;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  align-items: center;
  gap: 44px;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 159, 195, 0.12);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-content p {
  max-width: 520px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 900;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 159, 195, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 159, 195, 0.30);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.35), transparent 35%);
  z-index: 2;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
}

/* ==============================
   FEATURES
   ============================== */

.features-section {
  position: relative;
  z-index: 5;
  margin-top: -48px;
  padding-bottom: 60px;
}

.features-container {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  transition: var(--transition);
}

.feature-card:hover {
  background: #f3fbfd;
  transform: translateY(-4px);
}

.feature-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: var(--white);
  font-size: 1.45rem;
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--orange);
}

.feature-card h3 {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 900;
}

.feature-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ==============================
   UNIDADES
   ============================== */

.units-section {
  padding: 45px 0 76px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.unit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(7, 27, 77, 0.16);
}

.unit-image {
  height: 240px;
  overflow: hidden;
}

.unit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.unit-card:hover .unit-image img {
  transform: scale(1.06);
}

.unit-content {
  padding: 24px;
}

.unit-content h3 {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
}

.unit-content p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

.unit-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.unit-content li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 159, 195, 0.10);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
}

/* ==============================
   EXPERIENCIA
   ============================== */

.experience-section {
  position: relative;
  padding: 80px 0;
  background: var(--white);
}

.experience-section::before {
  content: "";
  position: absolute;
  top: 60px;
  left: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0, 159, 195, 0.08);
}

.experience-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.experience-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.experience-image {
  height: 100%;
  overflow: hidden;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-content {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: var(--white);
  font-size: 1.35rem;
}

.experience-card:nth-child(2) .experience-icon {
  background: var(--orange);
}

.experience-content h3 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.experience-content p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ==============================
   GALERÍA
   ============================== */

.gallery-section {
  padding: 76px 0;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 0, 0.10), transparent 30%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gallery-item {
  height: 170px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ==============================
   ACREDITACIONES
   ============================== */

.accreditations-section {
  padding: 40px 0 76px;
  background: var(--white);
}

.accreditations-box {
  padding: 26px;
  background: #f7fbfd;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.35fr;
  align-items: center;
  gap: 24px;
}

.accreditations-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accreditations-title i {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 1.45rem;
}

.accreditations-title h2 {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 24px;
  border-left: 1px solid #d6e3ec;
}

.accreditation-item img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}

.accreditation-item h3 {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
}

.accreditation-item p {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

/* ==============================
   RESERVAS
   ============================== */

.reservation-section {
  padding: 0 0 76px;
  background: var(--white);
}

.reservation-container {
  position: relative;
  padding: 34px 42px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--cyan) 0%, #0089b5 48%, var(--navy) 100%);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  overflow: hidden;
}

.reservation-container::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  opacity: 0.95;
}

.reservation-icon {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.reservation-content {
  position: relative;
  z-index: 2;
}

.reservation-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
}

.reservation-content p {
  margin-top: 8px;
  font-size: 1rem;
  opacity: 0.92;
}

.reservation-phone {
  position: relative;
  z-index: 2;
  padding: 14px 24px;
  border-radius: 18px;
  background: var(--white);
  color: var(--green);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  white-space: nowrap;
  transition: var(--transition);
}

.reservation-phone:hover {
  transform: translateY(-3px);
}

/* ==============================
   FOOTER
   ============================== */

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(0, 184, 217, 0.18), transparent 35%),
    linear-gradient(135deg, #061643 0%, #071b4d 55%, #03102f 100%);
  color: var(--white);
  padding: 54px 0 22px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  align-items: center;
  gap: 34px;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.footer-item i {
  color: var(--cyan-light);
}

.footer-item a {
  transition: var(--transition);
}

.footer-item a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.footer-copy {
  width: min(1180px, 92%);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-copy p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.86rem;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1080px) {
  .header-container {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px;
  }

  .main-nav ul {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .units-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .accreditations-box {
    grid-template-columns: 1fr;
  }

  .accreditation-item {
    padding-left: 0;
    border-left: 0;
    padding-top: 20px;
    border-top: 1px solid #d6e3ec;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 0;
  }

  .header-container {
    width: 94%;
    min-height: auto;
  }

  .logo img {
    width: 170px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .btn-whatsapp {
    padding: 12px 18px;
  }

  .hero-section {
    padding: 46px 0 82px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image {
    min-height: 340px;
  }

  .hero-image img {
    min-height: 340px;
  }

  .features-container,
  .units-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 16px 12px;
  }

  .unit-image {
    height: 230px;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .experience-image {
    height: 250px;
  }

  .gallery-item {
    height: 220px;
  }

  .reservation-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }

  .reservation-icon {
    margin: 0 auto;
  }

  .reservation-phone {
    width: 100%;
    text-align: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 460px) {
  .container {
    width: 92%;
  }

  .header-container {
    border-radius: 22px;
  }

  .main-nav ul {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .accreditation-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .reservation-phone {
    font-size: 1.8rem;
  }
}