/* ============================================
   MatelooKids — Sub-Pages Stylesheet
   Playful, organic, kid-friendly design
   ============================================ */

/* Vague coral entre vidéo et tarifs (lorient.html) */
#video.hero::after {
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,50 C240,100 480,0 720,50 C960,100 1200,0 1440,50 L1440,100 L0,100 Z' fill='%230099FF'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ===== KEYFRAMES ===== */
@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pop-in {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -8px) rotate(5deg); }
    50% { transform: translate(-5px, -15px) rotate(-3deg); }
    75% { transform: translate(-12px, -5px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes path-dash {
    to { stroke-dashoffset: 0; }
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
    position: relative;
    padding: 160px 2rem 120px;
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 35%, var(--ocean-light) 70%, var(--ocean-surface) 100%);
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 85%, rgba(38,198,160,0.2) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 15%, rgba(171,71,188,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 50% 50%, rgba(255,213,79,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C180,100 360,0 540,50 C720,100 900,10 1080,60 C1200,90 1320,30 1440,50 L1440,120 L0,120 Z' fill='%23FFF3E0'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 2;
}

/* Floating decorative elements in hero */
.page-hero .hero-deco-float {
    position: absolute;
    font-size: 2rem;
    opacity: 0.25;
    animation: drift 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}
.page-hero .hero-deco-float:nth-child(1) { top: 20%; left: 8%; animation-delay: 0s; font-size: 2.5rem; }
.page-hero .hero-deco-float:nth-child(2) { top: 35%; right: 10%; animation-delay: 2s; font-size: 1.8rem; }
.page-hero .hero-deco-float:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 4s; font-size: 2rem; }
.page-hero .hero-deco-float:nth-child(4) { top: 15%; right: 20%; animation-delay: 1s; font-size: 1.5rem; }
.page-hero .hero-deco-float:nth-child(5) { bottom: 25%; right: 8%; animation-delay: 3s; font-size: 2.2rem; }

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}
.page-hero-emoji {
    font-size: 5rem;
    margin-bottom: 16px;
    display: block;
    animation: bob 2.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}
.page-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 16px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.25);
    letter-spacing: -0.5px;
}
.page-hero p {
    font-size: 1.25rem;
    opacity: 0.92;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

/* ===== PAGE CONTENT ===== */
.page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 2rem;
}

/* ===== ACTIVITY PAGE STYLES ===== */
.activity-section {
    padding: 80px 2rem;
    position: relative;
    overflow: hidden;
}
.activity-section::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}
.activity-section:nth-child(odd)::before {
    background: var(--coral);
    top: -100px; right: -100px;
}
.activity-section:nth-child(even)::before {
    background: var(--purple-fun);
    bottom: -100px; left: -100px;
}
.activity-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.activity-grid.reverse {
    direction: rtl;
}
.activity-grid.reverse > * {
    direction: ltr;
}

/* Blob-shaped image container */
.activity-image {
    position: relative;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: 
        0 12px 40px rgba(11,61,107,0.18),
        inset 0 0 0 4px rgba(255,255,255,0.15);
    transition: border-radius 0.6s ease, transform 0.4s ease;
}
.activity-image:hover {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: scale(1.02);
}
.activity-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.activity-image:hover img {
    transform: scale(1.08);
}
.activity-image::after {
    display: none;
}

.activity-text h2 {
    font-size: 2.2rem;
    color: var(--ocean-deep);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.activity-text h2::after {
    display: none;
}
.activity-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Playful pill-shaped feature tags */
.activity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.activity-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ocean-deep);
    border: 2px solid rgba(255,112,67,0.15);
    transition: var(--transition);
    cursor: default;
}
.activity-feature:hover {
    transform: translateY(-3px) rotate(-1deg);
    border-color: var(--coral);
    box-shadow: 0 6px 20px rgba(255,112,67,0.15);
}
.activity-feature .feat-icon {
    font-size: 1.3rem;
}

