/* =========================================================
   Tajmeel.vip — Beard Shaping
   File: assets/css/beard-shaping.css

   Homepage theme (site.css variables) + responsive layout.
   Headings use two colors: default ink + gold span (#b99a68).
   Gold border on hover for cards and gallery images.
   ========================================================= */

.beard-page {
    color: var(--color-ink);
    background: var(--color-white);
    font-family: inherit;
    line-height: 1.9;
}

.beard-page *,
.beard-page *::before,
.beard-page *::after {
    box-sizing: border-box;
}

.beard-page img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   HERO
========================================================= */

.beard-page .beard-hero-section {
    overflow: hidden;
}

.beard-page .beard-hero-section .hero-grid {
    align-items: center;
}

.beard-page .beard-hero-section .hero-content,
.beard-page .beard-hero-section .hero-visual {
    min-width: 0;
}

.beard-page .beard-hero-section .hero-visual {
    position: relative;
}

.beard-page .beard-hero-section .hero-image-frame {
    overflow: hidden;
    border-radius: inherit;
}

.beard-page .beard-hero-section .hero-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   SECTIONS
========================================================= */

.beard-page .beard-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.beard-page .beard-section .section-heading {
    max-width: 820px;
    margin-inline: auto;
    margin-bottom: 30px;
    text-align: center;
}

.beard-page .beard-section .section-heading h2 {
    margin-bottom: 16px;
    color: var(--color-ink);
}

/* Gold span inside headings (two-color effect) */
.beard-page .beard-section .section-heading h2 span,
.beard-page .beard-highlight h2 span {
    color: #b99a68;
}

.beard-page .beard-section .section-heading p {
    color: var(--color-text);
}

.beard-page .beard-section .eyebrow {
    color: var(--color-gold-dark);
}

/* =========================================================
   INFORMATION CARDS
========================================================= */

.beard-page .beard-info-grid {
    align-items: stretch;
}

.beard-page .beard-info-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

/* Gold border on hover (same as homepage service-card) */
.beard-page .beard-info-card:hover {
    border-color: #d2bd98;
    box-shadow: 0 2px 9px rgba(54, 43, 28, .045);
}

.beard-page .beard-info-card .service-body {
    height: 100%;
}

.beard-page .beard-info-card .service-body h3 {
    margin-top: 0;
    color: var(--color-ink);
}

.beard-page .beard-info-card .service-body p {
    margin-bottom: 0;
    color: var(--color-text);
    overflow-wrap: anywhere;
    font-size: 13px;
}

/* =========================================================
   SESSION CARDS — Number and title on one line
========================================================= */

.beard-page .beard-sessions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.beard-page .beard-sessions-grid .beard-info-card {
    width: 100%;
}

.beard-page .beard-sessions-grid .service-body {
    padding: 24px;
}

.beard-page .beard-info-card .service-body h3.beard-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.5;
    text-align: start;
}

.beard-page .beard-card-title > span:last-child {
    min-width: 0;
    flex: 1 1 auto;
}

.beard-page .beard-step {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    background: var(--color-soft);
    color: var(--color-gold-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

/* =========================================================
   SIDE EFFECTS — Four cards on desktop
========================================================= */

.beard-page .beard-side-effects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.beard-page .beard-side-effects-grid .beard-info-card {
    width: 100%;
    min-width: 0;
}

.beard-page .beard-side-effects-grid .service-body {
    padding: 22px 18px;
}

.beard-page .beard-side-effects-grid .service-body h3 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.beard-page .beard-side-effects-grid .service-body p {
    font-size: 13px;
    line-height: 1.9;
}

/* =========================================================
   HIGHLIGHT PANELS
========================================================= */

.beard-page .beard-highlight {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-cream);
}

.beard-page .beard-highlight h2 {
    margin-bottom: 18px;
    color: var(--color-ink);
}

.beard-page .beard-highlight p {
    color: var(--color-text);
    font-size: 13px;
}

.beard-page .beard-highlight p:last-child {
    margin-bottom: 0;
}

.beard-page .beard-medical-note {
    border-inline-start: 4px solid #b99a68;
}

/* =========================================================
   SESSION INTERVAL NOTE
========================================================= */

.beard-page .beard-note {
    margin-top: 24px;
    padding: 16px 20px;
    border-inline-start: 3px solid #b99a68;
    border-radius: 6px;
    background: var(--color-cream);
    color: var(--color-text);
    font-size: 13px;
}

/* =========================================================
   AFTERCARE
========================================================= */

.beard-page .beard-aftercare-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.beard-page .beard-aftercare-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-white);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.beard-page .beard-aftercare-item:hover {
    border-color: #d2bd98;
    box-shadow: 0 2px 9px rgba(54, 43, 28, .045);
}

.beard-page .beard-aftercare-item > span {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-soft);
    color: var(--color-gold-dark);
    font-size: 13px;
    font-weight: 800;
}

.beard-page .beard-aftercare-item p {
    margin: 0;
    color: var(--color-text);
    font-size: 13px;
}

/* =========================================================
   GALLERY (gold border on hover, no zoom)
========================================================= */

.beard-page .beard-gallery-heading {
    margin-bottom: 24px;
}

.beard-page .beard-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.beard-page .beard-gallery figure {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-soft);
    transition: border-color .25s ease, box-shadow .25s ease;
}

/* Gold border on hover — matches homepage service-card */
.beard-page .beard-gallery figure:hover {
    border-color: #d2bd98;
    box-shadow: 0 2px 9px rgba(54, 43, 28, .045);
}

.beard-page .beard-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   FAQ (gold border on hover)
========================================================= */

.beard-page .beard-faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin-inline: auto;
}

.beard-page .beard-faq-item {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-white);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.beard-page .beard-faq-item:hover {
    border-color: #d2bd98;
    box-shadow: 0 2px 9px rgba(54, 43, 28, .045);
}

.beard-page .beard-faq-item summary {
    padding: 17px 20px;
    color: var(--color-ink);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
}

.beard-page .beard-faq-item summary::-webkit-details-marker {
    display: none;
}

.beard-page .beard-faq-item summary::after {
    content: "+";
    float: inline-end;
    color: var(--color-gold-dark);
    font-size: 21px;
    line-height: 1.3;
}

.beard-page .beard-faq-item[open] summary::after {
    content: "−";
}

.beard-page .beard-faq-item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--color-text);
    font-size: 13px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .beard-page .beard-sessions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .beard-page .beard-side-effects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .beard-page .beard-aftercare-list {
        grid-template-columns: 1fr;
    }

    .beard-page .beard-gallery {
        gap: 15px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .beard-page .beard-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .beard-page .beard-sessions-grid,
    .beard-page .beard-side-effects-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .beard-page .beard-sessions-grid .service-body,
    .beard-page .beard-side-effects-grid .service-body {
        padding: 20px;
    }

    .beard-page .beard-info-card .service-body h3.beard-card-title {
        gap: 10px;
        font-size: 17px;
    }

    .beard-page .beard-step {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    .beard-page .beard-gallery {
        grid-template-columns: 1fr;
    }

    .beard-page .beard-gallery figure {
        aspect-ratio: 4 / 3;
    }

    .beard-page .beard-aftercare-item {
        padding: 16px;
    }
}