/* ==========================================================
   Smiles To Miles — HOME PAGE COMPONENTS v2
   Page-scoped structures only. Global tokens/geometry live in
   stm-design-system.css, which is loaded after this file.
   ========================================================== */
body.stm-home .stm-site{overflow-x:hidden}
/* HERO */
.stm-hero{position:relative;min-height:640px;background:#111;overflow:hidden;color:#fff}
.stm-hero-slider,.stm-hero-slide{position:absolute;inset:0}
.stm-hero-slide{background-size:cover;background-position:center;opacity:0;visibility:hidden;transform:scale(1.04);transition:opacity 1s ease,transform 7s ease,visibility 1s}
.stm-hero-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}
.stm-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,8,13,.9) 0%,rgba(7,8,13,.72) 34%,rgba(7,8,13,.2) 72%,rgba(7,8,13,.28) 100%),linear-gradient(0deg,rgba(7,8,13,.72),transparent 42%)}
.stm-hero-inner{position:relative;z-index:2;min-height:640px;display:flex;align-items:center}
.stm-hero-copy{max-width:790px;padding-top:55px}
.stm-eyebrow{display:flex;align-items:center;gap:12px;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase;margin-bottom:22px}
.stm-eyebrow span{width:32px;height:2px;background:var(--stm-orange)}
.stm-hero h1{margin:0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(3.7rem,6.8vw,7.4rem);line-height:.92;letter-spacing:-.055em;font-weight:700;text-shadow:0 8px 35px rgba(0,0,0,.3)}
.stm-hero h1 em{display:block;color:var(--stm-orange);font-style:normal;margin-top:7px}
.stm-hero-rule{width:86px;height:4px;background:var(--stm-orange);margin:30px 0 24px}
.stm-hero p{max-width:650px;margin:0 0 30px;color:rgba(255,255,255,.9);font-size:1.08rem;line-height:1.8}
.stm-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.stm-hero-arrow{position:absolute;z-index:5;top:52%;width:56px;height:56px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(0,0,0,.2);color:#fff;font-size:2rem;line-height:1;cursor:pointer;backdrop-filter:blur(10px);transition:.25s}
.stm-hero-arrow:hover{background:var(--stm-orange);border-color:var(--stm-orange)}
.stm-hero-prev{left:24px}.stm-hero-next{right:24px}
.stm-hero-bottom{position:absolute;z-index:5;left:50%;bottom:34px;transform:translateX(-50%);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;color:#fff}
.stm-slide-counter{display:flex;align-items:center;gap:14px;font-size:.86rem;font-weight:800}.stm-slide-counter strong{color:var(--stm-orange)}.stm-slide-counter i{display:block;width:150px;height:2px;background:rgba(255,255,255,.35);position:relative}.stm-slide-counter i::after{content:"";display:block;width:30%;height:100%;background:var(--stm-orange)}
.stm-hero-dots{display:flex;gap:7px;justify-content:center}.stm-hero-dots button{width:28px;height:4px;border:0;border-radius:4px;background:rgba(255,255,255,.42);padding:0;cursor:pointer}.stm-hero-dots button.is-active{background:var(--stm-orange)}
.stm-hero-note{justify-self:end;display:flex;align-items:center;gap:12px;padding:12px 17px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(10,10,15,.48);backdrop-filter:blur(14px);font-size:.8rem}.stm-hero-note>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,133,0,.8);color:var(--stm-orange)}.stm-hero-note strong,.stm-hero-note small{display:block}.stm-hero-note small{color:rgba(255,255,255,.7);margin-top:2px}

