/* =============================================
   BAROCCO GROUP — Design System & Styles
   Quiet Luxury · Mediterranean Elegance
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  /* Abyss (Navy) */
  --abyss-900: #0E1E2B;
  --abyss-800: #162A3B;
  --abyss-700: #1E3A50;
  --abyss-600: #2D5467;
  --abyss-500: #3D6A80;
  --abyss-400: #6B8299;
  --abyss-300: #8FA3B5;
  --abyss-200: #B3C2CF;

  /* Terracota */
  --terracota-900: #5E2218;
  --terracota-800: #7A3020;
  --terracota-700: #8B3A2A;
  --terracota-600: #A04030;
  --terracota-500: #A85C4A;
  --terracota-400: #C07060;
  --terracota-300: #D08070;
  --terracota-200: #E0A898;

  /* Niebla (Mist) */
  --niebla-700: #8E8672;
  --niebla-600: #B0A890;
  --niebla-500: #C8C0AC;
  --niebla-400: #DDD5C5;
  --niebla-300: #EBE5D8;
  --niebla-200: #F5F0E8;
  --niebla-100: #FAF8F3;
  --niebla-50:  #FDFBF7;

  /* Semantic */
  --color-bg: var(--niebla-50);
  --color-bg-alt: var(--niebla-200);
  --color-text: var(--abyss-800);
  --color-text-light: var(--abyss-400);
  --color-accent: var(--terracota-600);
  --color-accent-hover: var(--terracota-700);
  --color-heading: var(--abyss-900);
  --color-border: var(--niebla-400);
  --color-white: #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-nav: 0.8125rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-section: clamp(5rem, 10vw, 8rem);

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 900px;
  --header-height: 80px;

  /* Borders & Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.7s var(--ease-out);
  --transition-hero: 1.2s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(14, 30, 43, 0.06);
  --shadow-md: 0 4px 12px rgba(14, 30, 43, 0.08);
  --shadow-lg: 0 8px 30px rgba(14, 30, 43, 0.12);
  --shadow-xl: 0 16px 50px rgba(14, 30, 43, 0.16);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.2;
}

::selection {
  background: var(--terracota-300);
  color: var(--abyss-900);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.section-label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracota-500);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), box-shadow var(--transition-base), height var(--transition-base);
}

.header--scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 68px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__logo img {
  height: 40px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.header__logo:hover img {
  opacity: 0.7;
}

/* Header inverts to white text on hero, dark on scroll */
.header:not(.header--scrolled):not(.header--scrolled-always) .header__nav-link,
.header:not(.header--scrolled):not(.header--scrolled-always) .header__lang-btn,
.header:not(.header--scrolled):not(.header--scrolled-always) .header__logo-text {
  color: var(--color-white);
}

.header--scrolled .header__nav-link,
.header--scrolled .header__lang-btn {
  color: var(--abyss-800);
}

.header--scrolled .header__logo img {
  filter: none;
}

.header:not(.header--scrolled):not(.header--scrolled-always) .header__logo img {
  filter: brightness(0) invert(1);
}

/* Nav */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  font-size: var(--fs-nav);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-base);
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Dropdown */
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--niebla-300);
  min-width: 200px;
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Invisible bridge to prevent hover gap between link and dropdown */
.header__nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  display: none;
}

.header__nav-item:hover::after {
  display: block;
}

.header__nav-item:hover .header__dropdown,
.header__nav-item.is-open .header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__dropdown-link {
  display: block;
  padding: var(--space-xs) var(--space-md);
  font-size: var(--fs-small);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.header__dropdown-link:hover {
  background: var(--niebla-200);
  color: var(--terracota-600);
}

/* Header right */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__lang {
  display: none;
  align-items: center;
  gap: var(--space-xs);
}

.header__lang-btn {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 6px;
  transition: color var(--transition-fast);
}

.header__lang-btn.is-active {
  border-bottom: 1px solid currentColor;
}

.header__lang-divider {
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.3;
}

/* CTA */
.btn-book {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid currentColor;
  transition: all var(--transition-fast);
}

.header:not(.header--scrolled):not(.header--scrolled-always) .btn-book {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.header:not(.header--scrolled):not(.header--scrolled-always) .btn-book:hover {
  background: var(--color-white);
  color: var(--abyss-800);
  border-color: var(--color-white);
}

.header--scrolled .btn-book {
  color: var(--abyss-800);
  border-color: var(--abyss-800);
}

.header--scrolled .btn-book:hover {
  background: var(--abyss-800);
  color: var(--color-white);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.header__hamburger span {
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: all var(--transition-fast);
  display: block;
}

.header:not(.header--scrolled):not(.header--scrolled-always) .header__hamburger {
  color: var(--color-white);
}

.header--scrolled .header__hamburger {
  color: var(--abyss-800);
}

.header__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--niebla-50);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 30, 43, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
}

.mobile-nav__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--niebla-300);
  color: var(--abyss-800);
}

