/*
 Theme Name:   Arriendo de Pelucheras
 Theme URI:    https://arriendopelucheras.cl
 Description:  Theme a medida para arriendopelucheras.cl: arriendo de pelucheras y maquinas atrapa peluches en Chile. Derivado del theme de Pelucheras.cl.
 Author:       Rentamania
 Author URI:   https://rentamania.cl
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  arriendopelucheras
 Tags:         seo, schema, local-business, events, one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    /* Marca */
    --c-brand:        #ff6b35;
    --c-brand-2:      #f7931e;
    --c-brand-soft:   #fff2ec;
    /* Naranja para TEXTO sobre fondo claro: el de marca (#ff6b35) solo alcanza
       2,84 de contraste sobre blanco, por debajo del 4,5 que exige WCAG AA.
       Este tono mantiene el color pero llega a 5,18. */
    --c-brand-text:   #c2410c;
    --c-brand-ring:   rgba(255, 107, 53, 0.35);
    --grad-brand:     linear-gradient(135deg, #ff6b35, #f7931e);

    /* Acentos por categoría */
    --c-kids:         #9b51e0;
    --c-corp:         #2c3e50;

    /* Neutros */
    --c-ink:          #14161a;
    --c-ink-2:        #3d4450;
    --c-muted:        #6b7280;
    --c-line:         #e8eaee;
    --c-surface:      #ffffff;
    --c-surface-alt:  #f6f7f9;

    /* Tipografía */
    --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --fs-h2:  clamp(1.9rem, 3.6vw, 2.85rem);
    --fs-h3:  clamp(1.15rem, 1.6vw, 1.4rem);
    --fs-lead: clamp(1rem, 1.4vw, 1.125rem);

    /* Espaciado y forma */
    --sp-section: clamp(64px, 8vw, 104px);
    --r-sm:  10px;
    --r-md:  16px;
    --r-lg:  22px;
    --r-pill: 999px;

    /* Sombras */
    --sh-sm: 0 2px 8px rgba(20, 22, 26, 0.06);
    --sh-md: 0 8px 30px rgba(20, 22, 26, 0.08);
    --sh-lg: 0 20px 60px rgba(20, 22, 26, 0.14);

    /* Movimiento */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =============================================
   CSS RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:where(a, button, [tabindex]):focus-visible {
    outline: 3px solid var(--c-brand-ring);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--sp-section) 0;
}

.section-alt {
    background-color: var(--c-surface-alt);
}

/* Revelado al hacer scroll */
.will-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.will-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

.service-card.will-reveal:nth-child(2),
.process-card.will-reveal:nth-child(2),
.event-card.will-reveal:nth-child(2),
.testimonial-card.will-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.service-card.will-reveal:nth-child(3),
.process-card.will-reveal:nth-child(3),
.event-card.will-reveal:nth-child(3),
.testimonial-card.will-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.current::after {
    width: 100%;
}

.main-nav a:hover {
    color: #ff6b35;
}

.header-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.header-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 0;
}

/* El <img> del hero llena la caja como lo hacía background-size: cover */
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.44));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 30px rgba(255, 107, 53, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.5);
}

/* --- Hero: elementos del rediseño --- */
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.hero-cta-secondary {
    display: inline-block;
    padding: 17px 34px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-pill);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 38px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-badges li {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-badges strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--r-pill);
}

.hero-scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: pelucheras-scroll 1.8s var(--ease) infinite;
}

@keyframes pelucheras-scroll {
    0%   { opacity: 0; transform: translateY(0); }
    35%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(16px); }
}

/* =============================================
   FRANJA DE MARCAS
   ============================================= */
.brands-strip {
    padding: 30px 0;
    background: var(--c-ink);
    color: #fff;
    overflow: hidden;
}

.brands-strip-label {
    margin-bottom: 14px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.brands-strip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 42px;
}

.brands-strip-list li {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.3s var(--ease);
}

.brands-strip-list li:hover {
    color: #fff;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 48px;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}

.service-card-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--c-surface-alt);
    aspect-ratio: 4 / 3;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-image {
    transform: scale(1.06);
}

/* Degradado inferior para que el borde de la foto no corte en seco */
.service-card-image-wrapper::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.service-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: var(--grad-brand);
    color: #fff;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.badge-kids {
    background: linear-gradient(135deg, #9b51e0, #8e44ad);
}

