/*
Theme Name: Arthurimmo.com Neuf
Theme URI: https://neufarthurimmo.com/
Author: Arthurimmo.com Neuf
Author URI: https://neufarthurimmo.com/
Description: Thème WordPress sur-mesure reprenant avec exactitude le design et l'identité graphique de https://neufarthurimmo.com (en-tête, navigation, typographies D-DIN, couleurs, pied de page Apimo) pour les pages secteurs immobilier neuf.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: neufarthurimmo-com
*/

/* ==========================================================================
   1. POLICES OFFICIELLES (D-DIN) & VARIABLES
   ========================================================================== */
@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/D-DIN.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/23112/D-DIN.woff') format('woff');
}
@font-face {
    font-family: 'D-DIN';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/D-DIN-Italic.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/23112/D-DIN-Italic.woff') format('woff');
}
@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/D-DIN-Bold.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/23112/D-DIN-Bold.woff') format('woff');
}
@font-face {
    font-family: 'D-DIN';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/D-DIN-Bold.woff') format('woff'),
         url('https://fonts.cdnfonts.com/s/23112/D-DIN-Bold.woff') format('woff');
}

:root {
    --ai-dark: #31393f;
    --ai-dark-header: #31393f;
    --ai-dark-deep: #22282d;
    --ai-dark-bread: #23292e;
    --ai-gold: #f59908;
    --ai-gold-light: #feab29;
    --ai-gold-hover: #e08b07;
    --ai-text: #31393f;
    --ai-text-muted: #64748b;
    --ai-bg-page: #ffffff;
    --ai-bg-soft: #f8fafc;
    --ai-border: #e2e8f0;
    --ai-border-light: rgba(255, 255, 255, 0.15);
    --ai-white: #ffffff;
    --ai-header-height: 90px;
    --ai-container-max: 1220px;
    --ai-radius: 4px;
    --ai-radius-lg: 8px;
    --ai-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --ai-shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --ai-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --ai-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ai-font-main: 'D-DIN', sans-serif;
    --ai-font-serif: 'Baskervville', Georgia, serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--ai-bg-page);
    color: var(--ai-text);
    font-family: var(--ai-font-main);
    font-size: 16px;
    line-height: 26px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--ai-header-height);
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    font-family: var(--ai-font-main);
    border: none;
    outline: none;
}

/* ==========================================================================
   2. TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--ai-dark);
    font-family: var(--ai-font-main);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(1.85rem, 3.8vw, 2.75rem);
    margin-bottom: 1.25rem;
}

h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--ai-gold);
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
}

strong, b {
    font-weight: 700;
    color: var(--ai-dark);
}

.container {
    width: 100%;
    max-width: var(--ai-container-max);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-main {
    flex: 1 0 auto;
}

/* ==========================================================================
   3. EN-TÊTE DU SITE (HEADER EXACT ARTHURIMMO)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ai-header-height);
    background-color: var(--ai-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99999;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    background-color: rgba(49, 57, 63, 0.98);
}

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

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.02);
}

/* Zone droite de navigation & cluster */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-bottom: 4px;
}

/* Top bar avec sélecteur de langue */
.header-top-cluster {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 13px;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-family: var(--ai-font-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    background: transparent;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 3px;
    transition: var(--ai-transition);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-toggle .dropdown-chevron {
    transition: transform 0.3s ease;
}

.language-dropdown:hover .dropdown-chevron,
.language-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--ai-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    min-width: 135px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--ai-transition);
    z-index: 1000;
    padding: 4px 0;
}

.language-dropdown:hover .language-dropdown-menu,
.language-dropdown.is-open .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: #ffffff;
    font-family: var(--ai-font-main);
    font-size: 13px;
    font-weight: 500;
}

.language-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ai-gold);
}

.language-dropdown-menu a.current {
    color: var(--ai-gold);
    font-weight: 700;
}