.mobile-nav__sub {
  padding-left: var(--space-md);
}

.mobile-nav__sub-link {
  display: block;
  font-size: var(--fs-body);
  font-weight: 300;
  padding: var(--space-xs) 0;
  color: var(--abyss-400);
}

.mobile-nav__book {
  display: block;
  text-align: center;
  margin-top: var(--space-lg);
  padding: 16px;
  background: var(--abyss-800);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease-in-out) infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 30, 43, 0.35) 0%,
    rgba(14, 30, 43, 0.15) 40%,
    rgba(14, 30, 43, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--space-md);
  max-width: 900px;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--color-white);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.6s forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__subtitle {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.9s forwards;
}

/* Search Engine */
.search-engine {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  padding: 0 var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 1.2s forwards;
}

.search-engine__form {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.search-engine__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.search-engine__field {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
}

.search-engine__field label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--abyss-400);
  margin-bottom: 6px;
}

.search-engine__field select,
.search-engine__field input {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--abyss-800);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.search-engine__field select option {
  background: var(--color-white);
  color: var(--abyss-800);
}

.search-engine__field input::placeholder {
  color: var(--niebla-600);
}

.search-engine__submit {
  padding: 16px 32px;
  background: var(--terracota-600);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-top: var(--space-sm);
}

.search-engine__submit:hover {
  background: var(--terracota-700);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease-out) 1.8s forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   VALUE PROPOSITION
   ============================================= */
.value-prop {
  padding: var(--space-section) 0;
  text-align: center;
}

.value-prop__inner {
  max-width: 750px;
  margin: 0 auto;
}

.value-prop__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
  color: var(--abyss-800);
}

.value-prop__title em {
  font-style: italic;
  color: var(--terracota-500);
}

.value-prop__text {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: var(--space-md);
}

.value-prop__line {
  width: 60px;
  height: 1px;
  background: var(--terracota-500);
  margin: var(--space-lg) auto 0;
}

/* =============================================
   DESTINATIONS
   ============================================= */
.destinations {
  padding: var(--space-section) 0;
  background: var(--color-bg);
}

.destinations__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.destinations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.destination-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.destination-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.destination-card:hover .destination-card__img {
  transform: scale(1.08);
}

.destination-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(14, 30, 43, 0.7) 100%
  );
  transition: background var(--transition-base);
}

.destination-card:hover .destination-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(14, 30, 43, 0.1) 0%,
    rgba(14, 30, 43, 0.8) 100%
  );
}

.destination-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
  transform: translateY(10px);
  transition: transform var(--transition-base);
}

.destination-card:hover .destination-card__content {
  transform: translateY(0);
}

.destination-card__name {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.destination-card__count {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.destination-card:hover .destination-card__count {
  opacity: 1;
}

.destination-card__arrow {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-base);
}

.destination-card:hover .destination-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================
   PROPERTY COLLECTION
   ============================================= */
.properties {
  padding: var(--space-section) 0;
  background: var(--niebla-200);
  overflow: hidden;
}

.properties__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.properties__header-left {
  flex: 1;
}

.properties__nav {
  display: flex;
  gap: var(--space-sm);
}

.properties__nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--abyss-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abyss-800);
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.properties__nav-btn:hover {
  background: var(--abyss-800);
  color: var(--color-white);
}

.properties__slider {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-sm);
  cursor: grab;
}

.properties__slider::-webkit-scrollbar {
  display: none;
}

