:root {
  --navy: #103d47;
  --deep: #0c4650;
  --sea: #197a8c;
  --sky: #dff3f4;
  --sand: #f5f0e8;
  --ink: #17373d;
  --muted: #667a7e;
  --white: #fff;
  --line: #dce8e8;
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;

  color: var(--ink);
  background: #fcfdfd;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

section[id] {
  scroll-margin-top: 76px;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.nav {
  position: fixed;

  z-index: 50;

  top: 0;
  left: 0;
  right: 0;

  height: 76px;

  padding:
    0 max(22px, 6vw);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background:
    rgba(255, 255, 255, .94);

  backdrop-filter: blur(14px);

  border-bottom:
    1px solid #123b450f;
}


.brand {
  display: flex;
  align-items: center;

  gap: 14px;

  color: var(--navy);

  line-height: 1;
}


.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background: var(--navy);

  color: white;

  border-radius: 50%;

  font-size: 21px;
  font-weight: 900;
}


.brand-name {
  font-size: 1.05rem;

  font-weight: 900;

  letter-spacing: .12em;

  white-space: nowrap;
}


.nav-right {
  display: flex;
  align-items: center;

  gap: 34px;
}


.nav-menu {
  display: flex;
  align-items: center;

  gap: 48px;
}


.navlink {
  color: #536a6f;

  font-size: .88rem;

  font-weight: 750;

  white-space: nowrap;

  transition:
    color .2s ease;
}


.navlink:hover {
  color: var(--navy);
}


/* =========================================================
   IDIOMAS
   ========================================================= */

.lang {
  display: flex;
  align-items: center;

  padding: 4px;

  background: #edf3f3;

  border:
    1px solid #dbe7e7;

  border-radius: 999px;
}


.lang button {
  display: flex;
  align-items: center;

  gap: 5px;

  padding:
    8px 11px;

  background: transparent;

  color: #718084;

  border: 0;

  border-radius: 999px;

  font-weight: 850;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}


.lang button.active {
  background: white;

  color: var(--navy);

  box-shadow:
    0 2px 8px #0002;
}


.flag {
  font-size: .78rem;
}


/* =========================================================
   PORTADA
   ========================================================= */

.hero {
  position: relative;

  min-height: 94vh;

  padding:
    150px max(24px, 8vw) 76px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  color: white;
}


.hero-bg {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  z-index: 0;
}


.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(5, 44, 53, .08) 15%,
      rgba(5, 44, 53, .86) 100%
    );
}


.hero-inner {
  position: relative;

  z-index: 2;

  max-width: 820px;
}


.kicker {
  color: #91d4de;

  font-size: .76rem;

  font-weight: 850;

  letter-spacing: .18em;

  text-transform: uppercase;
}


.hero .kicker {
  color: #d8f5f7;
}


.hero h1 {
  margin:
    14px 0 23px;

  font-size:
    clamp(3.7rem, 9vw, 7.4rem);

  line-height: .88;

  letter-spacing: -.055em;
}


.hero p {
  max-width: 690px;

  color: #eef9fa;

  font-size:
    clamp(1.08rem, 2vw, 1.32rem);
}


.cta {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  margin-top: 20px;

  padding:
    13px 18px;

  background: white;

  color: var(--navy);

  border-radius: 999px;

  font-weight: 850;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}


/* =========================================================
   ESTRUCTURA GENERAL
   ========================================================= */

.wrap {
  max-width: 1180px;

  margin: auto;

  padding:
    86px 24px;
}


.title {
  margin:
    10px 0 16px;

  color: var(--navy);

  font-size:
    clamp(2.15rem, 4.5vw, 3.45rem);

  line-height: 1.02;

  letter-spacing: -.04em;
}


.lead {
  max-width: 760px;

  color: var(--muted);

  font-size: 1.06rem;
}


/* =========================================================
   PRESENTACIÓN
   ========================================================= */

.intro-grid {
  display: grid;

  grid-template-columns:
    1.1fr .9fr;

  gap: 60px;

  align-items: center;
}


.promise {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 12px;
}


.promise-item {
  padding: 22px;

  background: var(--sand);

  border-radius: 18px;
}


.promise-item b {
  display: block;

  margin:
    8px 0 4px;
}


.promise-item small {
  color: var(--muted);
}


/* =========================================================
   ALOJAMIENTOS
   ========================================================= */

.stays {
  background: #f4f8f8;
}


.stay-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 28px;

  margin-top: 38px;
}


.stay {
  overflow: hidden;

  background: white;

  border:
    1px solid var(--line);

  border-radius: 24px;

  box-shadow:
    0 14px 40px #103d470d;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


.stay-img {
  height: 440px;

  overflow: hidden;
}


.stay img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .5s ease;
}


.stay-body {
  padding: 28px;
}


.stay-label {
  color: var(--sea);

  font-size: .72rem;

  font-weight: 900;

  letter-spacing: .15em;

  text-transform: uppercase;
}


.stay h3 {
  margin:
    7px 0 2px;

  color: var(--navy);

  font-size: 1.8rem;
}


.stay p {
  margin:
    15px 0 22px;

  color: var(--muted);
}


