/* =========================================================
   SAMC BARBERS — Components
   ========================================================= */

/* ---------- Liquid-glass light (layer injected by effects.js) ----------
   A glare inside the card and a bright catch-light on its rim both follow the
   pointer. The gradients are painted once; only `transform` changes while the
   mouse moves, so it runs on the compositor with no repaints. */
.glass-light {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.is-lit > .glass-light { opacity: 1; }

.glass-light__glare,
.glass-light__rim > span {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.glass-light__glare {
    width: 640px;
    height: 640px;
    margin: -320px 0 0 -320px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.08),
            rgba(var(--gold-rgb), 0.065) 22%,
            transparent 58%);
}

/* Only the 1.5px border ring of this layer is visible */
.glass-light__rim {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.glass-light__rim > span {
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.68), rgba(230, 204, 144, 0.28) 30%, transparent 62%);
}

.is-lit .glass-light__glare,
.is-lit .glass-light__rim > span { will-change: transform; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* ---------- Segmented control (iOS UISegmentedControl) ---------- */
.segmented {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(118, 118, 128, 0.24);
}

.segmented__thumb {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: translate 0.5s var(--spring);
}

.segmented[data-active="1"] .segmented__thumb { translate: 100% 0; }

.segmented__option {
    position: relative;
    min-width: 128px;
    padding: 9px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gray-text);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: color 0.3s, scale 0.45s var(--spring-bouncy);
}

.segmented__option[aria-selected="true"] { color: var(--white); }
.segmented__option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.segmented__option:active { scale: 0.95; }

/* Beats component display rules such as .services-container { display: grid } */
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"]:not([hidden]) { animation: panelIn 0.55s var(--spring); }

@keyframes panelIn { from { opacity: 0; translate: 0 14px; } }

.services-panel__lead {
    max-width: 560px;
    margin: 0 auto 28px;
    text-align: center;
    color: var(--gray-text);
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 24px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    outline: none;
    transition: transform 0.6s var(--spring), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}

.service-card:hover,
.service-card:focus-visible {
    border-color: rgba(var(--gold-rgb), 0.45);
    box-shadow: var(--glass-depth), 0 30px 70px rgba(0, 0, 0, 0.55);
}

.service-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.1);
    border: 1px solid rgba(var(--gold-rgb), 0.25);
    transition: transform 0.7s var(--spring-bouncy);
}

.service-card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

.card-icon--lg { width: 60px; height: 60px; font-size: 1.4rem; border-radius: 18px; }

.badge {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #111;
    background: var(--gold);
}

.badge--outline {
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    box-shadow: none;
}

.service-card h3 {
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    font-weight: 600;
    margin-bottom: 14px;
    min-height: 2.75em;
}

.price { margin-bottom: 16px; }

.price .cop {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price .usd { font-size: 0.82rem; color: var(--gray-text); letter-spacing: 1px; }

.description {
    font-size: 0.88rem;
    color: #a9a9a9;
    margin-bottom: 22px;
    min-height: 4.2em;
}

.features {
    list-style: none;
    flex-grow: 1;
    display: grid;
    gap: 11px;
    margin-bottom: 26px;
    align-content: start;
}

.features li {
    position: relative;
    padding-left: 26px;
    font-size: 0.85rem;
    color: #d0d0d0;
    line-height: 1.5;
}

.features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23c5a059' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.duration {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    color: var(--gray-text);
    letter-spacing: 0;
}

.duration .icon { color: var(--gold); }

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.1);
    transition: background 0.35s, color 0.35s, gap 0.5s var(--spring-bouncy);
}

.service-card:hover .card-cta { background: var(--gold); color: #111; gap: 12px; }

/* Featured & prestige variants */
.service-card.featured {
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(var(--gold-rgb), 0.1), transparent 60%),
        var(--glass-bg);
    border-color: rgba(var(--gold-rgb), 0.35);
}

.service-card.prestige {
    background:
        linear-gradient(160deg, rgba(var(--gold-rgb), 0.12), transparent 40%),
        var(--glass-bg);
}

/* Wide beard card */
.service-card--wide {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: clamp(28px, 4vw, 48px);
    max-width: 1000px;
    margin-inline: auto;
}

.service-card--wide h3 { min-height: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.service-card--wide .description { min-height: 0; }
.wide__right { display: flex; flex-direction: column; justify-content: center; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.testimonial-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    cursor: zoom-in;
    transition: transform 1.4s var(--ease-out);
}

.testimonial-photo:hover img { transform: scale(1.05); }

.testimonial-photo figcaption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background: rgba(15, 15, 15, 0.5);
}

.testimonial-photo figcaption .icon { color: var(--gold); }

.testimonials-grid { display: grid; gap: 16px; }

.testimonial-card {
    padding: 26px 28px;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.6s var(--spring), border-color 0.4s;
}

.testimonial-card:hover { transform: translateX(6px); border-color: rgba(var(--gold-rgb), 0.35); }

.testimonial-card::before { z-index: 0; }

