/* ================================================================
   ACCURACY LASER & FABRICATION — DESIGN SYSTEM
   accuracy-theme.css
   
   Single source of truth for the entire site.
   All pages link to this file. Change a value here,
   it updates everywhere.
   
   Derived from: page-custom.php (homepage template)
   Last updated: 2025-02-03
   ================================================================ */


/* ================================================================
   1. DESIGN TOKENS
   Colors, fonts, spacing, radii, shadows, transitions.
   These are the raw building blocks everything else references.
   ================================================================ */

:root {
    /* --- Color Palette --- */
    --black:          #0a0a0a;
    --dark:           #111111;
    --darker:         #151515;
    --charcoal:       #1a1a1a;
    --steel:          #2a2a2a;
    --gray:           #3a3a3a;
    --muted:          #7d7d7d;
    --light-muted:    #8a8a8a;
    --off-white:      #e0e0e0;
    --white:          #f5f5f5;
    --orange:         #f97316;
    --orange-bright:  #fb923c;
    --orange-dark:    #ea580c;
    --orange-glow:    rgba(249, 115, 22, 0.15);
    --orange-border:  rgba(249, 115, 22, 0.3);
    --blue-steel:     #4a90a4;
    --error:          #ef4444;
    --success:        #22c55e;

    /* --- Semantic Colors --- */
    --bg-primary:     var(--black);
    --bg-secondary:   var(--darker);
    --bg-card:        var(--darker);
    --bg-card-hover:  var(--charcoal);
    --border-default: var(--steel);
    --border-subtle:  var(--gray);
    --text-primary:   var(--white);
    --text-secondary: var(--light-muted);
    --text-muted:     var(--muted);
    --accent:         var(--orange);
    --accent-hover:   var(--orange-dark);
    --accent-glow:    var(--orange-glow);

    /* --- Font Families --- */
    --font-display:   'Bebas Neue', sans-serif;
    --font-heading:   'Barlow Condensed', sans-serif;
    --font-body:      'Barlow', sans-serif;

    /* --- Type Scale --- */
    --text-xs:    0.75rem;   /* 12px — fine print, badges */
    --text-sm:    0.85rem;   /* 13.6px — labels, captions, tags */
    --text-base:  0.95rem;   /* 15.2px — body text, card descriptions */
    --text-md:    1.05rem;   /* 16.8px — lead body text */
    --text-lg:    1.15rem;   /* 18.4px — section subtitles */
    --text-xl:    1.25rem;   /* 20px — CTA subtitles, feature headings */
    --text-2xl:   1.35rem;   /* 21.6px — hero subtitles, card titles */
    --text-3xl:   1.5rem;    /* 24px — capability card titles */

    /* Display scale (Bebas Neue) */
    --display-sm:  1.75rem;  /* 28px — equipment specs */
    --display-md:  2.5rem;   /* 40px — stat values */
    --display-lg:  3rem;     /* 48px — process step numbers */
    --display-xl:  3.5rem;   /* 56px — section titles */
    --display-2xl: 4rem;     /* 64px — CTA titles */
    --display-3xl: 5rem;     /* 80px — page hero titles */
    --display-4xl: 5.5rem;   /* 88px — homepage hero h1 */

    /* --- Font Weights --- */
    --weight-regular:  400;
    --weight-medium:   500;
    --weight-semibold: 600;
    --weight-bold:     700;

    /* --- Line Heights --- */
    --leading-none:    1;
    --leading-tight:   0.95;
    --leading-snug:    1.1;
    --leading-normal:  1.6;
    --leading-relaxed: 1.7;
    --leading-loose:   1.8;

    /* --- Letter Spacing --- */
    --tracking-tight:  0.02em;
    --tracking-normal: 0.03em;
    --tracking-wide:   0.05em;
    --tracking-wider:  0.1em;
    --tracking-widest: 0.15em;
    --tracking-ultra:  0.2em;

    /* --- Spacing --- */
    --space-xs:   0.25rem;
    --space-sm:   0.5rem;
    --space-md:   0.75rem;
    --space-lg:   1rem;
    --space-xl:   1.5rem;
    --space-2xl:  2rem;
    --space-3xl:  2.5rem;
    --space-4xl:  3rem;
    --space-5xl:  4rem;
    --space-6xl:  5rem;
    --space-7xl:  7rem;

    /* --- Border Radius --- */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-full: 50%;

    /* --- Shadows --- */
    --shadow-card:    0 20px 40px rgba(0,0,0,0.3);
    --shadow-hero:    0 30px 60px rgba(0,0,0,0.5);
    --shadow-cta:     0 10px 30px rgba(249, 115, 22, 0.3);
    --shadow-nav:     -5px 0 20px rgba(0,0,0,0.5);

    /* --- Transitions --- */
    --transition-fast:    0.2s ease;
    --transition-default: 0.3s ease;
    --transition-slow:    0.4s ease;
    --transition-image:   0.6s ease;

    /* --- Layout --- */
    --container-max:     1400px;
    --container-padding: 4rem;
    --section-padding:   7rem;
    --section-header-mb: 4rem;
    --nav-height-scroll: auto;
}