.badge-corporate {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* =============================================
   CÓMO FUNCIONA (PROCESO)
   ============================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 48px;
    counter-reset: paso;
}

.process-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-md);
}

.process-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-surface-alt);
}

.process-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.process-card:hover .process-card-image {
    transform: scale(1.05);
}

.process-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 22, 26, 0.55) 0%, transparent 55%);
    pointer-events: none;
}

.process-step {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.process-card-body {
    padding: 26px 26px 30px;
}

.process-card-body h3 {
    font-size: var(--fs-h3);
    margin-bottom: 12px;
    color: var(--c-ink);
}

.process-card-body p {
    color: var(--c-muted);
    line-height: 1.7;
}

/* =============================================
   EVENTS SECTION WITH IMAGES
   ============================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 48px;
}

.event-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--sh-md);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.event-card-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.event-card:hover .event-card-image img {
    transform: scale(1.08);
}

.event-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(10, 11, 13, 0.55) 35%, rgba(10, 11, 13, 0.94));
    padding: 64px 24px 26px;
    color: #fff;
}

.event-card-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.event-card-overlay p {
    font-size: 0.95rem;
    opacity: 0.88;
    margin-bottom: 18px;
    line-height: 1.55;
    /* Se despliega al pasar el mouse; siempre visible en táctil */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin-bottom 0.4s var(--ease);
    margin-bottom: 0;
}

.event-card:hover .event-card-overlay p,
.event-card:focus-within .event-card-overlay p {
    max-height: 8rem;
    opacity: 0.88;
    margin-bottom: 18px;
}

@media (hover: none) {
    .event-card-overlay p {
        max-height: 8rem;
        opacity: 0.88;
        margin-bottom: 18px;
    }
}

.btn-outline-white {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--c-ink);
}

/* =============================================
   GALERÍA DE EVENTOS
   ============================================= */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.gallery-filter {
    padding: 10px 22px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-pill);
    background: var(--c-surface);
    color: var(--c-ink-2);
    font-family: var(--f-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease),
                border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-filter:hover {
    border-color: var(--c-brand);
    color: var(--c-brand);
    transform: translateY(-2px);
}

.gallery-filter.is-active {
    background: var(--grad-brand);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.32);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.gallery-item {
    margin: 0;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-trigger {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--c-surface-alt);
    cursor: zoom-in;
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-trigger:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
}

.gallery-trigger img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.35s var(--ease);
}

.gallery-trigger:hover img {
    transform: scale(1.07);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(10, 11, 13, 0.88));
    color: #fff;
    padding: 34px 14px 13px;
    font-weight: 600;
    font-size: 0.82rem;
    text-align: left;
    letter-spacing: 0.2px;
}

.gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--c-ink);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-trigger:hover .gallery-zoom,
.gallery-trigger:focus-visible .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.gallery-more-wrap {
    margin-top: 36px;
    text-align: center;
}

.gallery-empty {
    margin-top: 28px;
    text-align: center;
    color: var(--c-muted);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 11, 13, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: lightbox-in 0.25s var(--ease);
}

.lightbox[hidden] {
    display: none;
}

@keyframes lightbox-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-figure {
    max-width: min(1000px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    border-radius: var(--r-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 1.9rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    font-size: 2.2rem;
    line-height: 1;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 28px 30px;
}

.service-card h3 {
    font-size: var(--fs-h3);
    margin-bottom: 12px;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--c-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line);
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: var(--c-ink-2);
    font-size: 0.94rem;
    line-height: 1.5;
}

.service-features li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--c-brand-soft)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
        center / 11px no-repeat;
}

/* Empuja el botón al pie de la tarjeta para alinear las 3 columnas */
.service-card-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--r-pill);
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
                background 0.3s var(--ease), color 0.3s var(--ease);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.42);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--c-brand);
    /* El borde conserva el naranja de marca; el texto usa el tono legible. */
    color: var(--c-brand-text);
}

.btn-outline:hover {
    background: var(--c-brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.32);
}

.btn-outline[hidden] {
    display: none;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 10px;
    max-width: 780px;
    margin-inline: auto;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    background: var(--c-brand-soft);
    color: var(--c-brand);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: var(--fs-h2);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--c-ink);
    text-wrap: balance;
}

