/* ========================================
   FSPR - Feeding Speech PR
   Mobile First
   ======================================== */

:root {
    --teal: #2DB5A0;
    --orange: #F58220;
    --lime: #C5D92D;
    --lime-dark: #9BB523;
    --lime-bg: rgba(197, 217, 45, 0.12);
    --navy: #2D2E6B;
    --coral: #E84D3D;
    --white: #FFFFFF;
    --light-bg: #FAFDE8;
    --text-dark: #2D2E6B;
    --text-light: #555;
    --shadow: 0 2px 20px rgba(45, 46, 107, 0.08);
    --shadow-hover: 0 8px 30px rgba(45, 46, 107, 0.15);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Nunito', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* === HEADER (mobile base) === */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; background: var(--white);
    box-shadow: var(--shadow);
}

.header .container {
    display: flex; align-items: center;
    justify-content: space-between; height: 70px;
}

.header__logo img { height: 50px; width: auto; }

.header__nav {
    position: fixed; top: 70px; left: 0; width: 100%;
    background: var(--white); flex-direction: column;
    padding: 24px; gap: 20px; box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform var(--transition);
    z-index: 999; display: flex;
}

.header__nav.open { transform: translateY(0); }

.header__links {
    display: flex; flex-direction: column;
    align-items: center; gap: 18px;
}

.header__links a {
    font-weight: 700; font-size: 1.05rem; color: var(--navy);
    position: relative; padding: 4px 0;
}

.header__links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px; background: var(--lime);
    border-radius: 2px; transition: width var(--transition);
}

.header__links a:hover::after,
.header__links a.active::after { width: 100%; }

.lang-toggle {
    display: flex; background: var(--light-bg); border-radius: 50px;
    overflow: hidden; border: 2px solid var(--lime);
}

.lang-toggle button {
    border: none; background: transparent; padding: 6px 16px;
    font-family: 'Nunito', sans-serif; font-weight: 800;
    font-size: 0.85rem; cursor: pointer; color: var(--navy);
    transition: all var(--transition);
}

.lang-toggle button.active { background: var(--lime); color: var(--navy); }

.header__menu-btn {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}

.header__menu-btn span {
    display: block; width: 26px; height: 3px;
    background: var(--navy); border-radius: 3px;
    transition: all var(--transition);
}

/* === HERO (mobile base) === */
.hero {
    padding: 70px 0 0;
    position: relative; overflow: hidden;
    background: var(--white);
}

.hero::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/img/hero-bg.png') no-repeat bottom center;
    background-size: 100% auto;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero__center {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding-bottom: 30px;
}

.hero__logo-center { margin-bottom: 0; }
.hero__logo-center img { max-height: 280px; width: auto; }

.hero__title {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.3rem; font-weight: 400;
    line-height: 1.2; margin: 0 0 4px; color: var(--navy);
}

.hero__title span { color: var(--lime-dark); }

.hero__text {
    font-size: 0.95rem; color: var(--text-light);
    margin: 0; line-height: 1.6; padding: 0 8px;
}

/* Buttons bar below hero */
.hero__buttons-bar {
    background: var(--white);
    padding: 16px 0 20px;
    text-align: center;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-family: 'Nunito', sans-serif; font-weight: 800;
    font-size: 0.95rem; border: none; cursor: pointer;
    transition: all var(--transition);
}

.btn--primary { background: var(--lime); color: var(--navy); }
.btn--primary:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197, 217, 45, 0.4); }

.btn--secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: #e0741a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 130, 32, 0.35); }

/* === SECTIONS === */
.section { padding: 60px 0; }
.section--alt { background: var(--light-bg); }

.section__header { text-align: center; margin-bottom: 40px; }

.section__label {
    display: inline-block; color: var(--lime-dark); font-weight: 800;
    font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 10px;
}

.section__title {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.6rem; font-weight: 400;
    color: var(--navy); margin-bottom: 14px;
}

