/* ============================================================
   Jack Barber Studio — Landing Page
   NORBIX Web Launch Framework v1.0
   Implementación fiel del mockup aprobado (landing_mockup.html)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-tertiary: #1a1a1a;
    --accent-gold: #c5a880;
    --accent-gold-rgb: 197, 168, 128;
    --accent-gold-hover: #d5bda0;
    --text-primary: #ffffff;
    --text-secondary: #a5a5a5;
    --text-muted: #757575;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #20ba5a;
    --border-color: rgba(197, 168, 128, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Anclas internas: compensar el header fijo */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 10px);
}

/* ---------- Accesibilidad ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-family: var(--font-headings);
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Utilidades ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 0.75rem auto 0 auto;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: rgba(var(--accent-gold-rgb), 0.05);
}

/* ---------- Botones y CTA ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: var(--whatsapp-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background-color: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ---------- Header y navegación ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-cta {
    display: inline-flex;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1010;
    align-items: center;
    justify-content: center;
}

.menu-toggle-box {
    position: relative;
    width: 30px;
    height: 24px;
    display: block;
}

.menu-toggle-box span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle-box span:nth-child(1) { top: 0; }
.menu-toggle-box span:nth-child(2) { top: 11px; }
.menu-toggle-box span:nth-child(3) { top: 22px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 3rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.95));
}

.hero-content {
    max-width: 680px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-content .value-prop {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--accent-gold);
    padding-left: 1rem;
    font-style: italic;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- Historia ---------- */
.section-historia {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.story-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
    transition: var(--transition);
}

.story-image-container:hover .story-image {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(110%);
}

.story-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--accent-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-gold);
}

.story-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.story-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.story-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-text p {
    margin-bottom: 1.25rem;
}

.story-text-closing {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.story-highlight {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.25rem;
    margin: 2rem 0;
}

/* ---------- Experiencia ---------- */
.section-experiencia {
    background-color: var(--bg-primary);
}

.exp-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.exp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.exp-feature-item {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.exp-feature-item:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
}

.exp-feature-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.exp-feature-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.exp-feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.exp-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.exp-intro p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* ---------- Beneficios y diferenciadores ---------- */
.section-beneficios {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.benefits-column h3,
.diff-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list,
.diff-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card,
.diff-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    gap: 1.25rem;
    transition: var(--transition);
}

.benefit-card:hover,
.diff-card:hover {
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-number {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(var(--accent-gold-rgb), 0.35);
    line-height: 1;
}

.card-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------- Servicios ---------- */
.section-servicios {
    background-color: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    min-height: 240px;
}

.service-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card.featured {
    background-color: var(--bg-tertiary);
    border: 2px solid var(--accent-gold);
    position: relative;
    box-shadow: 0 8px 30px rgba(var(--accent-gold-rgb), 0.08);
}

.featured-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card.featured h3 {
    color: var(--accent-gold);
}

.service-cta-wrapper {
    margin-top: auto;
}

.btn-link {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--accent-gold-hover);
}

.btn-link.btn-link-featured {
    color: var(--text-primary);
}

.btn-link.btn-link-featured:hover {
    color: var(--accent-gold-hover);
}

.services-footer-cta {
    text-align: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    max-width: 800px;
    margin: 0 auto;
}

.services-footer-cta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.services-footer-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ---------- Galería ---------- */
.section-galeria {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    aspect-ratio: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(110%);
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 10, 10, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--accent-gold);
}

.gallery-item:hover .gallery-img,
.gallery-item:focus-within .gallery-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(110%);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- Instagram ---------- */
.section-instagram {
    background-color: var(--bg-primary);
    text-align: center;
}

.insta-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto;
}

.insta-handle {
    font-size: 1.5rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.insta-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.insta-photo {
    aspect-ratio: 1;
    background-color: var(--bg-tertiary);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.insta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: opacity(0.85);
    transition: var(--transition);
}

.insta-photo:hover img {
    filter: opacity(1);
    transform: scale(1.03);
}

/* ---------- Prueba social ---------- */
.section-testimonios {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-color);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(var(--accent-gold-rgb), 0.15);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-pending {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 4px;
    border: 1px dashed rgba(var(--accent-gold-rgb), 0.2);
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-info .author-name {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.author-info .author-role {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* ---------- FAQ ---------- */
.section-faq {
    background-color: var(--bg-primary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    min-height: 44px;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question .faq-marker {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: var(--transition);
    margin-left: 1rem;
    font-weight: 400;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-marker {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-answer-content {
    padding: 1rem 0 0.5rem 0;
}

.faq-answer-content p {
    margin-bottom: 0.5rem;
}

/* Sin JavaScript, las respuestas quedan visibles (no ocultar contenido) */
html.no-js .faq-answer {
    max-height: none;
}

.faq-pending {
    border: 1px dashed rgba(var(--accent-gold-rgb), 0.2);
    padding: 0.75rem;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.01);
    font-style: italic;
    font-size: 0.9rem;
}

/* ---------- CTA final ---------- */
.section-cta-final {
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.95)),
        url('../assets/img/cta-1600.webp');
    background-size: cover;
    background-position: center;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-final-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-box h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-final-box p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-urgency {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ---------- Contacto ---------- */
.section-contacto {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-top: 0.25rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-top: 0.25rem;
}

.map-container {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.map-container h3 {
    margin-bottom: 0.5rem;
}

.map-container p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--bg-primary);
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-family: var(--font-headings);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social-note {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.footer-menu a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.social-links-list {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: bold;
}

.social-link:hover {
    background-color: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---------- Botón flotante WhatsApp ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    animation: pulse-ring 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-green-hover);
    transform: scale(1.1) rotate(10deg);
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Animaciones de aparición ---------- */
/* Solo se activan con JavaScript disponible; sin JS todo es visible. */
html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Reducción de movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
    }

    .whatsapp-float {
        animation: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }

    .story-grid,
    .exp-grid,
    .benefits-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-image-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition);
        z-index: 1005;
    }

    .nav-menu.open {
        right: 0;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .exp-features {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float-icon {
        width: 26px;
        height: 26px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-final-box h2 {
        font-size: 2.1rem;
    }
}

/* Landscape móvil: el hero no depende de altura fija */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 3rem;
    }
}
