/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:      #0e0e0d;
  --sand:     #f5f0e8;
  --gold:     #c9a96e;
  --gold-lt:  #e8d5b0;
  --white:    #faf9f7;
  --muted:    #7a7468;
  --border:   rgba(201,169,110,.25);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Jost', sans-serif;

  --nav-h: 72px;
  --transition: .45s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.section-label {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  font-family: var(--f-body);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--gold); color: var(--white); }
.btn-solid  { background: var(--gold); color: var(--white); }
.btn-solid:hover { background: #b8904d; border-color: #b8904d; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background var(--transition), box-shadow var(--transition);
}
nav.scrolled {
  background: rgba(250,249,247,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover        { color: var(--gold) !important; }

.nav-cta {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .55rem 1.4rem;
  border: 1px solid rgba(255,255,255,.6);
  color: var(--white);
  transition: var(--transition);
}
nav.scrolled .nav-cta { border-color: var(--gold); color: var(--gold); }
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Reemplaza 'hero.jpg' con el nombre de tu archivo */
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  /* Fallback mientras no haya imagen */
  background-color: #0e1a20;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: .35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,.75) 0%, transparent 55%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }

.hero-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.25);
}

/* ─── DESTINATIONS ───────────────────────────────────────── */
#destinations {
  padding: 7rem 3rem;
  background: var(--white);
}

.destinations-header {
  margin-bottom: 3.5rem;
}

.destinations-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-top: .5rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 520px;
}

.dest-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--sand);
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}

.dest-card:hover .dest-img { transform: scale(1.04); }

.dest-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
}

.dest-country {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
}

.dest-name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .6rem;
}

.dest-cta {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  transition: color var(--transition);
}
.dest-card:hover .dest-cta { color: var(--gold); }

.props-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
  color: var(--muted);
  font-size: .88rem;
}

/* ─── FEATURED PROPERTIES ────────────────────────────────── */
#properties {
  padding: 7rem 3rem;
  background: var(--sand);
}

.props-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.props-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  transition: opacity .45s ease;
}
.props-grid.props-fading { opacity: 0; }

.prop-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.prop-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.1); }

.prop-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}

.prop-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.05); }

.prop-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .3rem .75rem;
}

.prop-body { padding: 1.5rem; }

.prop-location {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}

.prop-name {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.prop-meta {
  display: flex;
  gap: 1.2rem;
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.prop-meta span { display: flex; align-items: center; gap: .35rem; }

.prop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.prop-price {
  font-family: var(--f-display);
  font-size: 1.15rem;
}
.prop-price small {
  font-family: var(--f-body);
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ─── 360 TOURS ──────────────────────────────────────────── */
#tours360 {
  padding: 7rem 3rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

#tours360::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.1);
  pointer-events: none;
}
#tours360::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.07);
  pointer-events: none;
}

.tours-header { margin-bottom: 3.5rem; }

.tours-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
}
.tours-title em { font-style: italic; color: var(--gold); }

.tours-sub {
  margin-top: .8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  max-width: 500px;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tour-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,169,110,.15);
  overflow: hidden;
  transition: border-color var(--transition);
}
.tour-card:hover { border-color: rgba(201,169,110,.45); }

.tour-embed {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border: none;
  display: block;
}

.tour-embed-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  gap: .75rem;
}
.tour-embed-placeholder svg { opacity: .3; }
.tour-embed-placeholder span {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tour-body { padding: 1.4rem; }

.tour-location {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}

.tour-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .5rem;
}

.tour-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.65;
}

/* ─── RATINGS ────────────────────────────────────────────── */
#ratings {
  padding: 7rem 3rem;
  background: var(--sand);
  border-top: 1px solid var(--border);
}

.ratings-header {
  text-align: center;
  margin-bottom: 4rem;
}

.ratings-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: .5rem;
  margin-bottom: 1.2rem;
}
.ratings-title em { font-style: italic; color: var(--gold); }

.ratings-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.ratings-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: .1em;
}

.ratings-num {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.ratings-source {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

.ratings-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ratings-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--border);
}

.ratings-card-stars {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}

.ratings-card-text {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.ratings-card-author {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}

.ratings-card-source {
  background: var(--border);
  color: var(--gold);
  font-size: .58rem;
  padding: .15rem .5rem;
  letter-spacing: .12em;
}

/* ─── CONTACT CTA ────────────────────────────────────────── */
#contact-cta {
  padding: 8rem 3rem;
  text-align: center;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: .85rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 4rem 3rem 2rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: .78rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.footer-social { display: flex; gap: .8rem; }

.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: border-color var(--transition), color var(--transition);
  color: rgba(255,255,255,.4);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

.footer-col-title {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .65rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }

  #hero, #destinations, #properties, #tours360, #services, #contact-cta, footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .dest-grid          { grid-template-columns: 1fr; height: auto; }
  .dest-img           { aspect-ratio: 4/3; height: auto; }

  .props-grid         { grid-template-columns: 1fr; }
  .ratings-placeholder { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}
