:root {
  --navy:      #0c1a28;
  --gold:      #b8975a;
  --gold-2:    #d4b07a;
  --cream:     #faf8f5;
  --white:     #ffffff;
  --gray:      #e8e4de;
  --text:      #1a1a1a;
  --muted:     #7a7065;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.container { width: min(1160px, 92%); margin: 0 auto; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  overflow: visible;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(12,26,40,0.09); }
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 1rem; height: 68px;
}
.brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.3rem; letter-spacing: 0.06em;
  text-decoration: none; color: var(--navy);
}
.brand span { color: var(--gold); }
.nav { display: flex; }
.nav a {
  color: var(--muted); text-decoration: none;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 4px;
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.menu-btn {
  display: none; border: 0; background: transparent;
  font-size: 1.3rem; cursor: pointer; color: var(--navy);
  position: relative; z-index: 60;
}

/* ─── HERO ─── */
.hero {
  position: relative; height: 100vh;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, #000);
  pointer-events: none;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.18);
}
.overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5,10,20,1) 0%, rgba(5,10,20,0.7) 25%, transparent 45%, transparent 65%, rgba(5,10,20,0.5) 82%, rgba(5,10,20,0.9) 100%),
    linear-gradient(to bottom, rgba(8,15,26,0.1) 0%, rgba(8,15,26,0.65) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  height: 100%; display: flex;
  flex-direction: column; justify-content: flex-end;
  padding-bottom: 4rem; gap: 1.5rem;
  max-width: 680px;
}
.eyebrow {
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-2); font-family: var(--sans);
}
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05; letter-spacing: 0.01em;
  color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold-2); }

/* ─── BOOKING BAR ─── */
.booking-bar {
  display: flex; flex-wrap: wrap;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  max-width: 620px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.booking-field {
  display: flex; flex-direction: column;
  padding: 0.9rem 1.1rem; flex: 1; min-width: 120px;
  border-right: 1px solid var(--gray);
}
.booking-field:last-of-type { border-right: none; }
.booking-field label {
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.3rem;
}
.booking-field input,
.booking-field select {
  border: none; background: transparent;
  font-family: var(--sans); font-size: 0.88rem;
  color: var(--navy); font-weight: 500;
  cursor: pointer; outline: none;
}
.btn-booking {
  background: var(--gold); color: var(--white);
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; border: none;
  cursor: pointer; padding: 0 1.4rem;
  white-space: nowrap; align-self: stretch;
  transition: background var(--transition);
}
.btn-booking:hover { background: var(--gold-2); }

/* ─── MOSAICO ─── */
.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 340px 340px;
  gap: 3px;
  margin-top: -4px;
}
.mosaic img { height: 100%; object-fit: cover; }
.mosaic-main { grid-row: 1 / 3; }

/* ─── SECTIONS ─── */
.section { padding: 6rem 0; }
.bg-light { background: var(--cream); }
.label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.label.light { color: rgba(255,255,255,0.5); }
.section-head {
  text-align: center; max-width: 560px;
  margin: 0 auto 3.5rem;
}
.section-head span {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy); margin: 0.8rem 0 0;
  line-height: 1.2; letter-spacing: 0.01em;
}

/* ─── TABS ─── */
.tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.tab {
  font-family: var(--sans); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer;
  padding: 0.6rem 1.4rem; border-radius: 4px;
  border: 1px solid var(--gray);
  background: var(--white); color: var(--muted);
  transition: all var(--transition);
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.cards-grid[data-count="1"] { max-width: 360px; }
.cards-grid[data-count="2"] { max-width: 740px; }

/* ─── CARD SLIDER ─── */
.card-slider {
  position: relative; overflow: hidden;
  aspect-ratio: 3/2;
}
.card-slider .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity .4s ease;
}
.card-slider .slide.active { opacity: 1; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  z-index: 2; color: var(--navy);
}
.card:hover .slide-btn { opacity: 1; }
.slide-btn.prev { left: 0.6rem; }
.slide-btn.next { right: 0.6rem; }
.slide-dots {
  position: absolute; bottom: 0.6rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 2;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background var(--transition);
}
.dot.active { background: var(--white); }
.card-sub {
  font-size: 0.78rem !important;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold) !important; font-weight: 500;
}

/* ─── CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--gray);
  border: 1px solid var(--gray);
}
.card {
  background: var(--white);
  display: flex; flex-direction: column;
  transition: transform var(--transition);
}
.card:hover { transform: scale(1.005); }
.card img { aspect-ratio: 4/3; object-fit: cover; }
.card-body {
  padding: 1.6rem; display: flex;
  flex-direction: column; gap: 0.5rem; flex: 1;
}
.card-body h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.5rem; color: var(--navy);
}
.card-body p { color: var(--muted); font-size: 0.88rem; }
.price { color: var(--gold) !important; font-weight: 500 !important; }
.btn-outline {
  display: inline-block; margin-top: auto;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

/* ─── PANELES SERVICIOS ─── */
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.panel-reverse { direction: rtl; }
.panel-reverse > * { direction: ltr; }
.panel img { height: 100%; object-fit: cover; }
.panel-body {
  padding: 5rem 4rem;
  display: flex; flex-direction: column;
  justify-content: center; gap: 1rem;
  background: var(--cream);
}
.panel-body h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--navy); line-height: 1.15;
}
.panel-body p { color: var(--muted); font-size: 0.95rem; max-width: 380px; }

