*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #deecd0;
    --card-bg: #ffffff;
    --text-dark: #1e3a3a;
    --text-mid: #3d5c5c;
    --text-light: #607070;
    --accent: #e8714a;
    --accent-hover: #d45f38;
    --border: rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 80px;  
}

/* ── Header ── */
.header {
    margin: 20px 0;
    animation: fadeUp 0.6s ease both;
}

.header h1 {
    font-family: 'Fraunces';
    font-size: clamp(2.5rem, 5vw + 1rem, 6rem); 
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
    max-width: 800px;          
    margin-bottom: 14px;
}

.header p {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── Main grid ── */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cards-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Cards ── */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 50px 48px;
    border: 1px solid black;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card h2 {
    font-family: 'Fraunces';
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.card .age-tag {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.card p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.3;
}

/* Key areas list */
.key-areas-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.key-areas-list li {
    font-size: 1.2rem;
    color: var(--text-mid);
    line-height: 1.55;
    padding-left: 16px;
    position: relative;
}

.key-areas-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1rem;
    line-height: 1.4;
}

/* ── Photo card ── */
.photo-card {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    max-height: 800px;         
    min-height: 360px;
    position: relative;
    animation: fadeUp 0.7s 0.15s ease both;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder when no real image */
.photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #c8dfc0 0%, #a8c49a 50%, #88aa7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #4a7a4a;
}

.photo-placeholder svg {
    opacity: 0.5;
}

.photo-placeholder span {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ── CTA banner ── */
.cta-banner {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px 40px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    animation: fadeUp 0.7s 0.3s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

.cta-text h3 {
    font-family: 'Fraunces';
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 18px rgba(232,113,74,0.35);
}

.btn-outline {
    background: white;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: rgba(232,113,74,0.07);
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.card:nth-child(1) { animation: fadeUp 0.6s 0.05s ease both; }
.card:nth-child(2) { animation: fadeUp 0.6s 0.15s ease both; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .container {
        padding: 32px 24px 56px;
    }

    .header p {
        font-size: 1.1rem;
    }

    .main-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Photo first on mobile so the page leads with something
       visual before the text-heavy cards */
    .photo-card {
        min-height: 260px;
        order: -1;
    }

    .card {
        padding: 32px 28px;
    }

    .card h2 {
        font-size: 1.9rem;
    }

    .key-areas-list li {
        font-size: 1.05rem;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .cta-text h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        width: 100%;
    }

    .btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 24px 18px 44px;
    }

    .header p {
        font-size: 1rem;
    }

    .card {
        padding: 24px 20px;
    }

    .card h2 {
        font-size: 1.6rem;
    }

    .card .age-tag {
        font-size: 0.9rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    .key-areas-list li {
        font-size: 0.95rem;
    }

    .photo-card {
        min-height: 200px;
    }

    .cta-text h3 {
        font-size: 1.6rem;
    }

    .btn {
        font-size: 1rem;
        padding: 11px 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}