/* 
 * Design System Specification: High-End Packaging Editorial 
 * Theme: The Precision Architect
 */

:root {
    /* Colors - Technical Azure */
    --surface: #f8f9ff;
    --surface-container-low: #eff4ff;
    --surface-container-lowest: #ffffff;
    --surface-container-high: #dce9ff;
    --surface-dim: #ccdbf3;
    
    --primary: #004ac6;
    --primary-container: #2563eb;
    
    --on-surface: #0d1c2e;
    --on-surface-variant: #434655;
    
    --outline-variant: #c3c6d7;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Sizes */
    --spacing-4: 1rem;
    --spacing-8: 2rem;
    --spacing-16: 4rem;
    --spacing-24: 6rem;
    
    --radius-xl: 1.5rem;
    --radius-md: 0.75rem;

    /* Shadows - Packaging Ambient Shadows */
    --shadow-float: 0 20px 40px rgba(13, 28, 46, 0.06);
    --shadow-soft: 0 10px 20px rgba(13, 28, 46, 0.04);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--on-surface-variant);
    background-color: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--on-surface);
    line-height: 1.2;
}

/* Typography Classes */
.display-lg { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; font-weight: 700; }
.display-md { font-size: clamp(2rem, 4vw, 2.5rem); letter-spacing: -0.01em; font-weight: 600; }
.display-sm { font-size: 1.5rem; font-weight: 600; }
.body-lg { font-size: 1.125rem; }
.body-md { font-size: 1rem; }
.body-sm { font-size: 0.875rem; }
.label { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--on-surface); }

.text-muted { color: var(--on-surface-variant); }
.text-gray { color: #6b7280; }
.text-primary { color: var(--primary); }
.text-white { color: #ffffff; }
.text-white-muted { color: rgba(255, 255, 255, 0.8); }
.text-center { text-align: center; }
.mt-8 { margin-top: var(--spacing-8); }

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

section {
    padding: 2.5rem 0;
}

/* The No-Line Rule Sections */
.solutions-section, .process-section {
    background-color: var(--surface-container-low);
}

/* Buttons - The Tactile Press */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}

.btn-primary {
    background-color: var(--primary-container);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-primary-inverse {
    background-color: #ffffff;
    color: var(--primary);
    border-radius: var(--radius-xl);
}

.btn-primary-inverse:hover {
    background-color: var(--surface-container-low);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid rgba(195, 198, 215, 0.2); /* Ghost border outline-variant 20% */
    border-radius: var(--radius-xl);
}

.btn-secondary:hover {
    background-color: rgba(195, 198, 215, 0.1);
}

.btn-full {
    width: 100%;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1050;
}

.pill-shape {
    border-radius: 500px !important;
    padding: 0.75rem 3rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-orange {
    background-color: #f97316;
    color: #ffffff;
}

.btn-orange:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.3);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(195, 198, 215, 0.4);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(13, 28, 46, 0.08);
    border-bottom-color: transparent;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
    max-width: 1200px;
    padding: 0 var(--spacing-4);
    margin: 0 auto;
    width: 100%;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* Header Right Group */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

/* Get Quote Button (nav) */
.nav-cta {
    background-color: #f97316;
    color: #ffffff;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-body);
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

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

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--on-surface);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 7px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }

/* Mobile Menu — Right Side Panel */
.mobile-menu {
    position: fixed;
    top: 90px;
    right: 1rem;
    width: 280px;
    background-color: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 40px rgba(13, 28, 46, 0.15);
    z-index: 999;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.mobile-nav-list li a {
    display: block;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--on-surface);
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    background-color: #f8f9ff;
    border: 1px solid rgba(195, 198, 215, 0.35);
    transition: background-color 0.2s, color 0.2s;
}

.mobile-nav-list li a:hover {
    background-color: #eff4ff;
    color: var(--primary);
}

.mobile-nav-list li a.btn {
    margin-top: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-color: transparent;
    border-radius: 500px;
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
}

.mobile-nav-list li a.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    border-color: transparent;
}

.mobile-nav-list li a.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: #ffffff;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.desktop-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.desktop-nav .nav-link:hover {
    color: var(--primary);
    background-color: var(--surface-container-low);
}

