/* 
Theme Name: Neuman IA
Theme URI: https://neumania.fr
Author: Neuman Agency
Author URI: https://neumania.fr
Description: Un thème moderne, minimaliste et technologique conçu pour l'agence Neuman IA.
Version: 2.0.0
Text Domain: neumania
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #060b13; /* Very dark version of the base color */
    --surface-color: #0c1524;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #1d3456; /* The dominant color extracted */
    --primary-light: #2e5387;
    --primary-lighter: #4477c4;
    --accent-color: #3b82f6; 
    --border-color: rgba(29, 52, 86, 0.4);
    --border-glow: rgba(59, 130, 246, 0.3);
    
    --card-bg: rgba(12, 21, 36, 0.6);
    --card-hover: rgba(29, 52, 86, 0.3);
    --btn-primary-bg: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    
    --font-primary: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Background Ambient Glows */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
body::before {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(46, 83, 135, 0.15);
}
body::after {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(29, 52, 86, 0.2);
}

.hero-wrapper-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    background-image: url('./assets/images/hero-bg.png');
    background-size: cover;
    background-position: center top;
    z-index: -2;
    opacity: 0.5;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    mix-blend-mode: screen;
}

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

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    padding: 0;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(1120px, calc(100% - 2rem));
    transform: none;
    margin: 1rem auto 0;
    background:
        linear-gradient(135deg, rgba(12, 21, 36, 0.9), rgba(6, 11, 19, 0.82)),
        radial-gradient(circle at 20% 0%, rgba(68, 119, 196, 0.22), transparent 35%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 78px;
    gap: 1.25rem;
    padding: 0.35rem 1.15rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-height: 100%;
}

.logo img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    line-height: 1;
    white-space: nowrap;
}

.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.main-nav a:not(.btn-primary):hover,
.main-nav a.active {
    color: var(--text-color);
}

.main-nav a:not(.btn-primary):hover::after,
.main-nav a.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: #fff !important;
    padding: 0.58rem 1.2rem;
    border-radius: 999px;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(29, 52, 86, 0.32);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 83, 135, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Hero Section */
.hero-section {
    padding: 8.5rem 0 5.5rem;
    position: relative;
    z-index: 10;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 4.75rem;
    align-items: center;
}

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

.hero-media {
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(68, 119, 196, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--primary-lighter);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(68, 119, 196, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #d9e8ff 42%, #8db5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 12ch;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    font-weight: 400;
    padding: 0;
    max-width: 42rem;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--btn-primary-bg);
    color: #ffffff;
    padding: 1.2rem 2.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(29, 52, 86, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-design {
    position: relative;
    min-height: 560px;
    max-width: 430px;
    margin-left: auto;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 20% 20%, rgba(68, 119, 196, 0.26), transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(59, 130, 246, 0.2), transparent 28%),
        linear-gradient(145deg, rgba(12, 21, 36, 0.98), rgba(7, 12, 20, 1));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
}

.hero-orb-primary {
    width: 210px;
    height: 210px;
    top: 48px;
    right: 28px;
    background: radial-gradient(circle, rgba(68, 119, 196, 0.9), rgba(68, 119, 196, 0.05));
}

.hero-orb-secondary {
    width: 150px;
    height: 150px;
    left: 30px;
    bottom: 42px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), rgba(59, 130, 246, 0.04));
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero-panel {
    position: absolute;
    padding: 1.15rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 14, 24, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
}

.hero-panel span {
    display: block;
    margin-bottom: 0.35rem;
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-panel strong {
    display: block;
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.1;
}

.hero-panel-main {
    top: 48px;
    left: 28px;
}

.hero-panel-side {
    right: 30px;
    top: 168px;
}

.hero-line {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(68, 119, 196, 0.08), rgba(68, 119, 196, 0.9), rgba(68, 119, 196, 0.08));
}

.hero-line-one {
    top: 186px;
    left: 56px;
    width: 180px;
    height: 2px;
    transform: rotate(12deg);
}

.hero-line-two {
    right: 62px;
    bottom: 198px;
    width: 150px;
    height: 2px;
    transform: rotate(-24deg);
}

.hero-badge {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(6, 11, 19, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.btn-primary-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 83, 135, 0.7);
}

.btn-primary-large:hover::before {
    left: 100%;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 3rem;
    padding-top: 0;
    border-top: 0;
    position: relative;
}

.stat-item {
    padding: 1.6rem 1.2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    transition: var(--transition-smooth);
    min-width: 0;
    overflow-wrap: normal;
    text-align: left;
}

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

.stat-item h3 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #ffffff;
    line-height: 1.05;
    overflow-wrap: normal;
}

