/* Variables & Reset */
:root {
    --primary-color: #153E35;
    --secondary-color: #FFB7B2;
    --text-color: #334155;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #153E35;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

.text-white {
    color: var(--white);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #ff9e99;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.accent {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
}

/* Dollar Widget */
.dolar-widget {
    background: linear-gradient(135deg, #153E35 0%, #1a4d42 100%);
    color: var(--white);
    padding: 12px 0;
    margin-top: 70px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 999;
}

.dolar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dolar-title {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.dolar-items {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.dolar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dolar-type {
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dolar-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    gap: 8px;
}

.dolar-price .compra::before {
    content: "C: $";
    font-size: 0.7rem;
    opacity: 0.8;
}

.dolar-price .venta::before {
    content: "V: $";
    font-size: 0.7rem;
    opacity: 0.8;
}

.dolar-update {
    font-size: 0.7rem;
    opacity: 0.7;
    font-style: italic;
    white-space: nowrap;
}

.dolar-error {
    color: #ff9e99;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #64748b;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.service-card .service-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
    font-style: italic;
}

.service-card .service-list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.service-card .service-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.service-card .service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 183, 178, 0.3);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    background-color: #153E35;
    color: #94a3b8;
    padding: 30px 0;
    border-top: 1px solid #334155;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    margin-left: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .dolar-content {
        justify-content: center;
        text-align: center;
    }

    .dolar-items {
        gap: 20px;
        width: 100%;
    }

    .dolar-title,
    .dolar-update {
        width: 100%;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-links a {
        margin: 0 10px;
    }
}