.desktop-nav .nav-link.active {
    color: var(--primary);
    background-color: var(--surface-container-low);
    font-weight: 700;
}

/* Mobile: hide desktop nav, show hamburger */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
}

/* Desktop: hide hamburger */
@media (min-width: 769px) {
    .hamburger { display: none; }
}

/* Active state for mobile menu links */
.mobile-nav-list li a.mobile-link.active {
    background-color: #eff4ff;
    color: var(--primary);
    border-color: rgba(0, 74, 198, 0.2);
}

/* Hero Section */
.hero-section {
    padding-top: calc(2.5rem + 82px);
    padding-bottom: 2.5rem;
    background-color: #f1f5f9;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    align-items: flex-start;
}

.hero-actions-vertical .btn {
    justify-content: flex-start;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.hero-actions-vertical .btn {
    width: 380px;
    max-width: 100%;
}

.placeholder-box {
    width: 100%;
    height: 500px;
    background-color: var(--surface-container-low);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--outline-variant);
    font-family: var(--font-display);
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
}

/* Solutions Grid - Die-Cut Cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-8);
}

.die-cut-card {
    background-color: var(--surface-container-lowest);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.die-cut-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}

.card-image-wrapper {
    width: 100%;
    height: 250px;
    background-color: var(--surface);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--outline-variant);
}

.card-content {
    padding: var(--spacing-8);
}

/* Why Us Section */
.why-us-section {
    background-color: var(--surface-container-low);
    padding: 2.5rem 0;
}

.why-us-header {
    text-align: left;
    margin-bottom: 2rem;
}

.why-us-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.why-us-label::before,
.why-us-label::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    flex-shrink: 0;
}

.why-us-header h2 {
    color: var(--on-surface);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.why-us-subtitle {
    color: var(--on-surface-variant);
    font-size: 1rem;
    max-width: 520px;
    margin: 0;
    line-height: 1.7;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-us-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

.why-us-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.why-card {
    background-color: #ffffff;
    border: 1px solid var(--outline-variant);
    border-radius: 14px;
    padding: 1.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
    box-shadow: var(--shadow-float);
    border-color: var(--surface-container-high);
    transform: translateY(-4px);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.why-card-icon svg {
    width: 22px;
    height: 22px;
}

.why-card h4 {
    color: var(--on-surface);
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.why-card p {
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* How It Works - Production Process */
.pp-track {
    display: flex;
    gap: 10px;
    align-items: stretch;
    min-height: 210px;
    margin-top: 3rem;
}

/* Each step panel — collapses to badge-only width when inactive */
.pp-step {
    flex: 0 0 80px;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid rgba(195, 198, 215, 0.65);
    cursor: pointer;
    outline: none;
    /* Animate both flex-grow and flex-basis so the expansion is smooth */
    transition:
        flex-grow 0.4s ease,
        flex-basis 0.4s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.pp-step:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Active step: grows to fill remaining space, takes the highlight colours */
.pp-step.is-active {
    flex: 1 1 0;
    background-color: #E6F1FB;
    border-color: #185FA5;
}

.pp-step-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 2rem 1.125rem;
    gap: 1rem;
    box-sizing: border-box;
}

/* Number badge */
.pp-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px dashed #93c5fd;
    background: transparent;
    color: #185FA5;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active badge: solid fill + slight pop */
.pp-step.is-active .pp-badge {
    background-color: #185FA5;
    border-color: #185FA5;
    color: #ffffff;
    transform: scale(1.1);
}

/* Title + description — hidden until the step expands */
.pp-body {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    text-align: center;
    width: 100%;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Delay so content fades in AFTER the panel finishes expanding */
.pp-step.is-active .pp-body {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0.18s;
}

.pp-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #0d1c2e;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    white-space: nowrap;
}

.pp-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Quote Section */
.quote-section {
    padding: 2.5rem 0;
    position: relative;
    background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 60%);
}

.quote-split-container {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 4rem;
    align-items: flex-start;
}

.quote-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-info-side .label {
    letter-spacing: 0.12em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.quote-info-side .label::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary);
    flex-shrink: 0;
}

.quote-info-side .display-md {
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.quote-features {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: var(--spacing-8);
    border-bottom: 1px solid var(--outline-variant);
}

.quote-features li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.quote-features h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.975rem;
    color: var(--on-surface);
}

.quote-contact-footer {
    margin-top: var(--spacing-4);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #374151;
}

.quote-contact-footer span {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    padding: 0;
    border-radius: 0;
}

.quote-contact-footer span strong {
    font-weight: 600;
    color: var(--on-surface);
}

.quote-contact-footer svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    stroke: var(--primary);
}

/* Quote Card */
.quote-card {
    background-color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 74, 198, 0.04), 0 24px 48px rgba(13, 28, 46, 0.08);
    border: 1px solid rgba(195, 198, 215, 0.4);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    display: none;
}

/* Input Fields */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group .label {
    font-size: 0.8125rem;
    letter-spacing: 0;
    text-transform: none;
    color: #374151;
    font-weight: 600;
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

.input-technical {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: var(--on-surface);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.input-technical::placeholder {
    color: #a0aec0;
    font-size: 0.875rem;
}

.input-technical:hover {
    border-color: #cbd5e1;
}

.input-technical:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 74, 198, 0.1);
}

select.input-technical {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23434655' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea.input-technical {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Submit Button */
.btn-red {
    background-color: #ef4444;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    transition: all 0.2s ease;
}

.btn-red:hover {
    background-color: #dc2626;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
    transform: translateY(-1px);
}

.btn-red:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.2);
}

