﻿:root {
    --primary: #C76A4D;
    --primary-light: #D9896D;
    --primary-medium: #C76A4D;
    --primary-dark: #9B4F38;
    --secondary: #C76A4D;
    --accent: #D9B6A0;
    --dark: #2A2421;
    --light: #F9F3EE;
    --white: #FFFFFF;
    --error: #D64545;
    --success: #2F8F6A;
    --warning: #E3A23A;
    --info: #3B82C4;
    --base100: #FFFFFF;
    --base200: #F9F3EE;
    --base300: #E9DFD5;
    --base400: #D6C7BB;
    --base500: #7E6F64;
    --base600: #5C5048;
    --base700: #3C332F;
    --base800: #2A2421;
    --base900: #191513;
    --font-display: 'Fraunces', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
}

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

body {
    overflow-x: hidden;
    background: var(--white);
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--base700);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--base800);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(214, 199, 187, 0.6);
    z-index: 1000;
    padding: 16px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--base800);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--base600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary-dark);
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 0;
    line-height: 1;
}

.header-cta-btn .valorador4-container {
    width: auto;
}

.header-cta-btn .n-button {
    width: auto !important;
    min-height: 40px !important;
    padding: 8px 20px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: 1px solid var(--primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(155, 79, 56, 0.18) !important;
}

.header-cta-btn .n-button:hover {
    transform: translateY(-1px);
}

.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.footer {
    background: var(--base800);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: white;
    white-space: nowrap;
}

.footer .gradient-text {
    background: linear-gradient(45deg, #FFFFFF, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #E7E0D8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-tech {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-tech a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-tech a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #E7E0D8;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(231, 224, 216, 0.2);
    padding-top: 20px;
    text-align: center;
    color: #E7E0D8;
}

.fa,
.fas,
.far,
.fab {
    line-height: 1;
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .logo {
        order: 1;
    }

    .cta {
        order: 2;
        margin-left: auto;
        margin-right: 6px;
    }

    .header .cta {
        display: none;
    }

    .nav {
        display: flex;
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid rgba(214, 199, 187, 0.6);
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .header-cta-btn {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }
}

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

    h2 {
        font-size: 1.5rem;
    }
}