.testimonial-stars { display: flex; gap: 4px; color: var(--gold); font-size: 0.8rem; margin-bottom: 14px; }

.testimonial-text {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e9e9e9;
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 1px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    color: #111;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}

/* =========================================================
   VIDEOS — iPhone Pro frame
   ========================================================= */
.videos__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.videos__text h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 20px;
}

.videos__text p { color: var(--gray-text); max-width: 440px; margin-bottom: 30px; }

.slider-dots { display: flex; gap: 8px; margin-bottom: 34px; }

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: width 0.55s var(--spring), background 0.3s;
}

.slider-dots button.is-active { width: 28px; background: var(--gold); }

.phone { position: relative; justify-self: center; }

.phone__frame {
    position: relative;
    width: min(330px, 78vw);
    aspect-ratio: 9 / 19.2;
    padding: 11px;
    border-radius: 54px;
    background: linear-gradient(145deg, #3a3a3c, #1c1c1e 30%, #0d0d0d 60%, #2c2c2e);
    box-shadow:
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.18),
        inset 0 0 0 4px #0b0b0b,
        0 50px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(var(--gold-rgb), 0.25);
    z-index: 1;
}

/* Titanium side buttons */
.phone__frame::before,
.phone__frame::after {
    content: "";
    position: absolute;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2a2a2a, #555);
}

.phone__frame::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 70px 0 #3a3a3a; }
.phone__frame::after { right: -3px; top: 30%; height: 13%; }

.phone__island {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 31%;
    height: 28px;
    border-radius: 999px;
    background: #000;
    z-index: 20;
}

.phone__glow {
    position: absolute;
    inset: 10% -15%;
    background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.12), rgba(var(--gold-rgb), 0.03) 60%, transparent);
    z-index: 0;
    pointer-events: none;
}

.video-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 44px;
    background: #000;
    cursor: grab;
    touch-action: pan-y;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.75s var(--spring);
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 5;
    cursor: pointer;
    transition: opacity 0.4s, transform 0.5s var(--spring-bouncy), scale 0.45s var(--spring-bouncy);
}

.play-overlay .icon { color: var(--white); font-size: 1.4rem; margin-left: 3px; }
.play-overlay:hover { transform: translate(-50%, -50%) scale(1.08); }
.slide video.playing + .play-overlay { opacity: 0; }
.slide video.playing + .play-overlay:hover { opacity: 1; }

.swipe-indicator { display: none; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s, scale 0.45s var(--spring-bouncy);
}

.slider-btn:hover { background: var(--gold); color: #111; }
.slider-btn:disabled { opacity: 0.25; pointer-events: none; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.sound-toggle {
    position: absolute;
    right: 24px;
    bottom: 26px;
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background 0.3s, scale 0.45s var(--spring-bouncy);
}

.sound-toggle[aria-pressed="true"] { background: var(--gold); color: #111; }

/* =========================================================
   FAQ — accordion
   ========================================================= */
.faq-container { display: grid; gap: 12px; }

.faq-item {
    border-radius: 22px;
    overflow: hidden;
    transition: border-color 0.4s, background 0.4s;
}

.faq-item[open] { border-color: rgba(var(--gold-rgb), 0.35); }

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--gold-rgb), 0.12);
    transition: transform 0.6s var(--spring-bouncy), background 0.3s;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: var(--gold);
    transform: translate(-50%, -50%);
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.6s var(--spring-bouncy); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--gold); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #111; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-body { padding: 0 26px 24px; }
.faq-body p { color: var(--gray-text); font-size: 0.92rem; line-height: 1.75; }
.faq-item[open] .faq-body { animation: faqOpen 0.6s var(--spring); }

/* =========================================================
   CTA
   ========================================================= */
.cta__panel {
    text-align: center;
    padding: clamp(50px, 8vw, 90px) clamp(24px, 6vw, 80px);
    border-radius: 40px;
    overflow: hidden;
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(var(--gold-rgb), 0.1), transparent 60%),
        var(--glass-bg);
}

.cta__crown {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.cta__panel h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); max-width: 760px; margin: 0 auto 18px; }
.cta__panel p { color: rgba(245, 245, 245, 0.7); max-width: 520px; margin: 0 auto 36px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    padding: 60px 0 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-brand .icon { color: var(--gold); font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand h3 { font-size: 1.8rem; margin-bottom: 12px; }

.footer-brand p {
    font-family: var(--font-script);
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 30px;
}

.socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }

.socials a {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.5s var(--spring-bouncy), scale 0.45s var(--spring-bouncy), color 0.3s, border-color 0.3s;
}

.socials a:hover { transform: translateY(-4px); color: var(--gold); border-color: rgba(var(--gold-rgb), 0.5); }

.footer-legal { font-size: 0.75rem; color: #5f5f5f; letter-spacing: 0.5px; }

/* =========================================================
   FLOATING ACTIONS
   ========================================================= */
.whatsapp-fixed {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    color: #fff;
    text-decoration: none;
    background: #25d366;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.55s var(--spring-bouncy), scale 0.45s var(--spring-bouncy);
}

.whatsapp-fixed:hover { transform: scale(1.06); }

.scroll-top-btn {
    position: fixed;
    right: 28px;
    bottom: 98px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.9);
    transition: opacity 0.35s, visibility 0.6s, transform 0.6s var(--spring-bouncy), scale 0.45s var(--spring-bouncy);
}

.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: none; }

