.embroidery-ref-page {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #fee2e2;
    --secondary: #0f172a;
    --success: #10b981;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.12);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f5f6f8;
    color: var(--gray-800);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 72px;
}

.seo-breadcrumbs {
    display: none !important;
}

.embroidery-ref-page *,
.embroidery-ref-page *::before,
.embroidery-ref-page *::after {
    box-sizing: border-box;
}

.embroidery-ref-page [id] {
    scroll-margin-top: 140px;
}

.embroidery-ref-page__notice {
    max-width: 1240px;
    margin: 20px auto 0;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.embroidery-ref-page .section-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

.embroidery-ref-page .hero-section {
    background: linear-gradient(160deg, #0a0e1a 0%, #111827 30%, #1a1f35 60%, #0f1525 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.embroidery-ref-page .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(220, 38, 38, 0.22), transparent 20%),
        radial-gradient(circle at 84% 12%, rgba(59, 130, 246, 0.18), transparent 18%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
    pointer-events: none;
}

.embroidery-ref-page .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    gap: 60px;
    align-items: center;
}

.embroidery-ref-page .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    background: rgba(220, 38, 38, 0.12);
    color: #fecaca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.embroidery-ref-page .hero-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.14);
}

.embroidery-ref-page .hero-title {
    margin: 0 0 20px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4.8vw, 3.85rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.04;
}

.embroidery-ref-page .hero-title span {
    background: linear-gradient(135deg, #fca5a5, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.embroidery-ref-page .hero-lead {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.75;
}

.embroidery-ref-page .hero-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.embroidery-ref-page .hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 500;
}

.embroidery-ref-page .hero-feature::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--success);
    background: rgba(16, 185, 129, 0.2);
}

.embroidery-ref-page .hero-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.embroidery-ref-page .hero-form-card__header h2 {
    margin: 0 0 8px;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.embroidery-ref-page .hero-form-card__header p {
    margin: 0 0 24px;
    color: var(--gray-500);
    font-size: 13px;
}

.embroidery-ref-page .quote-form {
    display: block;
}

.embroidery-ref-page .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.embroidery-ref-page .form-field {
    margin-bottom: 16px;
}

.embroidery-ref-page .form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.embroidery-ref-page .form-field input,
.embroidery-ref-page .form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-size: 13px;
    background: var(--gray-50);
    color: var(--gray-800);
    transition: var(--transition);
}

.embroidery-ref-page .form-field input:focus,
.embroidery-ref-page .form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.embroidery-ref-page .form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.embroidery-ref-page .file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    padding: 18px;
    border: 1.5px dashed var(--gray-300);
    border-radius: 14px;
    background: var(--gray-50);
    cursor: pointer;
    transition: var(--transition);
}

.embroidery-ref-page .file-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.embroidery-ref-page .file-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.embroidery-ref-page .file-upload__title {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
}

.embroidery-ref-page .file-upload__text,
.embroidery-ref-page .file-upload__name {
    color: var(--gray-500);
    font-size: 12px;
}

.embroidery-ref-page .submit-quote {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
    transition: var(--transition);
}

.embroidery-ref-page .submit-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(220, 38, 38, 0.34);
}

.embroidery-ref-page .form-error {
    display: block;
    margin-top: 8px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
}

.embroidery-ref-page .content-section {
    padding: 80px 0;
}

.embroidery-ref-page .content-section--muted {
    background: var(--gray-50);
}

.embroidery-ref-page .content-section--final {
    padding-top: 0;
}

.embroidery-ref-page .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.embroidery-ref-page .section-tag {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.embroidery-ref-page .section-title {
    margin: 0 0 12px;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 800;
}

.embroidery-ref-page .section-subtitle {
    margin: 0;
    color: var(--gray-500);
    font-size: 15px;
}

.embroidery-ref-page .content-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: center;
}

.embroidery-ref-page .content-row--reverse .content-image {
    order: 2;
}

.embroidery-ref-page .content-row--reverse .content-text {
    order: 1;
}

