/*
 * STAR TRADE | HONGUITO - HOMENAJE R2
 * Archivo autonomo: solo modifica honguito.html y la seccion opcional en nosotros.html.
 * No modifica la navegacion global, portada, API ni formulario de cotizaciones.
 */
:root{--hm2-white:#f8fbff;--hm2-blue:#91c8ff;--hm2-cyan:#35d1f6;--hm2-ink:#050a13}
.hm2-page{margin-top:95px;overflow:clip;background:#050a13;color:var(--hm2-white);font-family:'Inter','Avenir Next',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.hm2-page *{box-sizing:border-box}
.hm2-page figure,.hm2-page h1,.hm2-page h2,.hm2-page h3,.hm2-page p{margin:0}
.hm2-wrap{width:min(1380px,calc(100% - 100px));margin-inline:auto}
.hm2-kicker{display:inline-flex;align-items:center;gap:13px;font-size:12px;letter-spacing:.22em;text-transform:uppercase;font-weight:800;color:#a2e9fd}
.hm2-kicker::before{content:"";width:27px;height:2px;background:linear-gradient(90deg,#26d3ff,#b56eff);flex:none}
.hm2-grad{color:#90caff;background:linear-gradient(102deg,#21d2fd 5%,#78b8ff 63%,#ad91fe);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hm2-heart{color:#62dbfb}
.hm2-back{display:inline-flex;align-items:center;gap:10px;color:#e1eeff;font-size:14px;font-weight:700;transition:color .2s ease;padding:15px 0 15px;text-decoration:none}
.hm2-back:hover,.hm2-back:focus-visible{color:#74d9ff}
/* 01 / Hero: organic portrait, transparent dark strokes, soft glow */
.hm2-hero{position:relative;isolation:isolate;overflow:hidden;min-height:740px;background:radial-gradient(circle at 79% 42%,rgba(39,89,155,.25) 0,transparent 39%),radial-gradient(circle at 24% 120%,rgba(42,81,169,.18),transparent 43%),linear-gradient(155deg,#070e1a,#040810 80%)}
.hm2-hero::before{content:"";position:absolute;top:8%;right:-140px;width:710px;height:710px;border-radius:50%;border:1px solid rgba(79,144,238,.1);box-shadow:0 0 0 95px rgba(56,115,204,.025),0 0 0 190px rgba(56,115,204,.012);pointer-events:none;z-index:-1}
.hm2-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(40px,6vw,125px);padding:56px 0 85px;min-height:742px}
.hm2-story{max-width:660px;position:relative;z-index:2}
.hm2-title{font-size:clamp(4.75rem,8.7vw,8.3rem);letter-spacing:-.083em;font-weight:860;line-height:.94;color:#fff;margin:23px 0 15px!important}
.hm2-title span{color:#24d0ec}
.hm2-subtitle{font-size:clamp(2rem,3.25vw,3.6rem);font-weight:790;line-height:1.13;letter-spacing:-.047em;color:#daebff;max-width:580px;margin:0 0 26px!important}
.hm2-description{color:#e3edf9;font-size:clamp(16px,1.2vw,19px);line-height:1.87;max-width:570px;text-wrap:pretty}
.hm2-memoryline{display:flex;align-items:center;gap:11px;color:#a8e1f8;font-size:14px;font-weight:650;letter-spacing:.035em;margin-top:30px}
.hm2-memoryline svg{width:20px;height:20px;fill:#61d6ef}
.hm2-portrait-area{position:relative;margin:0;max-width:650px;padding:22px 0 20px 14px;isolation:isolate}
.hm2-portrait-area::before{content:"";z-index:-1;position:absolute;inset:7% 1% 7% 1%;border-radius:45% 31% 40% 22% / 28% 21% 31% 40%;background:linear-gradient(130deg,rgba(137,206,255,.62),rgba(36,147,255,.03) 58%,rgba(148,97,255,.7));filter:blur(29px);transform:scale(1.025)}
.hm2-portrait-area::after{content:"";position:absolute;inset:3% -1% 3% 0;border-radius:45% 31% 40% 22% / 28% 21% 31% 40%;border:1.4px solid rgba(148,203,255,.54);pointer-events:none;transform:rotate(-1deg)}
.hm2-portrait-photo{width:100%;height:550px;display:block;object-fit:cover;object-position:center 42%;border-radius:45% 31% 40% 22% / 28% 21% 31% 40%;box-shadow:0 37px 95px rgba(0,0,0,.48)}
.hm2-handwritten{position:absolute;right:-8%;bottom:18%;z-index:2;color:#fff;font:italic 28px/1.2 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;transform:rotate(-8deg);text-shadow:0 2px 19px #020611}
.hm2-handwritten::after{content:"♡";display:block;text-align:center;font-size:36px;color:#76cbff;margin-top:4px}
.hm2-bottom-curve{height:56px;background:#080f1c;clip-path:polygon(0 72%,35% 100%,75% 24%,100% 70%,100% 100%,0 100%);margin-top:-53px;position:relative;z-index:2}
/* 02 / Tender photos: asymmetric editorial album */
.hm2-moments{position:relative;background:linear-gradient(180deg,#080f1c 0,#070c15 100%);padding:65px 0 95px}
.hm2-section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:42px}
.hm2-section-head h2{font-weight:850;letter-spacing:-.058em;line-height:1.08;color:#fff;font-size:clamp(2.4rem,4.25vw,4.5rem);max-width:840px;margin:20px 0 0}
.hm2-section-head p{font-size:16px;line-height:1.75;color:#d6e5f5;max-width:325px}
.hm2-photo-gallery{display:grid;grid-template-columns:minmax(0,1.34fr) minmax(0,.88fr);gap:30px;align-items:end;padding:0 12px}
.hm2-photo{position:relative;min-width:0}
.hm2-photo>div{overflow:hidden;border:1px solid rgba(122,178,246,.45);box-shadow:0 15px 75px rgba(0,0,0,.43),0 0 50px rgba(42,96,182,.10);background:#0b1523}
.hm2-photo img{display:block;width:100%;height:455px;object-fit:cover;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.hm2-photo:hover img{transform:scale(1.04)}
.hm2-photo--gaze{transform:translateY(8px) rotate(-2deg)}
.hm2-photo--gaze>div{border-radius:50px 17px 50px 17px}
.hm2-photo--gaze img{object-position:center 19%}
.hm2-photo--rest{transform:translateY(-5px) rotate(2deg)}
.hm2-photo--rest>div{border-radius:19px 72px 19px 72px}
.hm2-photo--rest img{object-position:center 52%}
.hm2-photo figcaption{color:#dbe8f7;font-size:15px;font-weight:720;padding:16px 16px 0}
.hm2-photo--gaze figcaption{text-align:right}
.hm2-sketch{position:absolute;z-index:1;color:#d8eafb;font:italic 22px/1.2 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;max-width:180px;text-shadow:0 2px 12px #050a13}
.hm2-sketch--left{left:-15px;bottom:11%;transform:translateX(-100%) rotate(-9deg)}
.hm2-sketch--right{right:-8px;top:20%;transform:translateX(100%) rotate(5deg)}
/* 03 / The three originals, set like oversized magazine prints */
.hm2-fun{position:relative;z-index:0;padding:92px 0 110px;background:radial-gradient(ellipse at 50% 5%,rgba(32,91,168,.20),transparent 48%),linear-gradient(180deg,#070c15,#080e1b 78%,#050a13);border-top:1px solid rgba(117,174,255,.15)}
.hm2-fun::before{content:"";position:absolute;inset:10% -22% auto;height:520px;border:1px solid rgba(112,186,250,.08);border-radius:50%;transform:rotate(-11deg);z-index:-1;pointer-events:none}
.hm2-fun .hm2-section-head{margin-bottom:45px}
.hm2-fun-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:20px;padding:0 13px 25px}
.hm2-fun-card{position:relative;min-width:0;transition:transform .5s cubic-bezier(.22,1,.36,1),filter .4s;filter:drop-shadow(0 20px 26px rgba(0,0,0,.54));margin:0}
.hm2-fun-frame{overflow:hidden;background:#121c2b;border:1px solid rgba(167,204,255,.57);border-radius:24px;box-shadow:0 0 50px rgba(64,132,231,.13)}
.hm2-fun-frame img{width:100%;display:block;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.hm2-fun-card--gentleman{transform:rotate(-5deg) translateY(-3px);z-index:2}
.hm2-fun-card--gentleman .hm2-fun-frame img{height:465px;object-position:center 28%}
.hm2-fun-card--art{transform:translateY(48px) rotate(-2deg);z-index:3}
.hm2-fun-card--art .hm2-fun-frame{border-radius:27px}
.hm2-fun-card--art .hm2-fun-frame img{height:330px;object-fit:cover}
.hm2-fun-card--office{transform:rotate(5deg) translateY(3px);z-index:2}
.hm2-fun-card--office .hm2-fun-frame img{height:465px;object-position:center 27%}
.hm2-fun-card--gentleman:hover,.hm2-fun-card--gentleman:focus-within,.hm2-fun-card--art:hover,.hm2-fun-card--art:focus-within,.hm2-fun-card--office:hover,.hm2-fun-card--office:focus-within{transform:translateY(-10px) rotate(0deg);z-index:5}
.hm2-fun-card:hover img{transform:scale(1.045)}
.hm2-fun-card figcaption{font:italic clamp(18px,1.65vw,26px)/1.2 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;color:#e5f5ff;text-shadow:0 2px 12px #01050e;margin-top:22px;letter-spacing:-.03em}
.hm2-fun-card--gentleman figcaption{text-align:left;transform:rotate(-3deg);padding-left:9%}
.hm2-fun-card--art figcaption{text-align:center;transform:rotate(-3deg)}
.hm2-fun-card--office figcaption{text-align:right;transform:rotate(3deg);padding-right:8%}
.hm2-handmark{font-size:26px;color:#82caff;opacity:.92}
.hm2-fun-note{color:#d3e3f8;font-size:15px;line-height:1.7;text-align:center;margin:62px auto 0;max-width:600px}
/* 04 / Cinematic closing; all lettering remains HTML and accessible */
.hm2-finale{position:relative;isolation:isolate;display:flex;align-items:center;min-height:570px;background:#030a1a url('../img/honguito/honguito-atardecer.webp?v=R12-20261027') center center/cover no-repeat;border-top:1px solid #1b3864}
.hm2-finale::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,9,22,.24) 0%,rgba(2,9,22,.06) 50%,rgba(3,8,18,.06)),linear-gradient(0deg,rgba(2,7,17,.26),transparent 46%);z-index:-1}
.hm2-finale-content{padding:80px 0 85px;position:relative;z-index:1}
.hm2-final-heart{display:inline-flex;align-items:center;gap:12px;color:#7adafe;font-size:15px;font-weight:750;letter-spacing:.13em;text-transform:uppercase;margin-bottom:28px}
.hm2-final-heart::before{content:'♥';font-size:26px;line-height:1;color:#85ddfb}
.hm2-finale h2{max-width:820px;color:#f8fbff;font-size:clamp(2.6rem,4.65vw,5.3rem);font-weight:820;line-height:1.12;letter-spacing:-.066em;text-shadow:0 2px 24px rgba(2,8,20,.35)}
.hm2-finale h2 span{display:block;color:#7ecaff}
.hm2-final-line{width:64px;height:2px;background:linear-gradient(90deg,#4bd6fb,transparent);margin:30px 0 20px}
.hm2-finale p{color:#e1efff;font-size:clamp(17px,1.7vw,22px);letter-spacing:.02em}
.hm2-last-link{display:inline-block;border-bottom:1px solid rgba(132,211,247,.75);font-weight:720;color:#fff;padding:11px 0;margin-top:35px;font-size:14px}
.hm2-last-link:hover{color:#99e4ff}
/* Teaser in "Nosotros": quietly links to the private memorial page, not navigation/main page. */
.hm-teaser{padding:66px 0 74px;background:linear-gradient(125deg,#080d16,#0c1728 55%,#090d17);border-top:1px solid rgba(151,187,218,.17);border-bottom:1px solid rgba(151,187,218,.17)}
.hm-teaser-shell{display:grid;grid-template-columns:minmax(180px,265px) minmax(0,1fr);max-width:1050px;gap:62px;align-items:center}
.hm-teaser-photo{border:1px solid rgba(141,183,230,.4);border-radius:36% 14% 32% 14% / 19% 24% 15% 21%;overflow:hidden;background:#060b14;box-shadow:0 25px 65px rgba(0,0,0,.35)}
.hm-teaser-photo img{display:block;width:100%;height:290px;object-fit:cover;object-position:center 53%}
.hm-kicker{display:inline-flex;align-items:center;gap:14px;text-transform:uppercase;letter-spacing:.2em;font-size:12px;font-weight:800;color:#8edaf3}
.hm-line{width:25px;height:2px;background:linear-gradient(90deg,#20d5f3,#915dff);flex-shrink:0}
.hm-teaser-copy h2{margin:20px 0 16px;font-size:clamp(29px,3.5vw,51px);line-height:1.13;letter-spacing:-.04em;color:#fff}
.hm-teaser-copy h2 span{color:#a5c6ff}
.hm-teaser-copy p{color:#e0ebf8;font-size:17px;line-height:1.75;max-width:700px;margin:0 0 25px}
.hm-link{display:inline-flex;align-items:center;gap:14px;color:#fff;font-weight:750;font-size:16px;text-decoration:none;border-bottom:1px solid #52b9ff;padding-bottom:10px}
.hm-link span{color:#57d7f3;font-size:23px}
.hm-link:hover{color:#8ce9fd}
/* responsive */
@media(max-width:1180px){.hm2-sketch{display:none}.hm2-handwritten{right:0;font-size:22px}.hm2-fun-grid{gap:14px}.hm2-fun-card--gentleman .hm2-fun-frame img,.hm2-fun-card--office .hm2-fun-frame img{height:380px}.hm2-fun-card--art .hm2-fun-frame img{height:275px}}
@media(max-width:900px){.hm2-wrap{width:min(100% - 56px,800px)}.hm2-hero-layout{grid-template-columns:1fr;min-height:0;padding:50px 0 85px;gap:50px}.hm2-story{max-width:780px}.hm2-portrait-area{width:min(560px,100%);margin-inline:auto}.hm2-portrait-photo{height:540px}.hm2-section-head{display:block}.hm2-section-head p{margin-top:22px;max-width:580px}.hm2-fun-card--art .hm2-fun-frame img{height:240px}.hm2-fun-card--gentleman .hm2-fun-frame img,.hm2-fun-card--office .hm2-fun-frame img{height:320px}.hm2-finale{min-height:490px}.hm-teaser-shell{gap:30px;grid-template-columns:180px 1fr}}
@media(max-width:650px){.hm2-page{margin-top:76px}.hm2-wrap{width:calc(100% - 40px)}.hm2-hero-layout{padding:32px 0 70px;gap:37px}.hm2-title{font-size:clamp(4.1rem,17vw,6.4rem)}.hm2-subtitle{font-size:clamp(1.9rem,8.3vw,3rem)}.hm2-description{font-size:16px;line-height:1.8}.hm2-portrait-area{padding:5px}.hm2-portrait-photo{height:420px}.hm2-handwritten{right:0;bottom:4%;font-size:18px}.hm2-bottom-curve{height:28px;margin-top:-27px}.hm2-moments{padding:65px 0 70px}.hm2-section-head{margin-bottom:29px}.hm2-section-head h2{font-size:clamp(2.1rem,9.1vw,3.4rem)}.hm2-section-head p{font-size:15px}.hm2-photo-gallery{grid-template-columns:1fr;gap:22px;padding:0 7px}.hm2-photo{transform:none}.hm2-photo--gaze img{height:390px;object-position:center 18%}.hm2-photo--rest img{height:330px;object-position:center 48%}.hm2-photo figcaption{font-size:14px}.hm2-fun{padding:72px 0 76px}.hm2-fun-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:19px;align-items:stretch;padding:10px 24px 26px;margin:0 -20px;scrollbar-width:thin;scrollbar-color:#4795e0 #0e1829}.hm2-fun-card,.hm2-fun-card--gentleman,.hm2-fun-card--art,.hm2-fun-card--office{flex:0 0 79vw;min-width:260px;transform:none;scroll-snap-align:center}.hm2-fun-card--gentleman .hm2-fun-frame img,.hm2-fun-card--office .hm2-fun-frame img{height:390px}.hm2-fun-card--art .hm2-fun-frame img{height:390px;object-fit:contain;background:#101927}.hm2-fun-card figcaption{text-align:center;padding:0;transform:none;margin-top:13px;font-size:20px}.hm2-fun-note{margin-top:26px;font-size:14px}.hm2-finale{min-height:630px;align-items:start;background-position:55% center}.hm2-finale::after{background:linear-gradient(180deg,rgba(1,9,21,.88) 0%,rgba(1,9,21,.75) 31%,transparent 65%)}.hm2-finale-content{padding:54px 0 0}.hm2-finale h2{font-size:clamp(2.35rem,10vw,3.8rem);max-width:500px}.hm2-finale p{font-size:16px}.hm2-final-heart{margin-bottom:18px}.hm2-last-link{margin-top:20px}.hm-teaser{padding:45px 0}.hm-teaser-shell{grid-template-columns:1fr;gap:22px}.hm-teaser-photo{max-width:245px}.hm-teaser-photo img{height:240px}.hm-teaser-copy p{font-size:16px}}
@media(prefers-reduced-motion:no-preference){.hm2-motion .hm2-reveal:not(.hm2-revealed){opacity:0;transform:translateY(23px)}.hm2-reveal{transition:opacity .7s ease,transform .8s cubic-bezier(.22,1,.36,1)}.hm2-motion .hm2-reveal.hm2-revealed{opacity:1;transform:translateY(0)}.hm2-memoryline svg{animation:hm2-beat 3s ease-in-out infinite}@keyframes hm2-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}}
@media(prefers-reduced-motion:reduce){.hm2-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* R2 final polish: no clipped handwritten notes and all three favorites remain visible on mobile. */
@media(min-width:651px){.hm2-handwritten{right:4%;bottom:13%;font-size:clamp(19px,1.8vw,26px)}}
@media(max-width:650px){
 .hm2-handwritten{right:4%;bottom:5%;font-size:18px}
 .hm2-fun-grid{display:grid;grid-template-columns:1fr;overflow:visible;scroll-snap-type:none;gap:38px;align-items:start;padding:10px 10px 20px;margin:0}
 .hm2-fun-card,.hm2-fun-card--gentleman,.hm2-fun-card--art,.hm2-fun-card--office{min-width:0;width:min(100%,430px);justify-self:center;flex:none;scroll-snap-align:unset;transform:none}
 .hm2-fun-card--gentleman{transform:rotate(-2.6deg)}
 .hm2-fun-card--art{transform:rotate(1.9deg)}
 .hm2-fun-card--office{transform:rotate(-1.8deg)}
 .hm2-fun-card--art .hm2-fun-frame img{height:auto;aspect-ratio:1600/775;object-fit:cover}
 .hm2-fun-card--gentleman .hm2-fun-frame img,.hm2-fun-card--office .hm2-fun-frame img{height:400px}
}