.btn-rounded {
    border-radius: 12px !important;
}

.quote-secure-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.quote-secure-text::before {
    content: '🔒';
    font-size: 0.7rem;
}

/* Form section label (used above dimension row) */
.form-section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: -0.5rem;
}

/* 4-column row for L / W / D / Unit */
.form-dimensions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
}

/* Label hint (small grey text inline with label) */
.label-hint {
    font-size: 0.7rem;
    font-weight: 400;
    color: #94a3b8;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 0.25rem;
}

/* File upload area */
.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    background-color: #f8faff;
    color: #94a3b8;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background-color: #eff4ff;
    color: var(--primary);
}

.file-upload-area svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.file-upload-area.has-file {
    border-color: #22c55e;
    background-color: #f0fdf4;
    color: #16a34a;
}

/* reCAPTCHA placeholder */
.recaptcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f9fafb;
}

.recaptcha-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.recaptcha-check {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.recaptcha-text {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.recaptcha-logo svg {
    width: 32px;
    height: 32px;
}

.recaptcha-logo span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.02em;
}

.recaptcha-logo small {
    font-size: 0.55rem;
    color: #9ca3af;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 74, 198, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-container);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 74, 198, 0.45);
}

.scroll-top-btn svg {
    width: 18px;
    height: 18px;
}

/* ── Interactive Production Process ─────────────────────────────────── */
.ip-section {
    padding: 5rem 0;
    background: var(--surface-container-lowest);
}

/* Progress dots */
.ip-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto 3rem;
    max-width: 360px;
}

.ip-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
    transition: background 0.4s, border-color 0.4s, transform 0.3s;
}

.ip-dot--active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.35);
}

.ip-dot--done {
    background: #22c55e;
    border-color: #22c55e;
}

.ip-dot-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 3px;
    transition: background 0.4s;
}

.ip-dot-line--done {
    background: #22c55e;
}

/* List */
.ip-list {
    max-width: 620px;
    margin: 0 auto;
}

/* Item wrapper — slide-in */
.ip-item {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}

.ip-item--visible {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
}

/* Connector line between cards */
.ip-connector {
    width: 2px;
    height: 28px;
    background: linear-gradient(to bottom, #93c5fd, #bfdbfe);
    margin: 0 auto;
    border-radius: 2px;
}

/* Card */
.ip-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.375rem;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 2px solid var(--outline-variant);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.3s, box-shadow 0.3s, opacity 0.3s, transform 0.25s;
}

.ip-card:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.ip-item--active .ip-card {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 74, 198, 0.08), 0 4px 20px rgba(0, 74, 198, 0.1);
}