.section__subtitle {
    font-size: 1rem; color: var(--text-light);
    max-width: 600px; margin: 0 auto;
}

/* === SERVICES === */
.services__layout {
    display: flex; flex-direction: column; gap: 40px;
}

.services__list {
    display: flex; flex-direction: column; gap: 28px;
}

.service-item {
    display: flex; align-items: flex-start; gap: 14px;
}

.service-item__number {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1.6rem; font-weight: 400;
    color: var(--lime); line-height: 1; flex-shrink: 0;
    min-width: 36px;
}

.service-item__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    object-fit: contain;
}

.service-item__content { flex: 1; }

.service-item__title {
    font-family: 'Bagel Fat One', cursive;
    font-size: 1rem; font-weight: 400;
    color: var(--navy); margin-bottom: 4px;
}

.service-item__text {
    font-size: 0.88rem; color: var(--text-light); line-height: 1.7;
}

.services__photo {
    display: flex; justify-content: center;
}

.services__photo img {
    width: 100%; height: auto;
    object-fit: contain;
}

/* === AGES BANNER === */
.ages-banner {
    margin-top: 40px; background: var(--lime);
    border-radius: var(--radius); padding: 28px 20px; text-align: center;
}

.ages-banner__title {
    font-family: 'Bagel Fat One', cursive; color: var(--navy);
    font-size: 1.1rem; font-weight: 400; margin-bottom: 20px;
}

.ages-banner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ages-banner__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.ages-banner__range {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    font-size: 1.1rem; font-weight: 900;
}

.ages-banner__label { color: var(--navy); font-size: 0.85rem; font-weight: 700; }

/* === ABOUT === */
.about__content { display: flex; flex-direction: column; text-align: center; gap: 30px; }

.about__image { max-width: 280px; margin: 0 auto; }

.about__image-wrapper {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-hover); position: relative;
}

.about__image-wrapper::after {
    content: ''; position: absolute; bottom: -12px; right: -12px;
    width: 80px; height: 80px; border: 4px solid var(--lime);
    border-radius: var(--radius); z-index: -1;
}

.about__image img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-radius: var(--radius); background: var(--light-bg);
}

.about__info { flex: 1; }
.about__info .section__label { text-align: center; }
.about__info .section__title { text-align: center; font-size: 1.5rem; }

.about__text {
    font-size: 0.95rem; color: var(--text-light);
    margin-bottom: 16px; line-height: 1.8; text-align: left;
}

.credentials { margin-top: 8px; }

.credentials__title {
    font-family: 'Bagel Fat One', cursive; font-size: 1rem;
    font-weight: 400; color: var(--lime-dark); margin-bottom: 14px;
}

.credentials__list { display: flex; flex-direction: column; gap: 10px; }

.credentials__item {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 0.9rem; color: var(--navy);
}

.credentials__icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--lime); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* === RESOURCES === */
.resources__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.resource-card {
    background: var(--white); border-radius: var(--radius);
    padding: 24px 20px; box-shadow: var(--shadow);
    transition: all var(--transition); display: flex;
    flex-direction: column; border-left: 4px solid var(--lime);
}

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