.properties__slider:active {
  cursor: grabbing;
}

.property-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--color-white);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
}

.property-card__img-wrap {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.property-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card__img {
  transform: scale(1.05);
}

.property-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(14, 30, 43, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-white);
}

.property-card__body {
  padding: var(--space-lg);
}

.property-card__type {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracota-500);
  margin-bottom: var(--space-xs);
}

.property-card__name {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}

.property-card__location {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.property-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--niebla-300);
}

.property-card__price {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.property-card__price strong {
  font-weight: 500;
  color: var(--color-text);
  font-size: var(--fs-body);
}

.property-card__link {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--abyss-800);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.property-card__link:hover {
  color: var(--terracota-600);
}

.property-card__link svg {
  transition: transform var(--transition-fast);
}

.property-card__link:hover svg {
  transform: translateX(4px);
}

/* =============================================
   PROPERTY TYPES (Bento Grid)
   ============================================= */
.ptypes {
  padding: var(--space-section) 0;
}

.ptypes__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.ptypes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.ptypes__right {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.ptypes__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: pointer;
  display: block;
}

.ptypes__card--large {
  aspect-ratio: 4/5;
}

.ptypes__card--small {
  aspect-ratio: 16/10;
}

.ptypes__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ptypes__card:hover .ptypes__card-img {
  transform: scale(1.06);
}

.ptypes__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(14, 30, 43, 0.7) 100%
  );
  transition: background var(--transition-base);
}

.ptypes__card:hover .ptypes__card-overlay {
  background: linear-gradient(
    180deg,
    rgba(14, 30, 43, 0.05) 0%,
    rgba(14, 30, 43, 0.8) 100%
  );
}

.ptypes__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.ptypes__card-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.ptypes__card--large .ptypes__card-title {
  font-size: var(--fs-h2);
}

.ptypes__card-desc {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: var(--space-sm);
}

.ptypes__card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota-300);
  transition: color var(--transition-fast);
}

.ptypes__card:hover .ptypes__card-link {
  color: var(--terracota-200);
}

.ptypes__card-link svg {
  transition: transform var(--transition-fast);
}

.ptypes__card:hover .ptypes__card-link svg {
  transform: translateX(4px);
}



/* =============================================
   EXPERIENCES
   ============================================= */
.experiences {
  padding: var(--space-section) 0;
  background: var(--abyss-800);
  color: var(--color-white);
  overflow: hidden;
}

.experiences__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.experiences .section-label {
  color: var(--terracota-300);
}

.experiences .section-title {
  color: var(--color-white);
}

.experiences .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
}

.experiences__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.experience-card {
  text-align: center;
}

.experience-card__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.experience-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.experience-card:hover .experience-card__img {
  transform: scale(1.05);
}

.experience-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.experience-card__text {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 320px;
  margin: 0 auto;
}

/* =============================================
   SOCIAL / INSTAGRAM
   ============================================= */
.social {
  padding: var(--space-section) 0 0;
}

.social__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.social__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.social__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition-base);
}

.social__item:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}

.social__item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 30, 43, 0.3);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.social__item:hover .social__item-overlay {
  opacity: 1;
}

.social__item-overlay svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

/* =============================================
   ABOUT / EL GRUPO
   ============================================= */
.about {
  padding: var(--space-section) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  max-width: 500px;
}

.about__text {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: var(--space-lg);
}

.btn-outline {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--abyss-800);
  color: var(--abyss-800);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: var(--abyss-800);
  color: var(--color-white);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--abyss-900);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo img {
  height: 24px;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-md);
}

