:root{
  --primary:#7a1f1f;
  --primary-dark:#5a1414;
  --gold:#c9a44a;
  --bg:#fbf9f5;
  --fg:#2b2620;
  --muted:#6b6357;
  --border:#e6dfd2;
  --card:#ffffff;
  --accent:#f4ede0;
  --shadow:0 10px 30px -12px rgba(80,40,20,.18);
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--bg);color:var(--fg);font-family:'Inter',system-ui,-apple-system,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:'Playfair Display',Georgia,serif;color:var(--primary);line-height:1.2}
.container{max-width:1200px;margin:0 auto;padding:0 1.25rem}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}


/* Header */
.header {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(to right, #5a1414, #5a1414);
    color: white;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    flex-wrap: wrap;
}
/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);box-shadow:0 1px 2px rgba(0,0,0,.03)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.25rem;max-width:1200px;margin:0 auto;gap:1.5rem}
.brand{display:flex;align-items:center;gap:.75rem}
.brand-logo{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Playfair Display',serif;font-weight:700;box-shadow:var(--shadow)}
.brand-text .name{font-family:'Playfair Display',serif;font-weight:700;color:var(--primary);font-size:1.05rem;line-height:1.1}
.brand-text .sub{font-size:.68rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted);margin-top:2px}

.contact-links {
    display: flex;
    gap: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #dcfce7;
}

.header-main {
    padding: 6px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 15%;
    
}

.logo-circle {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, #5a1414, #5a1414);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s;
}

.logo:hover .logo-circle {
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.logo-text h1 {
    font-size: 20px;
    color: #1f2937;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.nav-desktop {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* LINKS */
.nav-link {
    display:inline-flex;align-items:center;gap:.35rem;padding:.6rem .95rem;font-size:.9rem;font-weight:500;color:#3a332b;background:none;border:0;border-radius:6px;cursor:pointer;transition:all .18s;font-family:inherit
}

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


.nav-link.active { font-weight:600;border-bottom:2px solid var(--gold); background:var(--accent);
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

/* MENU PRINCIPAL */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 230px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.3s ease;
    z-index: 999;
}

/* ITEMS */
.dropdown-menu a,
.submenu-link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    transition: 0.3s;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.submenu-link:hover {background:var(--accent);color:var(--primary)}

/* MOSTRAR MENU */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SUBMENU INTERNO */
.dropdown-submenu {
    position: relative;
}

/* SUBMENU DERECHO */
.submenu-right {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;

    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);

    transition: all 0.3s ease;
}

/* MOSTRAR SUBMENU INTERNO */
.dropdown-submenu:hover .submenu-right {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.menu-toggle {
    display: none;
    padding: 8px;
    border-radius: 6px;
}

.menu-toggle:hover {background:var(--accent);color:var(--primary)}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #374151;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #374151;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-mobile {
    display: none;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.nav-mobile.active {
    display: block;
}

.nav-link-mobile {
    display: block;
    padding: 12px 16px;
    border-radius: 6px;
    color: #374151;
    transition: all 0.3s;
}

.nav-link-mobile:hover {background:var(--accent);color:var(--primary)}

.nav-link-mobile.active {
    font-weight:600;border-bottom:2px solid var(--gold)
}

/* Hero */
.hero{position:relative;min-height:520px;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(90,20,20,.85),rgba(30,10,10,.55)),url('../img/hero.jpg') center/cover no-repeat}
.hero .container{position:relative;z-index:1;padding:5rem 1.25rem}
.hero h1{color:#fff;font-size:clamp(2rem,4vw,3.4rem);margin-bottom:1rem;max-width:800px}
.hero p{font-size:1.1rem;opacity:.92;max-width:640px;margin-bottom:2rem}
.hero .badge{display:inline-block;background:var(--gold);color:var(--primary-dark);padding:.35rem .9rem;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.5rem}


/* Buttons */
.btn{display:inline-block;padding:.85rem 1.6rem;font-weight:600;font-size:.92rem;border-radius:8px;transition:all .2s;cursor:pointer;border:0}
.btn-primary{background:var(--gold);color:var(--primary-dark)}
.btn-primary:hover{background:#d9b45c;transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-outline{background:transparent;color:#fff;border:2px solid #fff;margin-left:.6rem}
.btn-outline:hover{background:#fff;color:var(--primary)}

/* Sections */

.section{padding:4.5rem 0}
.section-title{text-align:center;margin-bottom:.5rem;font-size:2rem}
.section-lead{text-align:center;color:var(--muted);max-width:640px;margin:0 auto 3rem}

.grid{display:grid;gap:1.5rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}

.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.75rem;transition:all .2s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--gold)}
.card h3{font-size:1.2rem;margin-bottom:.6rem;color:var(--primary)}
.card p{color:var(--muted);font-size:.92rem}
.card .icon{width:52px;height:52px;background:var(--accent);color:var(--primary);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:1rem}

.strip{background:var(--primary);color:#fff;padding:3rem 0;text-align:center}
.strip h2{color:#fff;font-size:1.8rem;margin-bottom:.5rem}
.strip p{opacity:.9;margin-bottom:1.4rem}

/* Content prose */
.prose{max-width:820px;margin:0 auto}
.prose h2{font-size:1.5rem;margin:2rem 0 .8rem}
.prose h3{font-size:1.15rem;margin:1.5rem 0 .5rem;color:var(--primary-dark)}
.prose p,.prose li{color:#3d372f;margin-bottom:.75rem}
.prose ul{margin-left:1.25rem;margin-bottom:1rem}

.bg-gray {
    background: #f9fafb;
}

.bg-green-gradient {
    background: linear-gradient(to right, #5a1414, #5a1414);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}



.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.bg-green-gradient .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.icon-large {
    font-size: 48px;
}

/* Grids */


/* Service Cards */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: block;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.bg-blue { background: #3b82f6; }
.bg-purple { background: #a855f7; }
.bg-orange { background: #f97316; }
.bg-green { background: #22c55e; }

.service-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1f2937;
}

.service-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.service-link {
    color: #5a1414;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* News Cards */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.news-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1f2937;
}

.news-excerpt {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.news-link {
    color: #5a1414;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.news-link:hover {
    color: #15803d;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.9);
}

/* CTA Card */
.cta-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.cta-image {
    position: relative;
    min-height: 300px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-text {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-title {
    color: white;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s;
}

.social-link:hover {
    background: #5a1414;
}

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

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

.footer-links a {
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-contact {
    list-style: none;
    font-size: 14px;
}

.footer-contact li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-hours {
    font-size: 14px;
}

.footer-hours p {
    margin-bottom: 4px;
}

.footer-hours .highlight {
    color: #22c55e;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

/* Utilities */
.icon {
    display: inline-block;
}

.hidden-mobile {
    display: inline;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzBoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyem0wLTRoLTJ2LTJoMnYyeiIvPjwvZz48L2c+PC9zdmc+');
    opacity: 0.2;
}

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

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
}
/* Page header */
.page-header{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;padding:3.5rem 0 3rem;text-align:center}
.page-header h1{color:#fff;font-size:2.4rem;margin-bottom:.6rem}
.page-header p{opacity:.9;max-width:640px;margin:0 auto}
.breadcrumb{font-size:.8rem;opacity:.85;margin-top:1rem}
.breadcrumb a{color:var(--gold)}
/* Responsive */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-content {
        padding: 32px 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .hidden-mobile {
        display: none !important;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