.resource-card__category {
    display: inline-block; background: var(--lime-bg); color: var(--lime-dark);
    font-size: 0.75rem; font-weight: 800; padding: 4px 12px;
    border-radius: 50px; margin-bottom: 12px; align-self: flex-start;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.resource-card__category--speech { background: rgba(45, 181, 160, 0.12); color: var(--teal); }
.resource-card__category--dev { background: rgba(45, 46, 107, 0.1); color: var(--navy); }

.resource-card__title {
    font-family: 'Bagel Fat One', cursive; font-size: 1rem;
    font-weight: 400; color: var(--navy); margin-bottom: 10px; line-height: 1.4;
}

.resource-card__text { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; flex: 1; }

.resource-card__link { font-weight: 800; font-size: 0.88rem; color: var(--lime-dark); transition: color var(--transition); }
.resource-card__link:hover { color: var(--orange); }

.resources__cta {
    text-align: center; margin-top: 36px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}

.resources__cta p { font-size: 0.95rem; color: var(--text-light); font-weight: 600; }

/* === CONTACT === */
.contact__call-banner { margin-bottom: 30px; }

.contact__call-banner-inner {
    background: var(--lime); border-radius: var(--radius);
    padding: 24px 20px; display: flex; flex-direction: column;
    align-items: center; text-align: center; gap: 16px;
}

.contact__call-label { font-size: 0.85rem; color: var(--navy); font-weight: 700; opacity: 0.7; }

.contact__call-number { font-size: 1.5rem; font-weight: 900; color: var(--navy); letter-spacing: 1px; }
.contact__call-number:hover { color: var(--text-dark); }

.contact__call-banner .btn { background: var(--navy); color: var(--white); }
.contact__call-banner .btn:hover { background: var(--orange); color: var(--white); }

.contact__content { display: grid; grid-template-columns: 1fr; gap: 30px; }

.contact__info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }

.contact__info-icon {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--lime); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.contact__info-label { font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.contact__info-value { font-size: 0.9rem; color: var(--text-light); }
.contact__info-value a { color: var(--lime-dark); font-weight: 600; }
.contact__info-value a:hover { text-decoration: underline; }

.contact__map { margin-top: 8px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.contact__form {
    background: var(--white); border-radius: var(--radius);
    padding: 24px 20px; box-shadow: var(--shadow);
}

.contact__form-title {
    font-family: 'Bagel Fat One', cursive; font-size: 1.1rem;
    font-weight: 400; color: var(--navy); margin-bottom: 20px;
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 5px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 11px 16px; border: 2px solid #e8e8f0;
    border-radius: 8px; font-family: 'Nunito', sans-serif;
    font-size: 0.95rem; color: var(--text-dark);
    transition: border-color var(--transition); background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--lime); }

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

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

/* === FOOTER === */
.footer { background: var(--navy); color: var(--white); padding: 40px 0 20px; }

.footer__content {
    display: grid; grid-template-columns: 1fr;
    gap: 30px; margin-bottom: 30px; text-align: center;
}

.footer__brand img { height: 70px; width: auto; object-fit: contain; margin: 0 auto 12px; }
.footer__brand-text { font-size: 0.88rem; opacity: 0.75; line-height: 1.7; }

.footer__heading {
    font-family: 'Bagel Fat One', cursive; font-size: 1rem;
    font-weight: 400; margin-bottom: 16px; color: var(--lime);
}

.footer__links a { display: block; font-size: 0.88rem; opacity: 0.75; margin-bottom: 8px; transition: opacity var(--transition); }
.footer__links a:hover { opacity: 1; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px; text-align: center; font-size: 0.82rem; opacity: 0.6;
}

/* === SCROLL TOP === */
.scroll-top {
    position: fixed; bottom: 20px; right: 20px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--lime); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 217, 45, 0.4);
    opacity: 0; visibility: hidden;
    transition: all var(--transition); z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--lime-dark); transform: translateY(-3px); }

/* ==========================================
   TABLET (min-width: 768px)
   ========================================== */
