/* =========================================================
   MK Derma — clean clinical styles
   Display: Oswald (uppercase condensed). Body: Poppins.
   Inspired by skintechnique.com, contact by nail-studios demo.
   ========================================================= */

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #0E1B16;
}

.font-display {
    font-family: 'Oswald', sans-serif !important;
    letter-spacing: 0.01em;
}
.font-sans {
    font-family: 'Poppins', system-ui, sans-serif !important;
}

/* ---------- Hero typography ---------- */
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #0E1B16;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
}

/* ---------- Section title ---------- */
.section-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #0E1B16;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
}

/* ---------- Pill / Eyebrow ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #0E1B16;
    background: rgba(200,164,101,0.12);
    border: 1px solid rgba(200,164,101,0.25);
    border-radius: 9999px;
}
.pill--dark {
    color: #F6F1E9;
    background: rgba(200,164,101,0.1);
    border-color: rgba(200,164,101,0.3);
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.8rem;
    border-radius: 8px;
    background: #0E1B16;
    color: #F6F1E9;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px -16px rgba(14,27,22,.45);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #C8A465;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: #0E1B16; box-shadow: 0 18px 40px -18px rgba(200,164,101,.55); }
.btn-primary:hover::before { opacity: 1; }

.btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.8rem;
    border-radius: 8px;
    border: 1px solid rgba(14,27,22,0.2);
    color: #0E1B16;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
}
.btn-ghost:hover {
    background: #0E1B16;
    color: #F6F1E9;
    border-color: #0E1B16;
}

/* ---------- Nav ---------- */
.nav-link {
    position: relative;
    color: rgba(14,27,22,0.78);
    transition: color 0.2s ease;
    font-weight: 500;
}
.nav-link:hover,
.nav-link.is-active { color: #0E1B16; }
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: #C8A465;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.mobile-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #E5E5E0;
    color: rgba(14,27,22,0.85);
    font-weight: 500;
    transition: all 0.2s ease;
}
.mobile-link:hover {
    color: #C8A465;
    transform: translateX(4px);
}

header.is-scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 8px 30px -22px rgba(14,27,22,0.30);
}
header.is-scrolled nav { height: 68px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee-track {
    width: max-content;
    animation: marquee 42s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Image hover ---------- */
.img-hover { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.img-hover:hover { transform: scale(1.04); }

/* ---------- About features ---------- */
.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.about-feature:hover { transform: translateX(4px); }
.af-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200,164,101,0.12);
    color: #C8A465;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}
.af-icon svg { width: 22px; height: 22px; }
.about-feature:hover .af-icon { background: #C8A465; color: #0E1B16; }
.about-feature h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    color: #0E1B16;
}
.about-feature p {
    font-size: 14px;
    color: #5C6B62;
    line-height: 1.6;
    margin-top: 6px;
    font-weight: 300;
}

/* ---------- Service cards ---------- */
.svc-card {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #E5E5E0;
    transition: all 0.4s cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 8px 30px -20px rgba(14,27,22,0.10);
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px -28px rgba(14,27,22,0.25);
    border-color: rgba(200,164,101,0.4);
}
.svc-img {
    aspect-ratio: 5 / 4;
    overflow: hidden;
    position: relative;
}
.svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.svc-card:hover .svc-img img { transform: scale(1.07); }

.svc-body { padding: 1.75rem 1.75rem 2rem; }
.svc-body h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: #0E1B16;
    line-height: 1.15;
}
.svc-body p {
    font-size: 14px;
    color: #5C6B62;
    line-height: 1.6;
    margin-top: 0.75rem;
    font-weight: 300;
}
.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0E1B16;
    transition: color 0.2s ease;
}
.svc-link:hover { color: #C8A465; }
.svc-link .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}
.svc-link:hover .arrow { transform: translateX(4px); }

