/* Handmade Embroidery — frontend refinements */

:root {
    --hm-accent: #fc5a6d;
    --hm-accent-dark: #e34557;
    --hm-ink: #222831;
    --hm-muted: #6b7280;
    --hm-bg: #faf7f5;
    --hm-card: #ffffff;
    --hm-line: #ece4df;
}

/* Compact top header */
.hm_header_wrapper {
    padding: 12px 0 !important;
    min-height: 0 !important;
}

.hm_header_wrapper .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hm_logo {
    display: flex;
    align-items: center;
}

.hm_logo img {
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
}

.hm_top_Search_main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 48px;
}

.hm_top_search.header_tagline {
    margin-top: 0 !important;
}

.header_tagline span {
    display: block;
    font-family: 'Great Vibes', cursive;
    font-size: 20px;
    color: var(--hm-accent);
    line-height: 1.2;
    white-space: nowrap;
}

.hm_menu_wrapper {
    min-height: 0;
}

.hm_menu ul li a {
    text-transform: capitalize;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.alert-success-custom {
    background: #e8fff3;
    border: 1px solid #8fd6b0;
    color: #1f6b45;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-error {
    color: #d64545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.hm_form button.hm_btn {
    border: none;
    cursor: pointer;
    display: inline-block;
}

/* Home layout */
.home-page .hm-section {
    padding: 40px 0;
}

.hm-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.hm-section-head.text-start {
    margin-left: 0;
    text-align: left;
}

.hm-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hm-accent);
    margin-bottom: 10px;
}

.hm-section-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--hm-ink);
    margin: 0 0 12px;
    font-family: 'Roboto Slab', serif;
}

.hm-section-head p,
.hm-lead {
    color: var(--hm-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.hm_btn_outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.hm_btn_outline:hover {
    background: #fff !important;
    color: var(--hm-accent) !important;
}

/* Hero */
.hm-hero {
    position: relative;
}

.hm-hero-slide {
    min-height: min(86vh, 760px);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hm-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(20, 18, 17, 0.78) 10%, rgba(20, 18, 17, 0.42) 70%, rgba(252, 90, 109, 0.28) 100%);
}

.hm-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 760px;
    padding: 90px 0;
}

.hm-hero-eyebrow {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--hm-accent) !important;
    margin: 0 0 8px;
}

.hm-hero-content h1,
.hm-hero .carousel-item h1 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    text-transform: capitalize;
    letter-spacing: .5px;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hm-hero-text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 560px;
    margin: 0 0 28px;
}

.hm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hm-hero .carousel-indicators {
    margin-bottom: 1.4rem;
}

.hm-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
}

.hm-hero .carousel-indicators .active {
    background-color: var(--hm-accent);
}

/* Intro */
.hm-intro {
    background: #fff;
}

.hm-intro-media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(34, 40, 49, 0.12);
}

.hm-intro-media img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 360px;
}

.hm-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 22px 0 28px;
    color: var(--hm-ink);
    font-weight: 600;
}

.hm-intro-points i {
    color: var(--hm-accent);
    margin-right: 6px;
}

/* Services */
.hm-services {
    background: var(--hm-bg);
}

.hm-service-card {
    background: var(--hm-card);
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(34, 40, 49, 0.08);
}

.hm-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(252, 90, 109, 0.12);
    color: var(--hm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 28px;
}

.hm-service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--hm-ink);
}

.hm-service-card p {
    margin: 0;
    color: var(--hm-muted);
    line-height: 1.65;
}

/* Works / Services card grid */
.hm-works {
    background: #fff;
}

.hm-works-alt {
    background: var(--hm-bg);
}

/* Compact page banner (all inner pages) */
.hm_bread_wrapper {
    padding: 28px 0 30px !important;
    background: linear-gradient(180deg, #fff8f7 0%, #faf7f5 100%) !important;
    border-bottom: 1px solid var(--hm-line);
}

.hm_bread_wrapper h1 {
    font-size: clamp(28px, 3.2vw, 38px) !important;
    font-family: 'Roboto Slab', serif;
    padding-bottom: 8px !important;
}

.hm_bread_wrapper h1:before,
.hm_bread_wrapper h1:after {
    display: none;
}

.hm_bread_wrapper .breadcrumb {
    margin-top: 8px !important;
    justify-content: center;
}

.hm_bread_wrapper .breadcrumb-item,
.hm_bread_wrapper .breadcrumb-item a {
    font-size: 14px !important;
}

.services-page .hm-section,
.about-page .hm-section {
    padding: 56px 0;
}

.about-page .hm-intro {
    padding-top: 48px;
}

.about-page .hm-cta-tight {
    padding: 0 0 56px;
    background: #fff;
}

.about-page .hm-reviews {
    background: var(--hm-bg);
}

.hm-step-card {
    position: relative;
}

.hm-step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    font-weight: 700;
    color: rgba(252, 90, 109, 0.28);
}

