/* ═══════════════════════════════════════════════════
   StalowyGrunt – style.css
   Paleta: steel-blue #141414 · copper-orange #FF6B35
   Fonts: Space Grotesk · DM Sans
═══════════════════════════════════════════════════ */

/* ─── RESET & CUSTOM PROPERTIES ─────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue:        #141414;
    --blue-dark:   #000000;
    --blue-mid:    #2a2a2a;
    --orange:      #FF5A00;
    --orange-bright: #FF6600;
    --orange-dark: #E65C00;
    --sky:         #f0f2f5;
    --warm:        #FFFFFF;
    --steel:       #B8A88A;
    --white:       #ffffff;
    --card-bg:     #ffffff;
    --text-body:   #141414;
    --text-muted:  #555555;
    --border:      rgba(20, 20, 20, .12);
    --shadow-sm:   0 2px 10px rgba(20, 20, 20, .05);
    --shadow-md:   0 8px 28px rgba(20, 20, 20, .08);
    --shadow-lg:   0 16px 48px rgba(20, 20, 20, .12);
    --shadow-orng: rgba(255, 90, 0, .25);
    --radius:      0px;
    --max-w:       1260px;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--blue-dark);
}

h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); }

/* ─── LAYOUT HELPERS ─────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5.5%;
}

section { padding: 7rem 0; }

.section-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .9rem;
}

.section-intro { max-width: 700px; }
.section-intro.center { margin: 0 auto; text-align: center; }
.section-intro h2 { margin-bottom: 1rem; }
.section-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ─── FADE-IN ANIMATION ──────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 580ms cubic-bezier(.4, 0, .2, 1),
                transform 580ms cubic-bezier(.4, 0, .2, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── NAV ────────────────────────────────────────── */
.topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    background: rgba(20, 20, 20, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(20, 20, 20, .45);
    transition: background 300ms ease;
}

.topnav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 5.5%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topnav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.02em;
    flex-shrink: 0;
    transition: opacity 200ms;
}
.topnav-brand:hover { opacity: .85; }
.topnav-brand span { color: var(--orange); }

.topnav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topnav-link {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color 200ms;
    white-space: nowrap;
}
.topnav-link:hover { color: #fff; }

.topnav-phone {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: var(--orange);
    color: #fff;
    padding: .52rem 1.35rem .5rem 1.15rem;
    border-radius: var(--radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .01em;
    flex-shrink: 0;
    transition: all 250ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 3px 14px var(--shadow-orng);
}
.topnav-phone:hover {
    background: var(--orange-dark);
    transform: translateY(1px);
    box-shadow: 0 2px 8px var(--shadow-orng);
}

@media (max-width: 700px) {
    .topnav-links { display: none; }
    .topnav-phone { font-size: .87rem; padding: .48rem 1rem .46rem .9rem; }
}

/* ─── FLOATING CTA ───────────────────────────────── */
.float-cta {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    z-index: 299;
    background: var(--orange);
    color: #fff;
    padding: .82rem 1.6rem;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    box-shadow: 0 6px 24px var(--shadow-orng);
    display: flex;
    align-items: center;
    gap: .45rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all 320ms cubic-bezier(.34, 1.56, .64, 1);
}
.float-cta.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.float-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px var(--shadow-orng);
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
    min-height: 92vh;
    color: var(--blue-dark);
    padding: 0 5.5%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
    z-index: 1;
}

/* .hero::before removed */

.hero::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,90,0,.2) 0%, transparent 68%);
    animation: heroGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: .7; }
    50%       { transform: scale(1.12); opacity: 1; }
}

