/* ========================================
   Birkdale Studios — Dark & Premium Theme
   ======================================== */

:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1a2744;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #c9a96e;
    --accent-hover: #dbbf8a;
    --accent-dark: #a8893e;
    --border: rgba(201, 169, 110, 0.15);
    --border-light: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    max-width: 65ch;
}

.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ========================================
   Layout
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.125rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    margin-left: 8px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-accent {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Hero Sections
   ======================================== */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-inner {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(22, 33, 62, 0.6) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-content.centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content.centered p {
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-inner h1 {
    margin-bottom: 24px;
}

.hero p,
.hero-inner p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons.centered {
    justify-content: center;
}

/* Decorative elements — see Stitch Effects section for hero-decoration & hero-line */

/* ========================================
   Stats Strip
   ======================================== */

.stats-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 50px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
    transition: all var(--transition);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--accent);
}

.card-link:hover {
    gap: 10px;
}

/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ========================================
   Services (Alternating Layout)
   ======================================== */

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.service-block:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.service-block.reverse .service-visual {
    order: -1;
}

.service-visual {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05), transparent);
}

.service-visual-icon {
    color: var(--accent);
    opacity: 0.3;
}

.service-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
}

.service-content h3 {
    margin-bottom: 16px;
}

.service-content p {
    margin-bottom: 24px;
}

/* Feature list */
.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 10px;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   CTA Banner
   ======================================== */

.cta-banner {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.06), transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    margin-bottom: 16px;
    position: relative;
}

.cta-banner p {
    margin: 0 auto 32px;
    font-size: 1.1rem;
    position: relative;
}

.cta-banner .hero-buttons {
    justify-content: center;
    position: relative;
}

/* ========================================
   Timeline (About page)
   ======================================== */

.timeline {
    position: relative;
    padding: 20px 0;
}

/* timeline::before is in the Stitch Effects section */

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    padding-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

/* timeline-dot is in the Stitch Effects section */

.timeline-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 30px;
    max-width: 450px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content h4 {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.9rem;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 140px;
}

.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-info-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-info-item p {
    font-size: 0.875rem;
}

/* ========================================
   Bundle Deal Cards
   ======================================== */

.deal-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.deal-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.deal-card.featured {
    border-color: var(--accent);
}

.deal-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deal-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.deal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.deal-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.deal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.deal-features li:last-child {
    border-bottom: none;
}

.deal-features li svg {
    color: var(--accent);
    min-width: 18px;
}

.deal-cta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ========================================
   Alerts / Messages
   ======================================== */

.messages-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 2000;
    max-width: 420px;
}

.alert {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 48px 16px 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    position: relative;
    animation: slideIn 0.3s ease;
}

.alert-success {
    border-left: 3px solid var(--accent);
}

.alert-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact li svg {
    color: var(--accent);
    min-width: 18px;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: rgba(201, 169, 110, 0.15);
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 auto;
}

/* ========================================
   "Why Choose Us" features
   ======================================== */

.features-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block.reverse .service-visual {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid var(--border-light);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-decoration,
    .hero-spool {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }

    .cta-banner {
        padding: 60px 30px;
    }

    .section {
        padding: 70px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }
}

/* Mobile overlay when menu is open */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.nav-overlay.open {
    display: block;
}

/* ========================================
   Page-specific: Why Choose Us icons
   ======================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.why-item h4 {
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
}

.why-item p {
    font-size: 0.875rem;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Embroidery / Stitch Effects
   ======================================== */

/* --- 1. Static stitch section dividers --- */
.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent) 0px,
            var(--accent) 10px,
            transparent 10px,
            transparent 18px
        );
    opacity: 0.2;
}

/* --- Page-specific decorations --- */

/* Embroidery page: Needle & thread path SVG */
.needle-thread-deco {
    position: absolute;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    opacity: 0.12;
    pointer-events: none;
}

/* Printing page: Ink drops / roller decoration */
.print-roller-deco {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 360px;
    opacity: 0.15;
    pointer-events: none;
}

@media (max-width: 768px) {
    .print-roller-deco {
        display: none;
    }
}

/* Bundle Deals: Stitched ribbon corner decoration */
.ribbon-stitch-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    pointer-events: none;
    overflow: hidden;
}

.ribbon-stitch-deco::before,
.ribbon-stitch-deco::after {
    content: '';
    position: absolute;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent) 0px,
            var(--accent) 6px,
            transparent 6px,
            transparent 12px
        );
    height: 2px;
}

.ribbon-stitch-deco::before {
    width: 280px;
    top: 60px;
    right: -40px;
    transform: rotate(-45deg);
    transform-origin: top right;
}

.ribbon-stitch-deco::after {
    width: 280px;
    top: 90px;
    right: -40px;
    transform: rotate(-45deg);
    transform-origin: top right;
}

/* Contact page: Embroidery hoop circle */
.hoop-deco {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 2px dashed var(--accent);
    opacity: 0.06;
    pointer-events: none;
}

.hoop-deco::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px dashed var(--accent);
    opacity: 0.8;
}