.section-header p {
    font-size: var(--fs-lead);
    color: var(--c-muted);
    max-width: 62ch;
    margin: 0 auto;
    line-height: 1.7;
    text-wrap: pretty;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ff6b35;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #ff6b35;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-name {
    font-weight: 600;
    color: #1a1a1a;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #888;
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
    padding: 15px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs-list a {
    color: #ff6b35;
    transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
    color: #e55a2b;
}

.breadcrumbs-list .separator {
    color: #ccc;
}

/* La página actual, en el color de marca */
.breadcrumbs-list .current {
    color: var(--c-brand);
    font-weight: 600;
}

/* =============================================
   SERVICE PAGE
   ============================================= */

.service-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: #fff;
}

/* El "margin: 0 auto" venía de cuando el hero era centrado: dejaba la entradilla
   desplazada ~230px respecto del título, que ahora va alineado a la izquierda. */
.service-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0;
}


/* El ancho lo fija ahora .service-layout, que reparte texto y columna lateral.
   Con 900px el contenido quedaba más estrecho que la cabecera y ambos bloques
   no alineaban por la izquierda. */
.service-content .container {
    max-width: 1200px;
}

.service-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.service-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-content ul {
    margin: 20px 0;
}

.service-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: 700;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* Verde de WhatsApp oscurecido: sobre el #25d366 original el texto blanco
       quedaba en 1,98 de contraste, prácticamente ilegible al sol. */
    background: #0b7c3f;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
}

.cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}

.cta-whatsapp svg {
    width: 24px;
    height: 24px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    color: #aaa;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ff6b35;
}

.footer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    /* #666 sobre el pie oscuro daba 3,03 de contraste. */
    color: #999;
}

/* =============================================
   PAGE TEMPLATES
   ============================================= */
.page-header {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 900px;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.page-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =============================================
   BLOG
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}

.blog-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--c-surface-alt);
    aspect-ratio: 16 / 10;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--c-ink);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 26px 26px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--c-muted);
}

.blog-card-title {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-wrap: pretty;
}

.blog-card-title a {
    color: var(--c-ink);
    transition: color 0.3s var(--ease);
}

.blog-card-title a:hover {
    color: var(--c-brand);
}

.blog-card-excerpt {
    color: var(--c-muted);
    line-height: 1.65;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
    color: var(--c-brand);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.blog-card-link svg {
    transition: transform 0.3s var(--ease);
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(4px);
}

/* Primer artículo destacado, a lo ancho de la grilla */
@media (min-width: 901px) {
    .blog-card-featured {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .blog-card-featured .blog-card-media {
        flex: 0 0 55%;
        aspect-ratio: auto;
    }

    .blog-card-featured .blog-card-content {
        justify-content: center;
        padding: 40px 44px;
    }

    .blog-card-featured .blog-card-title {
        font-size: clamp(1.5rem, 2.4vw, 2rem);
    }

    .blog-card-featured .blog-card-excerpt {
        font-size: 1.03rem;
    }
}

/* --- Navegación por categorías --- */
.blog-cats {
    border-bottom: 1px solid var(--c-line);
    background: var(--c-surface);
}

.blog-cats ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 0;
}

.blog-cats a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--r-pill);
    color: var(--c-ink-2);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.blog-cats a:hover,
.blog-cats a.is-active {
    background: var(--c-brand-soft);
    color: var(--c-brand);
}

.blog-cats a span {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--r-pill);
    background: var(--c-surface-alt);
    font-size: 0.72rem;
    font-weight: 700;
}

/* =============================================
   ARTÍCULO INDIVIDUAL
   ============================================= */
.single-hero.has-cover {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(58vh, 520px);
    padding: 130px 0 52px;
    overflow: hidden;
    color: #fff;
}

.single-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 11, 13, 0.94) 12%, rgba(10, 11, 13, 0.62) 55%, rgba(10, 11, 13, 0.5));
}

.single-hero.has-cover .container {
    position: relative;
    z-index: 1;
}

.single-hero.has-cover h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    max-width: 20ch;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.single-hero .post-categories {
    margin-bottom: 16px;
}

.single-hero .post-categories a {
    display: inline-block;
    margin-right: 6px;
    padding: 6px 15px;
    border-radius: var(--r-pill);
    background: var(--grad-brand);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.single-hero .single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    font-size: 0.9rem;
}

.single-hero.has-cover .single-meta {
    color: rgba(255, 255, 255, 0.82);
}

.single-content {
    padding: clamp(44px, 6vw, 72px) 0 clamp(50px, 7vw, 80px);
}

