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

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: #1e3a8a;
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #1e3a8a;
}

p {
    margin-bottom: 1.8rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #374151;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 2rem;
    right: 3rem;
    z-index: 1000;
    display: flex;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    background: #f9fafb;
    color: #1e3a8a;
}

.lang-btn.active {
    background: #1e3a8a;
    color: white;
}

/* Header */
.header {
    padding: 10rem 0 6rem;
    text-align: center;
    background: #ffffff;
}

.company-name {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.tagline {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: #1e3a8a;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Inter', sans-serif;
}

.locations {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #6b7280;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Sections */
section {
    padding: 6rem 0;
}

section:nth-child(even) {
    background-color: #fafbfc;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.motto {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 300;
    color: #1e3a8a;
    margin-bottom: 4rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

.about-text p {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    text-align: left;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: #374151;
    line-height: 1.7;
}

/* Founder Section */
.founder {
    padding: 8rem 0;
    background: #ffffff;
}

.founder-content {
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image {
    flex-shrink: 0;
    text-align: center;
}

.founder-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    box-shadow: 0 0 0 8px rgba(30, 58, 138, 0.1);
}

.founder-image img:hover {
    filter: grayscale(80%);
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(30, 58, 138, 0.15);
}

.founder-info {
    flex: 1;
    padding-top: 1rem;
}

.founder-name {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.founder-title {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #1e3a8a;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.founder-bio p {
    color: #374151;
    text-align: left;
    font-size: clamp(1.05rem, 2.2vw, 1.175rem);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Services Section */
.services-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-list {
    list-style: none;
    margin-bottom: 4rem;
}

.services-list li {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    position: relative;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.services-list li:before {
    content: "—";
    position: absolute;
    left: -2rem;
    color: #1e3a8a;
    font-weight: 400;
    font-size: 1.2em;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-motto {
    font-size: clamp(1.25rem, 2.8vw, 1.5rem);
    font-weight: 300;
    color: #1e3a8a;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Contact Section */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    margin-bottom: 3rem;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.contact-item strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.125rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.contact-item a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.contact-item a:hover {
    color: #1e3a8a;
}

.contact-item span {
    color: #374151;
    font-weight: 400;
}

/* Footer */
.footer {
    padding: 4rem 0 3rem;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background-color: #fafbfc;
}

.footer p {
    color: #6b7280;
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    margin-bottom: 0;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-toggle {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .header {
        padding: 8rem 0 4rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .founder {
        padding: 5rem 0;
    }
    
    .founder-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }
    
    .founder-image img {
        width: 220px;
        height: 220px;
    }
    
    .founder-info {
        padding-top: 0;
    }
    
    .about-text p,
    .founder-bio p {
        text-align: center;
    }
    
    .services-list li {
        text-align: center;
        padding-left: 1rem;
    }
    
    .services-list li:before {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header {
        padding: 6rem 0 3rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .founder {
        padding: 4rem 0;
    }
    
    .founder-content {
        gap: 2.5rem;
    }
    
    .founder-image img {
        width: 180px;
        height: 180px;
    }
    
    .language-toggle {
        top: 1rem;
        right: 1rem;
        transform: scale(0.9);
    }
}

/* Smooth transitions for language switching */
[data-es], [data-en] {
    transition: opacity 0.3s ease;
}

/* Print Styles */
@media print {
    .language-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .header {
        padding: 2rem 0 1rem;
    }
    
    section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
    
    .founder-image img {
        max-width: 200px;
        filter: grayscale(100%);
    }
}
