/* ===================================================
   WEST OXFORD UNITED CHURCH — Main Stylesheet
   =================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #2C2C2C;
    background-color: #FAFAF8;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

ul {
    list-style: none;
}

/* --- CSS Variables --- */
:root {
    --green-dark:   #1F4A2A;
    --green-mid:    #2D6A3F;
    --green-light:  #3D8050;
    --gold:         #C9A44A;
    --gold-light:   #E2BF72;
    --cream:        #F5F2EB;
    --cream-dark:   #EDE8DE;
    --white:        #FFFFFF;
    --text-dark:    #1A1A1A;
    --text-mid:     #444444;
    --text-light:   #777777;
    --border:       #DDD8CE;
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:    0 6px 24px rgba(0,0,0,0.10);
    --shadow-lg:    0 16px 48px rgba(0,0,0,0.13);
    --radius:       6px;
    --radius-lg:    12px;
    --max-width:    1180px;
    --section-pad:  88px;
}

/* ===================================================
   TYPOGRAPHY
   =================================================== */

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.65rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1.1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-mid);
    font-weight: 300;
}

.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ===================================================
   LAYOUT
   =================================================== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: var(--section-pad) 0;
}

.section-sm {
    padding: 56px 0;
}

.section-lg {
    padding: 112px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* --- Grid --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

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

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

/* ===================================================
   BACKGROUND VARIANTS
   =================================================== */

.bg-white  { background-color: var(--white); }
.bg-cream  { background-color: var(--cream); }
.bg-green  { background-color: var(--green-dark); color: var(--white); }
.bg-green  h2, .bg-green h3, .bg-green h4 { color: var(--white); }
.bg-green  p  { color: rgba(255,255,255,0.82); }

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    flex-wrap: nowrap;
    gap: 16px;
}

/* Logo */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.header-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex-shrink: 0;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green-dark);
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

/* Navigation */
#main-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#main-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    white-space: nowrap;
}

#main-nav ul li a {
    display: block;
    padding: 6px 11px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-mid);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    color: var(--green-dark);
    background: var(--cream);
}

#main-nav ul li a.nav-cta {
    background: var(--green-dark);
    color: var(--white);
    padding: 7px 16px;
    border-radius: 30px;
    font-weight: 600;
}

#main-nav ul li a.nav-cta:hover {
    background: var(--green-mid);
}

/* Hamburger */
#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    flex-shrink: 0;
}

#nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===================================================
   HERO SECTION
   =================================================== */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 74px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 35, 20, 0.82) 0%,
        rgba(20, 50, 30, 0.65) 55%,
        rgba(15, 35, 20, 0.30) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 0;
}

.hero-content .section-label {
    color: var(--gold-light);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.hero-content .lead {
    color: rgba(255,255,255,0.88);
    font-size: 1.12rem;
    margin-bottom: 2.2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* --- Page Hero (interior pages) --- */
.page-hero {
    position: relative;
    height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 74px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,15,0.82) 0%, rgba(10,25,15,0.40) 60%, transparent 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 52px;
}

.page-hero-content .section-label {
    color: var(--gold-light);
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
}

/* ===================================================
   BUTTONS
   =================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.btn-primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    color: var(--white);
}

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

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

.btn-outline-green {
    background: transparent;
    color: var(--green-dark);
    border-color: var(--green-dark);
}

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

.btn-gold {
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ===================================================
   CARDS
   =================================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.card-icon.green {
    background: var(--green-dark);
    color: var(--white);
}

/* ===================================================
   FEATURE STRIPS
   =================================================== */

.feature-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 4px solid var(--gold);
}