.stat-item:last-child h3 {
    font-size: clamp(2.1rem, 3.5vw, 2.5rem);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    overflow-wrap: normal;
}

.featured-section {
    padding: 3rem 0 8rem;
}

.featured-label {
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.featured-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.featured-strip span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 21, 36, 0.72);
    color: #e2e8f0;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Common Section Styles */
section {
    padding: 10rem 0;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 5rem;
    text-align: left;
}

.awards-section,
.about-section {
    padding-top: 12rem;
}

.pre-heading {
    color: var(--primary-lighter);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #dce9ff 52%, #7db2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0;
}

/* Cards Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.6rem;
    display: block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    z-index: 1;
    min-width: 0;
    min-height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(46,83,135,0.2) inset;
}

.card:hover::before {
    opacity: 0.5;
}

.card-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(29, 52, 86, 0.4);
    border: 1px solid var(--border-color);
    color: var(--primary-lighter);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.linkedin-card h3,
.youtube-card h3 {
    background: linear-gradient(135deg, #ffffff 0%, #b8d3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Awards Grid */
.grid-awards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.award-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.award-item::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.award-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8d3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow-wrap: anywhere;
}

.award-item p {
    color: var(--primary-lighter);
    font-size: 1rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
    gap: 3.5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-top: -1.25rem;
}

.about-image::before {
    content: none;
}

.about-image img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    filter: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Footer */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: rgba(6, 11, 19, 0.9);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(12, 21, 36, 0.88);
}

.footer-logo img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    object-position: center;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 0.85rem;
}

.footer-links a {
    color: #dbeafe;
    font-weight: 600;
}

.footer-links a:hover {
    color: #ffffff;
}

.legal-page {
    padding-bottom: 4rem;
}

.legal-section {
    max-width: 900px;
}

.legal-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(12, 21, 36, 0.72);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.legal-card h2 {
    margin-bottom: 0.9rem;
    font-size: 1.35rem;
    color: #ffffff;
}

.legal-card p + p {
    margin-top: 0.8rem;
}

