/* =========================================================================
   Сторінка «Про нас» (.ric-about) — єдиний стиль із магазином/послугами.
   Грузиться на шаблоні page-about.php. Токени (--ric-orange) — з chrome.css.
   ========================================================================= */

.ric-about { font-family: 'Open Sans', Helvetica, sans-serif; color: #333; }
.ric-about__container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Спільні елементи ---- */
.ric-sec { padding: 52px 0; }
.ric-sec--soft { background: #f7f8fa; }
.ric-kicker { display: block; margin-bottom: 10px; color: var(--ric-orange); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.ric-kicker--light { color: #ffb274; }
.ric-h2 { margin: 0 0 22px; color: var(--ric-ink); font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.ric-h2--center { text-align: center; }
.ric-h2--center::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; background: var(--ric-orange); border-radius: 2px; }
.ric-h2--light { color: #fff; }
.ric-h2--sm { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 8px; }
.ric-h2__link { color: inherit; text-decoration: none; }
.ric-h2__link:hover { color: var(--ric-orange); }

.ric-prose { color: #444; font-size: 16px; line-height: 1.75; }
.ric-prose p { margin: 0 0 16px; }
.ric-prose ul, .ric-prose ol { margin: 0 0 16px; padding-left: 22px; }
.ric-prose li { margin-bottom: 8px; }
.ric-prose a { color: var(--ric-orange); }
.ric-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.ric-prose--light { color: rgba(255,255,255,.82); }

/* ---- Шапка (темна брендова смуга) ---- */
.ric-about__head { position: relative; overflow: hidden; padding: 48px 0 0; text-align: center; background: radial-gradient(120% 150% at 50% 0%, #34363b 0%, #1f2024 72%); }
.ric-about__head::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px; }
.ric-about__head::after { content: ""; position: absolute; top: -45%; left: 50%; transform: translateX(-50%); width: 720px; height: 460px; pointer-events: none; background: radial-gradient(closest-side, rgba(243,124,34,.20), transparent 72%); }
.ric-about__head > * { position: relative; z-index: 1; }
.ric-about__crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ric-about__crumbs a { color: rgba(255,255,255,.55); text-decoration: none; }
.ric-about__crumbs a:hover { color: var(--ric-orange); }
.ric-about__crumbs .ric-sep { color: rgba(255,255,255,.3); }
.ric-about__crumbs .ric-current { color: rgba(255,255,255,.85); }
.ric-about__title { margin: 0 0 14px; color: #fff; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.ric-about__lead { max-width: 760px; margin: 0 auto; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.6; }

/* ---- Статистика ---- */
.ric-stats { list-style: none; margin: 34px auto 0; padding: 0 0 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ric-stat { flex: 1 1 180px; max-width: 240px; padding: 18px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.ric-stat__num { display: block; font-size: 30px; font-weight: 800; color: var(--ric-orange); line-height: 1; letter-spacing: -.01em; }
.ric-stat__lbl { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.68); line-height: 1.4; }

/* ---- Відео ---- */
.ric-about__video { position: relative; z-index: 2; margin-top: -36px; }
.ric-about__video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000 center/cover no-repeat; box-shadow: 0 26px 60px rgba(0,0,0,.22); }
.ric-about__video-frame iframe, .ric-about__video-frame video, .ric-about__video-frame .video, .ric-about__video-frame > * { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* ---- Про компанію ---- */
.ric-about__intro { max-width: 900px; margin: 0 auto; }
.ric-about__intro.ric-h2--center, .ric-about__intro .ric-h2 { text-align: center; }
.ric-about__intro .ric-prose { text-align: left; }

/* ---- Галерея ---- */
.ric-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.ric-gallery__item { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.ric-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ric-gallery__item:hover img { transform: scale(1.05); }

/* ---- Брендова смуга з фоном ---- */
.ric-band { position: relative; padding: 64px 0; background: #1f2024 center/cover no-repeat; }
.ric-band__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(31,32,36,.78), rgba(31,32,36,.88)); }
.ric-band__inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }

/* ---- Чому саме RICOMA ---- */
.ric-why { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.ric-why__media { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.ric-why__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ric-why__list ul { list-style: none; margin: 0; padding: 0; }
.ric-why__list li { list-style: none; position: relative; margin-bottom: 14px; padding-left: 36px; font-size: 17px; line-height: 1.5; color: #2c2d31; }
.ric-why__list li::marker { content: ""; }
.ric-why__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff3e9; color: var(--ric-orange); font-size: 13px; font-weight: 800; }

/* ---- Brand Concept ---- */
.ric-concept { position: relative; padding: 80px 0; text-align: center; background: #2a2c31 center/cover no-repeat; }
.ric-concept__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(28,30,34,.72), rgba(28,30,34,.86)); }
.ric-concept__inner { position: relative; z-index: 1; }
.ric-concept__headline { color: #fff; font-size: clamp(40px, 9vw, 110px); font-weight: 800; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }

/* ---- Split (текст + медіа) ---- */
.ric-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.ric-split__media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ric-split__img { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.ric-split__img:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ric-split__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Карта дистриб'юторів ---- */
.ric-map__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 24px; }
.ric-map__logo { height: 46px; width: auto; }
.ric-map__desc { max-width: 760px; margin: 0; color: #555; font-size: 15px; line-height: 1.6; }
.ric-map__img { text-align: center; }
.ric-map__img img { max-width: 100%; height: auto; }

/* ---- Команда ---- */
.ric-team { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; margin-top: 30px; }
.ric-member { display: flex; flex-direction: column; flex: 0 1 100%; background: #fff; border: 1px solid #e6e6e7; border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.ric-member:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.ric-member__media { aspect-ratio: 1 / 1; background: #f2f3f5; overflow: hidden; }
.ric-member__media img { width: 100%; height: 100%; object-fit: cover; }
.ric-member__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 46px; color: #cfd3d7; }
.ric-member__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 20px; text-align: center; }
.ric-member__name { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #1f2024; line-height: 1.3; }
.ric-member__pos { margin: 0 0 14px; font-size: 14px; color: #6a6d73; line-height: 1.5; }
.ric-member__contacts { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.ric-member__link { color: var(--ric-orange); font-size: 14px; font-weight: 600; text-decoration: none; }
.ric-member__link i { width: 16px; margin-right: 4px; }
.ric-member__link:hover { color: var(--ric-orange-dark); }

/* ---- Блог ---- */
.ric-posts { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; margin-top: 30px; }
.ric-post { display: flex; flex-direction: column; flex: 0 1 100%; background: #fff; border: 1px solid #e6e6e7; border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.ric-post:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.ric-post__media { display: block; aspect-ratio: 16 / 9; background: #f2f3f5; overflow: hidden; }
.ric-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ric-post:hover .ric-post__media img { transform: scale(1.05); }
.ric-post__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 36px; color: #cfd3d7; }
.ric-post__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 18px; }
.ric-post__date { font-size: 12px; color: #9a9da2; }
.ric-post__title { margin: 6px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.ric-post__title a { color: #1f2024; text-decoration: none; }
.ric-post__title a:hover { color: var(--ric-orange); }
.ric-post__excerpt { margin: 0 0 14px; font-size: 14px; color: #61646a; line-height: 1.55; }
.ric-post__more { margin-top: auto; color: var(--ric-orange); font-weight: 700; font-size: 14px; text-decoration: none; }
.ric-post__more i { font-size: 12px; transition: transform .2s ease; }
.ric-post:hover .ric-post__more i { transform: translateX(4px); }

/* ---- Відгуки ---- */
.ric-reviews { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; margin-top: 30px; }
.ric-review { display: flex; flex-direction: column; flex: 0 1 100%; margin: 0; padding: 26px 24px; background: #fff; border: 1px solid #e6e6e7; border-radius: 16px; }
.ric-review__mark { color: var(--ric-orange); font-size: 22px; margin-bottom: 12px; }
.ric-review__text { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: #3a3c41; font-style: italic; }
.ric-review__author { margin-top: auto; font-weight: 700; color: #1f2024; font-size: 14px; }

/* ---- CTA ---- */
.ric-about-cta { position: relative; overflow: hidden; padding: 54px 0; background: radial-gradient(120% 160% at 50% 0%, #34363b 0%, #1f2024 74%); }
.ric-about-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px; }
.ric-about-cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.ric-about-cta__title { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; }
.ric-about-cta__sub { margin: 0; color: rgba(255,255,255,.72); font-size: 16px; max-width: 620px; }
.ric-about-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ric-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.ric-btn--primary { background: var(--ric-orange); color: #fff; }
.ric-btn--primary:hover { background: var(--ric-orange-dark); transform: translateY(-2px); }
.ric-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ric-btn--ghost:hover { border-color: var(--ric-orange); color: var(--ric-orange); }

/* ---- Адаптив ---- */
@media (min-width: 600px) {
    .ric-gallery { grid-template-columns: repeat(3, 1fr); }
    .ric-member { flex-basis: calc((100% - 20px) / 2); }
    .ric-post { flex-basis: calc((100% - 20px) / 2); }
    .ric-review { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 768px) {
    .ric-why { grid-template-columns: 1fr 1fr; gap: 40px; }
    .ric-split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .ric-sec { padding: 68px 0; }
    .ric-about__head { padding-top: 60px; }
    .ric-member { flex-basis: calc((100% - 60px) / 4); }
    .ric-post { flex-basis: calc((100% - 60px) / 4); }
    .ric-review { flex-basis: calc((100% - 40px) / 3); }
    .ric-map__head { flex-direction: row; text-align: left; }
    .ric-about-cta__inner { flex-direction: row; justify-content: space-between; text-align: left; }
    .ric-about-cta__actions { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ric-gallery__item img, .ric-post__media img, .ric-member, .ric-post, .ric-btn, .ric-post__more i { transition: none !important; }
}