.ip-item--active .ip-card:hover {
    box-shadow: 0 0 0 4px rgba(0, 74, 198, 0.13), 0 8px 28px rgba(0, 74, 198, 0.16);
    transform: translateY(-2px);
}

.ip-item--done .ip-card {
    opacity: 0.48;
    border-color: var(--outline-variant);
    cursor: default;
    box-shadow: none;
    transform: none;
}

/* Badge */
.ip-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-container-low);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--on-surface-variant);
    font-family: var(--font-display);
    flex-shrink: 0;
    transition: background 0.3s, color 0.3s;
}

.ip-item--active .ip-badge {
    background: var(--primary);
    color: #fff;
}

.ip-item--done .ip-badge {
    background: #22c55e;
    color: #fff;
}

/* Icon */
.ip-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Text */
.ip-body {
    flex: 1;
    min-width: 0;
}

.ip-step-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin: 0 0 0.15rem;
    font-family: var(--font-display);
}

.ip-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    line-height: 1.2;
}

.ip-desc {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-body);
}

/* Status (right side) */
.ip-status { flex-shrink: 0; }

.ip-cta-hint {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    font-family: var(--font-display);
    transition: gap 0.2s;
}

.ip-item--active .ip-card:hover .ip-cta-hint { gap: 0.5rem; }

.ip-checkmark { display: none; }
.ip-item--done .ip-cta-hint { display: none; }
.ip-item--done .ip-checkmark { display: flex; }

/* Completion banner */
.ip-complete {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
}

.ip-complete--visible {
    max-height: 180px;
    opacity: 1;
}

.ip-complete-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.375rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: var(--radius-xl);
    border: 2px solid #86efac;
}

.ip-complete-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.ip-complete-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ip-complete-text strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #15803d;
    font-family: var(--font-display);
}

.ip-complete-text span {
    font-size: 0.8125rem;
    color: #166534;
    font-family: var(--font-body);
}

.ip-complete-btn {
    flex-shrink: 0;
    font-size: 0.825rem !important;
    padding: 0.5rem 1.125rem !important;
    white-space: nowrap;
}

/* CTA Banner - Lithographic Sheen */
.cta-banner-content {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-16) var(--spacing-8);
    text-align: left;
    box-shadow: var(--shadow-float);
}

.cta-banner-content .btn {
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Footer */
.site-footer {
    background-color: var(--surface-container-low);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

/* Footer Brand */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--on-surface);
}

.footer-logo-accent {
    color: var(--primary);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.75;
    max-width: 280px;
}

/* Footer Columns */
.footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface);
    margin-bottom: 1.25rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* Footer Contact List */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

.footer-contact-list li span {
    overflow-wrap: break-word;
    word-break: break-all;
    min-width: 0;
}

.footer-contact-list svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(195, 198, 215, 0.5);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-inner p {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
}

