/* =====================================================================
   Portada v2 (2026-09-09) — Caribe Jewelry
   Estilo alineado con /reserva, los tours y /links: esmeralda oscuro,
   dorado, Playfair cursiva para titulos, Raleway para texto.
   Todo va bajo .hm para no chocar con style.css / custom.css.
   ===================================================================== */
.hm{--ink:#141a17;--soft:#5b665f;--cream:#f7f3ea;--gold:#c9a24b;--gold2:#d9af77;--em:#0a3d27;--em2:#062015;--line:rgba(20,26,23,.1);
  font-family:Raleway,-apple-system,"Segoe UI",sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;width:100%;clear:both}
.hm *,.hm *::before,.hm *::after{box-sizing:border-box}
.hm .wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 22px}
.hm h1,.hm h2,.hm h3{font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-weight:500;line-height:1.1;margin:0;letter-spacing:0;text-transform:none}
.hm h2{font-size:clamp(1.9rem,3.6vw,2.7rem);color:var(--ink)}
.hm h1 em,.hm h2 em{font-style:italic;color:var(--gold)}
.hm .eyebrow{display:inline-block;font-size:11.5px;letter-spacing:.26em;text-transform:uppercase;font-weight:700;color:var(--em);margin-bottom:14px}
.hm .lead{font-size:17px;line-height:1.7;color:var(--soft);max-width:640px;margin:14px 0 0}
.hm .sec{padding:88px 0}
.hm .sec-head{max-width:740px;margin:0 auto 46px;text-align:center}
.hm .sec-head .lead{margin-left:auto;margin-right:auto}
.hm p{font-family:inherit}

/* Botones */
.hm .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 28px;border-radius:44px;font-weight:700;font-size:14px;
  letter-spacing:.04em;text-decoration:none!important;transition:transform .2s,box-shadow .2s,background .2s,color .2s,border-color .2s;
  border:1px solid transparent;line-height:1.1;cursor:pointer;font-family:inherit;text-transform:none;white-space:nowrap}
