/* Reset y Variables - Paleta inspirada en el logo bronce/marrón */
:root {
    --primary-color: #654321;
    --secondary-color: #8B4513;
    --accent-color: #A0522D;
    --highlight-color: #CD853F;
    --text-color: #3E2723;
    --text-light: #5D4037;
    --bg-light: #FFF8DC;
    --bg-cream: #F5F5DC;
    --white: #ffffff;
    --success-color: #4CAF50;
    --error-color: #D32F2F;
    --shadow: 0 4px 15px rgba(101, 67, 33, 0.2);
    --shadow-hover: 0 6px 25px rgba(101, 67, 33, 0.3);
    --shadow-embossed: 0 8px 20px rgba(101, 67, 33, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-cream);
}

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

/* Header con efecto embossed similar al logo */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    inset-block-start: 0;
    z-index: 1000;
    box-shadow: var(--shadow-embossed);
}

@media (min-width: 769px) {
    .header {
        padding: 2rem 0;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    block-size: 120px;
    inline-size: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    max-inline-size: 100%;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    margin: 0;
    color: var(--white);
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    inline-size: 0;
    block-size: 3px;
    background: var(--highlight-color);
    transition: width 0.3s;
    border-radius: 2px;
}

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

/* Hero Section con gradiente bronce */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-inline-size: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-block-end: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-block-end: 2rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons con efecto 3D */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Info Section con fondo crema */
.info-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--highlight-color);
}

.info-icon {
    font-size: 3rem;
    margin-block-end: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-block-end: 1rem;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Services */
.services {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-block-end: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
    inline-size: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    inset-block-end: -10px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    inline-size: 80px;
    block-size: 4px;
    background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
    border-radius: 2px;
}

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

.service-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-block-end: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-block-end: 1rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
}

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

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid var(--accent-color);
}

.map-container iframe {
    display: block;
    inline-size: 100%;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

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

.contact-item h3 {
    color: var(--primary-color);
    margin-block-end: 0.5rem;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

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

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.whatsapp-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-color);
}

.form-group {
    margin-block-end: 1.5rem;
}

.form-group label {
    display: block;
    margin-block-end: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    inline-size: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

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

.btn-submit {
    inline-size: 100%;
    margin-block-start: 1rem;
}

.form-message {
    margin-block-start: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: var(--success-color);
    border: 2px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: var(--error-color);
    border: 2px solid #f5c6cb;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    box-shadow: var(--shadow-embossed);
}

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

.footer-section h3 {
    margin-block-end: 1rem;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

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

.footer-bottom {
    text-align: center;
    padding-block-start: 2rem;
    border-block-start: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        block-size: 90px;
    }
    
    .logo-container {
        justify-content: center;
        gap: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        inline-size: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .tagline {
        font-size: 0.95rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .logo {
        block-size: 70px;
    }
    
    .logo-container {
        gap: 0.75rem;
    }
}

