/* ============================================================
   CMS Base — Site (Public) Stylesheet
   Los M&P — TEMA OSCURO (estilo restaurante tipo flyer):
   fondo negro, tipografía bold en mayúsculas, acento verde
   bandera, toques rojos, tarjetas oscuras.
   Override --accent via header.php <style>:root{--accent:X}</style>
   ============================================================ */

:root {
    --accent:       #6fae3a;   /* verde bandera (aclarado para contraste sobre negro) */
    --accent-dark:  #5e9430;
    --red:          #d64541;   /* rojo bandera (CTA / detalles) */
    --red-dark:     #b8322f;
    --text:         #f2f0ea;   /* blanco cálido */
    --text-muted:   #a6a6a6;
    --bg:           #101010;   /* fondo general (casi negro) */
    --soft:         #171717;   /* bandas de sección alternas */
    --surface:      #1c1c1c;   /* tarjetas */
    --line:         #2c2c2c;   /* bordes */
    --dark:         #0a0a0a;   /* footer / CTA (negro más profundo) */
    --radius:       12px;
    --shadow:       0 6px 22px rgba(0, 0, 0, .45);
    --transition:   .25s ease;
    --max-w:        1200px;
    --font-body:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(111, 174, 58, .28);
    font-family: var(--font-body);
}
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; color: #fff; transform: translateY(-2px); }

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,.55);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; border-color: #fff; }

