/* ── Fuentes ── */
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --font-display: 'Old Standard TT', serif;
  --font-elegant: 'Cormorant Garamond', serif;
  --font-ui:      'Inter', sans-serif;
  --cream:   #F6F3EE;
  --black:   #0e0c0a;
  --gold:    #B39662;
  --gold-dk: #92754B;
  --text:    #1F1F1F;
  --muted:   #7A7269;
  --white:   #FFFFFF;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-ui); background: var(--cream); color: var(--text); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }

/* ── Reveal animations ── */
.r  { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.r.v { opacity: 1; transform: none; }
.rd1 { transition-delay: .12s; }
.rd2 { transition-delay: .24s; }
.rd3 { transition-delay: .36s; }
.rd4 { transition-delay: .48s; }

/* ── Flash messages ── */
.flash-ok    { background: #2d5a1b; color: #fff; padding: 14px 24px; margin-bottom: 20px; font-size: 13px; letter-spacing: .08em; }
.flash-error { background: #8b1a1a; color: #fff; padding: 14px 24px; margin-bottom: 20px; font-size: 13px; letter-spacing: .08em; }

/* ── Cursor ── */
.cursor      { position: fixed; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 9999; transition: transform .15s ease, opacity .3s; }
.cursor-ring { display: none; } /* círculo que sigue al puntero: deshabilitado */
.cursor.hidden, .cursor-ring.hidden { opacity: 0; }
.cursor.expand, .cursor-ring.expand { transform: scale(2.5); opacity: .5; }
/* Dispositivos táctiles/móviles: sin puntero de mouse, no mostrar el cursor personalizado */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ── Loader ── */
#loader { position: fixed; inset: 0; background: var(--black); z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transition: opacity .8s ease, visibility .8s ease; }
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-elegant); font-size: 28px; font-weight: 300; letter-spacing: .14em; color: var(--cream); text-transform: uppercase; opacity: 0; animation: loaderFade .6s .2s forwards; }
.loader-logo span { color: var(--gold); }
.loader-line-wrap { width: 200px; height: 1px; background: rgba(255,255,255,.1); }
.loader-line { height: 1px; background: var(--gold); width: 0; animation: loaderBar 1.4s .4s cubic-bezier(.77,0,.18,1) forwards; }
.loader-pct  { font-size: 11px; letter-spacing: .2em; color: rgba(246,243,238,.3); opacity: 0; animation: loaderFade .6s .6s forwards; }
@keyframes loaderBar  { to { width: 100%; } }
@keyframes loaderFade { to { opacity: 1; } }

/* ── Header ── */
#hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 60px; height: 80px; display: flex; align-items: center; justify-content: space-between; transition: height .4s, background .5s; }
#hdr.scrolled { height: 64px; background: rgba(14,12,10,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); }
.hdr-logo { font-family: var(--font-elegant); font-size: 19px; font-weight: 400; letter-spacing: .1em; color: var(--white); text-transform: uppercase; }
.hdr-logo em { color: var(--gold); font-style: normal; }
nav ul { display: flex; list-style: none; gap: 36px; align-items: center; }
nav ul a { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .3s; position: relative; }
nav ul a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
nav ul a:hover { color: var(--white); }
nav ul a:hover::after { transform: scaleX(1); }
.hdr-reserve { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(179,150,98,.5); padding: 12px 24px; transition: all .3s; }
.hdr-reserve:hover { background: var(--gold); border-color: var(--gold); }

/* ── Burger mobile ── */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1px; background: var(--white); transition: all .3s; }

/* ── Mobile nav ── */
.m-nav { position: fixed; inset: 0; background: var(--black); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; visibility: hidden; transition: all .4s; }
.m-nav.on { opacity: 1; visibility: visible; }
.m-nav a  { font-family: var(--font-display); font-size: clamp(24px,5vw,36px); color: var(--cream); letter-spacing: .05em; transition: color .3s; }
.m-nav a:hover { color: var(--gold); }
.m-nav-x { position: absolute; top: 24px; right: 24px; font-size: 24px; color: var(--white); }

/* ── Lang switcher ── */
.lang-switch { display: flex; gap: 12px; }
.lang-switch a { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); transition: color .3s; }
.lang-switch a:hover, .lang-switch a.on { color: var(--gold); }

/* ── Eyebrow ── */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }

/* ── Section headings ── */
.section-h2 { font-family: var(--font-display); font-size: clamp(32px,4vw,54px); line-height: 1.15; color: var(--black); }

/* ── Botones base ── */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 32px; font-family: var(--font-ui); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: all .35s; border-radius: 0; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-gold-outline { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 32px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; border: 1px solid rgba(179,150,98,.5); color: var(--gold); background: transparent; border-radius: 0; cursor: pointer; transition: all .35s; font-family: var(--font-ui); text-decoration: none; }
.btn-gold-outline:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ── Footer ── */
footer { background: var(--black); color: rgba(246,243,238,.6); padding: 80px 60px 40px; }
.f-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 60px; }
.f-brand-logo { font-family: var(--font-elegant); font-size: 22px; color: var(--cream); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.f-brand-logo em { color: var(--gold); font-style: normal; }
.f-tagline { font-size: 13px; line-height: 1.7; color: rgba(246,243,238,.5); max-width: 260px; }
.f-col-h { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 20px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-col ul a { font-size: 13px; color: rgba(246,243,238,.55); transition: color .3s; }
.f-col ul a:hover { color: var(--gold); }
.f-contact { font-size: 13px; color: rgba(246,243,238,.55); line-height: 1.7; display: block; transition: color .3s; }
.f-contact:hover { color: var(--gold); }
.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.f-copy { font-size: 11px; color: rgba(246,243,238,.3); }
.f-langs { display: flex; gap: 16px; }
.f-langs a { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(246,243,238,.35); transition: color .3s; }
.f-langs a:hover, .f-langs a.on { color: var(--gold); }



/* scroll */

.scrollBox1{
    
    overflow-y: scroll;
    height: 500px;

}
.scrollBox1::-webkit-scrollbar{width:5px; }

.scrollBox1::-webkit-scrollbar-thumb{background:#b39662;border-radius:8px;}
/* Scrollbar general del sitio: ver public/assets/css/theme.css (compartido con el admin) */


/* ── Responsive ── */
@media (max-width: 1024px) {
  #hdr { padding: 0 32px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  #hdr { padding: 0 20px; }
  #hdr nav, #hdr .lang-switch, .hdr-reserve { display: none; }
  .burger { display: flex; }
  footer { padding: 60px 24px 32px; }
  .f-grid { grid-template-columns: 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
}