.flag-icon {
    display: inline-block;
    border-radius: 1px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Menu de navigation principal (Police D-DIN conforme à https://neufarthurimmo.com) */
.main-nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-family: 'D-DIN', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: normal;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.35s ease;
}

.main-menu li a:hover,
.main-menu li.current-menu-item a,
.main-menu li.current a {
    color: #ffffff;
}

.main-menu li a:hover::after,
.main-menu li.current-menu-item a::after,
.main-menu li.current a::after {
    width: 100%;
}

/* Burger Mobile */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    z-index: 100001;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--ai-transition);
}

.burger-btn.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Masquer le tiroir mobile sur Desktop */
.mobile-drawer {
    display: none;
}

/* ==========================================================================
   4. FIL D'ARIANE (BREADCRUMBS) - VISIBILITÉ HAUTE PERFORMANCE
   ========================================================================== */
.breadcrumbs-wrapper {
    background-color: var(--ai-dark-bread);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    font-size: 0.9rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs a {
    color: #f1f5f9;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--ai-gold);
    text-decoration: underline;
}

.breadcrumb-home-icon {
    color: var(--ai-gold);
    flex-shrink: 0;
}

.breadcrumbs-separator {
    color: var(--ai-gold);
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1;
    margin: 0 2px;
}

.breadcrumbs-current {
    color: var(--ai-gold-light);
    font-weight: 600;
}

/* ==========================================================================
   5. HERO BANNER SECTEUR
   ========================================================================== */
.sector-hero {
    position: relative;
    background: linear-gradient(135deg, #31393f 0%, #1e252a 100%);
    color: #ffffff;
    padding: 55px 0 45px;
    overflow: hidden;
}

.sector-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 153, 8, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.sector-hero-inner {
    position: relative;
    max-width: 900px;
    z-index: 2;
}

.sector-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 153, 8, 0.18);
    border: 1px solid rgba(245, 153, 8, 0.45);
    color: #ffd182;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.sector-hero-title {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
}

.sector-hero-subtitle {
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 820px;
}

/* ==========================================================================
   6. CONTENU DE PAGE & ARTICLES
   ========================================================================== */
.page-content-wrapper {
    padding: 50px 0 70px;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 50px;
    align-items: start;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2 {
    color: var(--ai-dark);
    font-size: 1.65rem;
    margin-top: 2.75rem;
    margin-bottom: 1.15rem;
}

.article-content h3 {
    color: var(--ai-dark);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.article-content p {
    margin-bottom: 1.35rem;
    color: #334155;
}

.article-content ul, 
.article-content ol {
    margin: 1.5rem 0 1.75rem 1.5rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #334155;
    line-height: 1.65;
}

/* Encadrés de points forts */
.highlight-box {
    background: var(--ai-bg-soft);
    border: 1px solid var(--ai-border);
    border-left: 4px solid var(--ai-gold);
    border-radius: var(--ai-radius);
    padding: 24px;
    margin: 30px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: var(--ai-dark);
    font-size: 1.25rem;
}

.communes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px;
}

.commune-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--ai-border);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ai-dark);
    transition: var(--ai-transition);
}

.commune-chip:hover {
    border-color: var(--ai-gold);
    background: #fffbf2;
    transform: translateY(-2px);
    box-shadow: var(--ai-shadow-sm);
}

/* ==========================================================================
   7. CALL TO ACTION (CTA)
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--ai-dark) 0%, #20262b 100%);
    border-radius: var(--ai-radius-lg);
    padding: 35px 30px;
    color: #ffffff;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--ai-shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-banner h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.cta-banner p {
    color: #cbd5e1;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--ai-gold);
    color: #ffffff;
    font-family: 'D-DIN', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 24px;
    border-radius: 2px;
    transition: var(--ai-transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--ai-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 153, 8, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    color: #ffffff;
    font-family: 'D-DIN', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 24px;
    border-radius: 2px;
    transition: var(--ai-transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Sidebar */
.page-sidebar {
    position: sticky;
    top: calc(var(--ai-header-height) + 30px);
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius-lg);
    padding: 24px;
    margin-bottom: 25px;
    box-shadow: var(--ai-shadow-sm);
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ai-dark);
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ai-gold);
}

.sidebar-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.925rem;
    color: #475569;
}

