/* ===================================================
   STYLE-NOVO.CSS — Página Institucional Neuropsicopedagoga
   =================================================== */

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

:root {
    /* Core Palette */
    --primary: #5E4D8E;
    --primary-dark: #5E4D8E;
    --primary-light: #A998D4;
    --primary-muted: #C8BFE2;

    --accent-gold: #C9A84C;
    --accent-gold-dark: #A88A34;
    --accent-gold-light: #E8D8A0;

    /* Surfaces */
    --bg-body: #F5F3FA;
    --bg-white: #FFFFFF;
    --bg-section-alt: #EDE9F5;
    --bg-hero: linear-gradient(145deg, #6B5B95 0%, #8B7AB8 40%, #A998D4 100%);
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-glass-border: rgba(255, 255, 255, 0.35);

    /* Text */
    --text-heading: #2E2545;
    --text-body: #3D3555;
    --text-muted: #6E6586;
    --text-on-dark: #F0ECF7;
    --text-white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(107, 91, 149, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 91, 149, 0.12);
    --shadow-lg: 0 8px 40px rgba(107, 91, 149, 0.18);
    --shadow-glow: 0 0 30px rgba(123, 104, 174, 0.25);

    /* Spacing */
    --section-py: 5.5rem;
    --container-max: 1140px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #F9F8FC;
    border-bottom: 1px solid rgba(200, 191, 226, 0.25);
    transition: box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gold);
    transition: width 0.3s var(--ease);
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-dark);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--accent-gold);
}

.nav-cta {
    background: var(--primary);
    color: var(--text-white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.3s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 104, 174, 0.35);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-hero);
    padding-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: heroFadeIn 1s var(--ease) forwards;
    opacity: 0;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-gold-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold-light);
}

.hero-text span {
    color: var(--accent-gold-light);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-on-dark);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease);
}

.btn-primary {
    background: var(--accent-gold);
    color: #2E2545;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFadeIn 1s 0.3s var(--ease) forwards;
    opacity: 0;
}

.hero-image img {
    width: 90%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ===================================================
   SECTION COMMON
   =================================================== */
.section {
    padding: var(--section-py) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-alt {
    background: var(--bg-section-alt);
}

/* ===================================================
   ABOUT / NEUROPSICOPEDAGOGIA
   =================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.about-list li .icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.check-list li .icon {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* ===================================================
   SIGNS / WHEN TO SEEK HELP
   =================================================== */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sign-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-light);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.sign-card .icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.sign-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.sign-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===================================================
   SERVICES
   =================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-muted), #EDE9F5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   PROCESS / HOW I WORK
   =================================================== */
.process-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.process-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.process-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-light);
    font-size: 1.1rem;
}

.process-item-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.process-item-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================
   ABOUT ME
   =================================================== */
.aboutme-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.aboutme-image {
    position: relative;
}

.aboutme-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.aboutme-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.aboutme-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.2rem;
}

.aboutme-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-body);
}

.aboutme-text .highlight-quote {
    font-style: italic;
    color: var(--primary-dark);
    border-left: 3px solid var(--accent-gold);
    padding-left: 16px;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}

/* ===================================================
   PUBLICATIONS / BOOKS
   =================================================== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.book-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.book-cover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EDE9F5 0%, #F5F3FA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    min-height: 320px;
}

.book-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.book-cover img {
    max-height: 280px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(46, 37, 69, 0.18), 0 2px 8px rgba(46, 37, 69, 0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.book-card:hover .book-cover img {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 12px 40px rgba(46, 37, 69, 0.25), 0 4px 12px rgba(201, 168, 76, 0.15);
}

.book-info {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.book-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary-light);
    transition: all 0.3s var(--ease);
    align-self: flex-start;
    cursor: pointer;
}

.btn-book:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(94, 77, 142, 0.3);
}

.books-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 1.25rem;
    padding: 4px 0;
}

.books-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}

.books-dot.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

/* ===================================================
   CTA / AGENDE
   =================================================== */
.cta-section {
    background: var(--bg-hero);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-on-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-contacts a {
    font-size: 1rem;
    color: var(--accent-gold-light);
    transition: color 0.25s var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-contacts a:hover {
    color: var(--text-white);
}

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.25s var(--ease);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-section-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--text-white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===================================================
   MAP
   =================================================== */
.map-section {
    padding: 0;
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
}

.map-address h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

.map-address p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* INTERACTIVE MAP CLASSES */
.map-addresses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-address-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.map-address-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.map-address-item.active {
    border-left-color: var(--accent-gold);
    background: linear-gradient(145deg, var(--bg-white) 0%, var(--bg-section-alt) 100%);
    box-shadow: var(--shadow-md);
}

.map-address-icon {
    font-size: 1.3rem;
    margin-top: 2px;
}

.map-address-details h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.map-address-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
    background: linear-gradient(135deg, #2E2545 0%, #3D3555 100%);
    color: var(--text-on-dark);
    padding: 1.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    font-size: 0.92rem;
    color: rgba(240, 236, 247, 0.7);
    line-height: 1.7;
    margin-top: 10px;
    max-width: 320px;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold-light);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(240, 236, 247, 0.7);
    transition: color 0.25s var(--ease);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(240, 236, 247, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(240, 236, 247, 0.5);
}

.footer-bottom a {
    color: rgba(240, 236, 247, 0.5);
    transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
    color: var(--text-white);
}

/* ===================================================
   WHATSAPP FLOAT
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ===================================================
   SITELINK LANDING PAGE
   =================================================== */

/* Simplified navbar for sitelink */
.sitelink-nav {
    gap: 24px !important;
}

/* Sitelink Hero */
.sitelink-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--bg-hero);
    padding-top: 72px;
    padding-bottom: 3rem;
    overflow: hidden;
    text-align: center;
}