.single-content .container {
    max-width: 760px;
}

.single-lead {
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 4px solid var(--c-brand);
    font-size: clamp(1.05rem, 1.7vw, 1.22rem);
    line-height: 1.65;
    color: var(--c-ink-2);
    font-weight: 500;
}

.entry-content h2 {
    margin: 44px 0 16px;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    letter-spacing: -0.015em;
    color: var(--c-ink);
}

.entry-content h3 {
    margin: 34px 0 12px;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--c-ink);
}

.entry-content p {
    margin-bottom: 20px;
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--c-ink-2);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 24px;
    padding-left: 4px;
}

.entry-content ul li,
.entry-content ol li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
    font-size: 1.04rem;
    line-height: 1.7;
    color: var(--c-ink-2);
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--grad-brand);
}

.entry-content ol {
    counter-reset: lista;
}

.entry-content ol li {
    counter-increment: lista;
}

.entry-content ol li::before {
    content: counter(lista);
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    font-size: 0.78rem;
    font-weight: 800;
}

.entry-content a {
    color: var(--c-brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content img {
    border-radius: var(--r-md);
    margin: 28px 0;
}

.entry-content blockquote {
    margin: 30px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--c-brand);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    background: var(--c-surface-alt);
    font-size: 1.08rem;
    font-style: italic;
    color: var(--c-ink-2);
}

.tag-links {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
    font-size: 0.9rem;
    color: var(--c-muted);
}

.tag-links a {
    display: inline-block;
    margin: 4px 4px 0 0;
    padding: 5px 13px;
    border-radius: var(--r-pill);
    background: var(--c-surface-alt);
    color: var(--c-ink-2);
    font-size: 0.82rem;
}

.tag-links a:hover {
    background: var(--c-brand-soft);
    color: var(--c-brand);
}

.post-navigation {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--c-line);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.post-navigation a {
    display: block;
    padding: 20px 22px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.post-navigation a:hover {
    border-color: var(--c-brand);
    background: var(--c-brand-soft);
    transform: translateY(-2px);
}

.post-navigation .nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    margin-bottom: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--c-brand);
}

.nav-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--c-ink);
}

.related-posts .section-header {
    margin-bottom: 44px;
}

@media (max-width: 900px) {
    .single-hero.has-cover {
        min-height: auto;
        padding: 110px 0 40px;
    }

    .post-navigation .nav-next {
        text-align: left;
    }
}

/* =============================================
   SINGLE POST
   ============================================= */
.single-hero {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
}

.single-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 20px;
}

.single-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.single-content {
    padding: 60px 0;
}

.single-content .container {
    max-width: 800px;
}

.single-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
}

.single-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
}

