/* ============================================================
   INNER PAGES — Shared styles for Sobre Nosotros & Contacto
   Uses the same design tokens as style.css (dark theme)
   ============================================================ */

/* ─── Variable aliases (maps to style.css tokens) ───────────── */
:root {
    --neon-cyan: #00d4ff;
    /* alias for --neon-blue */
    --bg-primary: #080c14;
    /* alias for --bg-base */
    --bg-secondary: #0d1421;
    /* alias for --bg-surface */
}

/* ─── Footer (shared with inner pages) ──────────────────────── */
.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.2rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--t-fast);
}

.footer-list a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.78rem !important;
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-dev {
    font-size: 0.78rem !important;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 0.35rem;
}

.footer-dev a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: var(--t-fast);
}

.footer-dev a:hover {
    color: var(--neon-green);
    opacity: 1;
}

/* Social buttons in footer */
.footer-socials {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--t-fast);
    border: 1px solid transparent;
}

.footer-social-btn--tg {
    background: rgba(0, 136, 204, 0.12);
    color: #29b6f6;
    border-color: rgba(41, 182, 246, 0.25);
}

.footer-social-btn--tg:hover {
    background: rgba(41, 182, 246, 0.2);
    border-color: rgba(41, 182, 246, 0.5);
    transform: translateY(-1px);
}

.footer-social-btn--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.25);
}

.footer-social-btn--wa:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}

.footer-social-btn--email {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-cyan);
    border-color: rgba(0, 212, 255, 0.2);
}

.footer-social-btn--email:hover {
    background: rgba(0, 212, 255, 0.18);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}

/* Contact icon color variants */
.ip-contact-icon--tg {
    background: rgba(41, 182, 246, 0.1);
    border-color: rgba(41, 182, 246, 0.25);
    color: #29b6f6;
}

.ip-contact-icon--wa {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.25);
    color: #25d366;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}




/* ─── Page Hero ─────────────────────────────────────────────── */
.ip-hero {
    position: relative;
    padding: 7rem 2rem 5rem;
    text-align: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.ip-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 255, 136, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.ip-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.ip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--neon-cyan);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.ip-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.ip-accent {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ip-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ─── Main Container ─────────────────────────────────────────── */
.ip-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

/* ─── Stats Row ──────────────────────────────────────────────── */
.ip-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.ip-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--t-med);
}

.ip-stat-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
}

.ip-stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.ip-stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Section ────────────────────────────────────────────────── */
.ip-section {
    margin-bottom: 4rem;
}

.ip-section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.ip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 2.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--t-med);
}

.ip-card:hover {
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.ip-card-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ip-card-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.ip-card-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.ip-card-body p:last-child {
    margin-bottom: 0;
}

.ip-list {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.ip-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
}

.ip-list li:last-child {
    border-bottom: none;
}

.ip-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 900;
}

.ip-list li strong {
    color: var(--text-primary);
}

/* ─── 2-col grid ─────────────────────────────────────────────── */
.ip-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ─── Team Grid ──────────────────────────────────────────────── */
.ip-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ip-team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 2rem;
    text-align: center;
    transition: var(--t-med);
}

.ip-team-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.ip-team-avatar {
    width: 90px;
    height: 90px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
}

.ip-team-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.ip-team-role {
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.ip-team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.ip-team-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.ip-team-stat-val {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-green);
}

.ip-team-stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Values Grid ────────────────────────────────────────────── */
.ip-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ip-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 2rem;
    text-align: center;
    transition: var(--t-med);
}

.ip-value-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.ip-value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ip-value-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.ip-value-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── Contact Grid ───────────────────────────────────────────── */
.ip-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ip-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--t-med);
}

.ip-contact-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.1);
}

.ip-contact-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.ip-contact-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ip-contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.ip-contact-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--t-fast);
    word-break: break-all;
}

.ip-contact-link:hover {
    color: var(--neon-green);
}

/* ─── Contact Form ───────────────────────────────────────────── */
.ip-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.ip-form-header {
    margin-bottom: 2rem;
}

.ip-form-header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ip-form-header p {
    color: var(--text-muted);
}

.ip-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ip-form-group {
    margin-bottom: 1.5rem;
}

.ip-form-group label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ip-required {
    color: #ff4d6d;
}

.ip-form-group input,
.ip-form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--t-fast);
}

.ip-form-group input::placeholder,
.ip-form-group textarea::placeholder {
    color: var(--text-muted);
}

.ip-form-group input:focus,
.ip-form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.ip-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.ip-btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--grad-primary);
    color: #000;
    border: none;
    border-radius: var(--r-sm);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--t-med);
    letter-spacing: 0.02em;
}

.ip-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
    filter: brightness(1.1);
}

.ip-btn-submit:active {
    transform: translateY(0);
}

.ip-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid;
}

.ip-alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    border-color: var(--neon-green);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ip-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .ip-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ip-hero {
        padding: 5rem 1.5rem 3rem;
    }

    .ip-hero-title {
        font-size: 2.25rem;
    }

    .ip-main {
        padding: 2rem 1.25rem 4rem;
    }

    .ip-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .ip-grid-2,
    .ip-team-grid,
    .ip-values-grid,
    .ip-contact-grid {
        grid-template-columns: 1fr;
    }

    .ip-card {
        flex-direction: column;
        gap: 1rem;
    }

    .ip-form-row {
        grid-template-columns: 1fr;
    }

    .ip-form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .ip-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .ip-stat-num {
        font-size: 2rem;
    }
}