.sidebar-contact-item svg {
    color: var(--ai-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   8. PIED DE PAGE DU SITE (FOOTER EXACT ARTHURIMMO APIMO)
   ========================================================================== */
.site-footer {
    background-color: var(--ai-dark);
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 50px;
    font-size: 0.95rem;
    position: relative;
}

.footer-inner {
    max-width: var(--ai-container-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-agency-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-agency-address {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #ffffff;
    font-size: 15px;
    margin: 0;
}

.footer-agency-address a {
    color: #ffffff;
    font-weight: 600;
}

.footer-agency-address a:hover {
    color: var(--ai-gold);
}

.footer-icon-pin {
    color: var(--ai-gold);
    margin-right: 4px;
    display: inline-block;
}

.footer-agency-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 22px;
    border-radius: 2px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 0 1px var(--ai-gold);
}

.footer-pill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ai-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.footer-pill-btn:hover::before {
    transform: scaleX(1);
}

.footer-pill-btn span,
.footer-pill-btn svg {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.footer-pill-btn:hover {
    color: #ffffff;
}

.footer-cluster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.2);
    padding-top: 35px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-col-title {
    font-family: 'D-DIN', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    width: 100%;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.footer-col ul li a {
    color: #ffffff;
    font-size: 14px;
    transition: filter 0.2s ease, color 0.2s ease;
}

.footer-col ul li a:hover {
    filter: brightness(0.9);
    color: var(--ai-gold);
}

.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.brand-totem {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.brand-totem.totem-arthurimmo {
    background-image: url('assets/images/Arthurimmo.com-Totem.png');
}

.brand-totem.totem-prestige {
    background-image: url('assets/images/Totem-Prestige.png');
}

.btn-footer-newsletter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #ffffff;
    font-family: 'D-DIN', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--ai-transition);
}

.btn-footer-newsletter:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: var(--ai-gold);
}

.footer-bottom-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

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

.footer-legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-legal-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #ffffff;
}

.footer-legal-bar ul li {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-legal-bar ul li:not(:first-child)::before {
    content: "•";
    color: var(--ai-gold);
    margin-right: 16px;
    font-size: 14px;
}

.footer-legal-bar a {
    color: #ffffff;
}

.footer-legal-bar a:hover {
    color: var(--ai-gold);
}

/* ==========================================================================
   9. MODAL NEWSLETTER
   ========================================================================== */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ai-transition);
    padding: 20px;
}

.newsletter-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.newsletter-modal-box {
    background: #ffffff;
    color: var(--ai-dark);
    max-width: 480px;
    width: 100%;
    border-radius: var(--ai-radius-lg);
    padding: 30px;
    position: relative;
    box-shadow: var(--ai-shadow-lg);
}

.newsletter-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.newsletter-form-group {
    margin-bottom: 15px;
}

.newsletter-form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ai-border);
    border-radius: 4px;
    font-size: 14px;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN & MOBILE DRAWER
   ========================================================================== */
@media (min-width: 901px) {
    .mobile-drawer {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
    }

    .page-sidebar {
        position: static;
        margin-top: 40px;
    }

    .footer-cluster {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 900px) {
    :root {
        --ai-header-height: 75px;
    }

    .burger-btn {
        display: flex;
    }

    .header-right {
        display: none;
    }

    .mobile-drawer {
        display: flex;
        position: fixed;
        top: var(--ai-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--ai-dark);
        padding: 30px 24px;
        overflow-y: auto;
        flex-direction: column;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99998;
    }

    .mobile-drawer.is-active {
        transform: translateX(0);
    }

    .mobile-drawer .main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .mobile-drawer .main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 12px;
    }

    .mobile-drawer .main-menu li a {
        font-size: 16px;
        justify-content: space-between;
    }

    .mobile-lang-picker {
        display: flex;
        gap: 16px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-lang-picker a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #cbd5e1;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-lang-picker a.active {
        color: #ffffff;
    }
}

@media (max-width: 640px) {
    .footer-cluster {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-agency-buttons {
        flex-direction: column;
        width: 100%;
    }

    .footer-pill-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-legal-bar ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal-bar ul li:not(:first-child)::before {
        display: none;
    }

    .sector-hero {
        padding: 40px 0 35px;
    }
}