/* ================================================================
   2. RESET & BASE
   ================================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body) !important;
    font-weight: var(--weight-semibold);
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    line-height: var(--leading-normal) !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}


/* ================================================================
   3. LAYOUT
   ================================================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}


/* ================================================================
   4. TYPOGRAPHY
   Reusable text styles used across the site.
   ================================================================ */

/* --- Section Labels (orange uppercase small text above headings) --- */
.section-label {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: var(--tracking-ultra);
    margin-bottom: var(--space-lg);
}

/* --- Section Titles (Bebas Neue display headings) --- */
.section-title {
    font-family: var(--font-display) !important;
    font-size: var(--display-xl) !important;
    line-height: var(--leading-none) !important;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-lg);
    color: var(--text-primary) !important;
}

/* --- Section Subtitles --- */
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary) !important;
    max-width: 600px;
}

/* --- Card Title (Barlow Condensed, used on capability/equipment/process cards) --- */
.card-title {
    font-family: var(--font-heading) !important;
    font-size: var(--text-3xl) !important;
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-tight);
    text-transform: uppercase;
    color: var(--text-primary) !important;
    margin-bottom: var(--space-md);
}

/* --- Card Description --- */
.card-desc {
    font-size: var(--text-base);
    color: var(--text-secondary) !important;
    line-height: var(--leading-normal);
}

/* --- Stat Value (Bebas Neue large number) --- */
.stat-value {
    font-family: var(--font-display) !important;
    font-size: var(--display-md) !important;
    color: var(--text-primary) !important;
    line-height: var(--leading-none);
}

/* --- Stat Label --- */
.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-top: var(--space-xs);
}

/* --- Spec/Tag (small pill labels) --- */
.spec-tag {
    background: var(--charcoal) !important;
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--off-white) !important;
    font-weight: var(--weight-medium);
}

/* --- Body Prose (for paragraph-heavy sections like About Us) --- */
.prose p {
    font-size: var(--text-md);
    color: var(--text-secondary);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-xl);
}

.prose p:last-child {
    margin-bottom: 0;
}

.prose strong {
    color: var(--text-primary);
    font-weight: var(--weight-semibold);
}


/* ================================================================
   5. NAVIGATION
   Fixed top nav with scroll state, mobile drawer.
   ================================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) var(--space-4xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 70%, transparent 100%);
    transition: all var(--transition-default);
}

.nav.scrolled {
    background: rgba(10,10,10,0.98);
    padding: var(--space-md) var(--space-4xl);
    border-bottom: 1px solid var(--border-default);
}

.logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: var(--space-3xl);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--off-white) !important;
    text-decoration: none !important;
    font-size: 1.035rem;
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-normal);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-default);
}

.nav-links a:hover {
    color: var(--text-primary) !important;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent) !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--off-white) !important;
    font-size: 1.06rem;
    font-weight: var(--weight-semibold);
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.nav-contact:hover {
    color: var(--accent) !important;
}

.nav-contact svg {
    color: var(--accent) !important;
    width: 20px;
    height: 20px;
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--text-primary) !important;
    padding: 0.45rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    font-weight: var(--weight-semibold);
    font-size: 0.9rem;
    letter-spacing: var(--tracking-tight);
    transition: all var(--transition-fast);
    border: 2px solid var(--accent);
}

.nav-cta:hover {
    background: transparent !important;
    color: var(--accent) !important;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-default);
}

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

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

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


/* ================================================================
   6. BUTTONS
   ================================================================ */

