/* ============================================================
   FUNERARIA LO BLANCO - Estilos Principales
   Paleta: Navy #2C3E50 | Gold #C9A96E | Warm White #F8F6F3
   Fuentes: Playfair Display + Lato
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #2C3E50;
    --navy-dark:  #1a2332;
    --navy-light: #3d5166;
    --gold:       #C9A96E;
    --gold-dark:  #a8854a;
    --gold-light: #e8d5b0;
    --cream:      #F8F6F3;
    --white:      #FFFFFF;
    --text:       #2C2C2C;
    --text-light: #666666;
    --border:     #E0D8CF;
    --shadow:     rgba(44,62,80,0.12);
    --shadow-lg:  rgba(44,62,80,0.22);
    --radius:     8px;
    --radius-lg:  16px;
    --transition: 0.3s ease;
    --font-head:  'Playfair Display', Georgia, serif;
    --font-body:  'Lato', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.3;
}

p { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,169,110,0.4);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ---- SECTION TITLES ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--navy);
    margin-bottom: 16px;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- TOPBAR ---- */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(201,169,110,0.3);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-left i, .topbar-right i { color: var(--gold); margin-right: 5px; }
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold); }
.topbar-wa {
    background: #25D366;
    color: white !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.topbar-wa:hover { background: #1da851; color: white !important; }
.topbar-horario { display: flex; align-items: center; gap: 5px; }

/* ---- HEADER ---- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition);
}
.main-header.scrolled {
    box-shadow: 0 4px 30px var(--shadow-lg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}
.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav ul li { position: relative; }
.main-nav ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--gold);
    background: rgba(201,169,110,0.08);
}
.main-nav ul li a .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform var(--transition);
}
.main-nav ul li:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    border-top: 3px solid var(--gold);
    z-index: 100;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    padding: 10px 18px;
    font-size: 0.875rem;
    border-radius: 0;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dropdown li a i { color: var(--gold); width: 16px; }
.dropdown li a:hover { background: var(--cream); color: var(--navy) !important; }
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child a  { border-radius: 0 0 var(--radius) var(--radius); }

/* Header CTA */
.header-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.active { display: block; }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #3d5166 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><path fill="rgba(201,169,110,0.05)" d="M0,400L48,380C96,360,192,320,288,320C384,320,480,360,576,373.3C672,387,768,373,864,346.7C960,320,1056,280,1152,280C1248,280,1344,320,1392,340L1440,360L1440,800L1392,800C1344,800,1248,800,1152,800C1056,800,960,800,864,800C768,800,672,800,576,800C480,800,384,800,288,800C192,800,96,800,48,800L0,800Z"/></svg>') no-repeat bottom;
    background-size: cover;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(201,169,110,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,169,110,0.15);
    border: 1px solid rgba(201,169,110,0.4);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 580px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.hero-image-side {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
}
.hero-image-side::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(to right, var(--navy-dark), transparent);
    z-index: 1;
}
.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.hero-icon-bg {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18rem;
    color: rgba(201,169,110,0.06);
    z-index: 0;
}

/* ============================================================
   SECCIÓN: SERVICIOS DESTACADOS (HOME)
   ============================================================ */
.section { padding: 90px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); }
.section-navy .section-title { color: var(--white); }
.section-navy .section-subtitle { color: rgba(255,255,255,0.7); }
.section-navy .section-label { color: var(--gold-light); }

/* Cards de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(201,169,110,0.06));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--navy);
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    transition: gap var(--transition);
}
.service-link:hover { gap: 10px; color: var(--gold-dark); }

/* ============================================================
   SECCIÓN: POR QUÉ ELEGIRNOS
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.feature-item {
    text-align: center;
    padding: 32px 20px;
}
.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(201,169,110,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
    margin: 0 auto 20px;
}
.section-navy .feature-icon { background: rgba(201,169,110,0.2); }
.feature-item h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 10px; }
.feature-item p  { font-size: 0.875rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   SECCIÓN: PLANES (HOME preview + página completa)
   ============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: start;
}
.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
    position: relative;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px var(--shadow-lg); }
.plan-card.featured {
    transform: scale(1.04);
    box-shadow: 0 12px 50px var(--shadow-lg);
    border: 2px solid var(--gold);
}
.plan-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}
.plan-header {
    padding: 32px 28px 24px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--white);
}
.plan-header h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}
.plan-price {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 700;
}
.plan-body { padding: 28px; }
.plan-desc { font-size: 0.875rem; color: var(--text-light); margin-bottom: 20px; }
.plan-features { margin-bottom: 28px; }
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.875rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.plan-cta { display: block; text-align: center; }

/* ============================================================
   SECCIÓN: TESTIMONIOS / CONFIANZA
   ============================================================ */