.feature-item {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.feature-item:last-child {
    border-right: none;
}

.feature-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ===================================================
   MISSION / VISION BLOCKS
   =================================================== */

.mv-block {
    padding: 56px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.mv-block.mission {
    background: var(--green-dark);
    color: var(--white);
}

.mv-block.vision {
    background: var(--cream);
    border: 2px solid var(--cream-dark);
}

.mv-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mv-block.mission h3 { color: var(--white); }
.mv-block.mission p  { color: rgba(255,255,255,0.85); }
.mv-block.mission .section-label { color: var(--gold-light); }

.mv-block.vision h3  { color: var(--green-dark); }
.mv-block.vision .section-label { color: var(--gold); }

.mv-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ===================================================
   QUOTE / SCRIPTURE BLOCK
   =================================================== */

.scripture-block {
    background: var(--green-dark);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scripture-block::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 18rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
}

.scripture-block blockquote {
    max-width: 760px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
}

.scripture-block cite {
    display: block;
    margin-top: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* ===================================================
   TWO-COLUMN IMAGE + TEXT
   =================================================== */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

.split-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.split-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.split-img::before {
    content: '';
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

.split-text h2 {
    margin-bottom: 1.2rem;
}

.split-text .lead {
    margin-bottom: 1.6rem;
}

/* ===================================================
   PROGRAMS GRID
   =================================================== */

.program-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.program-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    color: var(--green-dark);
}

.program-card-body p {
    font-size: 0.92rem;
    flex: 1;
}

/* ===================================================
   TIMELINE (History)
   =================================================== */

.timeline {
    position: relative;
    padding: 0;
    max-width: 860px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cream-dark);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 48px;
    align-items: start;
}

.timeline-item:nth-child(odd) .timeline-text {
    grid-column: 1;
    text-align: right;
    padding-right: 36px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-empty {
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-empty {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-text {
    grid-column: 3;
    padding-left: 36px;
}

.timeline-dot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4px;
}

.timeline-dot::before {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--gold);
    flex-shrink: 0;
}

.timeline-year {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.timeline-text h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.timeline-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
}

/* ===================================================
   CONTACT SECTION
   =================================================== */

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

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--green-dark);
}

.contact-info-item h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
}

.contact-info-item p {
    color: var(--text-mid);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 1.6rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green-mid);
    background: var(--white);
}

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

/* ===================================================
   BREADCRUMB
   =================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--green-mid);
}

.breadcrumb a:hover {
    color: var(--green-dark);
}

.breadcrumb-sep {
    color: var(--border);
}

/* ===================================================
   DIVIDER
   =================================================== */

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px 0 32px;
}

.divider.center {
    margin: 20px auto 32px;
}

/* ===================================================
   FOOTER
   =================================================== */

#site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.footer-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}

.footer-contact-icon {
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--gold-light);
}

.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom-right {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ===================================================
   UTILITY
   =================================================== */

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-dark); }
.text-white  { color: var(--white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ===================================================
   ANIMATIONS
   =================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1100px) {
    :root { --section-pad: 72px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .feature-item:nth-child(2) { border-right: none; }
}

@media (max-width: 900px) {
    :root { --section-pad: 60px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split-section { grid-template-columns: 1fr; gap: 40px; }
    .split-section.reverse { direction: ltr; }
    .split-img img { height: 340px; }
    .mv-block { padding: 40px 36px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline::before { left: 28px; }
    .timeline-item { grid-template-columns: 40px 1fr; }
    .timeline-item:nth-child(odd) .timeline-text { grid-column: 2; text-align: left; padding: 0 0 0 20px; }
    .timeline-item:nth-child(odd) .timeline-dot  { grid-column: 1; }
    .timeline-item:nth-child(odd) .timeline-empty { display: none; }
    .timeline-item:nth-child(even) .timeline-empty { display: none; }
    .timeline-item:nth-child(even) .timeline-dot  { grid-column: 1; }
    .timeline-item:nth-child(even) .timeline-text { grid-column: 2; padding-left: 20px; }
}

@media (max-width: 768px) {
    :root { --section-pad: 52px; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }

    /* Mobile nav */
    #main-nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px 20px;
        box-shadow: var(--shadow-md);
    }

    #main-nav.open {
        display: block;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        white-space: normal;
    }

    #main-nav ul li a {
        padding: 10px 14px;
        font-size: 0.92rem;
        display: block;
    }

    #nav-toggle {
        display: flex;
    }

    .hero { min-height: 80vh; }
    .hero-content { padding: 60px 0; }
    .page-hero { height: 300px; }
    .feature-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-form { padding: 28px 24px; }
}

@media (max-width: 480px) {
    :root { --section-pad: 44px; }
    .container { padding: 0 18px; }
    .feature-strip { grid-template-columns: 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
    .feature-item:last-child { border-bottom: none; }
    .mv-block { padding: 32px 24px; }
    .btn-group { flex-direction: column; align-items: flex-start; }
}