/* ===== BIRTHDAY PAGE — PLAYFUL REDESIGN ===== */
.birthday-page-section {
    padding: 80px 2rem;
    position: relative;
    overflow: hidden;
}

/* ---- How it works: connected path steps ---- */
.birthday-steps-wrapper {
    text-align: center;
    margin-bottom: 20px;
}
.birthday-steps-wrapper h2 {
    font-size: 2.4rem;
    color: var(--ocean-deep);
    position: relative;
    display: inline-block;
}
.birthday-steps-wrapper h2::after {
    content: '🎉';
    position: absolute;
    top: -10px; right: -40px;
    font-size: 1.5rem;
    animation: wiggle 2s ease-in-out infinite;
}
.birthday-steps-wrapper > p {
    color: var(--text-light);
    max-width: 500px;
    margin: 12px auto 0;
    font-size: 1.05rem;
}

.birthday-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    position: relative;
}

/* Connecting dotted line between steps */
.birthday-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--coral) 0px, var(--coral) 12px,
        transparent 12px, transparent 22px
    );
    border-radius: 4px;
    z-index: 0;
}

.birthday-step {
    text-align: center;
    padding: 30px 24px 28px;
    background: var(--white);
    border-radius: 24px;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 300px;
    border: 3px solid transparent;
    transition: var(--transition);
}
.birthday-step:nth-child(1) { border-color: var(--coral); }
.birthday-step:nth-child(2) { border-color: var(--seafoam); }
.birthday-step:nth-child(3) { border-color: var(--purple-fun); }

.birthday-step:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.step-number {
    width: 52px; height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--white);
    position: relative;
}
.birthday-step:nth-child(1) .step-number { background: var(--coral); box-shadow: 0 6px 20px rgba(255,112,67,0.35); }
.birthday-step:nth-child(2) .step-number { background: var(--seafoam); box-shadow: 0 6px 20px rgba(38,198,160,0.35); }
.birthday-step:nth-child(3) .step-number { background: var(--purple-fun); box-shadow: 0 6px 20px rgba(171,71,188,0.35); }

/* Pulsing ring around step number */
.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.3;
    animation: wiggle 3s ease-in-out infinite;
}
.birthday-step:nth-child(1) .step-number::after { border-color: var(--coral); }
.birthday-step:nth-child(2) .step-number::after { border-color: var(--seafoam); }
.birthday-step:nth-child(3) .step-number::after { border-color: var(--purple-fun); }

.step-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
    animation: bob 3s ease-in-out infinite;
}
.birthday-step:nth-child(2) .step-emoji { animation-delay: 0.5s; }
.birthday-step:nth-child(3) .step-emoji { animation-delay: 1s; }

.birthday-step h3 {
    font-size: 1.15rem;
    color: var(--ocean-deep);
    margin-bottom: 8px;
}
.birthday-step p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---- Formulas: playful ticket-style cards ---- */
.birthday-formulas {
    margin: 50px 0;
}
.birthday-formulas > h2 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--ocean-deep);
    margin-bottom: 50px;
}
.formula-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.formula-card {
    background: var(--white);
    border-radius: 28px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(11,61,107,0.1);
    transition: var(--transition);
    position: relative;
}
.formula-card:hover {
    transform: translateY(-10px) rotate(-0.5deg);
    box-shadow: 0 20px 50px rgba(11,61,107,0.15);
}

/* Popular badge — ribbon style */
.formula-card.popular {
    border: none;
    box-shadow: 0 8px 32px rgba(255,112,67,0.2);
}
.formula-card.popular::before {
    content: none;
}
.formula-card.popular::after {
    content: '';
    position: absolute;
    top: 45px; right: -8px;
    border: 4px solid transparent;
    border-left-color: var(--coral-dark);
    border-top-color: var(--coral-dark);
}