@media (min-width: 768px) {
    .container { padding: 0 24px; }

    .header .container { height: 80px; }
    .header__logo img { height: 60px; }

    .hero { padding: 80px 0 0; }
    .hero__logo-center img { max-height: 340px; }
    .hero__title { font-size: 1.7rem; }
    .hero__text { font-size: 1rem; }
    .hero__center { padding-bottom: 40px; }
    .hero__buttons { flex-direction: row; justify-content: center; gap: 16px; }

    .btn { padding: 14px 32px; font-size: 1rem; }

    .section { padding: 80px 0; }
    .section__title { font-size: 2rem; }

    .services__layout { flex-direction: row; align-items: stretch; gap: 40px; }
    .services__list { flex: 1; gap: 24px; }
    .services__photo { flex: 0 0 280px; display: flex; align-items: center; }
    .services__photo img { width: 100%; height: auto; object-fit: contain; }
    .service-item__icon { width: 44px; height: 44px; }

    .ages-banner { padding: 36px; margin-top: 50px; }
    .ages-banner__grid { grid-template-columns: repeat(4, 1fr); }
    .ages-banner__range { width: 60px; height: 60px; }

    .about__content { flex-direction: row; text-align: left; gap: 50px; align-items: flex-start; }
    .about__image { max-width: none; flex: 0 0 300px; margin: 0; }
    .about__info .section__label { text-align: left; }
    .about__info .section__title { text-align: left; font-size: 1.8rem; }

    .resources__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .resource-card { padding: 28px 24px; }

    .contact__call-banner-inner {
        flex-direction: row; justify-content: space-between;
        text-align: left; padding: 28px 32px;
    }
    .contact__call-number { font-size: 1.8rem; }
    .contact__content { grid-template-columns: 1fr 1fr; gap: 40px; }
    .contact__form { padding: 32px; }

    .footer { padding: 50px 0 24px; }
    .footer__content { grid-template-columns: 1fr 1fr; text-align: left; gap: 40px; }
    .footer__brand img { margin: 0 0 12px; }
}

/* ==========================================
   DESKTOP (min-width: 1024px)
   ========================================== */
@media (min-width: 1024px) {
    .header__menu-btn { display: none; }

    .header__nav {
        position: static; transform: none;
        flex-direction: row; padding: 0; gap: 32px;
        box-shadow: none; width: auto;
    }

    .header__links { flex-direction: row; gap: 28px; }
    .header__links a { font-size: 0.95rem; }

    .hero { padding: 90px 0 0; }
    .hero__logo-center img { max-height: 400px; }
    .hero__title { font-size: 2rem; }
    .hero__text { font-size: 1.02rem; max-width: 560px; }
    .hero__center { max-width: 650px; margin: 0 auto; padding-bottom: 50px; }
    .hero__buttons-bar { padding: 20px 0 24px; }

    .section { padding: 90px 0; }
    .section__header { margin-bottom: 60px; }
    .section__title { font-size: 2.4rem; }

    .services__layout { gap: 60px; }
    .services__list { gap: 28px; }
    .services__photo { flex: 0 0 380px; }
    .service-item__number { font-size: 1.8rem; min-width: 40px; }
    .service-item__icon { width: 48px; height: 48px; }
    .service-item__title { font-size: 1.1rem; }
    .service-item__text { font-size: 0.92rem; }

    .ages-banner { padding: 40px; margin-top: 60px; }
    .ages-banner__title { font-size: 1.3rem; }
    .ages-banner__range { width: 64px; height: 64px; font-size: 1.3rem; }

    .about__content { gap: 60px; }
    .about__image { flex: 0 0 400px; }
    .about__image-wrapper::after { width: 120px; height: 120px; bottom: -16px; right: -16px; }
    .about__info .section__title { font-size: 2rem; }
    .about__text { font-size: 1rem; margin-bottom: 20px; }
    .credentials__title { font-size: 1.05rem; }
    .credentials__item { font-size: 0.95rem; }
    .credentials__icon { width: 32px; height: 32px; }

    .resources__grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .resource-card { padding: 32px 28px; }
    .resource-card__title { font-size: 1.05rem; }
    .resources__cta { margin-top: 50px; }

    .contact__call-banner { margin-bottom: 50px; }
    .contact__call-banner-inner { padding: 32px 40px; }
    .contact__call-number { font-size: 2rem; }
    .contact__content { gap: 50px; }
    .contact__form { padding: 40px; }
    .contact__info-icon { width: 48px; height: 48px; }

    .footer { padding: 60px 0 24px; }
    .footer__content { grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
    .footer__brand img { height: 80px; }
    .footer__brand-text { max-width: 320px; }

    .scroll-top { bottom: 30px; right: 30px; width: 48px; height: 48px; }
}