.sitelink-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sitelink-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sitelink-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    animation: heroFadeIn 1s var(--ease) forwards;
    opacity: 0;
}

.sitelink-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.sitelink-hero h1 span {
    display: block;
    color: var(--accent-gold-light);
    margin-top: 0.25rem;
}

.sitelink-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-on-dark);
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Sitelink Prose Container */
.sitelink-prose {
    max-width: 680px;
    margin: 0 auto;
}

.sitelink-prose p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.sitelink-prose h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 2rem;
}

/* Sitelink Blockquotes */
.sitelink-quotes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 1.75rem 0;
}

.sitelink-quotes blockquote {
    background: var(--bg-white);
    border-left: 4px solid var(--primary-light);
    padding: 14px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sitelink-quotes blockquote:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

/* Sitelink Highlight Block */
.sitelink-highlight {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 28px;
    margin: 2rem 0;
    backdrop-filter: blur(8px);
}

.sitelink-highlight p {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.sitelink-highlight p:last-child {
    margin-bottom: 0;
}

/* Sitelink Emphasis Block */
.sitelink-emphasis {
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 2.5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sitelink-emphasis p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white) !important;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Sitelink Questions List */
.sitelink-questions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 1.75rem 0 2rem;
}

.sitelink-questions li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    padding: 16px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-size: 1.05rem;
    color: var(--text-heading);
    font-weight: 500;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sitelink-questions li::before {
    content: '❓';
    flex-shrink: 0;
    font-size: 1.2rem;
}

.sitelink-questions li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

/* Sitelink Reasons List */
.sitelink-reasons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 2rem 0;
}

.sitelink-reasons li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-light);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sitelink-reasons li .icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    margin-top: 2px;
}

.sitelink-reasons li span:last-child {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-body);
}

.sitelink-reasons li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

/* Sitelink Function Cards (brain functions) */
.sitelink-function-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-light);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.sitelink-function-card:last-child {
    margin-bottom: 0;
}

.sitelink-function-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.sitelink-function-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.sitelink-function-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1rem;
}

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

.sitelink-function-card .sitelink-highlight {
    margin: 1.5rem 0;
}

.sitelink-function-card .sitelink-reasons {
    margin: 1.25rem 0;
    gap: 10px;
}

.sitelink-function-card .sitelink-reasons li {
    padding: 14px 18px;
    border-left-width: 3px;
}

/* ===================================================
   SCROLL REVEAL ANIMATIONS
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   RESPONSIVE — TABLET
   =================================================== */
@media (max-width: 968px) {
    :root {
        --section-py: 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 420px;
        margin: 0 auto;
    }

    .about-grid,
    .aboutme-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        text-align: center;
    }

    .about-image img {
        max-width: 450px;
        margin: 0 auto;
    }

    .aboutme-image {
        text-align: center;
        order: -1;
    }

    .aboutme-image img {
        max-width: 380px;
        margin: 0 auto;
    }

    .aboutme-image::after {
        display: none;
    }

    .map-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .check-list {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin: 8px 24px;
        text-align: center;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    /* Books tablet */
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Sitelink tablet */
    .sitelink-hero h1 {
        font-size: 2.4rem;
    }

    .sitelink-prose h2 {
        font-size: 1.5rem;
    }
}

/* ===================================================
   RESPONSIVE — MOBILE
   =================================================== */
@media (max-width: 640px) {

    /* Sitelink mobile */
    .sitelink-hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .sitelink-hero h1 {
        font-size: 1.85rem;
    }

    .sitelink-hero-subtitle {
        font-size: 1rem;
    }

    .sitelink-prose p {
        font-size: 1rem;
    }

    .sitelink-prose h2 {
        font-size: 1.35rem;
    }

    .sitelink-highlight {
        padding: 18px 20px;
    }

    .sitelink-emphasis {
        padding: 2rem 1.5rem;
    }

    .sitelink-emphasis p {
        font-size: 1.05rem;
    }

    .sitelink-questions li {
        font-size: 0.95rem;
        padding: 14px 18px;
    }

    .sitelink-reasons li {
        padding: 16px 18px;
    }
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 28px 22px;
    }

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

    .about-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-list li {
        font-size: 0.9rem;
        gap: 8px;
        align-items: flex-start;
    }

    .about-list li .icon {
        font-size: 1rem;
        line-height: 1.6;
    }

    .check-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .check-list li {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.7rem;
    }

    .books-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 8px;
        max-width: 100%;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .books-grid::-webkit-scrollbar {
        display: none;
    }

    .book-card {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
    }

    .book-cover {
        min-height: 240px;
        padding: 1.5rem 1rem;
    }

    .book-cover img {
        max-height: 200px;
    }

    .books-dots {
        display: flex;
    }

    .map-container iframe {
        height: 280px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================================
   ACCESSIBILITY
   =================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Performance */
.hero-image img,
.about-image img,
.aboutme-image img,
.whatsapp-float {
    will-change: transform;
}