/* ===================================
   Dr. Adrián Machado - Hipnoterapia
   Paleta: Azul médico, Teal, Blanco
   =================================== */

/* CSS Variables */
:root {
    --primary: #005387;
    --primary-dark: #002135;
    --secondary: #428f9d;
    --dark: #002135;
    --accent: #7caac9;
    --background: #FFFFFF;
    --soft: #f2fdff;
    --white: #FFFFFF;
    --text: #1a1a1a;
    --text-light: #666666;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 33, 53, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 33, 53, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 33, 53, 0.16);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
}

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

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-light {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    font-weight: 600;
}

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

.btn-full {
    width: 100%;
}

.btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-whatsapp-inline:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 33, 53, 0.1);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    font-size: 0.9375rem;
    text-transform: uppercase;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 33, 53, 0.55) 0%, rgba(0, 83, 135, 0.45) 100%);
    z-index: 1;
}

/* Floating gradient orbs */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.orb-1 {
    width: 350px;
    height: 350px;
    background: rgba(124, 170, 201, 0.25);
    top: 5%;
    left: 5%;
    animation: float-orb-1 14s ease-in-out infinite;
}

.orb-2 {
    width: 280px;
    height: 280px;
    background: rgba(66, 143, 157, 0.2);
    top: 50%;
    right: 10%;
    animation: float-orb-2 12s ease-in-out infinite;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(168, 213, 226, 0.22);
    bottom: 20%;
    left: 35%;
    animation: float-orb-3 16s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, 20px); }
    66% { transform: translate(-20px, 40px); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-25px, -30px); }
    66% { transform: translate(15px, -15px); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -25px); }
    66% { transform: translate(-15px, 20px); }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: white;
    opacity: var(--opacity);
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.3);
    animation: float-particle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(12px, -20px); }
    50% { transform: translate(-10px, -35px); }
    75% { transform: translate(15px, -12px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 850px;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--accent);
    font-family: var(--font-heading);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Glow effect on CTA buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: btn-shimmer 4s ease-in-out infinite;
}

@keyframes btn-shimmer {
    0%, 100% { left: -60%; }
    50% { left: 120%; }
}

.btn-glow-light::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    animation: btn-shimmer 5s ease-in-out infinite 1s;
}

/* Scroll mouse indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    z-index: 3;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.5s ease;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 22px; opacity: 0.3; }
}

/* ===================================
   Wave Separator (scroll-driven)
   =================================== */
.wave-separator {
    position: relative;
    height: 80px;
    margin-top: -40px;
    z-index: 3;
    pointer-events: none;
}

.wave-svg {
    width: 100%;
    height: 100%;
}

.wave-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 0.05s linear;
}

.wave-path-glow {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    opacity: 0.15;
    filter: blur(3px);
    transition: stroke-dashoffset 0.05s linear;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

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

/* ===================================
   Intro Section
   =================================== */
.intro {
    padding: 100px 0 80px;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-headline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.intro-sub {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.intro-highlight {
    text-align: center;
    padding: 1.5rem 1rem;
}

.intro-highlight-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    border-radius: 50%;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.intro-highlight:hover .intro-highlight-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.intro-highlight h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.intro-highlight p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ===================================
   Pillars Section
   =================================== */
.pillars {
    padding: 80px 0 120px;
    background: var(--soft);
    text-align: center;
}

.pillars h2 {
    color: var(--primary);
    margin-bottom: 3rem;
}

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

.pillar-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.pillar-card img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.pillar-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image picture,
.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text);
}

/* About Stats (animated counters) */
.about-stats {
    display: flex;
    gap: 40px;
    margin: 2rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 120px 0;
    background: var(--soft);
    text-align: center;
}

.services h2 {
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 1rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.service-card picture,
.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.1rem;
    padding: 20px 16px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

/* ===================================
   Leadership Section
   =================================== */
.leadership {
    padding: 100px 0;
    background: var(--secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.leadership h2 {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.leadership p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Breathing circle animation */
.breathing-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.breath-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.breath-ring-1 {
    width: 200px;
    height: 200px;
    animation: breathe 6s ease-in-out infinite;
}

.breath-ring-2 {
    width: 350px;
    height: 350px;
    animation: breathe 6s ease-in-out infinite 1s;
}

.breath-ring-3 {
    width: 500px;
    height: 500px;
    animation: breathe 6s ease-in-out infinite 2s;
}

@keyframes breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.25; }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 120px 0;
    background: var(--white);
    text-align: center;
}

.testimonials h2 {
    color: var(--primary);
    margin-bottom: 3rem;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 16px 0;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    background: var(--soft);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: left;
    scroll-snap-align: start;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--accent);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2rem;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--soft);
}

.contact h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary);
}

.contact-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 83, 135, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

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

/* Map */
.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    text-align: center;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.powered-by {
    font-size: 0.75rem;
    margin-top: 8px;
}

.powered-by a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.powered-by a:hover {
    color: white;
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

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

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

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ===================================
   Scroll Reveal Animations
   =================================== */
.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Section heading underline animation */
.animated-heading {
    position: relative;
    display: inline-block;
}

.animated-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.6s ease, left 0.6s ease;
}

.animated-heading.revealed::after {
    width: 60px;
    left: calc(50% - 30px);
}

/* Active nav link indicator */
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ===================================
   Reduced Motion
   =================================== */
@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;
    }

    .hero-particles,
    .hero-orbs,
    .breathing-circle {
        display: none;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .intro-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .intro-headline {
        font-size: 1.4rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .testimonial-card {
        flex: 0 0 calc(100% - 24px);
        min-width: 280px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .intro {
        padding: 80px 0 60px;
    }

    .pillars,
    .about,
    .services,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .leadership {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 16px;
        right: 16px;
    }

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