/* ==========================================================================
   Πώς να Παραγγείλετε — page-how-to-make-an-order.php
   ========================================================================== */

.cg-hto { padding-block: clamp(16px, 3vw, 32px) clamp(40px, 6vw, 72px); display: grid; gap: clamp(36px, 5vw, 64px); }

/* Hero: intro + player */
.cg-hto__hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: var(--erp-r-xl); background: linear-gradient(100deg, #fff6f6 0%, #fdeeee 55%, #fbe3e3 100%); }
.cg-hto__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--erp-r-pill); background: #fff; color: var(--erp-primary); font-size: var(--erp-fs-sm); font-weight: 700; box-shadow: 0 1px 0 var(--erp-primary-100); }
.cg-hto__eyebrow .cg-icon { width: 18px; height: 18px; }
.cg-hto__intro h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.03em; margin: 16px 0 10px; }
.cg-hto__lead { font-size: var(--erp-fs-md); color: var(--erp-text); max-width: 46ch; margin: 0; }
.cg-hto__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.cg-hto__player { position: relative; border-radius: var(--erp-r-lg); overflow: hidden; background: var(--erp-ink); box-shadow: 0 24px 60px rgba(17, 20, 24, .18), 0 0 0 1px rgba(17, 20, 24, .06); }
.cg-hto__video { display: block; width: 100%; height: auto; background: var(--erp-ink); }
.cg-hto__video--wide { aspect-ratio: 16 / 9; }
.cg-hto__video--tall { display: none; aspect-ratio: 9 / 16; }

/* Steps */
.cg-hto__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.cg-hto__stepbtn { all: unset; box-sizing: border-box; width: 100%; height: 100%; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--erp-line); border-radius: var(--erp-r-lg); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cg-hto__stepbtn:hover { border-color: var(--erp-primary-200); box-shadow: 0 8px 24px rgba(17, 20, 24, .07); transform: translateY(-1px); }
.cg-hto__stepbtn:focus-visible { outline: 3px solid var(--erp-primary-100); border-color: var(--erp-primary); }
.cg-hto__stepbtn.is-current { border-color: var(--erp-primary); box-shadow: 0 0 0 3px var(--erp-primary-100); }
.cg-hto__num { width: 32px; height: 32px; border-radius: 50%; background: var(--erp-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: var(--erp-fs-sm); }
.cg-hto__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--erp-primary-50); color: var(--erp-primary); display: grid; place-items: center; }
.cg-hto__icon .cg-icon { width: 22px; height: 22px; }
.cg-hto__body { display: grid; gap: 3px; min-width: 0; }
.cg-hto__title { font-weight: 800; color: var(--erp-ink); font-size: var(--erp-fs-md); line-height: 1.25; }
.cg-hto__text { color: var(--erp-muted); font-size: var(--erp-fs-sm); line-height: 1.45; }
.cg-hto__time { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--erp-r-pill); background: var(--erp-soft); color: var(--erp-ink); font-size: var(--erp-fs-xs); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cg-hto__time .cg-icon { width: 12px; height: 12px; fill: currentColor; }
.cg-hto__stepbtn:hover .cg-hto__time, .cg-hto__stepbtn.is-current .cg-hto__time { background: var(--erp-primary); color: #fff; }

/* Facts */
.cg-hto__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cg-hto__fact { padding: 22px; }
.cg-hto__facticon { width: 46px; height: 46px; border-radius: 50%; background: var(--erp-primary-50); color: var(--erp-primary); display: grid; place-items: center; margin-bottom: 14px; }
.cg-hto__facticon .cg-icon { width: 22px; height: 22px; }
.cg-hto__fact h3 { font-size: var(--erp-fs-md); margin: 0 0 6px; }
.cg-hto__fact p { margin: 0; color: var(--erp-muted); font-size: var(--erp-fs-sm); line-height: 1.5; }

/* CTA */
.cg-hto__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--erp-r-xl); background: radial-gradient(110% 120% at 100% 100%, #3a0a0e 0%, var(--erp-dark) 60%); color: #fff; }
.cg-hto__cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin: 0 0 6px; }
.cg-hto__cta p { color: rgba(255, 255, 255, .72); margin: 0; }
.cg-hto__contact { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.cg-hto__contact > a:not(.cg-btn) { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; }
.cg-hto__contact > a:not(.cg-btn):hover { color: var(--erp-primary-200); }
.cg-hto__contact .cg-icon { width: 18px; height: 18px; }

@media (max-width: 1100px) {
	.cg-hto__hero { grid-template-columns: minmax(0, 1fr); }
	.cg-hto__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.cg-hto__hero { padding: 18px; }
	.cg-hto__video--wide { display: none; }
	.cg-hto__video--tall { display: block; max-height: 82vh; margin-inline: auto; width: auto; max-width: 100%; }
	.cg-hto__player { justify-self: center; max-width: 440px; width: 100%; }
	.cg-hto__ctas .cg-btn, .cg-hto__cta .cg-btn { flex: 1 1 100%; min-width: 0; padding-inline: 16px; font-size: var(--erp-fs-base); white-space: normal; text-align: center; }
	.cg-hto__list { grid-template-columns: 1fr; }
	.cg-hto__stepbtn { grid-template-columns: auto minmax(0, 1fr) auto; padding: 14px; gap: 12px; }
	.cg-hto__icon { display: none; }
	.cg-hto__facts { grid-template-columns: 1fr; }
}
