/*
    SILEZIA - style.css
    Objectif : page d’accueil premium, sombre, moderne, responsive et optimisée SEO/UX.
    Couleurs demandées :
    - Anthracite : #212121
    - Bleu : #153A97
    - Or : #D4AF37
*/

/* Reset moderne */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: #212121;
    --darker: #111111;
    --blue: #153A97;
    --blue-light: #2d63ff;
    --gold: #D4AF37;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --muted-soft: rgba(255, 255, 255, 0.52);
    --glass: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
    --radius: 28px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--white);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Canvas de fond animé */
#hero-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 20%, rgba(21, 58, 151, 0.42), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.14), transparent 25%),
        linear-gradient(135deg, #111111 0%, #212121 45%, #101010 100%);
}

/* Voile pour augmenter la lisibilité */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 110px 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: rgba(17, 17, 17, 0.76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-logo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.94rem;
    color: var(--muted);
}

.nav-links a {
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle {
    display: none;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: all 0.25s ease;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
}

.dropdown a:hover {
    background: rgba(21, 58, 151, 0.22);
}

.nav-actions,
.hero-actions,
.card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-large {
    min-height: 54px;
    padding: 0 26px;
}

.btn-gold {
    color: #111111;
    background: linear-gradient(135deg, var(--gold), #ffe08a);
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.25);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    box-shadow: 0 14px 34px rgba(21, 58, 151, 0.32);
}

.btn-outline {
    color: var(--white);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(212, 175, 55, 0.08);
}

/* Burger */
.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
    transition: 0.25s ease;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.hero-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    right: 8%;
    top: 20%;
    background: radial-gradient(circle, rgba(21, 58, 151, 0.36), transparent 68%);
    filter: blur(10px);
    animation: pulseGlow 10s ease-in-out infinite;
}

.hero-content {
    max-width: 840px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--gold);
}

h1,
h2,
h3 {
    line-height: 1.05;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    max-width: 980px;
    margin-bottom: 18px;
    animation: titleReveal 1.1s cubic-bezier(.2,.75,.2,1) both;
}

.hero-subtitle {
    color: var(--gold);
    font-size: clamp(1.25rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 18px;
    animation: fadeUp 1.1s 0.15s both;
}

.hero-text {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 34px;
    animation: fadeUp 1.1s 0.28s both;
}

.hero-actions {
    animation: fadeUp 1.1s 0.4s both;
}

/* Sections communes */
.section-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.section-heading h2,
.stats-card h2,
.service-copy h2,
.agency-intro h2,
.tech-card h2,
.final-card h2 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    margin-bottom: 20px;
}

.section-heading p,
.service-copy p,
.agency-text p,
.tech-card p,
.final-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Section stats */
.proof-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}

.stats-card,
.agency-card,
.tech-card,
.final-card {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.stats-card {
    padding: 42px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.stats-row div {
    padding: 22px;
    border-radius: 22px;
    background: rgba(21, 58, 151, 0.18);
    border: 1px solid rgba(21, 58, 151, 0.34);
}

.stats-row strong {
    display: block;
    font-size: 1.45rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.stats-row span {
    color: var(--muted);
}

.agency-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.9fr 1fr;
}

.agency-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 360px;
}

.agency-card-content {
    padding: 38px;
    align-self: center;
}

.agency-card-content h3 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.agency-card-content p {
    color: var(--muted);
    margin-bottom: 26px;
}

/* Slider métiers */
.sector-slider {
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    gap: 18px;
    align-items: center;
}

.slider-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.slider-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.sector-card {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    min-height: 480px;
}

.sector-image-wrap {
    overflow: hidden;
}

.sector-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.sector-card.switching img {
    opacity: 0;
    transform: scale(1.04);
}

.sector-content {
    padding: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sector-content span {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 16px;
}

.sector-content h3 {
    font-size: clamp(2rem, 4vw, 3.7rem);
    margin-bottom: 18px;
}

.sector-content p {
    color: var(--muted);
    margin-bottom: 28px;
}

/* Sections services */
.service-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.service-grid.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.service-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 58, 151, 0.18), rgba(212, 175, 55, 0.08));
}

.service-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 30px;
}

.check-list li {
    color: var(--muted);
    padding-left: 32px;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 800;
}

/* Agence */
.agency-section {
    background: linear-gradient(180deg, rgba(21, 58, 151, 0.08), transparent);
}

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

.agency-text {
    display: grid;
    gap: 22px;
}

/* Technologies */
.tech-card {
    padding: clamp(34px, 6vw, 70px);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 38px;
}

.tech-grid div {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
}

.tech-grid h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

/* CTA final */
.final-card {
    text-align: center;
    padding: clamp(34px, 7vw, 78px);
    background:
        radial-gradient(circle at 50% 0%, rgba(21, 58, 151, 0.38), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
}

.final-card .hero-actions {
    justify-content: center;
    margin-top: 30px;
}

/* Footer */
.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--border);
    background: rgba(17, 17, 17, 0.72);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted-soft);
    font-size: 0.92rem;
}

