/* OneGo Page Builder: Sales hero, Buy band and Phone app sections. Graphite and orange, no blue. */

.ogpb-sale, .ogpb-buyband, .ogpb-phones { --graphite: #232428; --graphite-2: #2e3035; }

/* ---------- Sales hero ---------- */
.ogpb-sale { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, #fbf6f3 100%); overflow: hidden; }
.ogpb-sale__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ogpb-sale__label { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--signal, #e8461f) 12%, #fff); color: var(--signal-dark, #c4360f); font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.ogpb-sale__title { font-size: clamp(2.3rem, 4.4vw, 3.7rem); line-height: 1.04; font-weight: 660; font-stretch: 86%; letter-spacing: -0.03em; color: var(--graphite); max-width: 15ch; }
.ogpb-sale__text { margin-top: 20px; font-size: 19px; line-height: 1.55; max-width: 42ch; }
.ogpb-sale__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; }
.ogpb-sale__offer { flex-basis: 100%; font-size: 14px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--signal-dark, #c4360f); }
.ogpb-sale__amount { display: inline-flex; align-items: baseline; gap: 12px; font-feature-settings: "tnum" 1; }
.ogpb-sale__amount strong { font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 1; font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; color: var(--graphite); }
.ogpb-sale__was { font-size: 1.3rem; font-weight: 500; color: var(--muted, #6b7486); text-decoration-thickness: 2px; }
.ogpb-sale .hero__actions { margin-top: 22px; }
.ogpb-sale__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 24px 0 0; max-width: 560px; }
.ogpb-sale__points li { font-size: 15.5px; }
.ogpb-sale__visual { position: relative; padding: 0 0 96px; }
.ogpb-sale__photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(60, 22, 10, .55); background: #eee; }
.ogpb-sale__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ogpb-sale__visual .ogpb-sale__phone { position: absolute; left: -40px; bottom: 0; width: clamp(120px, 26%, 180px); }
.ogpb-sale--screen .ogpb-sale__photo { border-radius: 14px; background: #17181b; box-shadow: 0 40px 80px -36px rgba(20, 16, 14, .6), 0 0 0 1px rgba(0, 0, 0, .06); }
.ogpb-sale--screen .ogpb-sale__photo img { aspect-ratio: auto; height: auto; object-fit: contain; }
@media (max-width: 900px) {
	.ogpb-sale__inner { grid-template-columns: 1fr; }
	.ogpb-sale__visual { padding-bottom: 64px; }
	.ogpb-sale__photo img { aspect-ratio: 16 / 11; }
		.ogpb-sale--screen .ogpb-sale__photo img { aspect-ratio: auto; }
	.ogpb-sale__visual .ogpb-sale__phone { left: auto; right: 14px; bottom: 0; width: 28%; max-width: 160px; }
	.ogpb-sale__title { max-width: 18ch; }
}
@media (max-width: 520px) {
	.ogpb-sale__points { grid-template-columns: 1fr; }
	.ogpb-sale .hero__actions .button { flex: 1 1 100%; }
}

/* ---------- Phone frame ---------- */
.ogpb-phone { position: relative; margin: 0; padding: 7px; border-radius: 30px; background: linear-gradient(145deg, #3a3c42, #17181b); box-shadow: 0 30px 60px -28px rgba(20, 16, 14, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ogpb-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 24px; background: var(--surface, #fff); }
.ogpb-phone .ogpb-image-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 390 / 844; padding: 12px; border-radius: 24px; background: #f4f4f5; color: var(--muted, #6b7486); text-align: center; font-size: 14px; cursor: pointer; }

/* ---------- Phone app section ---------- */
.ogpb-phones__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ogpb-phones .section-title { color: var(--graphite); }
.ogpb-phones__copy > p:not(.section-lead):not(.ogpb-sale__label):not(.ogpb-phones__action) { margin-top: 14px; font-size: 17px; line-height: 1.6; max-width: 56ch; }
.ogpb-phones__action { margin: 8px 0 0; }
.ogpb-phones__visual { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 28px); }
.ogpb-phones__visual .ogpb-phone { width: min(46%, 240px); }
.ogpb-phones__visual .ogpb-phone:nth-child(2) { transform: translateY(-36px); }
@media (max-width: 860px) {
	.ogpb-phones__inner { grid-template-columns: 1fr; }
	.ogpb-phones__visual .ogpb-phone:nth-child(2) { transform: translateY(-20px); }
}

/* ---------- Buy band ---------- */
.ogpb-buyband { background: var(--graphite); color: #d8d8dc; padding: clamp(36px, 5vw, 56px) 0; }
.ogpb-buyband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ogpb-buyband__copy { flex: 1 1 380px; }
.ogpb-buyband__title { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-stretch: 88%; letter-spacing: -0.02em; line-height: 1.12; }
.ogpb-buyband__text { margin: 10px 0 0; font-size: 17px; line-height: 1.55; max-width: 60ch; }
.ogpb-buyband__action { flex: 0 1 auto; display: grid; grid-template-columns: auto auto; align-items: center; gap: 10px 24px; }
.ogpb-buyband__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-feature-settings: "tnum" 1; }
.ogpb-buyband__offer { flex-basis: 100%; font-size: 12.5px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: #ff9a78; }
.ogpb-buyband__price del { color: #a3a3aa; font-size: 18px; text-decoration-thickness: 2px; }
.ogpb-buyband__price strong { color: #fff; font-size: 30px; font-weight: 700; font-stretch: 88%; }
.ogpb-buyband__note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #a3a3aa; }
.ogpb-buyband .button--signal:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ogpb-buyband--light { background: color-mix(in srgb, var(--signal, #e8461f) 8%, #fff); color: var(--slate, #4b5567); }
.ogpb-buyband--light .ogpb-buyband__title, .ogpb-buyband--light .ogpb-buyband__price strong { color: var(--graphite); }
.ogpb-buyband--light .ogpb-buyband__offer { color: var(--signal-dark, #c4360f); }
.ogpb-buyband--light .ogpb-buyband__price del, .ogpb-buyband--light .ogpb-buyband__note { color: var(--muted, #6b7486); }
@media (max-width: 600px) {
	.ogpb-buyband__action { width: 100%; grid-template-columns: 1fr; }
	.ogpb-buyband__action .button { width: 100%; }
}

/* ---------- Pages with a Sales hero: graphite instead of navy, no blue ---------- */
body:has(.ogpb-sale) .ogpb { --ink: #232428; --ink-2: #2e3035; }
body:has(.ogpb-sale) .facts { color: #c9c9ce; }
body:has(.ogpb-sale) .ogpb-gallery__item { display: flex; flex-direction: column; background: var(--surface, #fff); }
body:has(.ogpb-sale) .ogpb-gallery__item figcaption { flex: 1; }
body:has(.ogpb-sale) .ogpb :focus-visible { outline-color: var(--signal, #e8461f); }

/* ---------- Sound familiar? (problems and answers) — 1.9.4 ---------- */
.ogpb-problems { background: var(--paper, #fff); }
.ogpb-problems__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ogpb-problems__head { position: sticky; top: 96px; }
.ogpb-problems__label { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--signal, #e8461f) 14%, transparent); color: var(--signal-dark, #c4360f); font-size: 14px; font-weight: 650; }
.ogpb-problems__head .section-title { text-align: left; max-width: 18ch; }
.ogpb-problems__head .section-lead { text-align: left; margin-left: 0; }
.ogpb-problems__photo { margin: 28px 0 0; border-radius: 20px; overflow: hidden; box-shadow: 0 36px 70px -38px rgba(30, 24, 20, .55); }
.ogpb-problems__photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ogpb-problems__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: ogpb-problem; }
.ogpb-problem { position: relative; padding: 22px 24px 22px 64px; border-radius: 18px; background: var(--surface-2, #f7f6f4); border: 1px solid var(--line, #ecebe8); counter-increment: ogpb-problem; }
.ogpb-problem::before { content: counter(ogpb-problem, decimal-leading-zero); position: absolute; left: 22px; top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--signal-dark, #c4360f); }
.ogpb-problem__q { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 600; color: var(--ink, #232428); }
.ogpb-problem__a { display: flex; gap: 10px; margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--slate, #4a4d55); }
.ogpb-problem__mark { flex: none; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--signal, #e8461f); color: #fff; margin-top: 1px; }
.ogpb-problem__mark svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
	.ogpb-problems__inner { grid-template-columns: 1fr; }
	.ogpb-problems__head { position: static; }
}

/* ---------- Photo band — 1.9.4 ---------- */
.ogpb-photoband { position: relative; overflow: hidden; background: #17181b; min-height: clamp(420px, 46vw, 620px); display: flex; align-items: center; }
.ogpb-photoband__photo { position: absolute; inset: 0; margin: 0; }
.ogpb-photoband__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ogpb-photoband::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 19, 22, .82) 0%, rgba(18, 19, 22, .55) 38%, rgba(18, 19, 22, 0) 68%); }
.ogpb-photoband--right::after { background: linear-gradient(270deg, rgba(18, 19, 22, .82) 0%, rgba(18, 19, 22, .55) 38%, rgba(18, 19, 22, 0) 68%); }
.ogpb-photoband__wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 7vw, 96px); }
.ogpb-photoband__card { max-width: 520px; color: #fff; }
.ogpb-photoband--right .ogpb-photoband__card { margin-left: auto; }
.ogpb-photoband__label { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal, #e8461f); }
.ogpb-photoband__title { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; font-weight: 660; letter-spacing: -0.02em; color: #fff; }
.ogpb-photoband__text { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .86); }
.ogpb-photoband__actions { margin: 24px 0 0; }
@media (max-width: 700px) {
	.ogpb-photoband::after, .ogpb-photoband--right::after { background: linear-gradient(0deg, rgba(18, 19, 22, .88) 0%, rgba(18, 19, 22, .5) 55%, rgba(18, 19, 22, .1) 100%); }
	.ogpb-photoband { align-items: flex-end; }
}