.stay-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  padding-bottom: 3px;

  color: var(--navy);

  border-bottom:
    2px solid #9acdd4;

  font-weight: 900;
}


/* =========================================================
   DESCUBRE MÁLAGA
   ========================================================= */

.malaga {
  position: relative;

  overflow: hidden;

  background:
    var(--navy);

  color: white;
}


/*
 * Ligero efecto de profundidad.
 */

.malaga::before {
  content: "";

  position: absolute;

  width: 460px;
  height: 460px;

  right: -180px;
  top: -180px;

  border-radius: 50%;

  background:
    rgba(81, 177, 190, .07);

  pointer-events: none;
}


.malaga::after {
  content: "";

  position: absolute;

  width: 380px;
  height: 380px;

  left: -190px;
  bottom: -190px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .025);

  pointer-events: none;
}


.malaga .wrap {
  position: relative;

  z-index: 1;
}


.malaga .title {
  color: white;
}


.malaga .lead {
  color: #c3d9dc;
}


.malaga-intro {
  max-width: 820px;
}


/* =========================================================
   RECOMENDACIÓN DESTACADA
   ========================================================= */

.malaga-featured {
  position: relative;

  margin-top: 42px;

  min-height: 190px;

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 26px;

  padding:
    30px 34px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .11),
      rgba(255, 255, 255, .045)
    );

  border:
    1px solid rgba(255, 255, 255, .13);

  border-radius: 24px;

  box-shadow:
    0 20px 55px rgba(0, 0, 0, .10);

  transition:
    background .4s ease;
}


.malaga-featured::after {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  right: -80px;
  top: -90px;

  border-radius: 50%;

  background:
    rgba(122, 211, 221, .09);

  pointer-events: none;
}


.malaga-featured-icon {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  background:
    rgba(255, 255, 255, .1);

  border:
    1px solid rgba(255, 255, 255, .13);

  border-radius: 20px;

  font-size: 2rem;
}


.malaga-featured-content {
  position: relative;

  z-index: 1;
}


.malaga-featured-label {
  margin-bottom: 5px;

  color: #8ed6df;

  font-size: .72rem;

  font-weight: 900;

  letter-spacing: .16em;

  text-transform: uppercase;
}


.malaga-featured h3 {
  margin:
    4px 0 6px;

  color: white;

  font-size:
    clamp(1.35rem, 2.4vw, 1.9rem);

  letter-spacing: -.025em;
}


.malaga-featured p {
  max-width: 650px;

  margin: 0;

  color: #d2e6e9;

  font-size: .98rem;
}


.recommendation-dots {
  position: relative;

  z-index: 2;

  display: flex;
  align-items: center;

  gap: 7px;
}


.recommendation-dot {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .28);

  cursor: pointer;

  transition:
    width .25s ease,
    border-radius .25s ease,
    background .25s ease;
}


.recommendation-dot.active {
  width: 25px;

  border-radius: 999px;

  background: #9adce4;
}


/* animación al cambiar recomendación */

.recommendation-change {
  animation:
    recommendationFade .45s ease;
}