/* Wavy formula header */
.formula-header {
    padding: 28px 24px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    color: var(--white);
    border-radius: 28px 28px 0 0;
    position: relative;
    overflow: hidden;
}
.formula-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,213,79,0.08) 0%, transparent 50%);
}
.formula-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30' preserveAspectRatio='none'%3E%3Cpath d='M0,10 C100,30 200,0 300,15 C350,22 380,8 400,12 L400,30 L0,30 Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.formula-header h3 {
    font-size: 1.6rem;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}
.formula-header .formula-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.formula-body {
    padding: 20px 24px 28px;
}
.formula-body ul {
    margin-bottom: 20px;
}
.formula-body ul li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 2px dotted rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}
.formula-body ul li:last-child {
    border-bottom: none;
}
.formula-body ul li::before {
    content: '✓';
    color: var(--seafoam);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.formula-note {
    background: linear-gradient(135deg, var(--sand) 0%, rgba(255,213,79,0.15) 100%);
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    border: 2px dashed rgba(255,112,67,0.2);
    position: relative;
}

/* ---- Options: colorful bubble grid ---- */
.birthday-options {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(160deg, var(--sand) 0%, rgba(255,213,79,0.12) 50%, var(--sand-dark) 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.birthday-options::before {
    content: '🎁';
    position: absolute;
    top: -15px; right: 30px;
    font-size: 3rem;
    opacity: 0.15;
    transform: rotate(15deg);
}
.birthday-options h2 {
    text-align: center;
    color: var(--ocean-deep);
    margin-bottom: 30px;
    font-size: 2rem;
}
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ocean-deep);
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 2px solid transparent;
}
.option-item:hover {
    transform: translateX(4px);
    border-color: var(--coral);
    box-shadow: 0 6px 20px rgba(255,112,67,0.12);
}
.option-item > span:first-child {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.option-item .opt-price {
    margin-left: auto;
    color: var(--coral);
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
    background: rgba(255,112,67,0.08);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ---- Conditions: scroll/parchment style ---- */
.birthday-conditions {
    margin: 50px 0;
    padding: 36px 36px 36px 48px;
    background: 
        linear-gradient(135deg, #FFF8EE 0%, #FFF3E0 50%, #FFE8CC 100%);
    border-radius: 24px;
    border: none;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 0 0 3px rgba(255,112,67,0.12);
    position: relative;
    overflow: hidden;
}
.birthday-conditions::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 6px;
    background: linear-gradient(180deg, var(--coral) 0%, var(--sun) 50%, var(--coral) 100%);
    border-radius: 6px 0 0 6px;
}
.birthday-conditions::after {
    content: '📜';
    position: absolute;
    top: 20px; right: 24px;
    font-size: 2.5rem;
    opacity: 0.12;
}
.birthday-conditions h3 {
    color: var(--ocean-deep);
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.birthday-conditions ol {
    padding-left: 0;
    list-style: none;
    counter-reset: cond;
}
.birthday-conditions ol li {
    padding: 10px 0 10px 44px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    counter-increment: cond;
}
.birthday-conditions ol li::before {
    content: counter(cond);
    position: absolute;
    left: 0; top: 8px;
    width: 30px; height: 30px;
    background: var(--coral);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(255,112,67,0.25);
}
.birthday-conditions ol li + li {
    border-top: 2px dotted rgba(0,0,0,0.06);
}

/* ===== MERCREDI SPECIAL SECTION ===== */
.mercredi-highlight {
    background: linear-gradient(135deg, var(--coral) 0%, #FF8A65 50%, var(--sun) 100%);
    color: var(--white);
    padding: 30px 28px;
    border-radius: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.mercredi-highlight::before {
    content: '🎉';
    position: absolute;
    bottom: -10px; right: 20px;
    font-size: 5rem;
    opacity: 0.12;
}
.mercredi-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.mercredi-highlight p {
    opacity: 0.95;
    line-height: 1.7;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 2rem 80px;
}
.legal-content h2 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 44px 0 16px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}
.legal-content h2::after {
    display: none;
}
.legal-content h2:first-child,
.legal-content > p:first-child + h2 {
    margin-top: 0;
}
.legal-content h3 {
    font-size: 1rem;
    color: #1a1a1a;
    margin: 30px 0 12px;
}
.legal-content h4 {
    font-size: 0.95rem;
    color: #1a1a1a;
    margin: 20px 0 10px;
}
.legal-content p {
    color: #444444;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-content ul li,
.legal-content ol li {
    color: #444444;
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.legal-content a {
    color: var(--coral);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255,112,67,0.3);
    transition: var(--transition);
}
.legal-content a:hover {
    color: var(--coral-dark);
    text-decoration-color: var(--coral);
}
.legal-content strong {
    color: var(--text-dark);
}

/* ===== CTA SECTION (sub-pages) ===== */
.page-cta-section {
    padding: 70px 2rem;
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 60%, var(--ocean-light) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-cta-section::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C360,60 720,0 1080,30 C1260,45 1380,15 1440,25 L1440,0 L0,0 Z' fill='%23FFF3E0'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: 1;
}
.page-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.page-cta-section p {
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}
.page-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.page-cta-buttons .btn {
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 8px;
}

/* ===== SUPPRESS ACTIVITIES WAVE ===== */
.activities::before {
    display: none;
}

/* ===== NAVBAR SPACING FIX ===== */
.nav-links {
    gap: 1.6rem;
}
.nav-links a,
.nav-dropdown > a {
    white-space: nowrap;
}

/* ===== NAVBAR MON COMPTE ===== */
.nav-account {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0099FF !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-account:hover {
    opacity: 0.75;
}
.nav-account::after {
    display: none !important;
}

/* ===== NAVBAR DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    cursor: pointer;
}
.nav-dropdown > a::before {
    display: none;
}
.nav-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--ocean-deep);
    border-radius: 16px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    z-index: 1001;
    border: 2px solid rgba(255,255,255,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    font-size: 0.92rem;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    border-radius: 8px;
    margin: 0 6px;
}
.nav-dropdown-menu a:hover {
    background: rgba(255,255,255,0.12);
    color: var(--sun);
    transform: translateX(4px);
}
.nav-dropdown-menu a::after {
    display: none !important;
}

/* ===== RESPONSIVE SUB-PAGES ===== */
@media (max-width: 768px) {
    .page-hero { padding: 140px 1rem 100px; }
    .page-hero h1 { font-size: 2.2rem; }
    .page-hero-emoji { font-size: 3.5rem; }
    .page-hero .hero-deco-float { display: none; }

    .activity-grid { grid-template-columns: 1fr; gap: 30px; }
    .activity-grid.reverse { direction: ltr; }
    .activity-image { border-radius: 24px; }
    .activity-image:hover { border-radius: 24px; }
    .activity-image img { height: 280px; }
    .activity-image::after { display: none; }

    .birthday-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .birthday-steps::before { display: none; }
    .birthday-step { max-width: 100%; }

    .formula-grid { grid-template-columns: 1fr; }
    .options-grid { grid-template-columns: 1fr; }

    .birthday-conditions { padding: 28px 20px 28px 36px; }

    .legal-content { padding: 40px 1rem 60px; }
    .legal-content h2 { font-size: 1rem; }
    .page-content { padding: 50px 1rem; }

    .page-cta-buttons .btn { width: 100%; text-align: center; }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 12px;
        border: none;
        margin-top: 8px;
        padding: 8px 0;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .nav-dropdown-menu a { margin: 0; }
}

@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.8rem; }
    .page-hero p { font-size: 1rem; }
    .birthday-steps-wrapper h2 { font-size: 1.8rem; }
    .birthday-steps-wrapper h2::after { display: none; }
    .birthday-formulas > h2 { font-size: 1.8rem; }
    .birthday-options { padding: 24px 16px; border-radius: 24px; }
    .option-item { border-radius: 20px; padding: 12px 14px; }
}