.single-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.single-content ul, .single-content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.single-content li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.single-content blockquote {
    border-left: 4px solid #ff6b35;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a1a;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 10px 0;
        border-radius: 0 0 12px 12px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 15px;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #ff6b35;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .events-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-bg-desktop {
        display: none;
    }

    .hero-bg-mobile {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll {
        display: none;
    }

    .brands-strip-list {
        gap: 10px 26px;
    }

    .event-card-image {
        aspect-ratio: 4 / 3;
    }

    .event-card-overlay {
        padding: 48px 20px 22px;
    }

    .event-card-overlay h3 {
        font-size: 1.15rem;
    }

    .event-card-overlay p {
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-caption {
        font-size: 0.72rem;
        padding: 26px 10px 9px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .event-card-image {
        aspect-ratio: 1 / 1;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta,
    .hero-cta-secondary {
        padding: 14px 30px;
        font-size: 0.95rem;
        text-align: center;
    }

    .hero-badges {
        gap: 12px 24px;
        margin-top: 30px;
        padding-top: 22px;
    }

    .hero-badges strong {
        font-size: 1.25rem;
    }

    .service-card-content {
        padding: 22px;
    }

    .process-card-body {
        padding: 22px 22px 26px;
    }

    .process-step {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        left: 14px;
        bottom: 12px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 15px 40px 15px 15px;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 42px;
        height: 42px;
        margin-top: -21px;
        font-size: 1.8rem;
    }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.hidden { display: none; }
.screen-reader-text { 
    position: absolute; 
    width: 1px; 
    height: 1px; 
    padding: 0; 
    margin: -1px; 
    overflow: hidden; 
    clip: rect(0, 0, 0, 0); 
    border: 0; 
}
/* =============================================
   FORMULARIO DE CONTACTO
   ============================================= */
.contact-form-wrap {
    margin: 32px 0;
    padding: clamp(24px, 4vw, 38px);
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Dos columnas en escritorio, una en móvil */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-ink);
}

.form-group label span {
    color: var(--c-brand);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    color: var(--c-ink);
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cfd4dc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-brand);
    box-shadow: 0 0 0 3px var(--c-brand-ring);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa1ac;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Flecha propia del desplegable */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* El campo de fecha necesita altura explícita en Safari/iOS */
.form-group input[type="date"] {
    min-height: 49px;
}

.form-ayuda {
    font-size: 0.82rem;
    color: var(--c-muted);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc3545;
    background: #fff6f6;
}

.form-group.has-error label {
    color: #c62828;
}

/* Trampa antispam: fuera de la vista pero no con display:none,
   que algunos bots detectan */
.contact-form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.contact-form button[type="submit"] {
    padding: 15px 38px;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.form-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1f9d55;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.25s var(--ease);
}

.form-whatsapp:hover {
    color: #157a41;
}

.form-nota {
    margin: 0;
    font-size: 0.82rem;
    color: var(--c-muted);
}

.form-nota span {
    color: var(--c-brand);
}

/* Avisos de resultado */
.form-aviso {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    border-left: 4px solid;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-aviso strong {
    display: block;
    margin-bottom: 3px;
}

.form-aviso-ok {
    background: #edf9f0;
    border-color: #1f9d55;
    color: #14532d;
}

.form-aviso-error {
    background: #fdf1f1;
    border-color: #dc3545;
    color: #7f1d1d;
}

@media (max-width: 768px) {
    .contact-form-wrap {
        padding: 22px 18px;
    }

    /* 16px evita que iOS haga zoom al enfocar un campo */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .form-acciones {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form button[type="submit"] {
        width: 100%;
    }

    .form-whatsapp {
        justify-content: center;
    }
}

/* =============================================
   PÁGINAS DE SERVICIO
   ============================================= */
.service-hero {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    text-align: center;
}

/* Con foto de portada el hero pasa a ser una imagen a sangre */
.service-hero.has-cover {
    display: flex;
    align-items: flex-end;
    min-height: min(62vh, 560px);
    padding: 140px 0 56px;
    text-align: left;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/*
 * Encuadre desde arriba: las fotos de las máquinas son verticales y con el
 * recorte centrado se perdía la parte alta (la vitrina con los peluches y el
 * letrero de la marca), que es justo lo que identifica la peluchera.
 */
.service-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.service-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,11,13,0.94) 10%, rgba(10,11,13,0.62) 52%, rgba(10,11,13,0.46));
}

/*
 * El hero con foto es un contenedor flex, y ahí el .container se encogía al
 * ancho de su contenido: con margin auto quedaba centrado e indentado unos
 * 250px, sin alinear con el texto de la sección siguiente. Con width: 100%
 * vuelve a ocupar la caja completa y ambos bloques comparten margen.
 */
.service-hero.has-cover .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.service-hero.has-cover h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    letter-spacing: -0.02em;
    max-width: 18ch;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.service-hero-intro {
    max-width: 60ch;
    margin-top: 16px;
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/*
 * Migas de pan dentro del hero.
 *
 * El estilo general les pone un fondo claro porque nacieron como una barra
 * encima del contenido. Dentro del hero oscuro esa barra se veía como un
 * rectángulo blanco atravesando la cabecera, así que aquí se quedan sin fondo
 * ni borde. Aplica con y sin foto de portada: las páginas sin foto (Contacto)
 * también tienen la cabecera oscura.
 */
.service-hero .breadcrumbs {
    margin-bottom: 14px;
    padding: 0;
    background: none;
    border: 0;
}

.service-hero .breadcrumbs .container {
    padding: 0;
}

.service-hero .breadcrumbs,
.service-hero .breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
}

.service-hero .breadcrumbs a:hover {
    color: #fff;
}

.service-hero .breadcrumbs-list .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Hero sin foto: mismo encuadre a la izquierda que el que sí la tiene, para
   que el título, los botones y los distintivos queden alineados entre sí. */
.service-hero:not(.has-cover) {
    text-align: left;
}

.service-hero:not(.has-cover) h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    letter-spacing: -0.02em;
    max-width: 18ch;
    text-wrap: balance;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.service-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
}

.service-hero-badges li {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.service-hero-badges strong {
    color: var(--c-brand);
    font-size: 1.05rem;
    font-weight: 800;
}

/* --- Contenido a dos columnas --- */
.service-content {
    padding: clamp(48px, 6vw, 78px) 0;
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

/* La segunda columna solo existe si la página tiene foto lateral. Sin esta
   condición, páginas como Contacto reservaban 340px para una columna vacía y
   el texto se quedaba en media anchura. */
.service-layout.has-aside {
    grid-template-columns: minmax(0, 1fr) 340px;
}

/* Sin columna lateral el texto no debe cruzar toda la pantalla: se limita a
   una medida de lectura cómoda. */
.service-layout:not(.has-aside) .entry-content {
    max-width: 78ch;
}

.service-layout .entry-content {
    min-width: 0;
}

.service-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-aside-figure {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
    aspect-ratio: 4 / 5;
}

.service-aside-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.service-aside-card {
    padding: 26px 24px;
    border-radius: var(--r-lg);
    background: var(--c-surface-alt);
    border: 1px solid var(--c-line);
    text-align: center;
}

.service-aside-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.service-aside-card p {
    margin-bottom: 18px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--c-muted);
}

.service-aside-card .btn {
    width: 100%;
}

.service-aside-nota {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--c-muted);
}

/* --- Galería de la página de servicio --- */
.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-gallery-item {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
}

.service-gallery-item img {
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    object-position: center top;
}

.service-gallery-item figcaption {
    padding: 15px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-ink-2);
}

/* --- Otros servicios --- */
.service-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.service-related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: var(--sh-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-lg);
    border-color: transparent;
}