/* Responsive */
@media (max-width: 1100px) {
    body {
        padding-top: 0;
    }

    .container {
        padding: 0 1.75rem;
    }

    .site-header {
        top: auto;
        width: min(960px, calc(100% - 1.5rem));
        margin-top: 0.75rem;
    }

    .header-inner {
        min-height: 68px;
        gap: 0.9rem;
        padding: 0.28rem 0.9rem;
    }

    .logo img {
        width: 72px;
        height: 72px;
    }

    .main-nav {
        gap: 1rem;
    }

    .main-nav a {
        font-size: 0.88rem;
        min-height: 38px;
    }

    .btn-primary {
        padding: 0.52rem 1rem;
    }

    .hero-section {
        padding: 6.5rem 0 4rem;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2.55rem, 4.8vw, 4rem);
    }

    .hero-design {
        min-height: 500px;
        max-width: 390px;
    }

    section {
        padding: 8rem 0;
    }

    .awards-section,
    .about-section {
        padding-top: 9rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 8vw, 4.2rem);
        max-width: 11ch;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3.25rem;
    }

    .hero-design {
        min-height: 460px;
        max-width: 620px;
        margin: 0 auto;
    }

    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .featured-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .about-image {
        max-width: 440px;
        margin-top: 0;
    }

    .about-image img {
        height: 420px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .container {
        padding: 0 0.9rem;
    }

    .site-header {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: calc(100% - 1rem);
        transform: none;
        margin: 0.5rem auto 0;
        border-radius: 28px;
        overflow: visible;
    }

    .header-inner {
        min-height: 60px;
        gap: 0.85rem;
        padding: 0.7rem 0.85rem;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav {
        display: flex;
        gap: 0.55rem;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-nav a {
        min-height: 34px;
        font-size: 0.82rem;
    }

    .btn-primary {
        padding: 0.6rem 0.95rem;
        font-size: 0.8rem !important;
    }

    .hero-section {
        padding: 4.75rem 0 3rem;
    }

    .hero-content {
        max-width: none;
        text-align: center;
    }

    .hero-tag {
        margin-bottom: 1.35rem;
    }

    .hero-content h1 {
        max-width: 12ch;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.45rem, 10vw, 3.45rem);
    }

    .hero-subtitle {
        padding: 0;
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }

    .btn-primary-large {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.6rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin-top: 2.5rem;
        padding-top: 0;
    }

    section {
        padding: 5.25rem 0;
    }

    .awards-section,
    .about-section {
        padding-top: 6.5rem;
    }

    .section-header {
        margin-bottom: 2.75rem;
    }

    .section-header h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .section-header p,
    .about-text p,
    .card p,
    .award-item p {
        font-size: 1rem;
    }

    .grid-cards,
    .grid-awards,
    .featured-strip {
        grid-template-columns: 1fr;
    }

    .card,
    .award-item,
    .stat-item {
        padding: 1.4rem;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .hero-design {
        min-height: 420px;
        height: 420px;
        border-radius: 28px;
    }

    .about-image img {
        height: 360px;
        border-radius: 22px;
    }

    .hero-panel-main {
        top: 28px;
        left: 20px;
    }

    .hero-panel-side {
        right: 20px;
        top: 142px;
    }

    .hero-badge {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        text-align: center;
    }

    .stat-item h3,
    .stat-item:last-child h3 {
        white-space: normal;
        font-size: 2rem;
    }

    .featured-section {
        padding: 2rem 0 4.5rem;
    }

    .featured-strip span {
        min-height: 60px;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .contact-page {
        padding-bottom: 2.5rem;
    }

    .contact-hero {
        padding-top: 4.5rem;
        padding-bottom: 1.25rem;
    }

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

    .contact-form-shell {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-submit,
    .form-note {
        width: 100%;
        max-width: none;
    }

    .form-note {
        text-align: center;
    }
}

@media (max-width: 540px) {
    body {
        padding-top: 0;
    }

    .container {
        padding: 0 0.55rem;
    }

    .logo img {
        width: 52px;
        height: 52px;
    }

    .header-inner {
        min-height: 52px;
        gap: 0.7rem;
        padding: 0.75rem 0.7rem;
    }

    .main-nav {
        gap: 0.45rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .main-nav a {
        min-height: 40px;
        font-size: 0.78rem;
        justify-content: center;
    }

    .btn-primary {
        padding: 0.62rem 0.8rem;
        font-size: 0.78rem !important;
    }

    .hero-section {
        padding-top: 3.75rem;
    }

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

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

    .hero-content h1 {
        max-width: none;
        font-size: clamp(2.25rem, 12vw, 3rem);
    }

    .hero-design {
        height: 360px;
        min-height: 360px;
    }

    .hero-panel {
        padding: 0.9rem 1rem;
    }

    .hero-panel strong {
        font-size: 1.15rem;
    }

    .hero-line {
        opacity: 0.55;
    }

    .stat-item,
    .card,
    .award-item {
        padding: 1.25rem;
    }

    .about-image {
        max-width: 320px;
    }

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

.footer-text {
    max-width: 280px;
    margin: 0 auto;
}
}

.contact-page {
    padding-bottom: 4rem;
}

.contact-hero {
    padding-top: 7rem;
    padding-bottom: 2rem;
}

.contact-hero-copy {
    max-width: 760px;
}

.contact-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.contact-trust-card,
.contact-form-shell {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.contact-trust-card {
    padding: 1.25rem 1.5rem;
}

.contact-trust-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.contact-trust-card span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-section {
    padding-top: 2rem;
}

.contact-form-shell {
    padding: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.form-field {
    display: grid;
    gap: 0.55rem;
}

.form-field span {
    font-size: 0.95rem;
    font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-color);
    font: inherit;
    padding: 0.95rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #8f8f96;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
}

.form-field select option {
    color: #111111;
    background: #ffffff;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-submit {
    border: 0;
    cursor: pointer;
}

.form-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 460px;
}

.form-status {
    display: none;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    font-weight: 500;
}

.form-status.is-pending,
.form-status.is-success,
.form-status.is-error {
    display: block;
}

.form-status.is-pending {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

.form-status.is-success {
    background: rgba(95, 210, 140, 0.12);
    border: 1px solid rgba(95, 210, 140, 0.35);
    color: #d7ffe6;
}

.form-status.is-error {
    background: rgba(255, 110, 110, 0.12);
    border: 1px solid rgba(255, 110, 110, 0.3);
    color: #ffdede;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.booking-widget {
    min-height: 220px;
}

.booking-fallback {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-form-shell {
        padding: 1.5rem;
    }

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

    .booking-widget iframe,
    .booking-widget > div {
        width: 100% !important;
        max-width: 100%;
    }
}

@media (max-width: 540px) {
    .contact-hero-copy h1,
    .booking-page .contact-hero-copy h1 {
        font-size: clamp(2rem, 11vw, 2.7rem);
    }

    .contact-form-shell,
    .contact-trust-card {
        border-radius: 18px;
    }

    .form-field span {
        font-size: 0.92rem;
    }

    .form-note {
        font-size: 0.9rem;
    }
}