/* Primary (orange fill) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--accent) !important;
    color: var(--text-primary) !important;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    font-size: var(--space-lg);
    letter-spacing: var(--tracking-tight);
    transition: all var(--transition-default);
    border: 2px solid var(--accent);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

/* Secondary (outline) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 1.1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    font-weight: var(--weight-semibold);
    font-size: var(--space-lg);
    border: 2px solid var(--border-default);
    transition: all var(--transition-default);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(245, 245, 245, 0.05) !important;
}

.btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* White (for CTA orange backgrounds) */
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--white) !important;
    color: var(--orange-dark) !important;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    font-weight: var(--weight-bold);
    font-size: var(--space-lg);
    letter-spacing: var(--tracking-tight);
    transition: all var(--transition-default);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--orange-dark) !important;
}

.btn-white svg {
    width: 20px;
    height: 20px;
}

/* Outline White (for CTA orange backgrounds) */
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    background: transparent !important;
    color: var(--white) !important;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none !important;
    font-weight: var(--weight-semibold);
    font-size: var(--space-lg);
    border: 2px solid rgba(255,255,255,0.5);
    transition: all var(--transition-default);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1) !important;
    color: var(--white) !important;
}

.btn-outline-white svg {
    width: 20px;
    height: 20px;
}


/* ================================================================
   7. CARDS
   Shared card base + variants (capability, equipment, industry, etc.)
   ================================================================ */

/* Base card */
.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--transition-slow);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-card), 0 0 0 1px var(--accent);
}

/* Subtle card (less hover movement) */
.card-subtle {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--transition-default);
}

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

/* Card with image */
.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-image);
}

.card:hover .card-image img,
.card-subtle:hover .card-image img {
    transform: scale(1.08);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--darker), transparent);
}

.card-content {
    padding: 1.75rem;
}

/* Card spec tags container */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}


/* ================================================================
   8. ICON BOXES
   Orange-glow icon containers used in features, sidebar, etc.
   ================================================================ */

.icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--accent-glow);
    border: 1px solid var(--orange-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.icon-box-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    min-width: 40px;
}

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


/* ================================================================
   9. SECTION BACKGROUNDS
   Alternating section patterns from the homepage.
   ================================================================ */

.bg-primary   { background: var(--black) !important; }
.bg-secondary { background: var(--darker) !important; }
.bg-dark      { background: var(--dark) !important; }

.section-border-top {
    border-top: 1px solid var(--border-default);
}

/* Orange gradient glow at top of sections */
.section-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero background image (prevents flash of unstyled image on load) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.1);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 40%, rgba(10,10,10,0.3) 100%);
    z-index: 1;
}

/* Page hero glow (offset left) */
.hero-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 60%);
    pointer-events: none;
}


/* ================================================================
   10. CTA SECTION
   Full-width orange gradient call-to-action banner.
   ================================================================ */

.cta-section {
    padding: var(--space-7xl) 0;
    background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%) !important;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display) !important;
    font-size: var(--display-2xl) !important;
    line-height: var(--leading-none) !important;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    color: var(--white) !important;
}

.cta-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-3xl);
    line-height: var(--leading-normal);
    color: var(--white) !important;
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

.cta-contact {
    margin-top: var(--space-3xl);
    font-size: var(--space-lg);
    opacity: 0.9;
    color: var(--white) !important;
}

.cta-contact a {
    color: var(--white) !important;
    font-weight: var(--weight-semibold);
    text-decoration: underline !important;
}


/* ================================================================
   11. FOOTER
   ================================================================ */

.site-footer-custom {
    background: var(--dark) !important;
    padding: var(--space-6xl) 0 var(--space-2xl);
    border-top: 1px solid var(--border-default);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-5xl);
    margin-bottom: var(--space-5xl);
}

