/* HERO */
.hero {
    background:
        radial-gradient(130% 90% at 50% -10%, rgba(176, 138, 82, 0.10), rgba(176, 138, 82, 0) 55%),
        linear-gradient(180deg, #f1e7d6 0%, var(--color-light) 82%);
    padding: 3.5rem 1.5rem 2.5rem;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.hero-title {
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    line-height: 1.08;
    font-weight: 600;
    color: var(--color-dark);
}
.hero-title em {
    display: block;
    font-style: italic;
    color: #6b4f2e;
}
.hero-sub {
    max-width: 460px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #6b5c4e;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.6rem;
}
.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 15px 30px;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}
.hero-btn-primary {
    background: #251D19;
    color: var(--color-light);
}
.hero-btn-primary:hover {
    background: #40342b;
    transform: translateY(-2px);
}
.hero-btn-secondary {
    color: var(--color-dark);
    border: 1.5px solid var(--color-primary);
}
.hero-btn-secondary:hover {
    background: rgba(176, 138, 82, 0.12);
    transform: translateY(-2px);
}
.hero-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(37, 29, 25, 0.22);
    display: block;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-copy {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-media {
        order: -1;
    }
    .hero-media img {
        height: 340px;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 2.5rem 1.25rem 1.5rem;
    }
    .hero-media img {
        height: 280px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* SERVICES INTRO */
.services-header {
    width: 90%;
    margin: 2.75rem auto 0;
    scroll-margin-top: 90px;
}

/* SERVICE TOGGLE */
.service-toggle {
    position: relative;
    scroll-margin-top: 100px;
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #eadec8;
    border-radius: 50px;
    overflow: hidden;
    margin: 2.5rem auto 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    border-radius: 50px;
    transition: transform 0.45s ease-out;
    background: #614d38;
}
.service-toggle.active .slider {
    transform: translateX(100%);
}
.toggle-btn-beauty, .toggle-btn-barber  {
    flex: 1;
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    color: white;
    padding: 18px 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 24px;
    transition: all .3s ease;
}

/* SERVICE CARD */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    margin: auto;
    gap: 20px;
    align-items: start;
    width: 90%;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.service-card:hover { 
    background: #ede8de; 
}
.service-card:hover::after { 
    transform: scaleX(1); 
}
.service-card:focus-within::after { 
    transform: scaleX(1); 
}

/* CATEGORY TITLE */
.section-label {
    font-size: 16px;
    width: 90%;
    margin: 20px auto 10px;
    padding-left: 6px;
    border-left: 2px solid var(--accent);
    color: #392613;
    font-weight: 600;
}

/* Main card */
.service-card {
    position: relative;
    overflow: hidden;
    background-color: #f1e9da;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 10px;
    padding: 14px 14px 0 14px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.card-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card-main h3 {
    font-weight: 700;
    font-size: 20px;
}
.card-main p {
    font-size: 14px;
    color: #7a5a50;
}
.card-meta {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 12px;
}
.card-meta .pill {
    border: 1px solid #ccc;
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}
.pill-time {
    background: rgba(191, 191, 191, 0.25);
    color: #3B2A1E;
}
.pill-price {
    background: #3B2A1E;
    color: rgba(241, 233, 218, 0.9);
}
.book-btn {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    background: #51402f;
    color: rgba(241, 233, 218, 0.9);
    outline: none;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0 0 10px 10px;
    transition: background 0.2s ease;
}
.book-btn:hover { 
    background: #31261c;
}
.fa-calendar-plus {
    font-size: 16px;
    padding-right: 6px;
}
.unselected {
    display: none;
}
.unfocus-color {
    color: black;
}

@media (max-width: 950px) {
    .grid {
        grid-template-columns: 1fr
    }
    .service-toggle {
        max-width: 370px;
    }
}

/* SECTION DIVIDER */
.section-divider {
    margin-top: 4rem;
    border: 1px solid rgb(177, 170, 170);
}

/* GALLERY SECTION */
.gallery-section {
    width: 80%;
    margin: 0 auto;
    padding: 0;
    scroll-margin-top: 90px;
}
.section-header {
    text-align: left;
    margin-bottom: 1.75rem;
}
.section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.section-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--color-primary);
}
.section-eyebrow::after {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--color-primary);
}
.section-header h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: .6rem;
    color: var(--color-dark);
    font-weight: 600;
}
.section-header h2 em {
    font-style: italic;
    color: #6b4f2e;
}
.section-header p {
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
    opacity: .85;
    font-size: 1.05rem;
    color: #6b5c4e;
}
/* align gallery header with the 1080px grid */
.gallery-section .section-header {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

/* GALLERY */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    flex: 0 1 calc(33.333% - 8px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(37, 29, 25, 0.3), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.gallery-item:hover::after {
    opacity: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform .3s ease,
        filter .4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* TABLET + MOBILE: two per row */
@media (max-width: 900px) {
    .gallery-item {
        flex-basis: calc(50% - 6px);
    }
}

@media (max-width: 600px) {
    .gallery-section {
        width: 90%;
    }
}

/* CTA */
.cta-section {
    /* font-size: 2.5rem; */
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.5rem;
}
.cta-section p {
    margin: 1.2rem 0 1rem 0;
    font-size: 1.25rem;
    line-height: 1;
}
.cta-btn {
    width: 80%;
    max-width: 800px;
    align-self: center;
    padding: 20px 40px;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.08rem;
    color: #000000;
    /* change base on logo */
    background: #806738; 
    border-radius: 999px;
    box-shadow:
    0 0 11px 1px rgba(184,138,68,0.25),
    0 2px 6px rgba(156, 118, 60, 0.1);
}