.btn-secondary {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .8px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}
.btn-secondary:hover { background: var(--red-dark); text-decoration: none; color: #fff; transform: translateY(-2px); }

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(17px, 1.7vw, 21px);
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--accent); }
.site-logo:hover .site-logo-text { color: var(--accent); }
.site-logo img { height: 58px; width: auto; display: block; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav a {
    color: #e6e6e6;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); }
.nav-cta {
    background: var(--red) !important; /* rojo del flyer; el resto del sitio usa el verde --accent */
    color: #fff !important;
    border-radius: 10px;
    padding: 11px 22px !important;
    box-shadow: 0 4px 14px rgba(214, 69, 65, .35);
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (full-width photo, dark overlay, text left) ────── */
.hero {
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero-no-img { background: radial-gradient(120% 120% at 80% 20%, #1f1f1f 0%, #0d0d0d 60%); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 6, 6, .85) 0%, rgba(6, 6, 6, .55) 55%, rgba(6, 6, 6, .2) 100%);
}
.hero-no-img .hero-overlay { background: none; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content {
    max-width: 680px;
    padding-top: 96px;
    padding-bottom: 96px;
}

/* Hero text alignment (admin → Website Content → Hero Section) */
.hero-align-left  .hero-content { margin-right: auto; }
.hero-align-right .hero-content { margin-left: auto; }
.hero-align-right .hero-overlay {
    background: linear-gradient(270deg, rgba(6, 6, 6, .85) 0%, rgba(6, 6, 6, .55) 55%, rgba(6, 6, 6, .2) 100%);
}
.hero-align-center .hero-content { margin: 0 auto; text-align: center; }
.hero-align-center .hero-overlay { background: rgba(6, 6, 6, .6); }
.hero-align-center .hero-actions { justify-content: center; }
.hero-align-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-align-none .hero-overlay { background: none; }
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 16px;
}
.hero-content h1 {
    font-size: clamp(40px, 6.5vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-sub { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Header (inner pages) ───────────────────────────── */
.page-header {
    min-height: 260px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.page-header .container { padding-top: 64px; padding-bottom: 52px; position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 800; text-transform: uppercase; letter-spacing: -.5px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,.82); margin-top: 8px; }
.page-header-overlay { position: absolute; inset: 0; background: rgba(6, 6, 6, .62); }
.page-header-plain { background: radial-gradient(120% 120% at 80% 20%, #1f1f1f 0%, #0d0d0d 60%); }
.page-header-plain .page-header-overlay { display: none; }

/* ── Sections ────────────────────────────────────────────── */
.section-services,
.section-services-list,
.section-plans,
.section-plans-page,
.section-gallery,
.section-album,
.section-videos,
.section-testimonials,
.section-testimonials-page,
.section-facilities,
.section-about,
.section-contact,
.section-legal,
.section-service-detail,
.section-generic { padding: 80px 0; }

.section-services { background: var(--soft); }
.section-testimonials { background: var(--soft); }

.section-title {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -.3px;
    text-align: center;
    margin-bottom: 10px;
}
/* Acento decorativo bajo los títulos centrados */
.section-title::after {
    content: "";
    display: block;
    width: 54px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin: 14px auto 0;
}
.section-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; font-size: 15px; }
.intro-text { text-align: left; color: var(--text-muted); max-width: 720px; margin: 0 0 36px; font-size: 15px; line-height: 1.8; }
.lead { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.prose { line-height: 1.9; color: var(--text); }
.prose h2 { font-size: 24px; margin: 28px 0 12px; }
.prose a { color: var(--accent); }
.no-content { text-align: center; color: var(--text-muted); padding: 48px 0; }
.rounded { border-radius: var(--radius); }

/* ── Services Grid (menu categories) ─────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 22px; margin-top: 36px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.55); border-color: var(--accent); text-decoration: none; }
.service-card-img { height: 200px; background-size: cover; background-position: center; background-color: #0d0d0d; }
.service-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.service-card-body h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.service-price { color: var(--accent); font-weight: 800; font-size: 16px; white-space: nowrap; }
.service-card-body p { color: var(--text-muted); font-size: 13.5px; flex: 1; }
.card-link { color: var(--accent); font-size: 12px; font-weight: 700; margin-top: 8px; text-transform: uppercase; letter-spacing: .8px; }

/* Service detail */
.service-detail-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; margin-top: 24px; }
.service-detail-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) { .service-detail-layout { grid-template-columns: 1fr; } }

/* ── Menu filter tabs (estilo RESTFOOD) ──────────────────── */
.menu-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 8px; }
.menu-filter-btn {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    padding: 10px 20px; border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}
.menu-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.menu-filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Plans (price cards) ─────────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 22px; margin-top: 36px; }
.plan-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.55); border-color: var(--accent); }
.plan-img img { width: 100%; height: 180px; object-fit: cover; }
.plan-header { padding: 24px 24px 0; }
.plan-service { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.plan-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .3px; }
.plan-price { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
.plan-price span { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.plan-duration { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.plan-desc { padding: 12px 24px 0; color: var(--text-muted); font-size: 13.5px; }
.plan-features { padding: 16px 24px; flex: 1; }
.plan-features li { padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.plan-cta { margin: 0 24px 24px; text-align: center; display: block; }

/* ── Weekly schedule ─────────────────────────────────────── */
.section-schedule { background: var(--soft); }
.schedule-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; max-width: 820px; margin-left: auto; margin-right: auto; }
.schedule-card { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.schedule-day, .schedule-info { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.schedule-day { display: flex; align-items: center; gap: 16px; background: var(--accent); border-color: var(--accent); color: #fff; }
.schedule-card.is-highlight .schedule-day { background: var(--red); border-color: var(--red); }
.schedule-day .schedule-ico { width: 30px; height: 30px; flex-shrink: 0; }
.schedule-day-text { display: flex; flex-direction: column; gap: 3px; }
.schedule-day-name { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: 1; }
.schedule-day-note { font-size: 12px; font-weight: 600; opacity: .95; line-height: 1.3; }
.schedule-info { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.schedule-row { display: flex; align-items: flex-start; gap: 12px; }
.schedule-row .schedule-ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.schedule-card.is-highlight .schedule-info .schedule-ico { color: var(--red); }
.schedule-hours { display: flex; flex-direction: column; gap: 2px; font-size: 18px; font-weight: 700; color: var(--text); }
.schedule-loc span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 600px) {
    .schedule-card { grid-template-columns: 1fr; }
    .schedule-day-name { font-size: 20px; }
    .schedule-hours { font-size: 16px; }
}
/* Schedule modal (auto-popup) */
.schedule-overlay { display: none; position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.78); align-items: center; justify-content: center; padding: 20px; }
.schedule-overlay.open { display: flex; }
.schedule-modal { position: relative; background: var(--bg, #101010); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; width: min(680px, 100%); max-height: 88vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.schedule-modal .schedule-list { margin-top: 8px; }
.schedule-modal-title { text-align: center; font-size: clamp(22px, 3vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px; color: #fff; }
.schedule-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--text-muted); font-size: 30px; line-height: 1; cursor: pointer; }
.schedule-close:hover { color: #fff; }

/* ── Facilities ──────────────────────────────────────────── */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; margin-top: 36px; }
.facility-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facility-img img { width: 100%; height: 200px; object-fit: cover; }
.facility-body { padding: 20px; }
.facility-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }
.facility-body p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ── Gallery ─────────────────────────────────────────────── */
.albums-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; margin-top: 36px; }
.album-card-link { display: block; text-decoration: none; }
.album-thumb { height: 240px; background-size: cover; background-position: center; background-color: #0d0d0d; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; opacity: 0; transition: opacity var(--transition); }
.album-thumb:hover .album-overlay { opacity: 1; }
.album-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.album-overlay span { font-size: 12px; color: rgba(255,255,255,.85); }
.album-no-img { display: flex; align-items: center; justify-content: center; font-size: 40px; height: 100%; }

/* Album photos */
.album-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 10px; margin-top: 24px; }
.album-photo-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; cursor: zoom-in; }
.album-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.album-photo-item:hover img { transform: scale(1.05); }

/* ── Videos ──────────────────────────────────────────────── */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 28px; margin-top: 36px; }
.video-embed-wrap { position: relative; padding-top: 56.25%; }
.video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); }
.video-thumb img { width: 100%; border-radius: var(--radius); }
.video-info { padding: 16px 0; }
.video-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.video-info p { color: var(--text-muted); font-size: 14px; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; margin-top: 36px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.testimonial-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-body { color: var(--text); line-height: 1.8; font-style: italic; flex: 1; }
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }
.stars { color: #f0a92e; font-size: 14px; margin-top: 4px; letter-spacing: 2px; }

/* ── About ───────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 32px; }
.about-layout.has-image .about-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-body h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: -.3px; }
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } }

/* ── CTA Section ─────────────────────────────────────────── */
.section-cta {
    padding: 88px 0;
    text-align: center;
    background: var(--dark);
    background-size: cover;
    background-position: center;
    position: relative;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(6, 6, 6, .68); }
.cta-content { position: relative; z-index: 2; color: #fff; }
.cta-content h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: -.3px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 28px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Features list (icon strip) */
.section-features { background: var(--bg); padding: 72px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; margin-top: 36px; }
.feature-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
.feature-check {
    color: #08140a; background: var(--accent);
    width: 30px; height: 30px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}

/* Image + text section */
.img-text-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.img-text-grid h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: -.3px; }
@media (max-width: 768px) { .img-text-grid { grid-template-columns: 1fr; } }

/* ── Contact Page ────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 48px; align-items: start; }
.contact-photo { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 26px; display: block; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(111,174,58,.12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; }
.contact-info-text { padding-top: 2px; }
.contact-info-item strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 4px; }
.contact-info-item a { color: var(--text); font-size: 15px; }
.contact-info-item p { color: var(--text); font-size: 15px; margin: 0; }
.contact-map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; }
.contact-map iframe { width: 100%; height: 320px; display: block; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(.2) brightness(.9); }
@media (max-width: 1100px) { .contact-layout { grid-template-columns: 1fr 1fr; } .contact-map-col { grid-column: 1 / -1; } }
@media (max-width: 800px)  { .contact-layout { grid-template-columns: 1fr; } }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.cf-field input, .cf-field select, .cf-field textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line);
    border-radius: 10px; font-size: 14px; color: var(--text);
    background: #151515; font-family: inherit; transition: border-color var(--transition);
}
.cf-field input::placeholder, .cf-field textarea::placeholder { color: #6a6a6a; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { border-color: var(--accent); outline: none; }
.required { color: var(--red); }
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #cfcfcf; margin-top: 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: center; align-items: center; gap: 40px; padding: 40px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-logo { color: #fff; font-size: 19px; font-weight: 800; text-decoration: none; display: block; margin-bottom: 0; text-transform: uppercase; letter-spacing: .5px; }
.footer-logo img { height: 56px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: #9a9a9a; margin-bottom: 0; max-width: 360px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); color: #cfcfcf; display: flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none; transition: background var(--transition), color var(--transition); }
.footer-social a:hover { background: var(--accent); color: #08140a; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #9a9a9a; font-size: 14px; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12px; color: #7f7f7f; }

/* Legal pages */
.section-legal .container { padding-top: 48px; padding-bottom: 72px; }
.section-legal .prose h2 { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1000px) {
    .hamburger { display: flex; }
    /* backdrop-filter en el header crea un containing block que atrapa el
     * position:fixed del nav; se quita en móvil para que el overlay cubra
     * toda la pantalla. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .site-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, .98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 80px 24px 40px;
        gap: 10px;
        z-index: 9998;
        overflow-y: auto;
    }
    .site-nav.open { display: flex; }
    .site-nav a { font-size: 20px; padding: 12px 24px; border-radius: 10px; width: auto; }
    .site-nav .nav-cta { margin-top: 10px; }
    /* El botón hamburguesa queda por encima del overlay para poder cerrarlo */
    .hamburger { position: relative; z-index: 9999; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
    .hero { min-height: 480px; }
    .hero-content h1 { font-size: 40px; }
    .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; text-align: center; }
    .section-title::after { margin-top: 12px; }
}