/* ---------- Tech spec ---------- */
.tech-spec {
    background: #FAFAF9;
    border: 1px solid #E5E5E0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
}
.tech-spec > div:last-child { min-width: 0; flex: 1 1 auto; }
.tech-spec:hover {
    background: white;
    border-color: rgba(200,164,101,0.4);
    box-shadow: 0 12px 30px -20px rgba(14,27,22,0.15);
}
.ts-num {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.25rem;
    color: #C8A465;
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
}
.ts-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #0E1B16;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.ts-sub {
    font-size: 12px;
    color: #5C6B62;
    margin-top: 4px;
    font-weight: 300;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
    .ts-num { font-size: 1.4rem; min-width: 3rem; }
    .ts-title { font-size: 1rem; }
}

/* ---------- Before/After ---------- */
.ba { cursor: ew-resize; }
.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-clip {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}
.ba-clip .ba-img { width: 100%; max-width: none; }
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(246,241,233,0.95);
    pointer-events: none;
    box-shadow: 0 0 24px rgba(14,27,22,.4);
}
.ba-knob {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 0;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: white;
    color: #0E1B16;
    display: grid;
    place-items: center;
    pointer-events: none;
    box-shadow: 0 12px 32px -8px rgba(14,27,22,.6);
}
.ba-label {
    position: absolute;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(14,27,22,0.85);
    color: #F6F1E9;
    backdrop-filter: blur(4px);
}

/* ---------- Result tiles ---------- */
.result-tile {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}
.result-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s cubic-bezier(.2,.7,.2,1);
    filter: saturate(0.95);
}
.result-tile:hover img {
    transform: scale(1.08);
    filter: saturate(1.1);
}
.result-tile figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem;
    color: #F6F1E9;
    background: linear-gradient(to top, rgba(14,27,22,0.85), rgba(14,27,22,0.30), transparent);
}
.rt-num {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #C8A465;
    font-weight: 600;
}
.rt-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 4px;
    letter-spacing: 0.02em;
    line-height: 1.15;
}
.rt-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(246,241,233,0.7);
    margin-top: 4px;
    font-weight: 500;
}

/* ---------- Reviews ---------- */
.review-slide {
    min-width: 100%;
    padding: 0 1.5rem;
    text-align: center;
}
@media (min-width: 640px) { .review-slide { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .review-slide { padding: 0 3.5rem; } }
.review-stars {
    color: #C8A465;
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}
.review-quote {
    font-family: 'Poppins', sans-serif;
    color: #F6F1E9;
    max-width: 56rem;
    margin: 0 auto;
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    line-height: 1.45;
    font-weight: 300;
    letter-spacing: -0.005em;
}
.review-meta {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.review-meta img {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(200,164,101,0.4);
}
.review-arrow {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    border: 1px solid rgba(246,241,233,0.2);
    display: grid;
    place-items: center;
    color: rgba(246,241,233,0.85);
    transition: all 0.3s ease;
}
.review-arrow:hover {
    background: #C8A465;
    color: #0E1B16;
    border-color: #C8A465;
}
.review-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(246,241,233,0.25);
    transition: all 0.3s ease;
}
.review-dot.is-active {
    width: 32px;
    background: #C8A465;
}

/* ---------- Contact form (nail-studios style) ---------- */
.ns-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #E5E5E0;
    background: white;
    border-radius: 0.75rem;
    font-size: 14px;
    color: #0E1B16;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}
.ns-input:focus {
    outline: none;
    border-color: #0E1B16;
    box-shadow: 0 0 0 3px rgba(200,164,101,0.18);
}
.ns-input::placeholder { color: rgba(92,107,98,0.5); }
select.ns-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%235C6B62' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}

/* ---------- Footer ---------- */
.footer-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    color: #C8A465;
    letter-spacing: 0.14em;
}
.footer-list {
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}
.footer-list li { margin-bottom: 0.6rem; }
.footer-list a {
    color: rgba(246,241,233,0.65);
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-list a:hover { color: #C8A465; }
.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(246,241,233,0.2);
    display: grid;
    place-items: center;
    color: rgba(246,241,233,0.8);
    transition: all 0.3s ease;
}
.footer-social:hover {
    background: #C8A465;
    color: #0E1B16;
    border-color: #C8A465;
    transform: scale(1.08);
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FAFAF9; }
::-webkit-scrollbar-thumb { background: #d6cdb8; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #C8A465; }