.footer__tagline {
  font-size: var(--fs-small);
  line-height: 1.8;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: var(--fs-small);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

/* Newsletter */
.footer__newsletter-text {
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
}

.footer__newsletter-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer__newsletter-input:focus {
  border-color: var(--terracota-400);
}

.footer__newsletter-btn {
  padding: 12px 20px;
  background: var(--terracota-600);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.footer__newsletter-btn:hover {
  background: var(--terracota-500);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
}

.footer__socials {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--terracota-500);
  color: var(--terracota-400);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* =============================================
   CONCIERGE FLOAT BUTTON
   ============================================= */
.concierge-btn {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.concierge-btn__tooltip {
  background: var(--color-white);
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--abyss-800);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.concierge-btn:hover .concierge-btn__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.concierge-btn__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.concierge-btn:hover .concierge-btn__circle {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

.concierge-btn__circle svg {
  width: 26px;
  height: 26px;
  fill: var(--color-white);
}

/* =============================================
   RESPONSIVE — TABLET (768px+)
   ============================================= */
@media (min-width: 768px) {
  .destinations__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experiences__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .social__grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .ptypes__grid {
    grid-template-columns: 5fr 7fr;
  }

  .ptypes__card--large {
    aspect-ratio: auto;
    height: 100%;
  }

  .property-card {
    flex: 0 0 45%;
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

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

  .search-engine__submit {
    margin-top: var(--space-sm);
  }
}

/* =============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================= */
@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }

  .header__lang {
    display: flex;
  }

  .header__hamburger {
    display: none;
  }

  .btn-book {
    display: inline-block;
  }

  .destinations__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .destination-card {
    aspect-ratio: 3/4;
  }

  .property-card {
    flex: 0 0 33%;
  }

  .ptypes__grid {
    grid-template-columns: 5fr 7fr;
  }

  .social__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }

  .search-engine__form {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
  }

  .search-engine__fields {
    grid-template-columns: repeat(4, 1fr);
    flex: 1;
  }

  .search-engine__field {
    padding: var(--space-md) var(--space-lg);
    border-right: 1px solid var(--niebla-300);
  }

  .search-engine__submit {
    margin-top: 0;
    padding: var(--space-md) var(--space-xl);
    white-space: nowrap;
  }

  .properties__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* =============================================
   RESPONSIVE — WIDE (1440px+)
   ============================================= */
@media (min-width: 1440px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--abyss-900);
  color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner--closing {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-banner__content {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.cookie-banner__icon {
  color: var(--terracota-500);
  flex-shrink: 0;
}

.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.cookie-banner__text p {
  color: var(--niebla-300);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--terracota-400);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.cookie-banner__btn {
  padding: 10px 16px;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cookie-banner__btn--accept {
  background: var(--terracota-600);
  color: var(--color-white);
}

.cookie-banner__btn--accept:hover {
  background: var(--terracota-700);
}

.cookie-banner__btn--reject,
.cookie-banner__btn--settings {
  background: transparent;
  color: var(--niebla-200);
  border: 1px solid var(--abyss-600);
}

.cookie-banner__btn--reject:hover,
.cookie-banner__btn--settings:hover {
  background: var(--abyss-800);
  color: var(--color-white);
}

/* Settings Panel */
.cookie-banner__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.cookie-banner__panel--open {
  max-height: 500px;
  margin-top: var(--space-md);
  border-top: 1px solid var(--abyss-700);
  padding-top: var(--space-md);
}

.cookie-banner__panel-title {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.cookie-banner__option {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--abyss-800);
}

.cookie-banner__option:last-of-type {
  border-bottom: none;
}

.cookie-banner__option-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.cookie-banner__option-header strong {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-white);
}

.cookie-banner__option-header small {
  font-size: var(--fs-xs);
  color: var(--niebla-400);
}

.cookie-banner__option p {
  font-size: var(--fs-xs);
  color: var(--niebla-400);
  line-height: 1.4;
  padding-left: 52px;
}

/* Toggle Switch */
.cookie-banner__toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-banner__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-banner__toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--abyss-600);
  transition: .4s;
  border-radius: 34px;
}

.cookie-banner__toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-slider {
  background-color: var(--terracota-500);
}

.cookie-banner__toggle input:focus + .cookie-banner__toggle-slider {
  box-shadow: 0 0 1px var(--terracota-500);
}

.cookie-banner__toggle input:checked + .cookie-banner__toggle-slider:before {
  transform: translateX(18px);
}

.cookie-banner__toggle input:disabled + .cookie-banner__toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-banner__panel-actions {
  margin-top: var(--space-md);
  text-align: right;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .cookie-banner__actions {
    flex-direction: column;
  }
  .cookie-banner__btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
  }
  .hero__tagline {
    margin-top: 2rem;
  }
}