/* TRUST — premium redesign v2 */
.stm-trust-wrap{position:relative;z-index:8;margin-top:0;padding:26px 0 18px;background:var(--stm-grey-050);color:#fff}
.stm-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.stm-trust-item{position:relative;padding:30px 28px;min-height:150px;border:1px solid rgba(255,255,255,.06);border-radius:22px;display:flex;flex-direction:column;justify-content:center;gap:10px;background:linear-gradient(135deg,rgba(53,54,61,.98) 0%,rgba(34,35,41,.98) 100%);box-shadow:0 18px 48px rgba(15,16,22,.12);overflow:hidden;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.stm-trust-item::before{content:"";display:block;width:44px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--stm-orange),#ffc16c);box-shadow:0 6px 18px rgba(255,133,0,.25)}
.stm-trust-item::after{content:"";position:absolute;right:-20px;top:-20px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(255,133,0,.16),transparent 66%);opacity:.65;pointer-events:none}
.stm-trust-item:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(15,16,22,.16);border-color:rgba(255,133,0,.18)}
.stm-trust-item strong{font-size:clamp(2rem,2.5vw,2.45rem);line-height:1;color:#fff;font-weight:900;letter-spacing:-.045em;text-shadow:0 6px 22px rgba(0,0,0,.14)}
.stm-trust-item span{color:rgba(255,255,255,.72);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em}

/* DESTINATIONS */
.stm-destination-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stm-destination-card{position:relative;display:block;min-height:330px;border-radius:18px;overflow:hidden;background:#222;box-shadow:var(--stm-shadow);color:#fff}.stm-card-image,.stm-card-overlay{position:absolute;inset:0}.stm-card-image{background-size:cover;background-position:center;transition:transform .7s ease}.stm-card-overlay{background:linear-gradient(180deg,rgba(0,0,0,.02) 35%,rgba(0,0,0,.82) 100%)}.stm-destination-card:hover{color:#fff;text-decoration:none}.stm-destination-card:hover .stm-card-image{transform:scale(1.06)}.stm-destination-content{position:absolute;z-index:2;left:24px;right:24px;bottom:24px}.stm-destination-content>span{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.72)}.stm-destination-content h3{margin:7px 0 10px;font-size:1.65rem;font-weight:800}.stm-destination-content small{font-size:.8rem;color:#fff}.stm-destination-content b{color:var(--stm-orange);margin-left:8px}.stm-empty-state{grid-column:1/-1;padding:50px;border:1px dashed var(--stm-line);border-radius:18px;text-align:center;color:var(--stm-muted)}

/* SPLIT */
.stm-split{display:grid;grid-template-columns:1fr 1fr;min-height:560px;border-radius:18px;overflow:hidden;background:#4b4b50;box-shadow:var(--stm-shadow-lg)}.stm-split-media{background-size:cover;background-position:center;min-height:500px}.stm-split-copy{padding:54px 56px 50px;display:flex;flex-direction:column;justify-content:center}.stm-split-copy h2{font-size:clamp(2.3rem,4vw,4.2rem);line-height:1.02;letter-spacing:-.05em}.stm-feature-list{margin:30px 0 34px;display:grid;gap:20px}.stm-feature-list>div{display:grid;grid-template-columns:44px 1fr;column-gap:12px}.stm-feature-list span{grid-row:1/3;color:var(--stm-orange);font-weight:800}.stm-feature-list strong{font-size:1rem}.stm-feature-list small{color:rgba(255,255,255,.58);line-height:1.55;margin-top:4px}

/* PACKAGES */
.stm-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.stm-package-card{background:#fff;border:1px solid var(--stm-line);border-radius:18px;overflow:hidden;box-shadow:0 12px 38px rgba(35,36,40,.055);transition:transform .25s,box-shadow .25s}.stm-package-card:hover{transform:translateY(-5px);box-shadow:var(--stm-shadow)}.stm-package-image{position:relative;display:block;height:225px;background-size:cover;background-position:center}.stm-package-image>span{position:absolute;left:18px;top:18px;padding:7px 11px;background:rgba(255,255,255,.92);border-radius:999px;color:var(--stm-orange);font-size:.72rem;font-weight:800}.stm-package-body{padding:21px}.stm-package-meta{display:flex;justify-content:space-between;gap:15px;color:var(--stm-muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.08em}.stm-package-body h3{margin:12px 0 10px;font-size:1.4rem;line-height:1.15}.stm-package-body h3 a{color:var(--stm-navy)}.stm-package-body h3 a:hover{color:var(--stm-orange);text-decoration:none}.stm-package-body p{color:var(--stm-muted);font-size:.88rem;line-height:1.7;min-height:48px}.stm-package-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--stm-line)}.stm-package-footer strong{color:var(--stm-orange);font-size:1.1rem}.stm-package-footer a{color:var(--stm-navy);font-weight:800;font-size:.78rem}.stm-package-footer a:hover{color:var(--stm-orange);text-decoration:none}

/* STYLES */
.stm-centered-head{text-align:center;max-width:780px;margin:0 auto 44px}.stm-centered-head p{margin-left:auto;margin-right:auto}.stm-style-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stm-style-card{min-height:190px;padding:24px;border:1px solid var(--stm-line);border-radius:18px;background:#fff;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 12px 35px rgba(35,36,40,.045);transition:.25s;text-decoration:none;background-image:linear-gradient(145deg,#fff,#faf8fc)}.stm-style-card:hover{transform:translateY(-4px);border-color:rgba(255,133,0,.45);text-decoration:none}.stm-style-card span{font-size:1.45rem;font-weight:800;color:var(--stm-navy)}.stm-style-card small{margin-top:5px;color:var(--stm-muted)}

/* BLOG */
.stm-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.stm-blog-card{border:1px solid var(--stm-line);border-radius:18px;overflow:hidden;background:#fff}.stm-blog-image{display:block;height:230px;background-size:cover;background-position:center}.stm-blog-body{padding:24px}.stm-blog-body>span{color:var(--stm-orange);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.stm-blog-body h3{font-size:1.35rem;line-height:1.2;margin:10px 0}.stm-blog-body h3 a{color:var(--stm-navy)}.stm-blog-body p{color:var(--stm-muted);font-size:.88rem;line-height:1.7;min-height:62px}


@media (max-width:1100px){
  .stm-destination-grid{grid-template-columns:repeat(2,1fr)}
  .stm-package-grid{grid-template-columns:repeat(2,1fr)}
  .stm-style-grid{grid-template-columns:repeat(2,1fr)}
  .stm-split{grid-template-columns:1fr}.stm-split-media{min-height:420px}.stm-split-copy{padding:55px}
  .stm-hero-bottom{grid-template-columns:auto 1fr}.stm-hero-note{display:none}
}
@media (max-width:768px){
  .stm-container{width:min(calc(100% - 32px),var(--stm-max))}.stm-section{padding:78px 0}.stm-section-head{display:block;margin-bottom:34px}.stm-section-head .stm-text-link{display:inline-block;margin-top:18px}.stm-hero,.stm-hero-inner{min-height:720px}.stm-hero-copy{padding-top:85px}.stm-hero h1{font-size:clamp(3.1rem,13vw,5rem)}.stm-hero p{font-size:.96rem}.stm-hero-arrow{display:none}.stm-hero-bottom{left:16px;right:16px;width:auto;transform:none;display:block;bottom:20px}.stm-slide-counter{margin-bottom:14px}.stm-slide-counter i{width:110px}.stm-hero-dots{justify-content:flex-start}.stm-trust-wrap{margin-top:0;padding:18px 0 16px}.stm-trust-grid{grid-template-columns:repeat(2,1fr);gap:16px}.stm-trust-item{min-height:128px;padding:24px 20px}.stm-destination-grid,.stm-package-grid,.stm-blog-grid{grid-template-columns:1fr}.stm-destination-card{min-height:330px}.stm-style-grid{grid-template-columns:1fr 1fr}.stm-split-copy{padding:42px 28px}
}
@media (max-width:480px){.stm-style-grid{grid-template-columns:1fr}.stm-btn{width:100%}.stm-hero-actions{max-width:320px}.stm-hero-note{display:none}.stm-package-image{height:230px}}

@media (max-width:480px){.stm-trust-wrap{margin-top:0;padding:14px 0 14px}.stm-trust-grid{grid-template-columns:1fr;gap:14px}.stm-trust-item{min-height:auto;padding:22px 18px}}