.trust-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 70px 0;
    text-align: center;
}
.trust-section h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.trust-section p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 32px; }
.trust-phones {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.trust-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: var(--radius);
    padding: 16px 28px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition);
}
.trust-phone:hover { background: rgba(201,169,110,0.15); color: var(--gold); border-color: var(--gold); }
.trust-phone i { color: var(--gold); font-size: 1.3rem; }

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 20px;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 16px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.65rem; }

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px var(--shadow-lg);
}
.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(201,169,110,0.4);
}
.about-image-badge .number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.about-image-badge .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.about-content .section-label { text-align: left; }
.about-content .section-title { text-align: left; }
.about-content .section-divider { margin: 0 0 20px; }
.values-list { margin-top: 28px; }
.value-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.value-icon {
    width: 44px;
    height: 44px;
    background: rgba(201,169,110,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.value-text h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.value-text p  { font-size: 0.875rem; margin: 0; }

/* Equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-top: 40px;
}
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px var(--shadow-lg); }
.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    margin: 0 auto 16px;
}
.team-card h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: 0.8rem; color: var(--gold); font-weight: 700; }

/* ============================================================
   SERVICIOS - Página completa
   ============================================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-lg);
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-image .placeholder-icon {
    font-size: 6rem;
    color: rgba(201,169,110,0.4);
}
.service-detail-content .service-icon { margin-bottom: 16px; }
.service-detail-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--navy);
    margin-bottom: 16px;
}
.service-detail-content p { font-size: 0.95rem; margin-bottom: 16px; }
.service-detail-content .btn { margin-top: 8px; }

/* Servicios grid compacto */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.service-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all var(--transition);
    border-left: 4px solid transparent;
}
.service-list-card:hover {
    transform: translateX(4px);
    border-left-color: var(--gold);
    box-shadow: 0 8px 30px var(--shadow-lg);
}
.service-list-card .service-icon { flex-shrink: 0; margin-bottom: 0; }
.service-list-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-list-card p  { font-size: 0.875rem; margin-bottom: 12px; }

/* ============================================================
   FAQ - Acordeón
   ============================================================ */
.faq-container { max-width: 860px; margin: 0 auto; }
.faq-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.faq-cat-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 12px var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: 0 4px 20px var(--shadow-lg); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}
.faq-question h3 {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 600;
    flex: 1;
    margin: 0;
}
.faq-icon {
    width: 32px;
    height: 32px;
    background: rgba(201,169,110,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all var(--transition);
}
.faq-item.open .faq-icon {
    background: var(--gold);
    color: var(--white);
    transform: rotate(180deg);
}
.faq-item.open .faq-question { border-bottom: 1px solid var(--border); }
.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 20px 28px 24px;
}
.faq-answer p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.faq-cat-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,169,110,0.1);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.contact-info > p { margin-bottom: 32px; }
.contact-items { margin-bottom: 32px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.875rem; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.contact-item-text a,
.contact-item-text span { font-size: 0.95rem; color: var(--text-light); display: block; }
.contact-item-text a:hover { color: var(--gold); }
.contact-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    margin-bottom: 16px;
}
.contact-wa-btn:hover { background: #1da851; color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }
.contact-wa-btn i { font-size: 1.4rem; }

/* Formulario */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 8px 40px var(--shadow-lg);
}
.contact-form-wrap h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.contact-form-wrap > p { margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-group label span { color: #e74c3c; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 12px; text-align: center; }

/* Alertas de formulario */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand .logo-icon {
    background: rgba(201,169,110,0.15);
    color: var(--gold);
}
.footer-brand .logo-name { color: var(--white); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.footer-title {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(201,169,110,0.3);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}
.footer-links a i { font-size: 0.65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.footer-contact-list li i {
    color: var(--gold);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}
.footer-contact-list li div { display: flex; flex-direction: column; }
.footer-contact-list li span:first-child { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); }
.footer-contact-list li a,
.footer-contact-list li span:last-child { font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.footer-contact-list li a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-admin-link a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}
.footer-admin-link a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
    animation: none;
}
.wa-tooltip {
    position: absolute;
    right: 68px;
    background: var(--navy-dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy-dark);
    border-right: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); transform: translateY(-2px); }

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-navy    { color: var(--navy); }
.text-white   { color: var(--white); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 16px; }
.w-100 { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid  { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-detail { grid-template-columns: 1fr; gap: 32px; }
    .service-detail.reverse { direction: ltr; }
    .hero-image-side { display: none; }
}

@media (max-width: 768px) {
    .topbar .container { flex-direction: column; gap: 6px; text-align: center; }
    .topbar-left, .topbar-right { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .topbar-horario { display: none; }

    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 30px var(--shadow-lg);
        z-index: 999;
        transition: right var(--transition);
        overflow-y: auto;
        padding: 80px 0 40px;
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 0 20px; }
    .main-nav ul li a { padding: 14px 16px; border-radius: var(--radius); font-size: 1rem; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--gold);
        margin: 4px 0 4px 16px;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .header-cta { display: none; }
    .hamburger { display: flex; }

    .hero { min-height: 70vh; }
    .hero-content { padding: 60px 0; }
    .hero-stats { gap: 24px; }
    .hero-stat-number { font-size: 1.8rem; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .services-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    .plan-card.featured { transform: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }

    .faq-question { padding: 18px 20px; }
    .faq-item.open .faq-answer { padding: 16px 20px 20px; }

    .trust-phones { flex-direction: column; align-items: center; }
    .page-hero { padding: 60px 0 40px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .services-list-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .about-image-badge { bottom: -10px; right: -10px; padding: 14px 18px; }
    .about-image-badge .number { font-size: 1.8rem; }
}