.scroll-top-ring {
    position: absolute;
    inset: -1px;
    transform: rotate(-90deg);
}

.scroll-top-ring circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 138.2;
    stroke-dashoffset: calc(138.2 - 138.2 * var(--progress, 0));
    transition: stroke-dashoffset 0.25s linear;
}

/* =========================================================
   BOOKING MODAL — iOS sheet
   ========================================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.modal.show { opacity: 1; visibility: visible; }

body.modal-open { overflow: hidden; }

.modal-content {
    width: 100%;
    max-width: 460px;
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    padding: 34px 28px 28px;
    border-radius: 32px;
    background: rgba(22, 22, 22, 0.78);
    text-align: left;
    transform: translateY(40px) scale(0.94);
    transition: transform 0.65s var(--spring);
}

.modal.show .modal-content { transform: none; }

.modal-grabber { display: none; }

.modal-content .eyebrow { margin-bottom: 10px; }

#modalServiceTitle {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    padding-right: 40px;
    margin-bottom: 8px;
}

.modal-question { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 20px; }

.close-modal {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s, transform 0.55s var(--spring-bouncy), scale 0.45s var(--spring-bouncy);
}

.close-modal:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }

.extras-options { display: grid; gap: 8px; margin-bottom: 24px; }

.extra-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, border-color 0.3s, scale 0.45s var(--spring-bouncy);
}

.extra-option[hidden] { display: none; }
.extra-option:hover { border-color: rgba(var(--gold-rgb), 0.4); }
.extra-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* iOS switch: track + knob. The knob stretches while pressed, like UISwitch. */
.extra-option .extra-check { order: 3; }

.extra-check {
    position: relative;
    width: 51px;
    height: 31px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(120, 120, 128, 0.32);
    transition: background 0.3s var(--ease-out);
}

.extra-check .icon { display: none; }

.extra-check::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 3px 1px rgba(0, 0, 0, 0.06);
    transition: translate 0.45s var(--spring-bouncy), width 0.3s var(--spring);
}

.extra-option:active .extra-check::after { width: 33px; }

.extra-name { flex: 1; font-size: 0.9rem; font-weight: 400; }
.extra-price { font-size: 0.78rem; color: var(--gold); white-space: nowrap; }

.extra-option.active { background: rgba(var(--gold-rgb), 0.12); border-color: rgba(var(--gold-rgb), 0.6); }
.extra-option.active .extra-check { background: var(--gold); }
.extra-option.active .extra-check::after { translate: 20px 0; }
.extra-option.active:active .extra-check::after { translate: 14px 0; }

/* ---------- Image lightbox ---------- */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 80px 20px 20px;
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.image-modal-content {
    margin: auto;
    max-width: min(700px, 100%);
    max-height: calc(100svh - 120px);
    object-fit: contain;
    border-radius: 24px;
    animation: zoomIn 0.6s var(--spring);
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.6rem;
    cursor: pointer;
}

/* =========================================================
   RESPONSIVE (components)
   ========================================================= */
@media (max-width: 1080px) {
    .services-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .testimonials-layout { grid-template-columns: 1fr; }
    .testimonial-photo { min-height: 380px; }
    .videos__grid { grid-template-columns: 1fr; text-align: center; }
    .videos__text p { margin-inline: auto; }
    .slider-dots { justify-content: center; }
    .service-card--wide { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
    .services-container { grid-template-columns: 1fr; }
    .service-card h3, .description { min-height: 0; }

    /* Bottom sheet like iOS */
    .modal { align-items: flex-end; padding: 0; }
    .modal-content {
        max-width: none;
        border-radius: 30px 30px 0 0;
        padding: 14px 20px calc(24px + env(safe-area-inset-bottom));
        transform: translateY(100%);
        /* no overshoot: a bouncing sheet would lift off the bottom edge */
        transition: transform 0.6s var(--spring-smooth);
    }
    /* Wide invisible hit area around the pill, so the sheet is easy to drag */
    .modal-grabber {
        display: block;
        position: relative;
        height: 26px;
        margin: -10px -20px 8px;
        touch-action: none;
        cursor: grab;
    }
    .modal-grabber::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        width: 40px;
        height: 5px;
        margin-left: -20px;
        border-radius: 3px;
        background: rgba(255, 255, 255, 0.25);
    }
    .close-modal { top: 30px; }

    .whatsapp-fixed { right: 16px; bottom: 16px; width: 56px; height: 56px; }
    .scroll-top-btn { right: 20px; bottom: 86px; }
}
