/* ══════════════════════════════════════════════════════
   quienes-somos.css — Palles Consultores (Rediseño Profesional)
   Estilos exclusivos de quienes-somos.html
   Requiere global.css cargado antes en el HTML.
══════════════════════════════════════════════════════ */

/* ──────────────────────────────
   SCROLL REVEAL UTILITY
────────────────────────────── */
.reveal-item {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ──────────────────────────────
   PAGE HERO
────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(0,0,0,0.72) 0%,
        rgba(10,6,2,0.78) 60%,
        rgba(154,117,48,0.25) 100%
    );
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            rgba(201,168,76,0.025) 0px,
            rgba(201,168,76,0.025) 1px,
            transparent 1px,
            transparent 36px
        );
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 0 80px;
}

.page-hero-label {
    color: var(--gold) !important;
    display: block;
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    margin: 0 0 20px;
    line-height: 1.1;
}

.page-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    width: 260px;
}

.page-hero-divider::before,
.page-hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.75));
}

.page-hero-divider::after {
    background: linear-gradient(90deg, rgba(201,168,76,0.75), transparent);
}

.page-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(201,168,76,0.8);
    margin: 0 12px;
    flex-shrink: 0;
}

.page-hero-sub {
    color: rgba(255,248,230,0.82);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-hero-breadcrumb a {
    color: rgba(201,168,76,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.page-hero-breadcrumb a:hover { color: var(--gold); }

.page-hero-breadcrumb span:not(.bc-sep) {
    color: rgba(255,255,255,0.55);
}

.bc-sep {
    color: rgba(201,168,76,0.5);
    font-size: 0.6rem;
}

/* ──────────────────────────────
   SECCIÓN: QUIÉNES SOMOS
────────────────────────────── */
.section-about {
    position: relative;
    background: #f4f6fa;
    padding: 80px 0 90px;
    overflow: visible;
}

.about-title-line {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 14px 0 22px;
}

/* Layout dos columnas */
.about-split {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: start;
}

.about-text { padding-top: 10px; }

.about-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 20px;
}

/* Benefits list */
.about-benefits {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.about-benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(201,168,76,0.15);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.about-benefit-item:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.about-benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.88rem;
    box-shadow: 0 2px 10px rgba(201,168,76,0.3);
}

/* Inline image in about text */
.about-inline-img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}

.about-inline-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-inline-img:hover img { transform: scale(1.03); }

.about-inline-img-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    padding: 20px 18px 14px;
}

/* Formulario flotante */
.about-form-wrap {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.about-form-wrap .form-card {
    border-radius: 12px;
    box-shadow: 0 16px 64px rgba(0,0,0,0.14);
    border: 1px solid rgba(201,168,76,0.12);
}

.form-field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-field-label i { color: var(--gold); }

.form-whatsapp-alt {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-whatsapp-alt a {
    color: #25D366;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.form-whatsapp-alt a:hover { opacity: 0.8; }

/* ──────────────────────────────
   SECCIÓN PILARES
────────────────────────────── */
.section-pillars {
    background: #0D0D0D;
    padding: 90px 0;
}

.pillar-title-line {
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 14px auto 0;
}

.pillar-card {
    background: #141414;
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 10px;
    padding: 36px 26px;
    height: 100%;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(201,168,76,0.35);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.pillar-card:hover::after { opacity: 1; }

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: var(--gold);
    transition: background 0.3s ease, transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    background: rgba(201,168,76,0.22);
    transform: scale(1.08);
}

.pillar-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.pillar-card p {
    font-size: 0.84rem;
    color: #999;
    line-height: 1.7;
    margin: 0;
}

/* ──────────────────────────────
   SECCIÓN: EXPERIENCIA
────────────────────────────── */
.section-experience {
    padding: 90px 0;
    background: #f4f6fa;
    overflow: hidden;
}

.section-experience .geo-wrap {
    position: relative;
}

.section-experience .geo-wrap img {
    width: 100%;
    max-width: 480px;
    height: 460px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    box-shadow: 0 20px 72px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.geo-wrap:hover img { transform: scale(1.01); }

.geo-corner {
    position: absolute;
    bottom: -12px;
    left: 8px;
    width: 90px;
    height: 110px;
    background: var(--geo-accent);
    z-index: 1;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    opacity: 0.8;
}

.geo-corner-top {
    position: absolute;
    top: -12px;
    left: 8px;
    width: 80px;
    height: 100px;
    background: var(--geo-accent);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.45;
}

/* Badge sobre la imagen */
.exp-img-badge {
    position: absolute;
    bottom: 24px;
    right: -12px;
    z-index: 10;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    color: #fff;
}

.exp-img-badge i {
    font-size: 1.4rem;
    opacity: 0.9;
}

.exp-img-badge span {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.checklist-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    transition: padding-left 0.25s ease;
}

.checklist-item:last-of-type { border-bottom: none; }

.checklist-item:hover { padding-left: 4px; }

.check-box {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background: rgba(201,168,76,0.06);
    transition: background 0.25s ease;
}

.checklist-item:hover .check-box {
    background: rgba(201,168,76,0.15);
}

.check-box svg {
    width: 15px;
    height: 15px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checklist-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.checklist-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.btn-cta-exp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFD966, #C9A84C, #9A7530);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 3px;
    border: 2px solid #FFD700;
    padding: 13px 32px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(201,168,76,0.45);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-cta-exp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201,168,76,0.65);
    color: #fff;
}

/* ──────────────────────────────
   SECCIÓN SECTORES
────────────────────────────── */
.section-sectors {
    background: #fff;
    padding: 90px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sector-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.sector-card:hover img {
    transform: scale(1.06);
    filter: brightness(0.55);
}

.sector-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
    transition: background 0.3s ease;
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(to top, rgba(154,117,48,0.7) 0%, transparent 60%);
}

.sector-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 2rem;
    color: rgba(255,255,255,0);
    transition: all 0.35s ease;
}

.sector-card:hover .sector-overlay i {
    color: rgba(255,255,255,0.9);
    transform: translate(-50%, -50%) scale(1);
}

.sector-overlay h5 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */
@media (max-width: 992px) {
    .section-about,
    .section-experience,
    .section-pillars,
    .section-sectors { padding: 70px 0; }

    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .about-split {
        grid-template-columns: 1fr;
    }
    .about-form-wrap { margin-top: 0; }
}

@media (max-width: 768px) {
    .page-hero { min-height: 380px; }
    .page-hero-content { padding: 130px 0 60px; }
    .page-hero-title { font-size: 2.4rem; }

    .section-about,
    .section-experience,
    .section-pillars,
    .section-sectors { padding: 55px 0; }

    .sector-card { height: 200px; }
    .sectors-grid { gap: 12px; }

    .section-experience .geo-wrap img { height: 320px; }
    .exp-img-badge { right: 8px; }
}

@media (max-width: 480px) {
    .sectors-grid { grid-template-columns: 1fr 1fr; }
    .sector-card { height: 160px; }
    .about-inline-img img { height: 180px; }
}

@media (min-width: 1400px) {
    .container { max-width: 1240px; }
}
