/*
 * premium.css — G12 INTEROCEANICA
 * Shared premium stylesheet for all pages
 * ================================================= */

/* ── Utility / Section Eyebrow ─────────────────── */
.section-eyebrow {
    display: inline-block;
    background: rgba(18,30,115,.08);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #1C2035;
    line-height: 1.25;
}
.section-sub {
    font-size: 1rem;
    color: #666;
    max-width: 520px;
    line-height: 1.65;
}

/* ── Page Hero Banner (inner pages) ────────────── */
.page-hero {
    background: linear-gradient(120deg, #1C2035 0%, #0d1b8e 100%);
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.page-hero::before {
    content: '';
    position: absolute;
    left: 30%;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    pointer-events: none;
}
.page-hero h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin-bottom: 10px;
    line-height: 1.2;
}
.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .85rem;
}
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.35);
}
.page-hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 14px;
}

/* ── Propuesta de Valor ─────────────────────────── */
.valor-section {
    background: #fff;
    padding: 72px 0 60px;
}
.valor-section .badge-label {
    display: inline-block;
    background: rgba(18,30,115,.08);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 12px;
}
.valor-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1C2035;
}
.valor-section h2 span { color: var(--primary); }
.valor-section .lead-text {
    font-size: 1.05rem;
    color: #555;
    max-width: 560px;
    line-height: 1.7;
}
.valor-card {
    background: #f8f9ff;
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    border: 1.5px solid rgba(18,30,115,.07);
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(18,30,115,.09);
    border-color: var(--primary);
}
.valor-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.valor-card h5 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1C2035;
}
.valor-card p {
    font-size: .84rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Stats / Cifras ─────────────────────────────── */
.stats-section {
    background: linear-gradient(135deg, #0d1b8e 0%, #1a2fc4 60%, #0d1b8e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 200"><path d="M0 100 C200 20 600 180 800 100 V200 H0Z" fill="rgba(255,255,255,0.04)"/></svg>') no-repeat center / cover;
}
.stat-item {
    text-align: center;
    padding: 12px 0;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 1px;
    background: rgba(255,255,255,.2);
}
.stat-num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}
.stat-num sup { font-size: 1.2rem; vertical-align: super; }
.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 500;
}

/* ── Servicios Destacados ───────────────────────── */
.servicios-section {
    background: #f4f6fb;
    padding: 72px 0 60px;
}
.serv-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: 1.5px solid #e8eaf0;
    transition: transform .23s, box-shadow .23s, border-color .23s;
    display: flex;
    flex-direction: column;
}
.serv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(18,30,115,.12);
    border-color: var(--primary);
}
.serv-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.serv-body {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.serv-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(18,30,115,.09);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.serv-body h5 {
    font-size: .92rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 8px;
}
.serv-body p {
    font-size: .82rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 16px;
}
.serv-link {
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .3px;
}
.serv-link:hover { color: #0d1b8e; gap: 9px; }

/* ── Por qué elegirnos ──────────────────────────── */
.porque-section {
    background: #fff;
    padding: 76px 0 64px;
}
.porque-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(18,30,115,.13);
    position: relative;
}
.porque-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}
.porque-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 260px;
}
.porque-badge .bi-star-fill { color: #f59e0b; font-size: 1.8rem; }
.porque-badge strong { display: block; font-size: 1rem; font-weight: 800; color: #1C2035; }
.porque-badge span { font-size: .78rem; color: #666; }
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.check-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(18,30,115,.09);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-item h6 {
    font-size: .88rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 3px;
}
.check-item p {
    font-size: .8rem;
    color: #777;
    margin: 0;
    line-height: 1.55;
}

/* ── CTA Band ───────────────────────────────────── */
.cta-section {
    background: linear-gradient(120deg, #1C2035 0%, #0d1b8e 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.cta-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.cta-section p { color: rgba(255,255,255,.75); font-size: .95rem; }
.btn-cta-primary {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    border: none;
    font-size: .9rem;
    transition: transform .18s, box-shadow .18s;
    text-decoration: none;
    display: inline-block;
}
.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255,255,255,.2);
    color: var(--primary);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.55);
    font-size: .9rem;
    transition: border-color .18s, background .18s;
    text-decoration: none;
    display: inline-block;
}
.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,.08);
    color: #fff;
}

/* ── Clients / Logos band ───────────────────────── */
.clients-section { background: #f4f6fb; padding: 60px 0 56px; }

/* ── Hero carousel text (index.html) ───────────── */
.hero-pill {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 14px;
}
.hero-cta-wrap { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: .88rem;
    transition: transform .18s, box-shadow .18s;
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.3);
    color: #fff;
}
.btn-hero-outline {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .88rem;
    transition: background .18s, border-color .18s;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.25);
    border-color: #fff;
    color: #fff;
}

/* ── Mobile button hiding (index) ──────────────── */
@media (max-width: 767.98px) {
    .service-btn { display: none !important; }
    .service-item { cursor: pointer !important; }
}

/* ── Premium content cards (inner pages) ───────── */
.premium-content-section {
    background: #f4f6fb;
    padding: 72px 0 64px;
}
.content-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    height: 100%;
    border: 1.5px solid rgba(18,30,115,.07);
    transition: transform .22s, box-shadow .22s;
}
.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(18,30,115,.1);
}
.content-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.content-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 12px;
}
.content-card p {
    font-size: .88rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ── Timeline (historia page) ───────────────────── */
.timeline-section {
    background: #fff;
    padding: 72px 0 64px;
}
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(18,30,115,.15) 100%);
}
.timeline-item {
    position: relative;
    margin-bottom: 36px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(18,30,115,.2);
}
.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 100px;
    padding: 3px 12px;
    margin-bottom: 8px;
}
.timeline-item h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 6px;
}
.timeline-item p {
    font-size: .84rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Policy cards (politi page) ─────────────────── */
.policy-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    height: 100%;
    border: 1.5px solid rgba(18,30,115,.07);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    text-align: center;
}
.policy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(18,30,115,.1);
    border-color: var(--primary);
}
.policy-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1C2035;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    overflow: hidden;
}
.policy-logo img { width: 56px; height: auto; }
.policy-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1C2035;
    margin-bottom: 14px;
}
.policy-card p {
    font-size: .84rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 24px;
}
.btn-policy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.btn-policy:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(18,30,115,.25);
    color: #fff;
}

/* ── Premium footer ─────────────────────────────── */
.footer .btn-outline-secondary {
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.65);
}
.footer .btn-outline-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

/* ── Responsive adjustments ─────────────────────── */
@media (max-width: 767px) {
    .stat-item + .stat-item::before { display: none; }
    .porque-img-wrap img { height: 280px; }
    .page-hero { padding: 40px 0 34px; }
    .page-hero h1 { font-size: 1.6rem; }
    .timeline { padding-left: 32px; }
    .timeline::before { left: 12px; }
    .timeline-dot { left: -26px; }
}
