/* ============================================================
   SACOT GRUPO EMPRESARIAL — Estilos Páginas Internas
   Nosotros · Servicios · Contacto
   ============================================================ */

/* ── Full-width para secciones (igual que home.css) ─────────── */
main.container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ════════════════════════════════════════════
   HERO DE PÁGINA (compartido)
════════════════════════════════════════════ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #135885 100%);
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 55px solid rgba(0,156,204,.07);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    border: 40px solid rgba(0,188,212,.06);
    pointer-events: none;
}
.page-hero-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--blue-light) 55%, transparent 100%);
}

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .73rem;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.page-breadcrumb a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .2s;
}
.page-breadcrumb a:hover { color: var(--cyan-light); }
.page-breadcrumb .sep { font-size: .5rem; }

.page-hero-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--cyan);
    margin-bottom: .7rem;
    position: relative;
    z-index: 1;
}
.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
    position: relative;
    z-index: 1;
}
.page-hero-desc {
    font-size: .95rem;
    color: rgba(255,255,255,.62);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ── Secciones internas ─────────────────────────────────────── */
.inner-section         { padding: 5rem 0; background: var(--white); }
.inner-section.alt     { background: var(--gray-50); }

/* Botones universales para páginas internas */
.btn-page-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cyan); color: var(--white);
    font-size: .9rem; font-weight: 600;
    padding: .75rem 1.75rem; border-radius: 28px;
    text-decoration: none; border: none; cursor: pointer;
    transition: background .2s var(--ease), transform .2s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(0,156,204,.38);
}
.btn-page-primary:hover {
    background: var(--blue); color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,156,204,.45);
}
.btn-page-dark {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy); color: var(--white);
    font-size: .88rem; font-weight: 600;
    padding: .72rem 1.6rem; border-radius: 28px;
    text-decoration: none; border: none; cursor: pointer;
    transition: background .2s var(--ease), transform .2s, box-shadow .2s;
    box-shadow: var(--shadow-md);
}
.btn-page-dark:hover {
    background: var(--navy-mid); color: var(--white);
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.btn-page-outline-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: rgba(255,255,255,.88);
    font-size: .88rem; font-weight: 600;
    padding: .72rem 1.5rem; border-radius: 28px;
    text-decoration: none; border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(4px);
    transition: background .2s var(--ease), color .2s, transform .2s;
}
.btn-page-outline-white:hover {
    background: rgba(255,255,255,.1); color: var(--white);
    transform: translateY(-2px);
}

/* ════════════════════════════════════════════
   NOSOTROS
════════════════════════════════════════════ */

/* Tarjeta de credenciales */
.credentials-card {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.credentials-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--blue-light));
}
.credentials-card::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,156,204,.1) 0%, transparent 70%);
    pointer-events: none;
}
.credentials-logo {
    height: 56px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: .85;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.credentials-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,156,204,.15);
    border: 1px solid rgba(0,156,204,.3);
    color: var(--cyan-light);
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    padding: 5px 12px; border-radius: 20px;
    margin-bottom: 1.4rem;
    position: relative; z-index: 1;
}
.credentials-item {
    display: flex; align-items: flex-start; gap: 10px;
    text-align: left;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 8px;
    padding: .7rem .9rem;
    margin-bottom: 8px;
    position: relative; z-index: 1;
}
.credentials-item .ci-icon {
    color: var(--cyan); font-size: .8rem;
    margin-top: 3px; flex-shrink: 0;
}
.credentials-item .ci-label {
    font-size: .64rem; color: rgba(255,255,255,.4);
    font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; display: block;
}
.credentials-item .ci-value {
    font-size: .82rem; color: rgba(255,255,255,.82);
    font-weight: 500; display: block; line-height: 1.4;
}

/* Misión & Visión */
.mv-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 2.25rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.mv-card.mision::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.mv-card.vision::before  { background: linear-gradient(90deg, var(--blue), var(--navy-light)); }
.mv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.mv-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 1.1rem;
}
.mv-card.mision .mv-icon { background: rgba(0,156,204,.1);  color: var(--cyan); }
.mv-card.vision  .mv-icon { background: rgba(13,110,188,.1); color: var(--blue); }
.mv-card h4 {
    font-size: 1.05rem; font-weight: 700;
    color: var(--navy); margin-bottom: .75rem;
}
.mv-card p {
    font-size: .85rem; color: var(--text-muted);
    line-height: 1.78; margin: 0;
}

/* Strip estadísticas (navy) */
.stats-strip { background: var(--navy); padding: 3.5rem 0; }
.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.strip-stat {
    text-align: center; padding: 1.25rem 1rem;
    position: relative;
}
.strip-stat + .strip-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; bottom: 15%;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.strip-stat-icon { font-size: 1.1rem; color: var(--cyan); margin-bottom: .5rem; display: block; }
.strip-stat-num  { font-size: 2.3rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 5px; }
.strip-stat-lbl  { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }

