/* ============================================================
   NearU - About Page
   Consumes global tokens (theme-tokens.css) + components (components.css).
   Declares NO :root and NO variables. Homepage CSS is untouched.
   ============================================================ */

.nearu-about { background: #fff; }

/* Section rhythm */
.nearu-about-hero,
.nearu-about-vmp,
.nearu-about-principles,
.nearu-about-story,
.nearu-about-values,
.nearu-about-build,
.nearu-about-cta-section { padding: 48px 0; }
.nearu-about-vmp,
.nearu-about-principles,
.nearu-about-values,
.nearu-about-build { padding-top: 8px; }

/* Eyebrow pill (About-specific variant of the global .nearu-eyebrow) */
.nearu-eyebrow-pill {
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    flex: none !important;
}

.nearu-eyebrow-pill {
    display: inline-block;
    background: rgba(181, 0, 86, .08);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}
.nearu-eyebrow-center { margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.nearu-about-hero { background: var(--brand-gradient-soft); padding-top: 56px; }
.nearu-about-hero-title {
    color: var(--nearu-ink);
    font-weight: var(--fw-bold);
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.15;
    margin: 0 0 20px;
}
.nearu-about-hero-title .nearu-accent { color: var(--nearu-primary); }
.nearu-about-hero-text {
    color: var(--nearu-muted);
    line-height: 1.7;
    margin: 0 0 14px;
    max-width: 460px;
    font-weight: 600;
}
.nearu-about-hero-photo {
    border-radius: var(--radius-panel);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(26, 27, 46, .12);
    min-height: 320px;
}
.nearu-about-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nearu-about-hero-photo.is-empty { background: linear-gradient(135deg, #f7d9cf, #f3c6b5); min-height: 360px; }

/* ---------- VISION / MISSION / PURPOSE ---------- */
.nearu-vmp-card {
    height: 100%;
    border-radius: var(--radius-panel);
    padding: 30px 26px;
    background: #FBEAF1;
    transition: transform .25s ease, box-shadow .25s ease;
}
.nearu-vmp-orange { background: #FDF3E6; }
.nearu-vmp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26, 27, 46, .10); }
.nearu-vmp-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin-bottom: 18px; }
.nearu-vmp-label { font-size: 19px; font-weight: var(--fw-bold); color: var(--nearu-ink); margin: 0 0 12px; }
.nearu-vmp-text { font-size: 14px; color: var(--nearu-muted); line-height: 1.7; margin: 0; font-weight: 600;}

/* ---------- DIVIDED ROWS (principles + values) ---------- */
.nearu-divided-row > [class*="col-"] { position: relative; }
.nearu-divided-row > [class*="col-"]::after {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    right: 0;
    width: 1px;
    background: var(--nearu-border);
}
.nearu-divided-row > [class*="col-"]:last-child::after { display: none; }

/* ---------- PRINCIPLES ---------- */
.nearu-principle { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 14px; }
.nearu-principle-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.nearu-principle-title { font-size: 14px; font-weight: var(--fw-bold); color: var(--nearu-ink); margin: 0 0 6px; line-height: 1.3; }
.nearu-principle-text { font-size: 13px; font-weight: 600; color: var(--nearu-muted); line-height: 1.5; margin: 0; max-width: 180px; }

/* ---------- STORY ---------- */
.nearu-story-title { color: var(--nearu-ink); font-weight: var(--fw-bold); font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 16px; }
.nearu-story-text { color: var(--nearu-muted); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; font-weight: 600 ; }
.nearu-story-photo {
    border-radius: var(--radius-panel);
    overflow: hidden; height: 100%; min-height: 280px;
    box-shadow: 0 14px 36px rgba(26, 27, 46, .10);
}
.nearu-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nearu-story-photo.is-empty { background: linear-gradient(135deg, #f7d9cf, #f3c6b5); min-height: 280px; }
.nearu-story-quote {
    height: 100%; background: #FBEAF1; border-radius: var(--radius-panel);
    padding: 26px 22px; display: flex; flex-direction: column; justify-content: center;
}
.nearu-story-quote-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; margin-bottom: 14px; }
.nearu-story-quote-text { color: var(--nearu-ink); font-size: 14px; font-weight: var(--fw-bold); line-height: 1.6; margin: 0; }

/* ---------- VALUES ---------- */
.nearu-about-values-head { margin-bottom: 30px; }
.nearu-about-values-title { color: var(--nearu-ink); font-weight: var(--fw-bold); font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 6px 0 0; }
.nearu-value { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 14px; }
.nearu-value-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.nearu-value-title { font-size: 14px; font-weight: var(--fw-bold); color: var(--nearu-ink); margin: 0 0 6px; }
.nearu-value-text { font-size: 13px; font-weight: 600; color: var(--nearu-muted); line-height: 1.5; margin: 0; max-width: 190px; }

/* ---------- WHO WE BUILD FOR ---------- */
.nearu-build-card {
    position: relative; height: 100%;
    border-radius: var(--radius-panel); padding: 30px 26px; background: #FBEAF1;
    transition: transform .25s ease, box-shadow .25s ease;
}
.nearu-build-orange { background: #FDF3E6; }
.nearu-build-green  { background: #EAF6EC; }
.nearu-build-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(26, 27, 46, .10); }
.nearu-build-tag {
    display: inline-block; font-size: 10px; font-weight: var(--fw-bold);
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--nearu-primary); background: rgba(181, 0, 86, .08);
    padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.nearu-build-orange .nearu-build-tag { color: var(--brand-orange); background: rgba(239,162,32,.12); }
.nearu-build-green  .nearu-build-tag { color: #3FA34D; background: rgba(63,163,77,.12); }
.nearu-build-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }
.nearu-build-title { font-size: 18px; font-weight: var(--fw-bold); color: var(--nearu-ink); margin: 0 0 10px; }
.nearu-build-text { font-size: 15px; font-weight: 600; color: var(--nearu-muted); line-height: 1.7; margin: 0; }

/* ---------- CTA BANNER ---------- */
.nearu-about-cta {
    background: var(--brand-gradient);
    border-radius: var(--radius-panel);
    padding: 30px 36px;
    box-shadow: 0 18px 40px rgba(181, 0, 86, .18);
}
.nearu-about-cta-left { display: flex; align-items: center; gap: 22px; }

/* CTA visual: phone placeholder + basket placeholder */
.nearu-about-cta-visual { position: relative; flex: 0 0 auto; width: 96px; height: 96px; }
.nearu-about-cta-phone {
    position: absolute; left: 0; top: 4px;
    width: 56px; height: 88px; 
    display: grid; place-items: center;
}
.nearu-about-cta-phone-logo {
    width: 26px; height: 26px; border-radius: 8px; background: #fff;
    color: var(--nearu-primary); font-weight: var(--fw-bold); font-size: 15px;
    display: grid; place-items: center; font-family: var(--font-primary);
}
.nearu-about-cta-basket {
    position: absolute; right: 0; bottom: 0;
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center; font-size: 24px;
    box-shadow: 0 6px 16px rgba(26, 27, 46, .18);
}

.nearu-about-cta-title { color: #fff; font-weight: var(--fw-bold); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; margin: 0 0 6px; }
.nearu-about-cta-text { color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.5; margin: 0; max-width: 460px; font-weight: 600; }
.nearu-about-cta-badges { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- ANIMATIONS ---------- */
[data-reveal] {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .nearu-about-hero { padding-top: 40px; }
    .nearu-about-hero-text,
    .nearu-principle-text,
    .nearu-value-text { max-width: 100%; }
    .nearu-about-cta-badges { justify-content: flex-start; }
    .nearu-divided-row > [class*="col-"]::after { display: none; }
}
@media (max-width: 767.98px) {
    .nearu-about-hero,
    .nearu-about-vmp,
    .nearu-about-principles,
    .nearu-about-story,
    .nearu-about-values,
    .nearu-about-build,
    .nearu-about-cta-section { padding: 32px 0; }
    .nearu-about-cta-left { flex-direction: column; text-align: center; }
    .nearu-about-cta-visual { margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .nearu-about-cta { padding: 24px 18px; }
    .nearu-about-cta-badges { flex-direction: column; }
    .nearu-about-cta-badges .nearu-store-badge { width: 100%; justify-content: center; }
}
