/* =====================================================================
   Hammam Nilo — main stylesheet
   Palette : rose #804C4C · rose light #AF7B7B · teal #16527F
   Fonts   : Jost (text) · Cookie (script accents)
   ===================================================================== */

:root {
    --rose:      #804C4C;
    --rose-2:    #AF7B7B;
    --teal:      #16527F;
    --ink:       #2b2b2b;
    --muted:     #7a7a7a;
    --soft:      #f4f8fb;
    --footer-bg: #efe6e3;
    --line:      #e7e7e7;
    --font:      'Jost', system-ui, sans-serif;
    --script:    'Cookie', cursive;
    --container: 1200px;
    --radius:    6px;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--muted);
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--teal); line-height: 1.2; font-weight: 600; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---- icon system (CSS mask, colour = currentColor) ---- */
.ico {
    display: inline-block;
    width: 1em; height: 1em;
    background-color: currentColor;
    -webkit-mask: var(--m) center / contain no-repeat;
            mask: var(--m) center / contain no-repeat;
    vertical-align: -0.125em;
    flex: none;
}
.ico-phone     { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11 11 0 0 0 3.5.56 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11 11 0 0 0 .56 3.5 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ico-mail      { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.ico-clock     { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m1 10.4-4-2.3V6h2v3l3 1.7z'/%3E%3C/svg%3E"); }
.ico-instagram { --m: url("../img/socials/instagram.svg"); }
.ico-pinterest { --m: url("../img/socials/pinterest.svg"); }
.ico-tiktok    { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 3c.3 2.1 1.5 3.4 3.5 3.5v2.4c-1.2.1-2.3-.3-3.5-1v6.3a5.7 5.7 0 1 1-5.7-5.7c.3 0 .5 0 .8.1v2.5c-.3-.1-.5-.1-.8-.1a3.2 3.2 0 1 0 3.2 3.2V3z'/%3E%3C/svg%3E"); }
.ico-whatsapp  { --m: url("../img/socials/whatsapp-solid.svg"); }
.ico-tripadvisor { --m: url("../img/socials/tripadvisor.svg"); }
.ico-arrow-up  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l8 8-1.4 1.4L13 7.8V20h-2V7.8L5.4 13.4 4 12z'/%3E%3C/svg%3E"); }
.ico-map       { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }

/* ---- buttons ---- */
.btn {
    display: inline-block;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 12px 26px;
    border-radius: var(--radius);
    transition: background .25s, color .25s, transform .2s;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 15px;
}
.btn--solid  { background: var(--rose-2); color: #fff; }
.btn--solid:hover { background: var(--rose); }
.btn--ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--rose); }

/* ---- top bar ---- */
.topbar { background: var(--rose-2); color: #fff; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; flex-wrap: wrap; }
.topbar__contact { list-style: none; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contact li { display: flex; align-items: center; gap: 8px; }
.topbar__contact .ico { font-size: 15px; opacity: .9; }
.topbar__contact a:hover { color: rgba(255,255,255,.75); }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social span { opacity: .9; }
.topbar__social a { font-size: 17px; display: inline-flex; }
.topbar__social a:hover { color: rgba(255,255,255,.7); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch a {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    opacity: .3; 
}
.lang-switch a:hover { opacity: 1; color: #fff; }
.lang-switch a.is-active { background: rgba(255,255,255,.22); opacity: 1; }

/* ---- header / nav ---- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.site-header__logo img { width: 190px; max-width:none; }
.main-nav ul { list-style: none; display: flex; gap: 24px; padding: 0; }
.main-nav a {
    font-weight: 500; color: var(--ink); text-transform: uppercase;
    letter-spacing: .04em; font-size: 13.5px; padding: 8px 0; position: relative;
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--rose); }
.main-nav__close { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

/* mobile nav toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- section heading ---- */
.section { padding: 90px 0; }
.section--soft { background: #fff; }
.section-head { text-align: center; margin-bottom: 55px; }
.section-head .script { font-family: var(--script); color: var(--rose-2); font-size: 34px; line-height: 1; display: block; }
.section-head h2 { font-size: 40px; margin-top: 6px; }
.section-head--left { text-align: left; }

/* ---- hero ---- */
.hero { position: relative; min-height: 74vh; display: flex; align-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(60,30,30,.35), rgba(60,30,30,.55)), var(--hero-img, none) center/cover no-repeat;
    z-index: -2;
}
.hero__inner { max-width: 760px; margin: 0 auto; padding: 60px 20px 120px; }
.hero .script { font-family: var(--script); font-size: 40px; color: #fff; line-height: 1; }
.hero h1 { color: #fff; font-size: 62px; font-weight: 600; margin: 8px 0 14px; letter-spacing: .02em; }
.hero p { font-size: 20px; margin-bottom: 30px; color: rgba(255,255,255,.92); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; z-index: -1; }

/* ---- hero slider ---- */
.hero-slider { position: relative; min-height: 74vh; overflow: hidden; color: #fff; }
.hero-slide {
    position: absolute; inset: 0; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 1s ease; z-index: 0;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(rgba(60,30,30,.35), rgba(60,30,30,.55)), var(--img) center center / cover no-repeat;
    transform: scale(1.05); transition: transform 7s ease;
}
.hero-slide.is-active::before { transform: scale(1); }
.hero-slide__inner { position: relative; z-index: 1; text-align: center; padding: 60px 20px 120px; }
.hero-slide .script { font-family: var(--script); font-size: 40px; color: #fff; line-height: 1; display: block; }
.hero-slide h1 { color: #fff; font-size: 62px; font-weight: 600; margin: 8px 0 14px; letter-spacing: .02em; }
.hero-slide p { font-size: 20px; margin-bottom: 30px; color: rgba(255,255,255,.92); }
/* content entrance on the active slide */
.hero-slide__inner > * { opacity: 0; transform: translateY(24px); }
.hero-slide.is-active .hero-slide__inner > * { animation: heroIn .8s ease forwards; }
.hero-slide.is-active .hero-slide__inner > *:nth-child(1) { animation-delay: .2s; }
.hero-slide.is-active .hero-slide__inner > *:nth-child(2) { animation-delay: .35s; }
.hero-slide.is-active .hero-slide__inner > *:nth-child(3) { animation-delay: .5s; }
.hero-slide.is-active .hero-slide__inner > *:nth-child(4) { animation-delay: .65s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-slider__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1;
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.hero-slider__nav:hover { background: rgba(255,255,255,.34); }
.hero-slider__prev { left: 26px; }
.hero-slider__next { right: 26px; }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 60px; z-index: 3; display: flex; justify-content: center; gap: 12px; }
.hero-slider__dots button {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
    background: transparent; cursor: pointer; padding: 0; transition: background .2s, transform .2s;
}
.hero-slider__dots button.is-active { background: #fff; transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide::before, .hero-slide__inner > * { transition: none; animation: none; }
    .hero-slide.is-active .hero-slide__inner > * { opacity: 1; transform: none; }
}

/* ---- services grid ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: var(--soft); text-align: center; padding: 48px 24px;
    border-radius: var(--radius); transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(22,82,127,.08); }
.service-card__icon {
    width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%;
    background: rgba(128,76,76,.08); display: flex; align-items: center; justify-content: center;
    color: var(--rose);
}
.service-card__icon img { width: 66px; height: 66px; }
.service-card h3 { font-size: 26px; color: var(--ink); font-weight: 500; }

/* ---- about ---- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; margin: 0 auto; }
.about__body .script { font-family: var(--script); color: var(--rose-2); font-size: 32px; line-height: 1; display: block; }
.about__body h2 { font-size: 40px; margin: 8px 0 22px; }
.about__body p { margin-bottom: 16px; }

/* ---- packages ---- */
.packages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.package-card {
    background: var(--soft); border-radius: var(--radius); padding: 30px 34px;
    display: flex; align-items: center; gap: 26px; transition: transform .3s, box-shadow .3s;
}
.package-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,82,127,.08); }
.package-card__icon {
    width: 96px; height: 96px; flex: none; border-radius: 50%;
    background: rgba(128,76,76,.08); display: flex; align-items: center; justify-content: center; color: var(--rose);
}
.package-card__icon img { width: 54px; height: 54px; }
.package-card h3 { font-size: 27px; color: var(--ink); font-weight: 500; }
.package-card__price { color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ---- reviews band ---- */
.reviews { background: var(--soft); text-align: center; }
.reviews .stars { color: #f4b400; font-size: 26px; letter-spacing: 4px; margin: 4px 0 14px; }
.reviews .rating { font-size: 46px; color: var(--teal); font-weight: 600; }
.reviews p { max-width: 620px; margin: 0 auto 26px; }

/* ---- footer ---- */
.site-footer { background: var(--footer-bg); color: var(--muted); padding-top: 70px; }
.site-footer__inner { text-align: center; max-width: 900px; }
.site-footer__logo { width: 260px; margin: 0 auto 30px; }
.site-footer__about { font-size: 16px; line-height: 1.9; margin-bottom: 30px; }
.site-footer__badge { width: 210px; margin: 0 auto 26px; }
.site-footer__social { display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; transition: transform .2s, opacity .2s; }
.soc:hover { transform: translateY(-3px); }
.soc--ig { background: #333; }
.soc--ta { background: #34a853; }
.soc--wa { background: #25d366; }
.soc--pi { background: #cb1f27; }
.site-footer__bottom { border-top: 1px solid rgba(0,0,0,.08); padding: 22px 0; text-align: center; font-size: 14px; }
.site-footer__bottom a { color: var(--rose); }

/* ---- floating helpers ---- */
.whatsapp-float {
    position: fixed; right: 24px; bottom: 26px; z-index: 60;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
    box-shadow: 0 8px 24px rgba(37,211,102,.45);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }
.scroll-top {
    position: fixed; right: 24px; bottom: 92px; z-index: 60;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--rose); cursor: pointer; display: none;
    align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.1);
}
.scroll-top.is-visible { display: flex; }
.scroll-top span { width: 1em; height: 1em; background: currentColor;
    -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
    --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l8 8-1.4 1.4L13 7.8V20h-2V7.8L5.4 13.4 4 12z'/%3E%3C/svg%3E"); }
.social-rail { position: fixed; right: 0; top: 42%; z-index: 55; display: flex; flex-direction: column; }
.social-rail a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.social-rail a:nth-child(1) { background: #5a3d3d; }
.social-rail a:nth-child(2) { background: #cb1f27; }
.social-rail a:nth-child(3) { background: #111; }

/* ---- page header (interior pages) ---- */
.page-header { background: var(--soft); text-align: center; padding: 64px 0; }
.page-header h1 { font-size: 44px; }
.page-header .crumb { margin-top: 10px; font-size: 14px; color: var(--muted); }
.page-header .crumb a { color: var(--rose); }

/* ---- prestations grid (4 cols) ---- */
.soins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.soins-grid .service-card { padding: 34px 18px; }
.soins-grid .service-card__icon { width: 100px; height: 100px; margin-bottom: 20px; }
.soins-grid .service-card__icon img { width: 56px; height: 56px; }
.soins-grid .service-card h3 { font-size: 21px; }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---- contact page ---- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: start; }
.contact__intro .script { font-family: var(--script); color: var(--rose-2); font-size: 30px; display: block; }
.contact__intro h2 { font-size: 34px; margin: 6px 0 18px; }
.contact-info { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .ico { color: var(--rose); font-size: 20px; margin-top: 3px; }
.contact-info strong { color: var(--ink); display: block; font-weight: 500; }
.contact-map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-bottom: 30px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 500; }
.form-field label .req { color: var(--rose); }
.form-field input, .form-field textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
    font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--rose-2); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-note { margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius); font-size: 15px; }
.form-note--ok  { background: #e6f4ea; color: #1e6b34; border: 1px solid #b7dfc2; }
.form-note--err { background: #fbeaea; color: #8a1f1f; border: 1px solid #e6b7b7; }

/* ---- responsive ---- */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .soins-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .contact { grid-template-columns: 1fr; gap: 40px; }
    .hero h1, .hero-slide h1 { font-size: 48px; }
    .section { padding: 70px 0; }
}
@media (max-width: 860px) {
    .topbar__hours, .topbar__social span { display: none; }
    .site-header__actions .btn { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -320px; width: 300px; height: 100%; background: #fff;
        box-shadow: -4px 0 30px rgba(0,0,0,.12); padding: 70px 30px; transition: right .3s; z-index: 70;
    }
    .main-nav.is-open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 18px; }
    .main-nav__close { display: block; position: absolute; top: 18px; right: 22px; font-size: 30px; background: none; border: 0; color: var(--ink); cursor: pointer; }
    .about { grid-template-columns: 1fr; gap: 36px; }
    .packages-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .soins-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .hero h1, .hero-slide h1 { font-size: 38px; }
    .hero-slide .script { font-size: 32px; }
    .hero-slider__nav { width: 42px; height: 42px; font-size: 24px; }
    .hero-slider__prev { left: 10px; }
    .hero-slider__next { right: 10px; }
    .section-head h2 { font-size: 30px; }
    .package-card { flex-direction: column; text-align: center; }
    .social-rail { display: none; }
    .topbar__contact{ justify-content: center; gap: 12px; }
    .topbar__right { justify-content: center; gap: 12px; width: 100%; }
}

/* ---- lightbox ---- */
.gallery__item { cursor: zoom-in; }
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
    background: rgba(20, 12, 12, .92);
    padding: 40px; opacity: 0; transition: opacity .25s;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__stage {
    margin: 0; max-width: min(90vw, 900px); max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__img {
    max-width: 100%; max-height: 88vh; width: auto; height: auto;
    border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__close, .lightbox__nav {
    position: absolute; background: rgba(255,255,255,.12); color: #fff;
    border: 0; cursor: pointer; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 24px; right: 28px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 34px; line-height: 1; }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
@media (max-width: 600px) {
    .lightbox { padding: 16px; }
    .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }
    .lightbox__close { top: 12px; right: 12px; }
}
