* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A7C8E;
    --primary-dark: #3A5F6E;
    --primary-light: #E8F1F4;
    --secondary-color: #A67C6D;
    --text-dark: #2C3E50;
    --text-medium: #546E7A;
    --text-light: #78909C;
    --background: #FFFFFF;
    --background-alt: #F8FAFB;
    --border-color: #E0E7EA;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.navbar {
    padding: 20px 0;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
}

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

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

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

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F1F4 0%, #D4E5EA 100%);
    padding: 120px 20px 80px;
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(74, 124, 142, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(166, 124, 109, 0.06) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-medium);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 124, 142, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 142, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.about {
    padding: 100px 20px;
    background: var(--background);
}

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

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-lead {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

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

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.services {
    padding: 100px 20px;
    background: var(--background-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

.why-us {
    padding: 100px 20px;
    background: var(--background);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-medium);
    line-height: 1.7;
}

.team {
    padding: 100px 20px;
    background: var(--background-alt);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.member-image {
    width: 100%;
    height: 300px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.member-info {
    padding: 32px;
}

.member-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--text-medium);
    line-height: 1.7;
}

.testimonials {
    padding: 100px 20px;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--background-alt);
    padding: 40px 32px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.contact {
    padding: 100px 20px;
    background: var(--background-alt);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

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

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

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

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

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

.contact-map {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-align: center;
    padding: 40px;
}

.map-placeholder p {
    margin-top: 16px;
    font-weight: 600;
}

.map-note {
    font-size: 14px;
    font-weight: 400 !important;
    color: var(--text-medium);
}

.cta-final {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.cta-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.7;
    opacity: 0.95;
}

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

.footer {
    background: var(--text-dark);
    color: #B0BEC5;
    padding: 60px 20px 30px;
}

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

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: white;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #B0BEC5;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

.footer-copy {
    font-size: 14px;
    color: #78909C;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    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;
    color: white;
}

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 16px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

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

    .hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .image-placeholder {
        height: 300px;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

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

    .footer-legal span {
        display: none;
    }
}

@media print {
    .header,
    .whatsapp-float,
    .btn {
        display: none;
    }
}