/* ============================================================
   ClickBox — Fotografía y Producción  |  v1
   Hero gestionado por home.css
   ============================================================ */

:root {
    --foto-verde:   #51d728;
    --foto-verde-d: #3fb31e;
    --foto-morado:  #3b2de0;
    --foto-gray:    #f4f5fb;
    --foto-text:    #1a1a3e;
    --foto-muted:   #5a5a8a;
    --foto-ease:    cubic-bezier(.4,0,.2,1);
    --foto-max:     960px;
}

.cb-foto *, .cb-foto *::before, .cb-foto *::after { box-sizing: border-box; }
.cb-foto { font-family: 'Montserrat', sans-serif; color: var(--foto-text); overflow-x: hidden; }

.foto-container { max-width: var(--foto-max); margin: 0 auto; }

/* ============================================================
   INTRO  —  heading en una línea, em inline morado
   ============================================================ */
.foto-intro {
    background: var(--foto-gray);
    padding: 80px 24px;
    text-align: center;
}
.foto-intro__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--foto-text);
    line-height: 1.25;
}
.foto-intro__heading em {
    font-style: normal;
    color: var(--foto-morado);
}
.foto-intro__sub {
    font-style: italic;
    color: var(--foto-muted);
    font-size: 1.1rem;
    margin-top: 20px;
    line-height: 1.7;
}

/* ============================================================
   SECCIÓN BASE
   ============================================================ */
.foto-section { padding: 80px 24px; }

/* ============================================================
   GRID  36% texto | 64% imagen
   ============================================================ */
.foto-split {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 48px;
    align-items: center;
}
.foto-split--img-first {
    grid-template-columns: 1fr 36%;
}

/* Label ¿QUÉ HACEMOS? — morado */
.foto-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 900;
    color: var(--foto-morado);
    margin-bottom: 18px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.foto-body {
    color: var(--foto-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Imagen real */
.foto-section-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 40px rgba(59,45,224,.15);
    transition: transform .45s var(--foto-ease), box-shadow .45s var(--foto-ease);
}
.foto-section-img:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 20px 60px rgba(59,45,224,.28);
}

/* ============================================================
   ¿QUÉ INCLUYE?  —  título en VERDE
   ============================================================ */
.foto-incluye {
    background: var(--foto-gray);
    text-align: center;
}
.foto-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: var(--foto-verde);      /* VERDE — diferencia clave vs otras páginas */
    margin-bottom: 52px;
}
.foto-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.foto-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.foto-icon-wrap {
    width: 90px; height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foto-icon-img {
    width: 80px; height: 80px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(59,45,224,.25));
    transition: filter .3s;
}
.foto-icon-card:hover .foto-icon-img {
    filter: drop-shadow(0 10px 24px rgba(59,45,224,.5));
}
@keyframes foto-iconFloat {
    0%,100% { transform: translateY(0);     }
    50%      { transform: translateY(-12px); }
}
.foto-float-1 { animation: foto-iconFloat 3.2s ease-in-out 0s   infinite; }
.foto-float-2 { animation: foto-iconFloat 3.2s ease-in-out .5s  infinite; }
.foto-float-3 { animation: foto-iconFloat 3.2s ease-in-out 1s   infinite; }
.foto-float-4 { animation: foto-iconFloat 3.2s ease-in-out 1.5s infinite; }

.foto-icon-label {
    font-size: .875rem;
    font-weight: 700;
    color: var(--foto-text);
    line-height: 1.4;
    max-width: 130px;
}

/* ============================================================
   PROCESO  (4 pasos)
   ============================================================ */
.foto-proceso-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--foto-morado);
    margin-bottom: 24px;
}
.foto-steps { list-style: none; padding: 0; margin: 0; }
.foto-step {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #ebebf8;
    font-size: 1rem;
    color: var(--foto-text);
    font-weight: 500;
}
.foto-step:last-child { border-bottom: none; }
.foto-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--foto-morado);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: .875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59,45,224,.35);
    transition: transform .3s, box-shadow .3s;
}
.foto-step:hover .foto-step-num {
    transform: scale(1.15);
    box-shadow: 0 6px 22px rgba(59,45,224,.5);
}

/* ============================================================
   RESULTADO
   ============================================================ */
.foto-resultado {
    background: var(--foto-gray);
    text-align: center;
    padding: 80px 24px;
}
.foto-resultado__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    color: var(--foto-text);
    letter-spacing: .04em;
}
.foto-resultado__text {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--foto-muted);
    margin-top: 14px;
}

/* ============================================================
   CTA
   ============================================================ */
.foto-cta-wrap { margin-top: 48px; }
.foto-cta {
    display: inline-block;
    background: var(--foto-verde);
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 20px 56px;
    border-radius: 60px;
    transition: background .3s, transform .3s, box-shadow .3s;
    animation: foto-ctaPulse 2.5s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(81,215,40,.45);
}
.foto-cta:hover {
    background: var(--foto-verde-d);
    animation: none;
    transform: scale(1.05);
    box-shadow: 0 14px 50px rgba(81,215,40,.6);
    color: #fff;
}
@keyframes foto-ctaPulse {
    0%,100% { box-shadow: 0 10px 40px rgba(81,215,40,.45); transform: scale(1);    }
    50%      { box-shadow: 0 16px 56px rgba(81,215,40,.65); transform: scale(1.03); }
}

/* ============================================================
   ANIMACIONES DE SCROLL
   ============================================================ */
.foto-up    { opacity: 0; transform: translateY(48px);  transition: opacity .75s var(--foto-ease), transform .75s var(--foto-ease); }
.foto-left  { opacity: 0; transform: translateX(-56px); transition: opacity .75s var(--foto-ease), transform .75s var(--foto-ease); }
.foto-right { opacity: 0; transform: translateX(56px);  transition: opacity .75s var(--foto-ease), transform .75s var(--foto-ease); }
.foto-in    { opacity: 1 !important; transform: translate(0) !important; }
.foto-d1 { transition-delay: .10s !important; }
.foto-d2 { transition-delay: .22s !important; }
.foto-d3 { transition-delay: .34s !important; }
.foto-d4 { transition-delay: .46s !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .foto-split,
    .foto-split--img-first { grid-template-columns: 1fr; gap: 32px; }
    .foto-icons             { grid-template-columns: repeat(2, 1fr); }
    .foto-section           { padding: 56px 20px; }
    .foto-intro             { padding: 56px 20px; }
    .foto-resultado         { padding: 56px 20px; }
}
@media (max-width: 480px) {
    .foto-icons { gap: 18px; }
}
