
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f2b46;
    --secondary: #c9a96e;
    --accent: #1e5f4e;
    --bg: #f5f5f7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --text-muted: #86868b;
    --border: rgba(0,0,0,0.08);
    --shadow-sm: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 48px rgba(0,0,0,0.1);
    --radius: 24px;
    --radius-sm: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.navbar {
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-sm);
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    background: rgba(15,43,70,0.06);
    color: var(--primary) !important;
}

.btn-nav {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.btn-nav-primary {
    background: var(--primary);
    color: #fff !important;
}

.btn-nav-primary:hover {
    background: #1a3d5c;
    transform: translateY(-1px);
}

.btn-nav-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary) !important;
}

.btn-nav-outline:hover {
    background: var(--primary);
    color: #fff !important;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f2b46 0%, #1a3d5c 50%, #1e5f4e 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagen/hero.jpg') center/cover;
    opacity: 0.18;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(201,169,110,0.15);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin-top: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-hero-primary {
    background: #fff;
    color: var(--primary);
}

.btn-hero-primary:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--surface);
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.section p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.editorial-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text);
}

.editorial-text strong {
    color: var(--primary);
    font-weight: 600;
}

.img-editorial {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

.img-editorial:hover {
    transform: scale(1.02);
}

.card-editorial {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border);
}

.card-editorial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-editorial .card-img-wrap {
    height: 240px;
    overflow: hidden;
}

.card-editorial .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-editorial:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-editorial .card-body {
    padding: 2rem;
}

.card-editorial h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.card-editorial p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.tono-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.cta-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../imagen/contacto.jpg') center/cover;
    opacity: 0.1;
}

.cta-section .section-tag {
    color: var(--secondary);
    background: rgba(201,169,110,0.15);
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(255,255,255,0.75);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: #fff;
    color: var(--primary);
}

.btn-cta:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    .section {
        padding: 4rem 0;
    }
    .card-editorial .card-img-wrap {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2rem;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}