.hero-image {
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 68%;
    max-width: 950px;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    transform: translate(0, 0);
    opacity: .92;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 5%, rgba(0,0,0,.85) 14%, rgba(0,0,0,1) 22%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 5%, rgba(0,0,0,.85) 14%, rgba(0,0,0,1) 22%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) { 
    .hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        padding: 0 !important;
        position: relative !important;
    }
    .hero-inner {
        order: 2 !important;
        position: relative !important;
        width: 100% !important;
        padding: 20px 5% 40px !important; /* Added consistent side padding */
        z-index: 5 !important;
        text-align: center !important;
    }
    .hero-text {
        max-width: 540px !important; /* Limit width even on mobile/tablets */
        margin: 0 auto !important;
    }
    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1rem !important;
    }
    .btn {
        flex: 1; /* Buttons take equal space */
        min-width: 160px;
        justify-content: center;
    }
    /* ... rest of existing styles ... */
    .hero-stats {
        justify-content: center !important;
        text-align: center !important;
    }
    .hero-image-wrap {
        order: 1 !important;
        width: 92% !important;
        margin: 80px auto 20px !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        aspect-ratio: 3 / 2 !important;
        z-index: 5 !important;
        position: relative !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }
    .hero-image { 
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important; 
        height: 100% !important;
        opacity: 1.0 !important; 
        mask-image: none !important;
        -webkit-mask-image: none !important;
        object-position: center 20% !important;
        object-fit: cover !important;
        transform: scale(1.1) !important;
        transform-origin: bottom right !important;
        display: block !important;
    } 
    .color-bends-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
    }
}

.color-bends-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding-top: 110px;
    padding-bottom: 80px;
    position: relative;
    z-index: 3;
}

.hero-text { max-width: 570px; }

.hero h1 {
    color: var(--blue-dark);
    margin-bottom: 1.7rem;
    text-shadow: none;
    max-width: 520px;
}

.shiny-text {
    display: inline-block;
    background: linear-gradient(
        110deg,
        rgba(20, 20, 20, 0.8) 0%,
        rgba(20, 20, 20, 0.8) 35%,
        rgba(20, 20, 20, 1) 50%,
        rgba(20, 20, 20, 0.8) 65%,
        rgba(20, 20, 20, 0.8) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2.7s linear infinite;
}

@keyframes shine {
    0% { background-position: 150% center; }
    100% { background-position: -50% center; }
}

.hero h1 .hi { color: #e65100; }

.hero-desc {
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    color: #000000;
    line-height: 1.7;
    margin-bottom: 2.8rem;
    max-width: 500px;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 270ms cubic-bezier(.4,0,.2,1);
    letter-spacing: .01em;
}
.btn-primary {
    background: var(--orange-bright);
    color: #fff;
    padding: 1.1rem 2.5rem;
    box-shadow: 0 6px 22px var(--shadow-orng);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(3px);
    box-shadow: 0 3px 12px var(--shadow-orng);
}
.btn-primary:active { transform: translateY(4px); }

.btn-secondary {
    background: transparent;
    color: var(--blue-dark);
    padding: 1.1rem 2rem;
    border: 2px solid var(--blue-dark);
}
.btn-secondary:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
}

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

/* stats strip */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.8rem;
    padding-top: 2.8rem;
    border-top: 1px solid rgba(20, 20, 20, 0.15);
}
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}
.stat-label {
    font-size: .8rem;
    color: #141414;
    font-weight: 500;
    margin-top: .3rem;
}

@media (max-width: 500px) {
    .hero-stats { gap: 1.8rem; }
    .stat-num { font-size: 1.6rem; }
}

/* ─── COMPARISON TABLE ───────────────────────────── */
.comparison-section { background: #f0f2f5 !important; }

.cmp-table-wrap {
    overflow-x: auto;
    margin-top: 3rem;
    border-radius: 0px;
    box-shadow: var(--shadow-md);
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: .95rem;
}
.cmp-table thead tr {
    background: #141414;
    color: #fff;
}
.cmp-table th {
    padding: 1.3rem 1.5rem;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: .9rem;
}
.cmp-table th small { font-weight: 400; opacity: .7; display: block; font-size: .78rem; margin-top: .2rem; }
.cmp-table th:first-child { color: rgba(255,255,255,.7); }

.cmp-table td {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    vertical-align: top;
    line-height: 1.5;
}
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr:hover td { background: rgba(20, 20, 20, .03); }
.cmp-table td:first-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #141414;
    font-size: .88rem;
}

