/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --primary-color: #077d80;
    --primary-dark: #055d5f;
    --primary-light: #0a9fa3;
    --accent-color: #80d4d0;
    --text-dark: #2D2D2D;
    --text-medium: #5A5A5A;
    --text-light: #8A8A8A;
    --bg-light: #F0FAFA;
    --bg-white: #FFFFFF;
    --border-color: #E8E8E8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--primary-color), var(--primary-dark));

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 1rem;

    /* Transitions */
    --transition-smooth: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(7, 125, 128, 0.08);
    --shadow-md: 0 4px 16px rgba(7, 125, 128, 0.12);
    --shadow-lg: 0 8px 32px rgba(7, 125, 128, 0.16);
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

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

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

/* ========== Utility Classes ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #F0FAFA 0%, #E0F5F5 100%);
    padding-top: 70px;
}

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

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 450px;
    height: 450px;
    background: var(--gradient-primary);
    border-radius: 50% 40% 60% 50%;
    animation: float 7s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
    position: absolute;
    transition: border-radius 2.5s ease-in-out, transform 2.5s ease-in-out;
}

.hero-photo {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% calc(50% - 25px);
    position: relative;
    z-index: 1;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: scale(1.04);
    opacity: 1;
}

/* ========== About Section ========== */
.about {
    background-color: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-shape {
    width: 380px;
    height: 380px;
    background: var(--gradient-primary);
    border-radius: 50% 40% 60% 50%;
    box-shadow: var(--shadow-md);
    position: absolute;
    animation: float 7s ease-in-out infinite;
    transition: border-radius 2.5s ease-in-out, transform 2.5s ease-in-out;
}

.about-photo {
    width: 304px;
    height: 304px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    position: relative;
    z-index: 1;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: scale(1.04);
    opacity: 1;
}

.about-content {
    animation: fadeIn 1s ease;
}

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

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== Specialties Section ========== */
.specialties {
    background-color: var(--bg-light);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.specialty-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 1rem;
    align-items: start;
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
}

.specialty-icon svg {
    width: 30px;
    height: 30px;
    color: var(--bg-white);
}

.specialty-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0;
    color: var(--text-dark);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.specialty-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1rem;
}

/* ========== Approach Section ========== */
.approach {
    background-color: var(--bg-white);
}

.approach-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-card {
    background: linear-gradient(135deg, #F0FAFA 0%, #FFFFFF 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

.approach-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.approach-card.highlight-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.approach-card.highlight-card h3,
.approach-card.highlight-card p {
    color: var(--bg-white);
}

.approach-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.approach-card p {
    line-height: 1.7;
}

/* ========== Differentials Section ========== */
.differentials {
    background-color: var(--bg-light);
}

.differentials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.differential-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 1rem;
    align-items: start;
}

.differential-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.differential-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
}

.differential-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bg-white);
}

.differential-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0;
    color: var(--text-dark);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.differential-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 1rem;
}