/* Service visual stitch border (embroidery + printing pages) */
.service-visual.stitched-border {
    border: none;
    background:
        var(--bg-card)
        padding-box;
    position: relative;
}

.service-visual.stitched-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--accent);
    opacity: 0.15;
    pointer-events: none;
}

/* About page: stitch marks on value cards */
.card.stitch-corners::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-top: 2px dashed var(--accent);
    border-left: 2px dashed var(--accent);
    border-radius: 4px 0 0 0;
    opacity: 0.25;
}

/* Footer stitch separator */
.footer {
    border-top: none;
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent) 0px,
            var(--accent) 10px,
            transparent 10px,
            transparent 18px
        );
    opacity: 0.3;
}

/* --- 2. Cross-stitch card top borders --- */
.card::after,
.testimonial-card::after,
.deal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 8px;
    opacity: 0;
    transition: opacity var(--transition);
    background:
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            transparent 3px,
            var(--accent) 3px,
            var(--accent) 4px,
            transparent 4px,
            transparent 7px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 3px,
            var(--accent) 3px,
            var(--accent) 4px,
            transparent 4px,
            transparent 7px
        );
    background-size: 10px 8px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card,
.testimonial-card,
.deal-card {
    position: relative;
    overflow: hidden;
}

.card:hover::after,
.testimonial-card:hover::after,
.deal-card:hover::after {
    opacity: 0.4;
}

/* Preserve existing testimonial ::before (quote mark) */
.testimonial-card::before {
    z-index: 2;
}

/* Preserve deal-card featured ::before (Popular badge) */
.deal-card.featured::after {
    top: 0;
}

/* --- 3. Stitched underline hover on nav links --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    height: 2px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--accent) 0px,
            var(--accent) 4px,
            transparent 4px,
            transparent 8px
        );
    transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 32px);
}

/* Remove old active background in favor of stitch underline */
.nav-link.active {
    background: none;
}

/* --- 4. Stitched timeline thread (About page) --- */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background:
        repeating-linear-gradient(
            180deg,
            var(--accent) 0px,
            var(--accent) 10px,
            transparent 10px,
            transparent 18px
        );
    transform: translateX(-50%);
    opacity: 0.4;
}

/* SVG thread line for scroll animation */
.timeline-thread {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.timeline-thread line {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 10 8;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.05s linear;
}

/* Needle dot at the end of the stitching */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--bg-primary);
    z-index: 1;
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.3);
}

/* --- 5. Fabric/linen texture overlay --- */
.features-section,
.stats-strip {
    position: relative;
}

.features-section::after,
.stats-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background:
        linear-gradient(45deg, var(--text-primary) 25%, transparent 25%, transparent 75%, var(--text-primary) 75%),
        linear-gradient(-45deg, var(--text-primary) 25%, transparent 25%, transparent 75%, var(--text-primary) 75%),
        linear-gradient(45deg, transparent 34%, var(--text-primary) 34%, var(--text-primary) 36%, transparent 36%),
        linear-gradient(-45deg, transparent 34%, var(--text-primary) 34%, var(--text-primary) 36%, transparent 36%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* --- 6. Thread-spool hero decoration --- */
.hero-decoration {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: none;
    opacity: 1;
    background: none;
}

.hero-decoration::after {
    display: none;
}

.hero-spool {
    position: absolute;
    right: -12%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    animation: spoolSpin 60s linear infinite;
    opacity: 0.15;
}

@keyframes spoolSpin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* --- 7. Needle & thread cursor on hero buttons --- */
.hero .btn,
.hero-inner .btn {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cline x1='4' y1='24' x2='20' y2='8' stroke='%23c9a96e' stroke-width='1.5' stroke-dasharray='3 2'/%3E%3Cpath d='M20 8 L24 4 L26 6 L22 10 Z' fill='%23c9a96e'/%3E%3Ccircle cx='25' cy='5' r='1' fill='%230f0f1a'/%3E%3C/svg%3E") 4 24, pointer;
}

/* ========================================
   Utility / Spacing
   ======================================== */

/* ========================================
   Cookie Banner
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: none;
}

.cookie-banner-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-accept {
    padding: 10px 28px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ========================================
   Privacy Policy Page
   ======================================== */

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 16px;
}

.privacy-content h3 {
    font-size: 1.25rem;
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.privacy-content ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.privacy-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.privacy-content ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 10px;
}

.privacy-content a {
    color: var(--accent);
}

.privacy-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 64px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }

/* ========================================
   Process Steps (How It Works)
   ======================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 50px 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px 24px;
    position: relative;
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px dashed var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent);
}

.process-step h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Dashed stitch connector between steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 44px;
    right: -2px;
    width: calc(50% - 24px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0,
        var(--accent) 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.4;
}

.process-step:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 44px;
    left: -2px;
    width: calc(50% - 24px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0,
        var(--accent) 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.4;
}

/* Guarantee strip */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.guarantee-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.guarantee-item:hover {
    border-color: var(--accent);
    background: rgba(201, 169, 110, 0.03);
}

.guarantee-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--accent);
}

.guarantee-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
}

.guarantee-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .process-step::after,
    .process-step::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