.footer-policy-links {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-policy-links li + li::before {
    content: '|';
    color: var(--outline-variant);
    padding: 0 0.75rem;
}

.footer-policy-links a {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-policy-links a:hover {
    color: var(--primary);
}

/* Image Styles */
.logo-img {
    max-height: 80px;
    width: auto;
}

.hero-img, .why-us-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: cover;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e2e8f0;
}

.hero-carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-slide {
    width: calc(100% / 3);
    height: 100%;
    flex-shrink: 0;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.hero-carousel-dot.active {
    background: #f97316;
    transform: scale(1.25);
}

.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.hero-carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-carousel-btn.prev { left: 10px; }
.hero-carousel-btn.next { right: 10px; }
.hero-carousel-btn svg { width: 18px; height: 18px; stroke: #334155; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 768px) {
    .hero-carousel { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
    .hero-carousel { aspect-ratio: 4/3; }
    .hero-carousel-btn { width: 30px; height: 30px; }
    .hero-carousel-btn svg { width: 14px; height: 14px; }
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

html {
    overflow-x: hidden;
}

/* --- Tablet Landscape (≤1024px) --- */
@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Tablet (≤992px) --- */
@media (max-width: 992px) {
    section {
        padding: 2rem 0;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        order: -1;
    }

    .hero-img {
        max-height: 380px;
        object-fit: contain;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-actions-vertical {
        align-items: flex-start;
    }

    .hero-actions-vertical .btn {
        width: 100%;
        max-width: 360px;
        justify-content: space-between;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .why-us-grid--5 .why-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    /* Process — tablet: keep horizontal, tighten badge-only width */
    .pp-step {
        flex-basis: 68px;
    }

    .pp-title {
        font-size: 1rem;
    }

    /* Production Process — tablet: no changes needed (already vertical) */

    /* Quote */
    .quote-split-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* --- Tablet Portrait (≤768px) --- */
@media (max-width: 768px) {
    /* Header */
    .nav-cta {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    section {
        padding: 1.75rem 0;
    }

    /* Products */
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .card-image-wrapper {
        height: 180px;
    }

    .card-content {
        padding: 1.25rem;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .why-card {
        padding: 1.25rem;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-dimensions-row {
        grid-template-columns: 1fr 1fr;
    }

    .quote-card {
        padding: 1.75rem 1.25rem;
    }

    /* CTA Banner */
    .cta-banner-content {
        padding: 2.5rem 1.5rem;
        border-radius: 1rem;
    }

    .cta-banner-content .display-lg {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-brand {
        grid-column: auto;
        padding-bottom: 1.75rem;
        border-bottom: 1px solid rgba(195, 198, 215, 0.5);
    }

    .footer-col {
        padding: 1.75rem 0;
        border-bottom: 1px solid rgba(195, 198, 215, 0.5);
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Large Phone (≤576px) --- */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 1.5rem 0;
    }

    /* Hero */
    .hero-section {
        padding-top: calc(1.5rem + 82px);
        padding-bottom: 1.5rem;
    }

    .hero-img {
        max-height: 260px;
    }

    .hero-actions-vertical .btn {
        max-width: 100%;
    }

    /* Products */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    /* Production Process — mobile */
    .ip-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .ip-icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .ip-cta-text { display: none; }

    .ip-complete-banner {
        flex-wrap: wrap;
    }

    .ip-complete-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Process — mobile: vertical stack, tap-to-expand accordion */
    .pp-track {
        flex-direction: column;
        min-height: unset;
        gap: 8px;
        margin-top: 2rem;
    }

    /* Override flex values so all steps sit full-width in the column */
    .pp-step,
    .pp-step.is-active {
        flex: none;
        width: 100%;
        overflow: visible;
    }

    /* Row layout: badge left, title+desc right */
    .pp-step-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.125rem 1.25rem;
        gap: 1rem;
    }

    .pp-step.is-active .pp-step-inner {
        justify-content: flex-start;
    }

    /* Body is always visible on mobile — only the description toggles */
    .pp-body {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        text-align: left;
        transition: none;
    }

    .pp-step.is-active .pp-body {
        transition-delay: 0s;
    }

    .pp-title {
        font-size: 0.9375rem;
        white-space: normal;
        margin-bottom: 0;
    }

    /* Description slides open on tap */
    .pp-desc {
        font-size: 0.8125rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease 0.05s, margin-top 0.3s ease;
    }

    .pp-step.is-active .pp-desc {
        max-height: 80px;
        opacity: 1;
        margin-top: 0.375rem;
    }

    /* Quote */
    .quote-card {
        padding: 1.5rem 1rem;
    }

    /* Scroll to top */
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-policy-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem 1.5rem;
        align-items: start;
    }

    .footer-policy-links li + li::before {
        display: none;
    }

    .footer-policy-links a {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
        border-bottom: 1px solid rgba(195, 198, 215, 0.4);
        display: block;
    }
}

/* --- Small Phone (≤400px) --- */
@media (max-width: 400px) {
    /* Header logo */
    .logo-img {
        max-height: 50px;
    }

    .nav-cta {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    /* Typography */
    .display-lg {
        font-size: 1.875rem;
    }

    .display-md {
        font-size: 1.625rem;
    }

    /* Buttons */
    .btn-xl {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }

    /* Form */
    .form-dimensions-row {
        grid-template-columns: 1fr 1fr;
    }

    .recaptcha-box {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Why Us cards */
    .why-card {
        padding: 1rem;
    }

    /* CTA */
    .cta-banner-content {
        padding: 2rem 1rem;
    }
}