@keyframes recommendationFade {

  from {
    opacity: .25;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   GUÍA DE MÁLAGA
   ========================================================= */

.malaga-guide {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;

  margin-top: 28px;
}


.malaga-card {
  position: relative;

  min-width: 0;

  min-height: 355px;

  display: flex;
  flex-direction: column;

  padding:
    26px 25px 24px;

  background:
    rgba(255, 255, 255, .055);

  border:
    1px solid rgba(255, 255, 255, .11);

  border-radius: 22px;

  transition:
    transform .28s ease,
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}


.malaga-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 20px;
}


.malaga-card-icon {
  font-size: 1.8rem;
}


.malaga-card-number {
  color: #6fa8af;

  font-size: .67rem;

  font-weight: 850;

  letter-spacing: .15em;
}


.malaga-card h3 {
  margin:
    0 0 8px;

  color: white;

  font-size: 1.25rem;
}


.malaga-card > p {
  min-height: 70px;

  margin:
    0 0 20px;

  color: #bfd5d8;

  font-size: .9rem;

  line-height: 1.6;
}


.malaga-places {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-bottom: 24px;
}


.malaga-places span {
  display: inline-flex;

  padding:
    6px 9px;

  background:
    rgba(255, 255, 255, .07);

  color: #e0eff1;

  border:
    1px solid rgba(255, 255, 255, .08);

  border-radius: 999px;

  font-size: .75rem;

  line-height: 1;
}


.malaga-card-tip {
  display: flex;

  gap: 8px;

  align-items: flex-start;

  margin-top: auto;

  padding-top: 17px;

  border-top:
    1px solid rgba(255, 255, 255, .09);
}


.malaga-card-tip > span {
  color: #80ced8;
}


.malaga-card-tip small {
  color: #a9c8cc;

  font-size: .79rem;

  line-height: 1.5;
}


/* =========================================================
   CIERRE SECCIÓN MÁLAGA
   ========================================================= */

.malaga-closing {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 30px 0 0;

  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 22px;

  border-top:
    1px solid rgba(255, 255, 255, .09);
}


.malaga-closing-symbol {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  color: #f7d278;

  background:
    rgba(255, 255, 255, .06);

  border:
    1px solid rgba(255, 255, 255, .09);

  border-radius: 50%;

  font-size: 1.15rem;
  line-height: 1;
}


.malaga-closing p {
  margin: 0;

  color: #c6dcdf;

  font-family:
    Georgia,
    serif;

  font-size:
    clamp(1rem, 2vw, 1.25rem);

  line-height: 1.65;

  text-align: left;
}


/* =========================================================
   CIERRE GENERAL
   ========================================================= */

.quote {
  padding:
    88px 24px;

  background:
    var(--sand);

  text-align: center;
}


.quote blockquote {
  max-width: 850px;

  margin:
    0 auto;

  color: var(--navy);

  font-family:
    Georgia,
    serif;

  font-size:
    clamp(1.8rem, 4vw, 3.2rem);

  line-height: 1.18;
}


.quote p {
  margin-top: 18px;

  color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding:
    58px 24px;

  background: #082f38;

  color: #b7ced2;
}


.footer-inner {
  max-width: 1180px;

  margin: auto;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 35px;
}


.footer-brand {
  color: white;

  font-size: 1.25rem;

  font-weight: 900;

  letter-spacing: .12em;
}


.footer-properties {
  margin-top: 8px;

  color: #eef7f8;

  font-size: .94rem;

  font-weight: 650;
}


.footer-note {
  max-width: 460px;

  margin-top: 3px;

  font-size: .9rem;
}


.copy {
  color: #86a7ad;

  font-size: .8rem;
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

button,
a {
  outline-offset: 4px;
}


button:focus-visible,
a:focus-visible {
  outline:
    3px solid #62bfcd;
}


.noscript {
  padding:
    10px 20px;

  background: #fff3cd;

  color: #594600;

  text-align: center;

  font-size: .9rem;
}


/* =========================================================
   HOVER
   ========================================================= */

@media (hover: hover) {

  .cta:hover {
    transform: translateY(-2px);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, .15);
  }


  .stay:hover {
    transform:
      translateY(-4px);

    box-shadow:
      0 20px 48px #103d4718;
  }


  .stay:hover img {
    transform:
      scale(1.025);
  }


  .malaga-card:hover {
    transform:
      translateY(-6px);

    background:
      rgba(255, 255, 255, .085);

    border-color:
      rgba(143, 215, 224, .25);

    box-shadow:
      0 22px 45px rgba(0, 0, 0, .10);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .malaga-guide {
    grid-template-columns:
      1fr 1fr;
  }

}


@media (max-width: 850px) {

  .nav-menu {
    display: none;
  }


  .intro-grid,
  .stay-grid {
    grid-template-columns: 1fr;
  }


  .stay-img {
    height: 380px;
  }


  .hero {
    min-height: 86vh;
  }


  .footer-inner {
    align-items: flex-start;

    flex-direction: column;
  }


  .malaga-featured {
    grid-template-columns:
      auto 1fr;

    gap: 20px;
  }


  .recommendation-dots {
    grid-column:
      1 / -1;

    justify-content: center;

    margin-top: 3px;
  }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

  section[id] {
    scroll-margin-top: 68px;
  }


  .nav {
    height: 68px;

    padding:
      0 15px;
  }


  .brand {
    gap: 10px;
  }


  .brand-mark {
    width: 34px;
    height: 34px;

    font-size: 18px;
  }


  .brand-name {
    font-size: .8rem;

    letter-spacing: .1em;
  }


  .lang button {
    padding:
      7px 9px;
  }


  .lang-name {
    display: none;
  }


  .flag {
    font-size: 1.08rem;
  }


  .hero {
    min-height: 80vh;

    padding:
      120px 21px 50px;
  }


  .wrap {
    padding:
      66px 20px;
  }


  .promise {
    grid-template-columns: 1fr;
  }


  .stay-img {
    height: 330px;
  }


  .stay-body {
    padding: 22px;
  }


  /* Málaga */

  .malaga-featured {
    min-height: auto;

    grid-template-columns: 1fr;

    padding:
      25px 22px;

    gap: 16px;
  }


  .malaga-featured-icon {
    width: 54px;
    height: 54px;

    border-radius: 16px;

    font-size: 1.6rem;
  }


  .recommendation-dots {
    grid-column: auto;

    justify-content: flex-start;

    margin-top: 4px;
  }


  .malaga-guide {
    grid-template-columns: 1fr;

    gap: 13px;
  }


  .malaga-card {
    min-height: 0;

    padding:
      24px 22px;
  }


  .malaga-card > p {
    min-height: 0;
  }


  .malaga-closing {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 15px;

    padding:
      25px 0 0;
  }

  .malaga-closing-symbol {
    width: 40px;
    height: 40px;

    font-size: 1rem;
  }

  .malaga-closing p {
    font-size: 1rem;
    line-height: 1.6;
  }


  .quote {
    padding:
      68px 20px;
  }

}


/* =========================================================
   REDUCCIÓN DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  * {
    scroll-behavior: auto !important;

    transition: none !important;

    animation: none !important;
  }

}