/* ==========================================================================
   GALOPER BRANDING: MUDANZAS DEL PACÍFICO — PÁGINAS INTERNAS
   Estilos para páginas de distritos, servicios y blog
   ========================================================================== */

/* --- IMPORT DESDE STYLE PRINCIPAL --- */
/* Este archivo usa las mismas variables de style.css */

/* --- BREADCRUMB --- */
.breadcrumb {
    background: #f7f5f2;
    padding: 12px 0;
    border-bottom: 1px solid #e8e5e0;
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: #666;
}
.breadcrumb-inner a {
    color: #888;
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb-inner a:hover { color: #FBC02D; }
.breadcrumb-inner .sep { color: #ccc; }
.breadcrumb-inner .current { color: #0A1628; font-weight: 600; }

/* --- HERO INTERNO --- */
.inner-hero {
    background: linear-gradient(135deg, #0A1628 0%, #0f2040 60%, #1a2d50 100%);
    padding: clamp(80px, 10vw, 130px) 24px clamp(60px, 8vw, 100px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251,192,45,.12) 0%, transparent 70%);
    pointer-events: none;
}
.inner-hero-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #FBC02D;
    margin-bottom: 16px;
    display: block;
}
.inner-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 540;
    color: #f7f5f2;
    line-height: 1.1;
    letter-spacing: -0.015em;
    max-width: 860px;
    margin: 0 auto 20px;
    text-wrap: balance;
}
.inner-hero-sub {
    font-size: clamp(.94rem, 1.5vw, 1.1rem);
    color: rgba(247,245,242,.65);
    max-width: 56ch;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.inner-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-wa-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: #25D366;
    color: #fff;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(37,211,102,.35);
}
.btn-wa-hero i { font-size: 1.1rem; }
.btn-wa-hero:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,.45); }

.btn-quote-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 650;
    border: 1px solid rgba(255,255,255,.28);
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
    font-family: var(--font-primary);
    transition: background .2s, transform .2s;
}
.btn-quote-hero:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* --- CONTENIDO PRINCIPAL INTERNO --- */
.inner-content {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) 24px;
    color: #1a1a1a;
}
.inner-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 540;
    color: #0A1628;
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}
.inner-content h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: #0A1628;
    margin: 32px 0 12px;
}
.inner-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #3a3a3a;
    margin-bottom: 18px;
}
.inner-content ul {
    margin: 12px 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.inner-content ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: #3a3a3a;
}
.inner-content ul li::marker { color: #FBC02D; }

/* --- CAJA CTA INTERNA --- */
.inner-cta-box {
    background: linear-gradient(135deg, #0A1628, #0f2040);
    border-radius: 20px;
    padding: clamp(32px, 4vw, 52px);
    text-align: center;
    margin: 48px 0;
}
.inner-cta-box h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    color: #f7f5f2;
    margin: 0 0 14px;
}
.inner-cta-box p {
    color: rgba(247,245,242,.65);
    margin: 0 0 24px;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRID DE SERVICIOS INTERNOS --- */
.inner-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0 48px;
}
.inner-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    transition: box-shadow .2s, transform .2s;
}
.inner-service-card:hover {
    box-shadow: 0 8px 32px rgba(10,22,40,.1);
    transform: translateY(-3px);
}
.inner-service-card i {
    font-size: 1.8rem;
    color: #FBC02D;
    margin-bottom: 12px;
    display: block;
}
.inner-service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0A1628;
    margin: 0 0 8px;
}
.inner-service-card p {
    font-size: .88rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* --- FAQ INTERNO --- */
.inner-faq { margin: 48px 0; }
.inner-faq h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #0A1628;
    margin-bottom: 24px;
    font-weight: 540;
}
.faq-item-inner {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.25s ease;
}
.faq-item-inner[open] {
    border-color: #FBC02D;
}
.faq-item-inner summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: .96rem;
    color: #0A1628;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.faq-item-inner summary::-webkit-details-marker { display:none; }
.faq-item-inner summary:hover {
    background-color: #faf9f6;
}
.faq-item-inner summary::after {
    content: '+';
    font-size: 1.4rem;
    color: #FBC02D;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item-inner[open] summary::after {
    transform: rotate(45deg);
}
.faq-item-inner[open] summary {
    color: #0A1628;
    background-color: #faf9f6;
}
.faq-item-inner p {
    padding: 0 20px 0; 
    margin: 0;
    font-size: .94rem;
    color: #555;
    line-height: 1.65;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s ease, 
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}
.faq-item-inner[open] p {
    max-height: 350px;
    opacity: 1;
    border-top: 1px solid #eee;
    padding: 14px 20px 18px;
}

/* --- NAVEGACIÓN FOOTER INTERNA --- */
.inner-footer-nav {
    background: #f7f5f2;
    border-top: 1px solid #e8e5e0;
    padding: 32px 24px;
    text-align: center;
}
.inner-footer-nav p {
    font-size: .84rem;
    color: #888;
    margin-bottom: 16px;
}
.inner-footer-nav .district-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.inner-footer-nav .district-links a {
    font-size: .8rem;
    color: #555;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: color .2s, border-color .2s;
}
.inner-footer-nav .district-links a:hover { color: #FBC02D; border-color: #FBC02D; }

/* --- RESPONSIVE INTERNO --- */
@media (max-width: 768px) {
    .inner-hero-ctas { flex-direction: column; align-items: center; }
    .btn-wa-hero, .btn-quote-hero { width: 100%; max-width: 320px; justify-content: center; }
    .inner-services-grid { grid-template-columns: 1fr; }
}

/* --- NAVEGACIÓN CABECERA PÁGINAS INTERNAS --- */
.inner-nav {
    position: relative;
    background: #0A1628;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(10,22,40,0.15);
    z-index: 100;
}
.inner-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.inner-nav-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}
.inner-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 11px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: .88rem;
    box-shadow: 0 4px 15px rgba(37,211,102,.3);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.inner-nav-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
}

@media (max-width: 480px) {
    .inner-nav {
        padding: 12px 16px;
    }
    .inner-nav-logo img {
        height: 30px;
    }
    .inner-nav-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