.hm .btn:hover,.hm .btn:focus{transform:translateY(-2px);outline:none}
.hm .btn-gold{background:var(--gold);color:#04120c!important;box-shadow:0 14px 30px -14px rgba(201,162,75,.8)}
.hm .btn-gold:hover{background:#d7b25c;color:#04120c!important}
.hm .btn-ghost{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.45)}
.hm .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.hm .btn-dark{background:var(--em);color:#fff!important}
.hm .btn-dark:hover{background:#0e5a3a;color:#fff!important}
.hm .btn-line{background:transparent;color:var(--em)!important;border-color:rgba(10,61,39,.35)}
.hm .btn-line:hover{border-color:var(--em);background:rgba(10,61,39,.05)}
.hm .btn svg{width:16px;height:16px;flex:none}

/* ---------- Hero ---------- */
.hm-hero{position:relative;min-height:min(84vh,800px);display:flex;align-items:center;color:#fff;overflow:hidden;
  background:#062015 url(../images/home/hero-desktop.jpg) center 40%/cover no-repeat}
.hm-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,13,9,.88) 0%,rgba(4,13,9,.66) 42%,rgba(4,13,9,.16) 100%)}
.hm-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:160px;background:linear-gradient(180deg,rgba(4,13,9,0),rgba(4,13,9,.7))}
.hm-hero .wrap{position:relative;z-index:1;padding-top:96px;padding-bottom:96px}
.hm-hero .eyebrow{color:var(--gold2)}
.hm-hero h1{font-size:clamp(2.5rem,5.4vw,4.4rem);max-width:780px;line-height:1.04;color:#fff}
.hm-hero .lead{color:rgba(244,239,230,.86);font-size:clamp(16px,1.6vw,19px);max-width:600px;margin-top:20px}
.hm-hero .ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.hm-hero .trust{display:flex;flex-wrap:wrap;gap:16px 44px;margin-top:48px;padding-top:26px;border-top:1px solid rgba(255,255,255,.18);max-width:960px}
.hm-hero .trust div{display:flex;flex-direction:column;gap:5px;max-width:190px}
.hm-hero .trust b{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:500;font-size:28px;color:var(--gold);line-height:1}
.hm-hero .trust span{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(244,239,230,.7);line-height:1.5}

/* ---------- Experiencias ---------- */
.hm-exp{background:var(--cream)}
.hm-exp .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.xcard{display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;border:1px solid var(--line);
  box-shadow:0 18px 40px -26px rgba(0,0,0,.35);transition:transform .25s,box-shadow .25s}
.xcard:hover{transform:translateY(-5px);box-shadow:0 28px 50px -26px rgba(0,0,0,.45)}
.xcard .ph{position:relative;aspect-ratio:4/3;overflow:hidden;background:#dfd8c8}
.xcard .ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.xcard:hover .ph img{transform:scale(1.05)}
.xcard .tag{position:absolute;top:12px;left:12px;background:rgba(4,13,9,.78);color:#fff;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;padding:7px 11px;border-radius:30px;backdrop-filter:blur(4px)}
.xcard .tag.free{background:var(--gold);color:#04120c}
.xcard .bd{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.xcard h3{font-size:1.3rem;line-height:1.2;margin-bottom:8px;color:var(--ink)}
.xcard p{font-size:14px;line-height:1.6;color:var(--soft);margin:0 0 14px}
.xcard ul{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:7px}
.xcard li{font-size:13px;color:var(--ink);padding-left:22px;position:relative;line-height:1.45}
.xcard li::before{content:"\2713";position:absolute;left:0;top:0;color:var(--gold);font-weight:700}
.xcard .pr{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;border-top:1px solid var(--line)}
.xcard .pr .amt{display:flex;flex-direction:column}
.xcard .pr .amt b{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:500;font-size:27px;color:var(--em);line-height:1}
.xcard .pr .amt small{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);margin-top:5px}
.xcard .pr .btn{padding:12px 20px;font-size:13px}
.hm-exp .note{text-align:center;font-size:13px;color:var(--soft);margin-top:26px}
.hm-exp .note a{color:var(--em);font-weight:700;text-decoration:none}

/* ---------- Museo ---------- */
.hm-museo{background:var(--em2);color:#f4efe6;position:relative;overflow:hidden}
.hm-museo::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.hm-museo .wrap{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center;position:relative}
.hm-museo .eyebrow{color:var(--gold2)}
.hm-museo h2{color:#fff}
.hm-museo .lead{color:rgba(244,239,230,.8)}
.hm-museo .hours{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0 18px}
.hm-museo .hours div{background:rgba(255,255,255,.05);border:1px solid rgba(201,162,75,.28);border-radius:12px;padding:14px 10px;text-align:center}
.hm-museo .hours span{display:block;font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold2);margin-bottom:6px}
.hm-museo .hours b{font-size:14.5px;font-weight:600;color:#fff;white-space:nowrap}
.hm-museo .addr{font-size:14px;color:rgba(244,239,230,.75);margin:0 0 24px;display:flex;align-items:center;gap:8px}
.hm-museo .addr svg{width:15px;height:15px;color:var(--gold);flex:none}
.hm-museo .ctas{display:flex;flex-wrap:wrap;gap:12px}
.hm-museo .mosaic{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hm-museo .mosaic figure{position:relative;margin:0;border-radius:14px;overflow:hidden;box-shadow:0 20px 40px -22px rgba(0,0,0,.8);background:#0a2a1c}
.hm-museo .mosaic .big{grid-column:1/3;aspect-ratio:16/9}
.hm-museo .mosaic .sm{aspect-ratio:4/3}
.hm-museo .mosaic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s}
.hm-museo .mosaic figure:hover img{transform:scale(1.04)}
.hm-museo .mosaic figcaption{position:absolute;left:12px;bottom:12px;background:rgba(4,13,9,.78);color:#fff;font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;font-weight:700;padding:7px 11px;border-radius:30px;backdrop-filter:blur(4px)}
.hm-museo .mosaic figcaption b{color:var(--gold)}

/* ---------- Coleccion ---------- */
.hm-col{background:#fff}
.hm-col .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ccard{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:1/1;display:block;text-decoration:none!important;background:#efe9dc}
.ccard img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.ccard:hover img{transform:scale(1.06)}
.ccard .cap{position:absolute;left:0;right:0;bottom:0;padding:22px;background:linear-gradient(180deg,rgba(4,13,9,0),rgba(4,13,9,.8));color:#fff;
  display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.ccard .cap b{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:500;font-size:1.7rem;line-height:1}
.ccard .cap span{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700;white-space:nowrap}
.hm-col .more{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:38px}

/* ---------- Historia ---------- */
.hm-hist{background:var(--cream)}
.hm-hist .wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.hm-hist .pic{position:relative;padding-bottom:34px;padding-right:30px}
.hm-hist .pic img.main{width:100%;display:block;border-radius:18px;box-shadow:0 24px 50px -28px rgba(0,0,0,.5)}
.hm-hist .pic img.stone{position:absolute;right:-6px;bottom:0;width:48%;filter:drop-shadow(0 18px 30px rgba(0,0,0,.35))}
.hm-hist .txt p{font-size:16px;line-height:1.8;color:var(--soft);margin:18px 0 26px}

/* ---------- Testimonios ---------- */
.hm-test{background:#fff}
.hm-test .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tcard{background:var(--cream);border-radius:18px;padding:30px 26px 26px;position:relative}
.tcard::before{content:"\201C";position:absolute;top:6px;left:18px;font-family:"Playfair Display",Georgia,serif;font-size:84px;line-height:1;color:rgba(201,162,75,.35)}
.tcard .stars{color:var(--gold);letter-spacing:3px;font-size:14px;margin-bottom:12px;position:relative}
.tcard p{font-size:15px;line-height:1.7;color:var(--ink);margin:0 0 16px;position:relative}
.tcard b{display:block;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--em)}
.tcard small{font-size:12px;color:var(--soft)}
.hm-test .more{text-align:center;margin-top:36px}

/* ---------- Animacion de entrada sin JS ----------
   Las tarjetas son visibles siempre; en navegadores con scroll-driven
   animations (Chrome/Edge) entran con un leve desplazamiento. */
.hm .reveal{opacity:1;transform:none;transition:none}
@keyframes hmRise{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}
@supports (animation-timeline: view()){
  .hm .xcard,.hm .ccard,.hm .tcard,.hm-museo .mosaic figure,.hm-hist .pic,.hm .sec-head{
    animation:hmRise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
}
@media (prefers-reduced-motion:reduce){.hm .xcard,.hm .ccard,.hm .tcard,.hm-museo .mosaic figure,.hm-hist .pic,.hm .sec-head{animation:none}}

/* ---------- Responsive ---------- */
@media (max-width:1023px){
  .hm-exp .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .hm-museo .wrap,.hm-hist .wrap{grid-template-columns:1fr;gap:40px}
  .hm-hist .pic{padding-right:0}
}
@media (max-width:800px){
  .hm-test .grid{grid-template-columns:1fr}
}
@media (max-width:767px){
  .hm .sec{padding:64px 0}
  .hm .sec-head{margin-bottom:32px}
  .hm-hero{background-image:url(../images/home/hero-mobile.jpg);background-position:center 30%;min-height:0}
  .hm-hero::before{background:linear-gradient(180deg,rgba(4,13,9,.5) 0%,rgba(4,13,9,.8) 50%,rgba(4,13,9,.94) 100%)}
  .hm-hero .wrap{padding-top:72px;padding-bottom:60px}
  .hm-hero .trust{gap:16px 26px;margin-top:36px}
  .hm-hero .trust b{font-size:23px}
  .hm-hero .ctas .btn{flex:1 1 100%}
}
@media (max-width:700px){
  .hm-col .grid{grid-template-columns:1fr;gap:16px}
  .ccard{aspect-ratio:16/10}
}
@media (max-width:600px){
  .hm-exp .grid{grid-template-columns:1fr}
  .xcard .ph{aspect-ratio:16/10}
}
@media (max-width:480px){
  .hm-museo .hours{grid-template-columns:1fr 1fr}
  .hm-museo .ctas .btn{flex:1 1 100%}
}
