/* ===== Design institutionnel inspiré portail Girafe ===== */
:root {
    --primary: #1e4d7b;
    --primary-dark: #153a5e;
    --primary-light: #2d6ba3;
    --accent: #c9a227;
    --accent-light: #f5ecd4;
    --text: #1a2b3c;
    --text-muted: #5a6b7d;
    --bg: #f0f4f8;
    --surface: #ffffff;
    --border: #d8e2ec;
    --shadow: 0 2px 12px rgba(30, 77, 123, 0.08);
    --shadow-lg: 0 8px 30px rgba(30, 77, 123, 0.12);
    --radius: 6px;
    --header-height: 72px;
    --topbar-height: 36px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a { color: var(--primary-light); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ===== Top bar ===== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.topbar a:hover { text-decoration: underline; }

/* Picto téléphone */
a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

a[href^="tel:"]::before {
    content: '';
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.91 15.91 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 011 1V20a1 1 0 01-1 1C10.07 21 3 13.93 3 5a1 1 0 011-1h3.5a1 1 0 011 1c0 1.24.2 2.45.57 3.57a1 1 0 01-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.91 15.91 0 006.59 6.59l2.2-2.2a1 1 0 011.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 011 1V20a1 1 0 01-1 1C10.07 21 3 13.93 3 5a1 1 0 011-1h3.5a1 1 0 011 1c0 1.24.2 2.45.57 3.57a1 1 0 01-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.info-box p a[href^="tel:"] {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.info-box p a[href^="tel:"]:hover {
    color: var(--primary);
}

/* ===== Header ===== */
.site-header {
    background: var(--surface);
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.15rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: var(--bg);
    color: var(--primary);
}

.main-nav a.active {
    background: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.25s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== Hero accueil ===== */
.hero-home {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-home img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-home .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21,58,94,0.92) 0%, rgba(30,77,123,0.75) 100%);
}

.hero-home .container {
    position: relative;
    z-index: 1;
    padding: 4rem 1.25rem;
}

.hero-home h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.hero-title-main {
    display: block;
    font-weight: 700;
}

.hero-title-sub {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-top: 0.35rem;
}

.hero-home .hero-lead {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin-bottom: 2rem;
}

/* Carrousel versets bibliques */
.hero-verse-carousel {
    max-width: 720px;
    margin-bottom: 2rem;
    min-height: 120px;
}

.verse-slides {
    position: relative;
    min-height: 130px;
}

.verse-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    border: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.verse-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.verse-slide p {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-style: italic;
    color: rgba(255,255,255,0.95);
    line-height: 1.65;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.verse-slide cite {
    display: block;
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.verse-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.verse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.verse-dot:hover {
    border-color: var(--accent);
    transform: scale(1.15);
}

.verse-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}

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

/* ===== Page header (pages intérieures) ===== */
.page-header {
    background: var(--primary);
    color: white;
    padding: 2.5rem 0;
    border-bottom: 4px solid var(--accent);
}

.page-header h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    opacity: 0.75;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ===== Main content ===== */
main { flex: 1; }

.page-content {
    padding: 2.5rem 0 3.5rem;
}

.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.content-card h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-light);
}

.content-card p {
    margin-bottom: 1rem;
    color: var(--text);
}

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

.highlight-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 1rem;
}

/* ===== Service cards (accueil) ===== */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
}

.service-card .link-arrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* ===== Info bandeau accueil ===== */
.info-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-box p {
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
}

.info-box span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.info-box span a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.info-box span a:hover { text-decoration: underline; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: #ddb52e;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== Pastor ===== */
.pastor-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.pastor-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--border);
}

.pastor-mission {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}

.pastor-mission h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.pastor-mission ul {
    list-style: none;
    padding: 0;
}

.pastor-mission li {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.pastor-mission li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== Layouts avec images ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.split-layout .content-card {
    margin-bottom: 0;
}

.split-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.page-banner {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.page-banner img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.card-image {
    margin: -1.75rem -1.75rem 1.25rem;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.activity-card .card-image {
    margin: -1.5rem -1.5rem 1.25rem;
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.photo-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.contact-photo {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ===== Worship & Activities ===== */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cards-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.info-card .highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.activity-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.activity-card h3 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1rem;
}

.activity-day {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
}

/* ===== Confession ===== */
.confession-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.confession-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.confession-item p {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    text-align: justify;
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}

.contact-detail h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.contact-detail a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
}

.contact-detail a:hover { text-decoration: underline; }

.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(45,107,163,0.15);
}

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

.char-count {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
}

.footer-grid h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-grid h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.footer-grid p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li { margin-bottom: 0.4rem; }

.footer-grid a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-grid a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.site-header {
    animation: slideInHeader 0.5s ease forwards;
}

.animate-hero h2 {
    animation: fadeInUp 0.8s ease 0.15s both;
}

.animate-hero .hero-verse-carousel {
    animation: fadeInUp 0.8s ease 0.35s both;
}

.animate-hero .hero-actions {
    animation: fadeInUp 0.8s ease 0.55s both;
}

.page-header .container {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-on-scroll {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll:not(.is-visible) {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-6px);
    }

    .service-card.is-visible:hover {
        transform: translateY(-6px);
    }

    .info-box.is-visible:hover,
    .activity-card.is-visible:hover,
    .info-card.is-visible:hover {
        transform: translateY(-3px);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .content-card.is-visible:hover,
    .confession-item.is-visible:hover {
        box-shadow: var(--shadow-lg);
        transition: box-shadow 0.3s ease;
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .info-band { grid-template-columns: 1fr; }
    .cards-row, .cards-row-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .pastor-layout { grid-template-columns: 1fr; }
    .pastor-photo { max-width: 280px; margin: 0 auto; }
    .split-layout { grid-template-columns: 1fr; }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: calc(var(--topbar-height) + var(--header-height));
        left: -100%;
        width: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        padding: 1rem;
    }

    .main-nav.open { left: 0; }

    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
    }

    .brand-text p { display: none; }

    .services-grid,
    .cards-row,
    .cards-row-4 {
        grid-template-columns: 1fr;
    }

    .photo-gallery { grid-template-columns: 1fr; }

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

    .hero-home { min-height: 400px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
}