/* ========== Testimonials Section ========== */
.testimonials {
    background: linear-gradient(135deg, #F0FAFA 0%, #E0F5F5 100%);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-wrapper {
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    touch-action: pan-y pinch-zoom;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

/* iOS Safari optimizations */
@supports (-webkit-touch-callout: none) {
    .testimonials-track {
        transition: transform 0.4s ease-out;
        -webkit-transition: -webkit-transform 0.4s ease-out;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(240, 250, 250, 0.3) 0%, var(--bg-white) 100%);
    padding: 3rem 3rem 2rem 3rem;
    border-radius: 20px 16px 16px 20px;
    box-shadow:
        0 4px 20px rgba(7, 125, 128, 0.08),
        0 2px 8px rgba(7, 125, 128, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(232, 232, 232, 0.5);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px; /* Altura fixa ao invés de min-height para evitar pulos */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-light) 20%,
        var(--primary-color) 50%,
        var(--primary-light) 80%,
        transparent 100%);
    border-radius: 20px 16px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(7, 125, 128, 0.12),
        0 4px 16px rgba(7, 125, 128, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    font-weight: 400;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(10, 159, 163, 0.15) transparent;
    transition: all 0.3s ease;
}

.testimonial-text.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

.testimonial-ellipsis {
    position: absolute;
    bottom: 2px;
    right: 0.5rem;
    background: var(--bg-white);
    padding-left: 0.5rem;
    font-style: italic;
    color: var(--text-dark);
    z-index: 2;
    pointer-events: none;
}

.read-more-btn {
    display: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 0.75rem;
    font-style: normal;
    position: relative;
    padding: 0.5rem 1.5rem 0.5rem 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.read-more-btn::after {
    content: '↓';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn.expanded::after {
    content: '↑';
}

.read-more-btn:hover {
    color: var(--primary-dark);
    padding-left: 4px;
}

.read-more-btn:hover::after {
    transform: translateY(-50%) translateX(4px);
}

.testimonial-text::before {
    content: '"';
    font-size: 5.5rem;
    color: var(--accent-color);
    position: absolute;
    top: -28px;
    left: -28px;
    opacity: 0.15;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1;
}

.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: rgba(232, 232, 232, 0.2);
    border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(10, 159, 163, 0.25) 0%,
        rgba(7, 125, 128, 0.25) 50%,
        rgba(10, 159, 163, 0.25) 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.testimonial-text::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        rgba(10, 159, 163, 0.4) 0%,
        rgba(7, 125, 128, 0.4) 50%,
        rgba(10, 159, 163, 0.4) 100%);
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: right;
    flex-shrink: 0;
    position: relative;
    padding-top: 1rem;
    border-top: 1px solid rgba(128, 212, 208, 0.2);
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-light) 30%,
        var(--primary-color) 70%,
        transparent 100%);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    align-self: flex-end;
}

.testimonial-stars::before {
    content: '★★★★★';
    font-size: 1.2rem;
    color: #FFD700;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.1rem;
    line-height: 1;
    animation: stars-glow 3s ease-in-out infinite alternate;
}

@keyframes stars-glow {
    from {
        text-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 12px rgba(255, 215, 0, 0.2);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 10;
}

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

.carousel-btn:hover svg {
    stroke: var(--bg-white);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: var(--transition-smooth);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ========== FAQ Section ========== */
.faq {
    background-color: var(--bg-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

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

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ========== Contact Section ========== */
.contact {
    background: linear-gradient(135deg, #F0FAFA 0%, #E0F5F5 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

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

.contact-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

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

/* ========== Footer ========== */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.footer-section p {
    line-height: 1.6;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ========== Responsive Design ========== */
@media screen and (max-width: 968px) {
    :root {
        --section-padding: 4rem 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image,
    .about-image {
        order: -1;
    }

    .hero-shape {
        width: 340px;
        height: 340px;
    }

    .about-shape {
        width: 320px;
        height: 320px;
    }

    .hero-photo {
        width: 272px;
        height: 272px;
        transform: scale(1.04);
    }

    .about-photo {
        width: 256px;
        height: 256px;
        transform: scale(1.04);
    }

    .approach-container,
    .differentials-container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-white);
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

@media screen and (max-width: 576px) {
    :root {
        --section-padding: 3rem 0;
        --container-padding: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 50px;
    }

    .hero-shape {
        width: 280px;
        height: 280px;
    }

    .about-shape {
        width: 260px;
        height: 260px;
    }

    .hero-photo {
        width: 224px;
        height: 224px;
        transform: scale(1.04);
    }

    .about-photo {
        width: 208px;
        height: 208px;
        transform: scale(1.04);
    }

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

    .contact-container {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

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

    .testimonials-carousel {
        padding: 0;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .testimonial-card {
        padding: 2.5rem 2rem 1.5rem 2rem;
        height: 380px;
        max-height: 380px;
    }

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

    .testimonial-text.collapsed::after {
        display: none !important;
    }

    .testimonial-text::before {
        font-size: 3rem;
        top: -15px;
        left: -10px;
    }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========== WhatsApp Floating Button ========== */
.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;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.whatsapp-float:active {
    transform: scale(0.95);
}

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

/* Pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.6;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 576px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

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