/* Estilos Base */
:root {
    /* Brand colors */
    --brand-blue: #96c0e6;
    --brand-red: #f44336;
    
    /* Blue variants */
    --primary-color: #7ba8e0;
    --primary-light: #c1d9f5;
    --primary-dark: #5d8bc8;
    
    /* Red variants */
    --accent-color: #f44336;
    --accent-light: #ff8a80;
    --accent-lighter:#ffcac6;
    --accent-dark: #d32f2f;
    
    /* Neutrals */
    --text-color: #1f2937;
    --light-text: #4b5563;
    --light-bg: #f0f7ff;
    --white: #ffffff;
    --gray-100: #e6f0ff;
    --gray-200: #cce0ff;
    --gray-500: #6b7280;
    
    /* Effects */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 1em;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--brand-blue);
    color: white;
    padding: 0.875rem 2rem;
    min-height: 44px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

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

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 12px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 0;
}

.logo span:first-of-type {
    font-size: 3rem;
    color: #96c0e6;
}

.logo span:last-of-type {
    font-size: 3rem;
    color: #f44336;
}

.logo sup {
    vertical-align: super;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem;
    top: 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);    
    background-image: url('/hero7.jpg');
    background-size: cover;
    background-position: top;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
    scroll-margin-top: 55px;
}

.hero-content {
    padding: 3rem;
    width: 100%;
    max-width: 700px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.3;
}

.highlight {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0;
    line-height: 1.4;
    display: block;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-image { /* Not used */
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(50%);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
    scroll-margin-top: 55px;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.service-card p {
    color: var(--light-text);
    margin: 0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 55px;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    z-index: 0;
    transform: skewY(-2deg);
    transform-origin: top left;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.note {
    font-style: italic;
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-top: 2rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-lighter);
    border-radius: 6px;
    border-right: 3px solid var(--accent-dark);
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--light-bg);
    scroll-margin-top: 55px;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--light-text);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-info a {
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
    background-color: var(--white);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 12px;
    padding-right: 2.5rem;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 5rem 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: block;
    transition: var(--transition);
    line-height: 1.7;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transition: var(--transition);
    font-size: 1.1rem;
}

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

.footer-section i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    min-width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.875rem;
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .highlight {
        font-size: 1.3rem;
    }
    
    .hero-content {
        padding-right: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .logo span:first-of-type,
    .logo span:last-of-type {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .hero-content {
        margin-bottom: 3rem;
        padding: 2.5rem;
    }
    
    .hero p, .highlight {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 160px;
        padding: 1.25rem 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }

    .logo span:first-of-type,
    .logo span:last-of-type {
        font-size: 2rem;
    }

    .hero {
        padding: 3rem 2rem;
        background-position: center;
    }

    .hero-content {
        padding: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .services {
        padding: 4rem 1.5rem;
    }

    .about,
    .contact {
        padding: 4rem 0;
    }

    body {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        cursor: pointer;
        width: 44px;
        height: 44px;
        border-radius: 6px;
        transition: var(--transition);
    }

    .hamburger i {
        transition: transform 0.2s ease;
    }

    .hamburger:hover {
        background-color: var(--gray-100);
    }

    .nav-links li a {
        padding: 0.75rem 1rem;
        display: block;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat {
        width: 100%;
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.75rem 1.5rem;
    }
    
    .contact-container,
    .footer-content {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .logo span:first-of-type,
    .logo span:last-of-type {
        font-size: 1.75rem;
    }

    .logo sup {
        font-size: 0.75rem;
    }

    .hero {
        padding: 2rem 1.5rem;
        padding-top: 7rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .services {
        padding: 3rem 1.75rem;
    }

    .about,
    .contact {
        padding: 3rem 0;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .footer-section a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    body {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .about p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .highlight {
        font-size: 1.15rem;
        margin: 1.5rem 0;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

@media (max-width: 420px) {
    /* Ultra-compact layout for small phones (iPhone SE, older Android) */
    .container {
        padding: 0 0.75rem;
    }

    .logo span:first-of-type,
    .logo span:last-of-type {
        font-size: 1.5rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    body {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .hero {
        padding: 1.5rem 1rem;
        background-position: center;
    }

    .hero-content {
        padding: 1rem;
    }

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

    .highlight {
        font-size: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .services {
        padding: 2rem 0.75rem;
    }

    .about,
    .contact {
        padding: 2rem 0;
    }

    .services-grid {
        gap: 1rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}