.service-related-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--c-surface-alt);
}

.service-related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s var(--ease);
}

.service-related-card:hover .service-related-media img {
    transform: scale(1.05);
}

.service-related-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px 24px;
}

.service-related-body strong {
    font-size: 1.05rem;
    color: var(--c-ink);
    line-height: 1.35;
}

.service-related-body span {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--c-muted);
}

@media (max-width: 960px) {
    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-aside {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        align-items: start;
    }

    .service-aside-figure {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 700px) {
    .service-hero.has-cover {
        min-height: auto;
        padding: 120px 0 44px;
    }

    .service-hero-actions .hero-cta,
    .service-hero-actions .hero-cta-secondary {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* =============================================
   ÁREAS TÁCTILES (móvil)
   ============================================= */

/*
 * Los iconos de redes del pie medían 29x20 y quedaban pegados entre sí: en un
 * teléfono es muy fácil pulsar el equivocado. Se les da un área de 44px con el
 * icono centrado, sin cambiar el tamaño del dibujo.
 */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--r-sm);
    color: inherit;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--c-brand);
}

.footer-social a svg {
    width: 22px;
    height: 22px;
}

/*
 * En pantallas táctiles los filtros de la galería suben a 48px de alto.
 * Con 33px quedaban por debajo del mínimo recomendado y, al estar en fila con
 * poca separación, era fácil pulsar el filtro de al lado. En escritorio se
 * mantiene el tamaño compacto original, donde se apunta con el ratón.
 */
@media (max-width: 900px) {
    .gallery-filters {
        gap: 10px;
    }

    .gallery-filter {
        min-height: 48px;
        padding: 10px 20px;
    }
}

/* =============================================
   CONTRASTE Y ENLACES DEL PIE
   ============================================= */

/*
 * Los enlaces dentro de los párrafos del pie (Arriendo de Pelucheras, Rentamania,
 * Limon con Sal) se distinguían del texto solo por el color. Quien no percibe
 * bien el naranja no tenía forma de saber que eran enlaces, así que se les
 * añade subrayado: una señal que no depende de distinguir colores.
 */
.site-footer p a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.site-footer p a:hover {
    text-decoration-thickness: 2px;
}

/* El contador del botón "Ver más fotos" hereda el color legible del botón. */
.gallery-more-count {
    color: inherit;
    opacity: 0.85;
}

/* La sombra acompaña al nuevo verde del botón de WhatsApp. */
.cta-whatsapp {
    box-shadow: 0 5px 30px rgba(11, 124, 63, 0.35);
}

.cta-whatsapp:hover {
    background: #0a6b36;
}