.embroidery-ref-page .content-image {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.embroidery-ref-page .content-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.embroidery-ref-page .content-image:hover img {
    transform: scale(1.03);
}

.embroidery-ref-page .content-text h2 {
    margin: 0 0 16px;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.embroidery-ref-page .content-text p {
    margin: 0 0 18px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.75;
}

.embroidery-ref-page .button-row,
.embroidery-ref-page .final-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.embroidery-ref-page .button-row {
    margin-top: 18px;
}

.embroidery-ref-page .ref-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.embroidery-ref-page .ref-btn:hover {
    transform: translateY(-2px);
}

.embroidery-ref-page .ref-btn--primary {
    background: linear-gradient(135deg, var(--primary), #ef4444);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.embroidery-ref-page .ref-btn--outline {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.embroidery-ref-page .ref-btn--outline:hover {
    border-color: var(--gray-800);
    color: var(--gray-900);
}

.embroidery-ref-page .ref-btn--light {
    background: var(--white);
    color: var(--primary);
}

.embroidery-ref-page .ref-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.embroidery-ref-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.embroidery-ref-page .step-card,
.embroidery-ref-page .feature-card,
.embroidery-ref-page .review-card,
.embroidery-ref-page .trust-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.embroidery-ref-page .step-card,
.embroidery-ref-page .feature-card,
.embroidery-ref-page .trust-card {
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.embroidery-ref-page .step-card:hover,
.embroidery-ref-page .feature-card:hover,
.embroidery-ref-page .trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.embroidery-ref-page .step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #ef4444);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.28);
}

.embroidery-ref-page .step-title {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 20px;
    font-weight: 700;
}

.embroidery-ref-page .step-desc {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.6;
}

.embroidery-ref-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.embroidery-ref-page .feature-icon,
.embroidery-ref-page .trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.embroidery-ref-page .feature-icon {
    font-size: 40px;
}

.embroidery-ref-page .feature-card h3,
.embroidery-ref-page .trust-card h3 {
    margin: 0 0 12px;
    color: var(--secondary);
    font-size: 18px;
    font-weight: 700;
}

.embroidery-ref-page .feature-card p,
.embroidery-ref-page .trust-card p {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.65;
}

.embroidery-ref-page .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.embroidery-ref-page .review-card {
    padding: 24px;
}

.embroidery-ref-page .review-stars {
    margin-bottom: 12px;
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 0.12em;
}

.embroidery-ref-page .review-text {
    margin: 0 0 16px;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.65;
}

.embroidery-ref-page .review-author {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
}

.embroidery-ref-page .review-role {
    color: var(--gray-400);
    font-size: 11px;
}

.embroidery-ref-page .faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.embroidery-ref-page .faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.embroidery-ref-page .faq-item + .faq-item {
    margin-top: 16px;
}

.embroidery-ref-page .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 24px;
    border: 0;
    background: var(--white);
    color: var(--secondary);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.embroidery-ref-page .faq-question:hover {
    background: var(--gray-50);
}

.embroidery-ref-page .faq-arrow {
    transition: transform 0.3s ease;
}

.embroidery-ref-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.embroidery-ref-page .faq-answer p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.embroidery-ref-page .faq-item.is-open .faq-arrow {
    transform: rotate(180deg);
}

.embroidery-ref-page .faq-item.is-open .faq-answer {
    max-height: 220px;
    padding: 0 24px 18px;
}

.embroidery-ref-page .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.embroidery-ref-page .trust-icon {
    font-size: 30px;
}

.embroidery-ref-page .final-cta {
    background: linear-gradient(135deg, var(--secondary), #1a2744);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.embroidery-ref-page .final-cta h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.embroidery-ref-page .final-cta p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.embroidery-ref-page .final-cta__buttons {
    justify-content: center;
}

.embroidery-ref-page .reveal-left,
.embroidery-ref-page .reveal-right,
.embroidery-ref-page .reveal-up {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.embroidery-ref-page .reveal-left {
    transform: translateX(-30px);
}

.embroidery-ref-page .reveal-right {
    transform: translateX(30px);
}

.embroidery-ref-page .reveal-up {
    transform: translateY(30px);
}

.embroidery-ref-page .is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 1024px) {
    .embroidery-ref-page .hero-inner,
    .embroidery-ref-page .content-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .embroidery-ref-page .content-row--reverse .content-image,
    .embroidery-ref-page .content-row--reverse .content-text {
        order: initial;
    }

    .embroidery-ref-page .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .embroidery-ref-page .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .embroidery-ref-page .reviews-grid {
        grid-template-columns: 1fr;
    }

    .embroidery-ref-page .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .embroidery-ref-page .section-shell {
        padding: 0 18px;
    }

    .embroidery-ref-page .hero-section,
    .embroidery-ref-page .content-section {
        padding: 64px 0;
    }

    .embroidery-ref-page .hero-title {
        font-size: 2rem;
    }

    .embroidery-ref-page .hero-form-card,
    .embroidery-ref-page .step-card,
    .embroidery-ref-page .feature-card,
    .embroidery-ref-page .review-card,
    .embroidery-ref-page .trust-card,
    .embroidery-ref-page .final-cta {
        padding: 24px;
    }

    .embroidery-ref-page .form-grid,
    .embroidery-ref-page .steps-grid,
    .embroidery-ref-page .features-grid,
    .embroidery-ref-page .trust-grid {
        grid-template-columns: 1fr;
    }

    .embroidery-ref-page .section-title {
        font-size: 28px;
    }

    .embroidery-ref-page .content-text h2 {
        font-size: 24px;
    }
}