.hm-work-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--hm-line);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.hm-work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(34, 40, 49, 0.1);
    color: inherit;
}

.hm-work-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hm-work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hm-work-card:hover .hm-work-img img {
    transform: scale(1.05);
}

.hm-work-body {
    padding: 20px 18px 22px;
}

.hm-work-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.hm-work-body p {
    margin: 0 0 12px;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hm-work-tag {
    display: inline-block;
    background: rgba(252, 90, 109, 0.12);
    color: var(--hm-accent-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

/* Gallery */
.hm-gallery-strip {
    background: var(--hm-bg);
}

.hm-gallery-item {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
}

.hm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.hm-gallery-item span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 17, 0.45);
    color: #fff;
    font-size: 22px;
    opacity: 0;
    transition: .25s ease;
}

.hm-gallery-item:hover img { transform: scale(1.06); }
.hm-gallery-item:hover span { opacity: 1; }

/* Why */
.hm-why {
    background: #fff;
}

.hm-why-card {
    background: var(--hm-bg);
    border-radius: 16px;
    padding: 26px 22px;
    height: 100%;
    border: 1px solid transparent;
    transition: .25s ease;
}

.hm-why-card:hover {
    border-color: rgba(252, 90, 109, 0.35);
    background: #fff;
    box-shadow: 0 14px 30px rgba(34, 40, 49, 0.06);
}

.hm-why-num {
    font-family: 'Roboto Slab', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--hm-accent);
    margin-bottom: 10px;
}

.hm-why-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--hm-ink);
}

.hm-why-card p {
    margin: 0;
    color: var(--hm-muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Reviews */
.hm-reviews {
    background: var(--hm-bg);
}

.hm-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    border: 1px solid var(--hm-line);
}

.hm-review-stars {
    color: #f5b301;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.hm-review-card > p {
    color: var(--hm-ink);
    line-height: 1.7;
    min-height: 96px;
    margin: 0 0 22px;
}

.hm-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hm-review-user img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.hm-review-user strong {
    display: block;
    color: var(--hm-ink);
}

.hm-review-user span {
    color: var(--hm-muted);
    font-size: 13px;
}

/* CTA */
.hm-cta {
    padding: 0 0 90px;
    background: var(--hm-bg);
}

.hm-cta-box {
    background: linear-gradient(120deg, #1f1a19 0%, #3a2a2d 55%, #fc5a6d 160%);
    border-radius: 22px;
    padding: 42px 36px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hm-cta-box h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    font-family: 'Roboto Slab', serif;
}

.hm-cta-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.hm-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.video_card .overlay_buttons a {
    font-size: 42px;
}

.faq_wrapper {
    padding: 80px 0;
}

.faq_wrapper .accordion-item {
    margin-bottom: 12px;
    border: 1px solid #eee;
}

.faq_wrapper .accordion-button h4 {
    margin: 0;
    font-size: 18px;
}

.contact_wrapper .contact_box p a {
    color: inherit;
}

@media (max-width: 767px) {
    .header_tagline {
        display: none;
    }

    .hm_header_wrapper {
        padding: 10px 0 !important;
    }

    .hm_logo img {
        max-height: 40px !important;
    }

    .home-page .hm-section {
        padding: 40px 0;
    }

    .services-page .hm-section,
    .about-page .hm-section {
        padding: 40px 0;
    }

    .about-page .hm-cta-tight {
        padding: 0 0 40px;
    }

    .hm_bread_wrapper {
        padding: 22px 0 24px !important;
    }

    .hm-hero-slide {
        min-height: 70vh;
    }

    .hm-hero-content {
        padding: 70px 0 90px;
    }

    .hm-cta-box {
        padding: 28px 22px;
    }

    .hm-review-card > p {
        min-height: 0;
    }
}