/* ─── ABOUT ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-grid h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--navy); margin: 0.8rem 0 1.2rem;
}
.about-grid p { color: var(--muted); font-size: 0.93rem; }
.about-grid ul {
  color: var(--muted); padding-left: 1rem;
  font-size: 0.9rem; line-height: 2.3;
}
.about-grid img { object-fit: cover; aspect-ratio: 4/3; }

/* ─── TESTIMONIOS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--gray);
  border: 1px solid var(--gray);
}
.testimonials-grid blockquote {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
}
.testimonials-grid blockquote::before {
  content: '\201C';
  font-family: var(--serif); font-size: 5rem;
  line-height: 0.8; color: var(--gold); opacity: 0.3;
  position: absolute; top: 1.5rem; left: 1.5rem;
}
.testimonials-grid blockquote p {
  font-size: 0.93rem; color: var(--muted);
  line-height: 1.75; position: relative; z-index: 1;
}
.testimonials-grid cite {
  display: block; margin-top: 1.2rem;
  font-style: normal; color: var(--navy);
  font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* ─── CONTACTO ─── */
.contact-section { background: var(--navy); color: var(--white); padding-bottom: 3rem; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-section h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  color: var(--white); margin: 0.8rem 0 1rem;
}
.contact-section > .container > div > p {
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
}
.contact-info {
  list-style: none; padding: 0;
  margin: 2rem 0; display: flex; flex-direction: column; gap: 0;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--gold); margin-top: 0.15rem;
}
.contact-item > div {
  display: flex; flex-direction: column; gap: 0.2rem;
}
.contact-label {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); opacity: 0.8;
}
.contact-item span:not(.contact-label) {
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
}
.contact-item a {
  color: rgba(255,255,255,0.85); font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold-2); }
.contact-form {
  background: var(--white); padding: 2.5rem 2rem;
  display: grid; gap: 1rem;
}
.contact-form label {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%; border: none;
  border-bottom: 1px solid var(--gray);
  padding: 0.5rem 0; font-family: var(--sans);
  font-size: 0.9rem; color: var(--text);
  background: transparent;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-bottom-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form select {
  width: 100%; border: none;
  border-bottom: 1px solid var(--gray);
  padding: 0.5rem 0; font-family: var(--sans);
  font-size: 0.9rem; color: var(--text);
  background: transparent;
  transition: border-color var(--transition);
}
.contact-form select:focus { outline: none; border-bottom-color: var(--gold); }
.btn-primary {
  background: var(--gold); color: var(--white);
  border: none; padding: 0.9rem 2rem;
  font-family: var(--sans); font-size: 0.72rem;
  font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; cursor: pointer;
  width: 100%; margin-top: 0.5rem;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--gold-2); }
.form-note {
  min-height: 1.3em; font-size: 0.83rem;
  color: var(--gold); letter-spacing: 0.04em;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #07101a;
  color: rgba(255,255,255,0.3);
  padding: 2rem 0; font-size: 0.82rem;
}
.footer-grid {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-grid h3 {
  font-family: var(--serif); font-weight: 400;
  color: rgba(255,255,255,0.6); margin-bottom: 0.25rem;
}
.social-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  margin-left: 1.5rem; font-size: 0.82rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(184,151,90,0.4);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.social-links a:hover { color: var(--gold); border-color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .panel, .panel-reverse { grid-template-columns: 1fr; direction: ltr; min-height: auto; }
  .panel img { aspect-ratio: 16/9; }
  .panel-body { padding: 3rem 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mosaic { grid-template-rows: 260px 260px; }
}
@media (max-width: 770px) {
  .section { padding: 4rem 0; }
  .header-grid { grid-template-columns: auto auto; }
  .nav {
    position: absolute; right: -200px; top: 68px;
    background: var(--white);
    width: 180px;
    flex-direction: column; gap: 0;
    padding: 0.5rem 0 1rem;
    box-shadow: -4px 8px 20px rgba(12,26,40,0.15);
    border-radius: 0 0 0 8px;
    transition: right .3s cubic-bezier(.4,0,.2,1);
    z-index: 55;
  }
  .nav.open { right: 0; }
  .nav a { text-align: center; }
  .nav a { font-size: 0.85rem; padding: 0.8rem; }
  .menu-btn { display: block; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 260px 200px 200px; }
  .mosaic-main { grid-row: auto; }
  .hero { height: 90vh; }
}
@media (max-width: 770px) {
  .booking-bar { flex-direction: column; max-width: 100%; }
  .booking-field { border-right: none; border-bottom: 1px solid var(--gray); }
  .btn-booking { padding: 1rem; }
  .hero-img { object-position: 60% center; }
  video.hero-img { display: none !important; }
  .hero-img-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: url('images/general/hero-aerea-mobile.jpg') center center/cover no-repeat;
    z-index: 0;
  }
}