/* Equipo */
.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
    border-radius: var(--radius) var(--radius) 0 0;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card:hover::before { transform: scaleX(1); }

.team-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,156,204,.12), rgba(13,110,188,.08));
    border: 2px solid rgba(0,156,204,.22);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 1.5rem; color: var(--cyan);
    transition: background .3s, border-color .3s;
}
.team-card:hover .team-avatar {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border-color: transparent;
    color: var(--white);
}
.team-name { font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.team-role { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--cyan); margin-bottom: .7rem; }
.team-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════ */
.svc-section { padding: 5rem 0; background: var(--white); }
.svc-section.alt { background: var(--gray-50); }

.svc-img-wrap { position: relative; }
.svc-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}
.svc-img-wrap::after {
    content: '';
    position: absolute;
    bottom: -14px; right: -14px;
    left: 14px; top: 14px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,156,204,.12), rgba(13,110,188,.08));
    z-index: -1;
}
.svc-img-wrap.mirror::after {
    left: -14px; right: 14px;
}

.svc-features { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.svc-feature {
    display: flex; align-items: flex-start; gap: 10px;
    padding: .6rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .86rem;
    color: var(--gray-700);
}
.svc-feature:first-child { border-top: 1px solid var(--gray-100); }
.sf-icon {
    width: 20px; height: 20px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 1px;
}
.sf-icon i { font-size: .48rem; color: var(--white); }

/* CTA Servicios */
.services-cta {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #135885 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.services-cta::before {
    content: '';
    position: absolute;
    top: -90px; right: -90px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 55px solid rgba(0,156,204,.07);
    pointer-events: none;
}

/* Otros servicios */
.other-svc-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.other-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.other-svc-icon {
    width: 54px; height: 54px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(0,156,204,.1), rgba(13,110,188,.07));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto .9rem; font-size: 1.3rem; color: var(--cyan);
    transition: background .3s, color .3s;
}
.other-svc-card:hover .other-svc-icon {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--white);
}
.other-svc-name { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: .45rem; }
.other-svc-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contact-info-card {
    display: flex; align-items: flex-start; gap: 15px;
    padding: 1.15rem 1.35rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 10px;
    transition: box-shadow .2s var(--ease), transform .2s;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.cic-icon {
    width: 42px; height: 42px; border-radius: 11px;
    background: linear-gradient(135deg, rgba(0,156,204,.1), rgba(13,110,188,.07));
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; color: var(--cyan); flex-shrink: 0;
    transition: background .25s, color .25s;
}
.contact-info-card:hover .cic-icon {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: var(--white);
}
.cic-label {
    font-size: .63rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-muted); margin-bottom: 2px; display: block;
}
.cic-value {
    font-size: .84rem; font-weight: 500;
    color: var(--navy); line-height: 1.45;
}
.cic-value a { color: inherit; text-decoration: none; transition: color .2s; }
.cic-value a:hover { color: var(--cyan); }

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 9px;
    background: #25d366; color: var(--white);
    font-size: .88rem; font-weight: 600;
    padding: .7rem 1.5rem; border-radius: 28px;
    text-decoration: none;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(37,211,102,.32);
    margin-top: .75rem;
}
.btn-whatsapp:hover {
    background: #1db954; color: var(--white);
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.42);
}

/* Formulario */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-md);
}
.contact-form-card .form-label {
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--navy); margin-bottom: 6px;
}
.contact-form-card .form-control {
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    padding: .65rem .9rem;
    font-size: .875rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--gray-50);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form-card .form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,156,204,.14);
    background: var(--white);
    outline: none;
}
.contact-form-card .form-control.is-invalid { border-color: #ef4444; box-shadow: none; }
.contact-form-card .invalid-feedback { font-size: .74rem; color: #ef4444; }

.btn-send {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--navy-mid), var(--navy));
    color: var(--white); font-size: .9rem; font-weight: 600;
    padding: .82rem 2rem; border-radius: 28px;
    border: none; cursor: pointer;
    width: 100%; justify-content: center;
    transition: background .2s var(--ease), transform .2s, box-shadow .2s;
    box-shadow: var(--shadow-md);
}
.btn-send:hover {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
}

/* Mapa */
.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    line-height: 0;
}
.map-wrapper iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-hero { padding: 3rem 0 2.75rem; }
    .inner-section, .svc-section { padding: 3.5rem 0; }
    .stats-strip-grid { grid-template-columns: repeat(3, 1fr); }
    .credentials-card { margin-bottom: 2rem; }
    .svc-img-wrap { margin-bottom: 2rem; }
    .svc-img-wrap::after { display: none; }
    .contact-form-card { padding: 1.5rem; }
    .map-wrapper iframe { height: 280px; }
}
@media (max-width: 480px) {
    .stats-strip-grid { grid-template-columns: 1fr; }
    .strip-stat + .strip-stat::before { display: none; }
    .strip-stat:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.1); }
}
