/* ==========================================================================
   Arabian Oils — home page sections
   hero · trust · spotlight · ritual · atelier strip
   ========================================================================== */

/* ---------- Hero ---------- */
.ao-hero { position: relative; background: var(--sand); overflow: hidden; }
.ao-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), transparent 68%); pointer-events: none;
}
.ao-hero__inner { position: relative; display: grid; gap: 32px; align-items: center; padding-block: 28px 44px; }
@media (min-width: 960px) {
  .ao-hero__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 88px); min-height: min(740px, calc(100svh - var(--header-h) - var(--bar-h))); padding-block: 56px; }
}
.ao-hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); order: 2; }
@media (min-width: 960px) { .ao-hero__copy { order: 0; } }
.ao-hero__slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.ao-hero__slide.is-active { visibility: visible; opacity: 1; }
.ao-hero__slide h1, .ao-hero__slide .ao-hero__h {
  font-family: var(--font-display); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em;
  font-size: clamp(3rem, 6.4vw, 5.6rem); margin: 18px 0 22px;
}
.ao-hero em { font-style: italic; color: var(--gold); font-weight: 500; }
.ao-hero__slide p { max-width: 480px; font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-2); }
.ao-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ao-hero__controls { grid-area: 2 / 1; display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.ao-hero__dots { display: flex; gap: 6px; }
.ao-hero__dots button { position: relative; width: 44px; height: 32px; padding: 0; border: 0; background: none; }
.ao-hero__dots button span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #cdc4b5; border-radius: 2px; overflow: hidden; }
.ao-hero__dots button span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.ao-hero__dots button.is-active span::after { transform: scaleX(1); animation: ao-progress var(--dur, 6500ms) linear; }
.ao-hero.is-paused .ao-hero__dots button.is-active span::after { animation-play-state: paused; }
@keyframes ao-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ao-hero [data-hero-pause] { width: 36px; height: 36px; }
.ao-hero [data-hero-pause] .ao-icon { width: 18px; height: 18px; }
.ao-hero.is-paused [data-hero-pause] { background: var(--ink); color: #fff; }

.ao-hero__media { position: relative; aspect-ratio: 6 / 5; border-radius: var(--radius); order: 1; }
@media (min-width: 960px) { .ao-hero__media { order: 0; aspect-ratio: 6 / 5; width: 100%; } }
.ao-hero__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold-soft); border-radius: var(--radius); z-index: 0; }
.ao-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: var(--radius); opacity: 0; z-index: 1; box-shadow: var(--shadow-1); }
.ao-hero__img.is-active { opacity: 1; }
.ao-hero__badge {
  position: absolute; z-index: 3; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; box-shadow: var(--shadow-1);
}
.ao-hero__badge .ao-icon { color: var(--gold); width: 1.2em; height: 1.2em; }
@media (max-width: 959px) { .ao-hero__media::before { inset: 10px -6px -10px 6px; } }

/* ---------- Trust strip ---------- */
.ao-trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.ao-trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-block: 26px; }
@media (min-width: 900px) { .ao-trust ul { grid-template-columns: repeat(4, 1fr); } }
.ao-trust li { display: flex; align-items: center; gap: 14px; }
.ao-trust .ao-icon { width: 30px; height: 30px; color: var(--gold); flex: none; }
.ao-trust strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ao-trust span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 520px) { .ao-trust li { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ---------- Spotlight ---------- */
.ao-spot { background: var(--bg); }
.ao-spot__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.ao-spot__tabs button { padding: 11px 20px; border: 1px solid #d6cdbe; border-radius: 999px; background: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; transition: all 0.25s; }
.ao-spot__tabs button:hover { border-color: var(--ink); }
.ao-spot__tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ao-spot__panel { display: grid; gap: 28px; align-items: center; }
.ao-spot__panel[hidden] { display: none; }
@media (min-width: 900px) { .ao-spot__panel { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); } .ao-spot__panel:nth-of-type(even) .ao-spot__media { order: 2; } }
.ao-spot__media { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-1); }
.ao-spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ao-spot__media:hover img { transform: scale(1.05); }
.ao-spot__copy h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 18px; }
.ao-spot__text { color: var(--ink-2); max-width: 520px; }
.ao-spot__copy .ao-chips { margin-top: 22px; }
.ao-spot__price { margin: 24px 0 26px; font-size: 1.8rem; font-family: var(--font-display); font-weight: 500; }
.ao-spot__price del { font-size: 1.2rem; }
.ao-spot__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ritual ---------- */
.ao-ritual { position: relative; overflow: hidden; }
.ao-ritual::before { content: ""; position: absolute; width: 520px; height: 520px; left: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, 0.16), transparent 65%); }
.ao-ritual .ao-container { position: relative; }
.ao-ritual__steps { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 860px) { .ao-ritual__steps { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.ao-ritual__steps li { padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ao-ritual__n { display: block; font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1; color: var(--gold-soft); margin-bottom: 14px; }
.ao-ritual__steps h3 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.ao-ritual__steps p { color: #cfc8bc; max-width: 360px; }

/* ---------- Atelier strip ---------- */
.ao-strip { overflow: hidden; background: var(--paper); padding-block: 12px; }
.ao-strip__track { display: flex; gap: 12px; width: max-content; animation: ao-marquee 70s linear infinite; }
.ao-strip:hover .ao-strip__track { animation-play-state: paused; }
.ao-strip__track img { width: clamp(200px, 22vw, 300px); aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
@keyframes ao-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ao-strip { overflow-x: auto; }
  .ao-strip__track { animation: none; }
}