.footer-brand img {
    height: 50px;
    margin-bottom: var(--space-xl);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: var(--text-base);
    color: var(--text-secondary) !important;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-xl);
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--charcoal) !important;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary) !important;
    transition: all var(--transition-default);
    text-decoration: none !important;
}

.footer-social a:hover {
    background: var(--accent) !important;
    border-color: var(--accent);
    color: var(--text-primary) !important;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: var(--space-lg);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-xl);
    color: var(--text-primary) !important;
}

.footer-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-column li {
    margin-bottom: var(--space-md);
    list-style: none !important;
}

.footer-column a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    font-size: var(--text-base);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent) !important;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--text-secondary) !important;
    font-size: var(--text-base);
}

.footer-contact-item svg {
    color: var(--accent) !important;
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.footer-bottom {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted) !important;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-bottom-links a {
    font-size: var(--text-sm);
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-primary) !important;
}


/* ================================================================
   12. FORMS
   Shared form styles for RFQ page and embedded forms on landing pages.
   ================================================================ */

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

.form-group label {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--off-white);
    margin-bottom: var(--space-sm);
}

.form-group label .required {
    color: var(--accent);
    margin-left: 2px;
}

.form-group label .optional {
    color: var(--text-muted);
    font-weight: var(--weight-regular);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.8rem;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem var(--space-lg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: var(--weight-semibold);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a8a8a' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--text-primary);
}

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

/* File upload area */
.file-upload-area {
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-default);
    background: var(--bg-secondary);
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* Submit button (extends .btn-primary) */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    width: 100%;
    background: var(--accent);
    color: var(--text-primary);
    padding: 1.15rem 2.5rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: var(--weight-bold);
    font-size: var(--text-md);
    letter-spacing: var(--tracking-tight);
    cursor: pointer;
    transition: all var(--transition-default);
}

.btn-submit:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-cta);
}


/* ================================================================
   13. DECORATIVE PATTERNS
   Orange border frames, image overlays, etc.
   ================================================================ */

/* Orange offset border behind images */
.frame-offset {
    position: relative;
}

.frame-offset::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    z-index: -1;
}


/* ================================================================
   14. UTILITY CLASSES
   ================================================================ */

.text-accent   { color: var(--accent) !important; }
.text-muted    { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-upper    { text-transform: uppercase; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-lg); }
.mt-2 { margin-top: var(--space-2xl); }
.mt-3 { margin-top: var(--space-4xl); }
.mt-4 { margin-top: var(--space-6xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-lg); }
.mb-2 { margin-bottom: var(--space-2xl); }
.mb-3 { margin-bottom: var(--space-4xl); }
.mb-4 { margin-bottom: var(--space-6xl); }


/* ================================================================
   15. RESPONSIVE BREAKPOINTS
   ================================================================ */

@media (max-width: 1200px) {
    :root {
        --container-padding: 3rem;
    }
}

@media (max-width: 1100px) {
    .nav {
        padding: var(--space-lg) var(--space-xl);
    }

    .nav.scrolled {
        padding: var(--space-lg) var(--space-xl);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: var(--space-6xl) var(--space-2xl) var(--space-2xl);
        gap: 0;
        transition: right var(--transition-default);
        box-shadow: var(--shadow-nav);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-default);
    }

    .nav-links a {
        display: block;
        padding: var(--space-lg) 0;
        font-size: 1.1rem !important;
    }

    .nav-right {
        gap: var(--space-lg);
    }

    .nav-contact {
        font-size: 0.9rem !important;
    }

    .nav-contact svg {
        width: 16px !important;
        height: 16px !important;
    }

    .nav-cta {
        padding: 0.6rem var(--space-lg);
        font-size: var(--text-sm);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 5rem;
        --display-xl: 2.5rem;
        --display-2xl: 2.5rem;
        --display-3xl: 3.5rem;
        --display-4xl: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .cta-title {
        font-size: 2.5rem !important;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .nav-contact span {
        display: none;
    }

    .nav-contact {
        padding: var(--space-sm);
    }

    .nav-contact svg {
        width: 24px !important;
        height: 24px !important;
    }

    :root {
        --display-3xl: 2.75rem;
        --display-4xl: 2.75rem;
    }
}


/* ================================================================
   16. ANIMATIONS
   ================================================================ */

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
