/* 
   ----------------------------------------------------------------
   PRELOADER
   ----------------------------------------------------------------
*/

/* --- CUSTOM NOTIFICATIONS (TOAST) --- */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary);
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    min-width: 320px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    overflow: hidden;
}

.toast.active {
    transform: translateX(0);
}

.toast__content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast__icon {
    font-size: 24px;
    color: var(--primary);
}

.toast__title {
    display: block;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-size: 1.1rem;
}

.toast__text {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 2px 0 0 0;
}

.toast__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--primary);
    transform-origin: left;
}

.toast.active .toast__progress {
    animation: progress 4s linear forwards;
}

@keyframes progress {
    100% { transform: scaleX(0); }
}

.toast--error { border-left-color: #ef4444; }
.toast--error .toast__icon { color: #ef4444; }
.toast--error .toast__progress { background: #ef4444; }

/* --- FORM VALIDATION --- */
.form-group { position: relative; margin-bottom: 20px; }
.input-error { border-color: #ef4444 !important; background-color: rgba(239, 68, 68, 0.05) !important; }
.error-msg {
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    display: none;
}
.input-error + .error-msg { display: block; }

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF; /* Force white initially for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.dark-mode .loader-wrapper {
    background: #0F172A;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(79, 70, 229, 0.1);
    border-top-color: #4F46E5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader::after {
    content: 'Q';
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #4F46E5;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* 
   ----------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ----------------------------------------------------------------
*/
:root {
    /* Colors - Light Mode */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --accent: #F59E0B;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-main: #FFFFFF;
    --bg-offset: #F9FAFB;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --black: #000000;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --fs-body: 18px;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --radius: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Dark Mode Variables */
.dark-mode {
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --bg-main: #0F172A;
    --bg-offset: #1E293B;
    --border: #334155;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 
   ----------------------------------------------------------------
   BASE STYLES
   ----------------------------------------------------------------
*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 
   ----------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------------
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    min-height: 48px; /* Accessibility */
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.btn--outline {
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-main);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn--block {
    width: 100%;
}

/* 
   ----------------------------------------------------------------
   HEADER
   ----------------------------------------------------------------
*/
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    transition: var(--transition);
}

.dark-mode .header {
    background: rgba(15, 23, 42, 0.8);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo__icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.logo__text span {
    color: var(--primary);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
}

.sun-icon { display: block; }
.moon-icon { display: none; }

.dark-mode .sun-icon { display: none; }
.dark-mode .moon-icon { display: block; }

/* 
   ----------------------------------------------------------------
   HERO SECTION
   ----------------------------------------------------------------
*/
.hero {
    padding: 120px 0 80px;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.05), transparent);
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero__subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero__floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.dark-mode .hero__floating-card {
    background: var(--bg-offset);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 
   ----------------------------------------------------------------
   TRUST SECTION
   ----------------------------------------------------------------
*/
.trust {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust__title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item img {
    height: 35px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
}

.logo-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* 
   ----------------------------------------------------------------
   SERVICES SECTION
   ----------------------------------------------------------------
*/
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--primary);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.service-card {
    background: var(--bg-offset);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1);
    transition: var(--transition);
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card__text {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-card__list {
    margin-bottom: 30px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.service-card__list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card__list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

.service-card__link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* 
   ----------------------------------------------------------------
   METHODOLOGY SECTION
   ----------------------------------------------------------------
*/
.method-steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.method-step {
    flex: 1;
    position: relative;
    padding-top: 40px;
}

.method-step__number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
}

.method-step__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.method-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 
   ----------------------------------------------------------------
   ABOUT SECTION
   ----------------------------------------------------------------
*/
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image img {
    border-radius: 24px;
    width: 100%;
}

.about__experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.about__experience-badge span {
    font-size: 2.5rem;
    line-height: 1;
}

.about__text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about__signature {
    margin-top: 30px;
}

/* 
   ----------------------------------------------------------------
   LEAD MAGNET (QUIZ)
   ----------------------------------------------------------------
*/
.lead-magnet {
    background: var(--bg-offset);
}

.lead-card {
    background: var(--bg-main);
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.lead-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.lead-card p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.quiz-container {
    min-height: 300px;
    margin-bottom: 40px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
}

.quiz-opt {
    padding: 15px;
    background: var(--bg-offset);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-opt:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.quiz-opt.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.quiz-progress {
    margin-top: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-offset);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
}

.result-display {
    text-align: center;
}

.result-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

/* 
   ----------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------
*/
.footer {
    padding: 80px 0 30px;
    background: var(--bg-offset);
    border-top: 1px solid var(--border);
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer__brand p {
    color: var(--text-muted);
    margin: 20px 0;
    font-size: 0.95rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-main);
}

.dark-mode .social-links a {
    background: var(--bg-main);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

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

.footer__col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer__col ul li a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 
   ----------------------------------------------------------------
   RESPONSIVE DESIGN (Mobile-First)
   ----------------------------------------------------------------
*/
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    
    .header__actions .btn--header { display: none; }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 40px;
        height: calc(100vh - 80px);
        transform: translateX(100%);
        transition: var(--transition);
        border-top: 1px solid var(--border);
    }
    
    .nav.active { transform: translateX(0); }
    
    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav__link { font-size: 1.5rem; }

    .mobile-nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    .hamburger {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-main);
        position: relative;
    }
    
    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--text-main);
        left: 0;
        transition: var(--transition);
    }
    
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }

    .hero__container, .about__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content { order: 2; }
    .hero__image { order: 1; }
    
    .hero__actions { justify-content: center; flex-direction: column; }
    .hero__stats { justify-content: center; }
    
    .hero__floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; }
    
    .services__grid { grid-template-columns: 1fr; }
    
    .method-steps { flex-direction: column; }
    
    .about__experience-badge { right: 50%; transform: translateX(50%); top: -40px; }

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

@media (min-width: 769px) {
    .mobile-nav-toggle { display: none; }
}

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

.testimonial-card {
    background: var(--bg-offset);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.testimonial-card__stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.testimonial-card__text {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-card__author strong {
    display: block;
    font-size: 1rem;
}

.testimonial-card__author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 
   ----------------------------------------------------------------
   CTA / AGENDAR SECTION
   ----------------------------------------------------------------
*/
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
}

.cta-card {
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-card > p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn--white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
}

.btn--white:hover {
    background: #F0F0FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn--outline-white {
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    color: var(--white);
    font-weight: 700;
}

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

.cta-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

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

.blog-card {
    background: var(--bg-main);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.blog-card__image {
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-card__content {
    padding: 25px;
}

.blog-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card__title a:hover {
    color: var(--primary);
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-card__link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-card__link:hover::after {
    transform: translateX(5px);
}

.blog__footer {
    text-align: center;
    margin-top: 50px;
}

/* 
   ----------------------------------------------------------------
   CONTACT PAGE
   ----------------------------------------------------------------
*/
.contact__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-form {
    background: var(--bg-offset);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 54px;
    height: 54px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-social h4 {
    margin-bottom: 20px;
}

.nav__link.active {
    color: var(--primary);
    font-weight: 700;
}

/* Responsive for Blog and Contact */
@media (max-width: 1024px) {
    .blog__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__grid { gap: 40px; }
}

/* 
   ----------------------------------------------------------------
   SINGLE BLOG POST STYLES
   ----------------------------------------------------------------
*/
.post-header {
    padding-top: 160px;
    padding-bottom: 60px;
    background: var(--bg-offset);
}

.post-header__meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.post-header__title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    max-width: 900px;
}

.post-hero {
    margin-bottom: 60px;
}

.post-hero img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.post-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.post-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.post-content h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 25px;
}

.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    background: var(--bg-offset);
    font-style: italic;
    font-size: 1.25rem;
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
}

.post-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-box {
    background: var(--bg-offset);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.sidebar-box h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.share-links {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive for Blog Post */
@media (max-width: 1024px) {
    .post-container { grid-template-columns: 1fr; }
    .post-header__title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .post-header { padding-top: 120px; }
    .post-header__title { font-size: 2.2rem; }
    .post-content { font-size: 1.1rem; }
    
    .testimonials__grid, .blog__grid { grid-template-columns: 1fr; }
    .cta-card h2 { font-size: 2rem; }
    .cta-actions { flex-direction: column; align-items: center; }
    
    .contact__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-hero .section-title { font-size: 2.5rem; }
}
/* 
   ----------------------------------------------------------------
   SERVICE DETAIL PAGES
   ----------------------------------------------------------------
*/
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(79, 70, 229, 0.7) 100%);
    z-index: 1;
}

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

.service-hero .section-title, 
.service-hero .section-description,
.service-hero .badge {
    color: var(--white);
}

.service-hero .section-description {
    margin-bottom: 40px;
    max-width: 600px;
}

.service-hero .section-title span {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.service-hero__icon-large {
    color: var(--white) !important;
    opacity: 0.8;
}

.service-hero__icon-large i {
    color: var(--white) !important;
}

/* Light mode specific adjustment for visibility if needed */
.light-mode .service-hero .badge {
    background: rgba(255,255,255,0.2);
}

.service-hero__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
}

.service-hero__content h1 {
    font-size: 4rem;
    margin-top: 15px;
    margin-bottom: 25px;
}

.service-details__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.service-details__main h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    list-style: none;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.sidebar-card {
    background: var(--bg-main);
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-card.primary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.sidebar-card.primary h4 { color: var(--white); }
.sidebar-card.primary p { opacity: 0.9; margin-bottom: 25px; }

.sidebar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.sidebar-card ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sidebar-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.process-item {
    text-align: center;
    padding: 30px;
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

/* Responsive for Services */
@media (max-width: 1024px) {
    .service-hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .service-details__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .service-hero h1 { font-size: 3rem; }
    .process-grid { grid-template-columns: 1fr; }
}

/* --- VALIDATION STYLES --- */
.input-error {
    border-color: #ef4444 !important;
    outline: 2px solid rgba(239, 68, 68, 0.2) !important;
}

.error-feedback {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    color: white;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}


