/* ============================================================
   ALO-PAGES.CSS — Sistema de diseño compartido | Alohando
   Incluir en template.blade.php dentro de <head>:
   <link rel="stylesheet" href="/public/css/alo-pages.css">
   ============================================================ */

:root {
    --alo-brand:    #ff4b39;
    --alo-brand-d:  #e03527;
    --alo-dark:     #1e1e1e;
    --alo-mid:      #444;
    --alo-gray:     #777;
    --alo-light:    #f9f9f9;
    --alo-border:   #ebebeb;
    --alo-radius:   16px;
}

/* ---- HERO GENÉRICO ---- */
.alo-hero {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fff 50%, #fff9f5 100%);
    padding: 40px 0 72px;
    overflow: hidden;
    border-bottom: 1px solid #f0ece9;
}
.alo-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.alo-hero__dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,75,57,.10) 1px, transparent 1px);
    background-size: 28px 28px;
}
.alo-hero__glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 55% 65% at 92% 35%, rgba(255,75,57,.06) 0%, transparent 65%);
}
.alo-hero__inner { position: relative; z-index: 1; }

/* Breadcrumb */
.alo-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--alo-gray);
    margin-bottom: 22px; flex-wrap: wrap;
}
.alo-breadcrumb a { color: var(--alo-gray); text-decoration: none; }
.alo-breadcrumb a:hover { color: var(--alo-brand); }
.alo-breadcrumb__sep { color: #ccc; }
.alo-breadcrumb__current { color: var(--alo-brand); font-weight: 600; }

/* Badge */
.alo-badge {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid #ffd5d0;
    color: var(--alo-brand); font-size: 12px; font-weight: 700;
    letter-spacing: .6px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}

/* Hero title / sub */
.alo-hero__title {
    font-size: 44px; font-weight: 800; color: var(--alo-dark);
    line-height: 1.12; margin: 0 0 16px; letter-spacing: -.5px;
}
.alo-hero__sub {
    font-size: 17px; color: var(--alo-gray);
    max-width: 600px; margin: 0; line-height: 1.65;
}

/* Stats strip */
.alo-stats {
    display: flex; align-items: center;
    gap: 28px; flex-wrap: wrap; margin-top: 36px;
}
.alo-stat { display: flex; flex-direction: column; }
.alo-stat__num { font-size: 22px; font-weight: 800; color: var(--alo-dark); }
.alo-stat__lbl { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-top: 1px; }
.alo-stat__sep { width: 1px; height: 36px; background: #e0e0e0; flex-shrink: 0; }

/* ---- SECCIÓN DE CONTENIDO ---- */
.alo-section {
    padding: 64px 0;
    background: #fff;
}
.alo-section--alt { background: var(--alo-light); }
.alo-section--brand {
    background: linear-gradient(135deg, var(--alo-brand) 0%, var(--alo-brand-d) 100%);
    color: #fff;
}

/* Grid 2 columnas */
.alo-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.alo-grid-2--reverse { direction: rtl; }
.alo-grid-2--reverse > * { direction: ltr; }

/* Imagen redondeada */
.alo-img-wrap {
    border-radius: var(--alo-radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.10);
}
.alo-img-wrap img {
    width: 100%; height: 340px;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.alo-img-wrap:hover img { transform: scale(1.03); }

/* Texto de sección */
.alo-section-tag {
    font-size: 11px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; color: var(--alo-brand);
    margin-bottom: 10px; display: block;
}
.alo-section-title {
    font-size: 30px; font-weight: 800; color: var(--alo-dark);
    line-height: 1.2; margin: 0 0 16px; letter-spacing: -.3px;
}
.alo-section-body {
    font-size: 15px; color: var(--alo-gray);
    line-height: 1.75; margin: 0 0 20px;
}
.alo-section-body:last-child { margin-bottom: 0; }

/* ---- CARDS DE VALORES ---- */
.alo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.alo-card {
    background: #fff;
    border: 1px solid var(--alo-border);
    border-radius: var(--alo-radius);
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.alo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(255,75,57,.10);
    border-color: #ffd5d0;
}
.alo-card__icon {
    width: 44px; height: 44px;
    background: #fff0ee; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; color: var(--alo-brand);
}
.alo-card__title {
    font-size: 15px; font-weight: 700; color: var(--alo-dark);
    margin: 0 0 8px;
}
.alo-card__body {
    font-size: 14px; color: var(--alo-gray);
    line-height: 1.65; margin: 0;
}

/* ---- FOUNDER ---- */
.alo-founder {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px; align-items: start;
}
.alo-founder__photo {
    border-radius: var(--alo-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.alo-founder__photo img {
    width: 100%; display: block;
    aspect-ratio: 3/4; object-fit: cover;
}
.alo-founder__name {
    font-size: 22px; font-weight: 800; color: var(--alo-dark);
    margin: 0 0 4px;
}
.alo-founder__role {
    font-size: 13px; color: var(--alo-brand); font-weight: 600;
    letter-spacing: .4px; text-transform: uppercase; margin-bottom: 20px;
    display: block;
}
.alo-founder__quote {
    font-size: 13px; font-weight: 700; color: var(--alo-dark);
    line-height: 1.4; margin: 0 0 16px; font-style: italic;
    border-left: 3px solid var(--alo-brand); padding-left: 16px;
}

/* ---- CTA STRIP ---- */
.alo-cta {
    text-align: center; padding: 64px 20px;
}
.alo-cta__title {
    font-size: 32px; font-weight: 800; color: var(--alo-dark);
    margin: 0 0 12px; letter-spacing: -.3px;
}
.alo-cta__sub {
    font-size: 16px; color: var(--alo-gray);
    margin: 0 0 28px;
}
.alo-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px;
    font-size: 15px; font-weight: 700; text-decoration: none;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.alo-btn:hover { transform: translateY(-2px); text-decoration: none; }
.alo-btn--primary {
    background: var(--alo-brand); color: #fff;
    box-shadow: 0 6px 20px rgba(255,75,57,.3);
}
.alo-btn--primary:hover { background: var(--alo-brand-d); color: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .alo-cards { grid-template-columns: repeat(2, 1fr); }
    .alo-grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .alo-grid-2--reverse { direction: ltr; }
    .alo-founder { grid-template-columns: 1fr; }
    .alo-founder__photo { max-width: 240px; }
}
@media (max-width: 600px) {
    .alo-hero { padding: 120px 0 56px; }
    .alo-hero__title { font-size: 30px; }
    .alo-hero__sub { font-size: 15px; }
    .alo-stats { gap: 16px; }
    .alo-stat__num { font-size: 18px; }
    .alo-cards { grid-template-columns: 1fr; }
    .alo-section { padding: 48px 0; }
    .alo-section-title { font-size: 24px; }
    .alo-cta__title { font-size: 24px; }
}