.footer-grid div {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-grid a:hover {
    color: var(--gold);
}

/* Animations d’apparition */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.55;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.08);
    }
}

/* Responsive */
@media (max-width: 980px) {
    .burger {
        display: block;
    }

    .nav-panel {
        position: fixed;
        top: 92px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
        border: 1px solid var(--border);
        border-radius: 24px;
        background: rgba(17, 17, 17, 0.96);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
    }

    .nav-panel.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .has-dropdown {
        display: block;
        padding-bottom: 20px;
    }

    .dropdown-toggle {
        display: inline-flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        color: var(--white);
        background: transparent;
        border: 1px solid var(--border);
        border-radius: 50%;
    }

    .dropdown {
        position: static;
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        min-width: unset;
        margin-top: 10px;
        box-shadow: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .proof-grid,
    .agency-card,
    .sector-card,
    .service-grid,
    .service-grid.reverse,
    .agency-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .sector-slider {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        margin-inline: auto;
    }

    .service-media img {
        height: 360px;
    }

    .section {
        padding: 84px 0;
    }
}

@media (max-width: 620px) {
    .container,
    .navbar {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-logo {
        width: 132px;
    }

    .hero {
        padding-top: 128px;
    }

    .stats-card,
    .agency-card-content,
    .sector-content {
        padding: 28px;
    }

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

    .sector-card {
        min-height: auto;
    }

    .sector-image-wrap img {
        height: 300px;
    }

    .footer-grid {
        flex-direction: column;
    }
}











/* Page création de site internet */
.creation-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.creation-card {
    padding: 34px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.creation-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--gold);
    font-weight: 800;
}

.creation-card h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.creation-card p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .creation-cards-grid {
        grid-template-columns: 1fr;
    }
}







/* Cartes communes pages expertise */
.creation-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.creation-card {
    padding: 34px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.creation-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--gold);
    font-weight: 800;
}

.creation-card h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.creation-card p {
    color: var(--muted);
}

.automation-card-cta {
    margin-top: 34px;
}

@media (max-width: 980px) {
    .creation-cards-grid {
        grid-template-columns: 1fr;
    }
}










/* Cartes communes pages expertise */
.creation-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.creation-card {
    padding: 34px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.creation-card span {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--gold);
    font-weight: 800;
}

.creation-card h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.creation-card p {
    color: var(--muted);
}

.automation-card-cta {
    margin-top: 34px;
}

@media (max-width: 980px) {
    .creation-cards-grid {
        grid-template-columns: 1fr;
    }
}










/* Page blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.blog-card-image {
    display: block;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
}

.blog-category {
    display: inline-flex;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.blog-card p {
    color: var(--muted);
    margin-bottom: 18px;
}

.blog-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted-soft);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

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

    .blog-card-image img {
        height: 320px;
    }
}

@media (max-width: 620px) {
    .blog-card-content {
        padding: 26px;
    }

    .blog-card-image img {
        height: 240px;
    }
}











/* Page réalisations */
.realisations-section {
    padding-top: 170px;
}

.realisations-section .section-heading {
    max-width: 860px;
}

.realisations-section h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    margin-bottom: 18px;
}

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

.realisation-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.realisation-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.55);
}

.realisation-image {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.realisation-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.realisation-card:hover .realisation-image img {
    transform: scale(1.05);
}

.realisation-content {
    padding: 26px;
}

.realisation-content h2 {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

.realisation-content span {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.94rem;
}

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

    .realisation-image img {
        height: 320px;
    }
}

@media (max-width: 620px) {
    .realisations-section {
        padding-top: 140px;
    }

    .realisation-image img {
        height: 230px;
    }

    .realisation-content {
        padding: 24px;
    }
}










/* Page contact */
.contact-section {
    padding-top: 170px;
    min-height: 100vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: start;
}

.contact-copy h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    margin-bottom: 18px;
}

.contact-info-card,
.contact-form {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.contact-info-card {
    padding: 34px;
    margin-top: 34px;
}

.contact-info-card h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.contact-form {
    padding: clamp(28px, 5vw, 46px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.form-field label span {
    color: var(--gold);
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font: inherit;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-field input {
    min-height: 54px;
    padding: 0 18px;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
    padding: 16px 18px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(212, 175, 55, 0.7);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.10);
}

.form-field small {
    display: none;
    margin-top: 8px;
    color: #ff6b6b;
    font-size: 0.88rem;
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.10);
}

.form-field.is-invalid small {
    display: block;
}

.form-privacy {
    color: var(--muted-soft);
    font-size: 0.92rem;
    margin: 6px 0 24px;
}

.form-alert {
    display: none;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 77, 0.45);
    background: rgba(255, 77, 77, 0.10);
    color: #ffb3b3;
    font-weight: 700;
}

.form-alert.is-visible {
    display: block;
}

@media (max-width: 980px) {
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding-top: 140px;
    }
}

@media (max-width: 620px) {
    .contact-info-card,
    .contact-form {
        padding: 28px;
    }
}