.cmp-our { background: rgba(20, 20, 20, .04); }
.cmp-table thead .cmp-our { background: #ff5a00; color: #fff; }
.cmp-table thead .cmp-them { background: #333333; color: rgba(255,255,255,1); }

.good { color: #1a8a3f; font-weight: 600; }
.bad { color: #c0392b; font-weight: 500; }

/* ─── REALIZACJE ─────────────────────────────────── */
.realizacje-section { background: var(--white); padding: 7rem 0; }

.realizacje-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.realizacja-item {
    background: var(--white);
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 300ms ease;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.realizacja-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.side-by-side {
    display: flex;
    gap: 4px;
    background: #eee;
}

.img-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.img-single {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.img-container img, .img-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.realizacja-item:hover img { transform: none; }
.lightbox-trigger { cursor: zoom-in; }

.realizacja-desc {
    padding: 1.5rem;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--blue-dark);
    background: var(--white);
    border-top: 1px solid var(--border);
}

.side-by-side-desc {
    display: flex;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.side-by-side-desc .desc-item {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-dark);
}

.side-by-side-desc .desc-item:first-child {
    border-right: 1px solid var(--border);
}

/* .img-label and .realizacja-desc removed */

/* ─── TECHNOLOGIA ────────────────────────────────── */
.tech-section { background: #ffffff !important; padding: 10rem 0; overflow: hidden; }

.tech-container {
    max-width: 1440px;
    width: 95%;
}

.tech-grid {
    display: grid;
    grid-template-columns: 30fr 70fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .tech-grid { grid-template-columns: 1fr; gap: 4rem; }
    .tech-content { text-align: center; }
    .tech-list { text-align: left; display: inline-block; }
}

.tech-main-text-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    border-left: 4px solid var(--orange);
    padding-left: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.tech-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }

.tech-list { list-style: none; display: block; }
.tech-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.95rem;
}
.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.tech-images { position: relative; width: 100%; }

.tech-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-img-grid img {
    width: 100%;
    aspect-ratio: 4 / 6;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: all 400ms ease;
}

.tech-img-grid img:hover {
    box-shadow: var(--shadow-lg);
}

/* ─── LIGHTBOX ───────────────────────────────────── */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 200ms;
}
.lightbox-close:hover { opacity: 1; }

@media (max-width: 768px) {
    .tech-img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .tech-list {
        flex-direction: column;
        align-items: flex-start;
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .tech-img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

/* .tech-img-wrap, .img-1, .img-2 removed */

/* ─── PROCESS / FRAMEWORK ────────────────────────── */
.process-section { background: #e2e5ea !important; }

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.proc-step {
    flex: 1;
    min-width: 200px;
    background: var(--card-bg);
    padding: 2.2rem 2rem;
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow-sm);
    transition: all 320ms ease;
}
.proc-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.proc-connector {
    color: var(--orange);
    font-size: 1.8rem;
    padding: 2.2rem .5rem 0;
    font-weight: 700;
    flex-shrink: 0;
}
/* Dual Item V2 - Interleaved on Mobile */
.dual-item-v2 {
    display: flex;
    background: #eee;
    gap: 4px;
    border-top: 4px solid var(--orange);
}

.dual-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.dual-desc {
    padding: 1.5rem;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--blue-dark);
    background: var(--white);
    border-top: 1px solid var(--border);
}

.dual-col:first-child {
    border-right: 2px solid #eee;
}

@media (max-width: 820px) {
    .proc-connector { display: none; }
    .process-steps { flex-direction: column; gap: 1rem; }
    .proc-step { min-width: 100%; }
    
    .side-by-side { flex-direction: column; gap: 4px; }
    .img-container { width: 100%; }
    
    .side-by-side-desc { flex-direction: column; }
    .side-by-side-desc .desc-item:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    
    .tech-main-text-heading { font-size: 1.6rem; }

    /* Dual Item V2 - Interleaved on Mobile */
    .dual-item-v2 {
        flex-direction: column;
        gap: 2rem; /* Spacing between the two groups */
        background: transparent;
        box-shadow: none;
        border-top: none;
    }
    
    .dual-col {
        box-shadow: var(--shadow-md);
        border-top: 4px solid var(--orange);
    }
    
    .dual-col:first-child {
        border-right: none;
    }
}

@media (max-width: 500px) {
    .hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .btn {
        width: 100% !important;
        flex: none !important;
    }
}

@media (max-width: 480px) {
    .hero-inner { padding-top: 80px; padding-bottom: 40px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-desc { font-size: 0.95rem; }
    .stat-num { font-size: 1.5rem; }
    .stat-label { font-size: 0.75rem; }
    .hero-stats { gap: 1rem; flex-direction: column; align-items: flex-start; }
    .hero-stats > div { border-bottom: 1px solid rgba(20,20,20,0.1); padding-bottom: 0.8rem; width: 100%; }
    .hero-stats > div:last-child { border-bottom: none; }
}

.proc-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: .35;
}
.proc-body h3 { font-size: 1.12rem; margin-bottom: .7rem; }
.proc-body p { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 1rem; }
.proc-time {
    font-size: .8rem;
    color: var(--orange);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    background: rgba(255,90,0,.1);
    border-radius: 20px;
    padding: .2rem .7rem;
    display: inline-block;
}

/* ─── QUOTE FORM (WYCENA) ────────────────────────── */
.wycena-section {
    background: var(--sky);
    position: relative;
    overflow: hidden;
}

.wycena-inner { position: relative; z-index: 2; }

.wycena-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.wycena-header h2 { margin-bottom: 1.1rem; }
.wycena-header p { color: var(--text-muted); font-size: 1.06rem; line-height: 1.7; }

.quote-form {
    max-width: 840px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem 3.2rem;
    border-top: 4px solid var(--orange);
    box-shadow: var(--shadow-lg), -1px 3px 14px rgba(0,0,0,.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}
@media (max-width: 580px) {
    .form-row { grid-template-columns: 1fr; }
    .quote-form { padding: 2.2rem 1.6rem; }
}

.form-group { margin-bottom: 1.8rem; }
.form-group label {
    display: block;
    margin-bottom: .6rem;
    color: var(--blue-dark);
    font-weight: 500;
    font-size: .95rem;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .95rem 1.15rem;
    border: 1.5px solid rgba(20, 20, 20, .18);
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--warm);
    color: var(--text-body);
    transition: all 230ms ease;
    appearance: none;
    -webkit-appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.8rem;
    cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(255,90,0,.16);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    background: var(--orange);
    color: #fff;
    padding: 1.25rem 2rem;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.06rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 270ms cubic-bezier(.4,0,.2,1);
    box-shadow: 0 6px 20px var(--shadow-orng);
    margin-top: .6rem;
    letter-spacing: .01em;
}
.form-submit:hover {
    background: var(--orange-dark);
    transform: translateY(2px);
    box-shadow: 0 3px 10px var(--shadow-orng);
}
.form-submit:active { transform: translateY(3px); }

.form-note {
    margin-top: 1.5rem;
    font-size: .87rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.55;
}
.form-note a { color: var(--orange); text-decoration: underline; }

/* success message */
.success-msg {
    display: none;
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1.5rem 1.8rem;
    margin-bottom: 2rem;
    color: #2e7d32;
    font-size: .97rem;
    line-height: 1.6;
}
.success-msg.show {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown 380ms ease;
}
.success-msg .s-icon { font-size: 1.6rem; flex-shrink: 0; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
    background: #141414;
    color: rgba(255,255,255,.7);
    padding: 3.5rem 5.5% 3rem;
    text-align: center;
}
.footer-content { max-width: var(--max-w); margin: 0 auto; }
.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .8rem;
}
.footer-brand span { color: var(--orange); }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.45); margin-bottom: 1.6rem; }
.footer-contact { margin-bottom: 1rem; }
.footer-contact a {
    color: var(--orange);
    text-decoration: none;
    transition: color 200ms;
    margin: 0 .7rem;
    font-size: .95rem;
}
.footer-contact a:hover { color: #ff8a5e; }
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .84rem;
    opacity: .65;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* ─── ACCESSIBILITY ──────────────────────────────── */
*:focus-visible {
    outline: 2.5px solid var(--orange);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── RESPONSIVE TWEAKS ──────────────────────────── */
@media (max-width: 768px) {
    section { padding: 5rem 0; }
    .hero { min-height: 85vh; }
    .hero-inner { padding-top: 96px; padding-bottom: 60px; }
}

.footer-company { font-size: .82rem; color: rgba(255,255,255,.35); margin-bottom: .4rem; }
