/* ═══════════════════════════════════════════════
   AMANCORE — Classic Corporate Design System
   Palette : Ink Navy · Brass Gold · Warm Cream
   Type    : Cormorant Garamond (display) · Inter (body)
   ═══════════════════════════════════════════════ */

:root {
  /* palette — softened extremes for low-light eye comfort */
  --navy-950: #101a2c;
  --navy-900: #152238;
  --navy-800: #1b2a44;
  --gold-500: #b08d4f;
  --gold-400: #c9a86a;
  --gold-300: #dcc493;
  --cream-50: #f7f3ea;
  --cream-100: #efe9da;
  --ink-900: #1d2430;
  --ink-600: #47536b;
  --line-light: #e5ddcc;
  --line-dark: rgba(201, 168, 106, .25);
  --white: #ffffff;

  /* type scale */
  --fs-xs: .78rem;
  --fs-sm: .92rem;
  --fs-base: 1.04rem;
  --fs-lg: 1.18rem;
  --fs-xl: clamp(1.35rem, 2.4vw, 1.7rem);
  --fs-h2: clamp(1.8rem, 4vw, 2.6rem);
  --fs-hero: clamp(2.2rem, 5.2vw, 3.7rem);

  /* rhythm */
  --space: 8px;
  --radius: 10px;
  --header-h: 72px;
  --font-display: "Cormorant Garamond", "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Inter", "Noto Naskh Arabic", system-ui, sans-serif;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .hero-grid, [dir="rtl"] .why-grid { direction: rtl; }
[dir="rtl"] .main-nav a, [dir="rtl"] .step, [dir="rtl"] .card, [dir="rtl"] .ladder-step { direction: rtl; }
[dir="rtl"] .hero-points li { padding-inline-start: 26px; padding-inline-end: 0; }
[dir="rtl"] .why-list li { direction: rtl; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 8px; z-index: 200;
  background: var(--gold-500); color: #14100a; padding: 10px 18px;
  border-radius: 6px; font-weight: 600;
}
.skip-link:focus { inset-inline-start: 8px; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.center { text-align: center; }

/* ── typography ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: var(--fs-hero); letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-xl); }

.eyebrow {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--navy-700); margin-bottom: 14px;
}
.eyebrow-gold { color: var(--gold-500); }

.section { padding: calc(var(--space) * 12) 0; }
.section-head { max-width: 640px; margin-bottom: calc(var(--space) * 8); }
.section-head h2 { color: var(--navy-900); margin-bottom: 14px; }
.section-sub { color: var(--ink-600); font-size: var(--fs-lg); }
.center .section-head { margin-inline: auto; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 8px; font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.btn-gold { background: var(--gold-400); color: #14100a; box-shadow: 0 6px 18px rgba(176, 141, 79, .35); }
.btn-gold:hover { background: var(--gold-300); }
.btn-ghost { border-color: rgba(16,28,48,.30); color: var(--navy-900); }
.btn-ghost:hover { border-color: var(--gold-500); color: #8a6c37; }
.btn-outline-gold { border-color: var(--gold-500); color: #8a6c37; }
.btn-outline-gold:hover { background: var(--gold-500); color: #14100a; }
.btn-outline-navy { border-color: rgba(16,28,48,.35); color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--cream-50); }
.btn-lg { padding: 18px 38px; font-size: var(--fs-base); }
.btn-sm { padding: 9px 20px; min-height: 40px; }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--navy-800); border: 1.5px solid var(--gold-400);
  color: var(--gold-400); font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; border-radius: 8px;
}
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--navy-900); letter-spacing: .02em; }
.brand-name em { font-style: normal; color: var(--gold-500); }

.main-nav { display: flex; gap: calc(var(--space) * 4); }
.main-nav a {
  color: var(--ink-600); font-size: var(--fs-sm); font-weight: 500;
  padding: 8px 2px; position: relative; transition: color .15s;
}
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 2px;
  width: 0; height: 1.5px; background: var(--gold-500); transition: width .25s ease;
}
.main-nav a:hover { color: var(--navy-900); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--line-light); border-radius: 7px; overflow: hidden; }
.lang-btn {
  background: transparent; border: 0; color: var(--ink-600);
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  padding: 7px 12px; cursor: pointer; transition: all .15s; min-height: 34px;
}
.lang-btn.active { background: var(--gold-400); color: #14100a; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); transition: transform .25s, opacity .25s; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── hero ── — same cream family as the rest of the page */
.hero {
  background: var(--cream-50);
  color: var(--ink-900);
  padding: calc(var(--space) * 14) 0 calc(var(--space) * 13);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: calc(var(--space) * 8);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-500); }
.hero h1 { color: var(--navy-900); margin-bottom: 20px; }
.lead { font-size: var(--fs-lg); color: var(--ink-600); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points { display: grid; gap: 10px; }
.hero-points li {
  position: relative; padding-inline-start: 26px;
  color: var(--ink-600); font-size: var(--fs-sm);
}
.hero-points li::before {
  content: "◆"; position: absolute; inset-inline-start: 0;
  color: var(--gold-500); font-size: .65rem; top: 5px;
}

/* hero visual composition */
.hero-visual { position: relative; min-height: 380px; }
.hero-card-main {
  position: absolute; inset: 8% 12% 14% 6%;
  background: var(--white);
  border: 1px solid var(--line-light); border-radius: 16px;
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 24px 54px rgba(16,28,48,.10);
}
.hc-kicker { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); font-weight: 700; }
.hc-line { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--gold-400), transparent 85%); opacity: .6; }
.hc-line-1 { width: 88%; } .hc-line-2 { width: 64%; } .hc-line-3 { width: 42%; }
.hc-chip-row { display: flex; gap: 10px; margin-top: auto; }
.hc-chip { width: 44px; height: 44px; border-radius: 10px; background: var(--cream-100); border: 1px solid var(--line-light); }
.hero-card-float1, .hero-card-float2 {
  position: absolute; padding: 16px 22px; border-radius: 12px;
  background: var(--white); color: var(--navy-900);
  font-weight: 600; font-size: var(--fs-sm);
  box-shadow: 0 14px 34px rgba(16,28,48,.12); border: 1px solid var(--line-light);
}
.hero-card-float1 { bottom: 4%; inset-inline-start: 0; }
.hero-card-float2 { top: 0; inset-inline-end: 2%; color: var(--gold-500); }
.hero-ring {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 1px dashed rgba(176,141,79,.35);
  top: 50%; inset-inline-start: 50%; transform: translate(-50%, -46%);
  animation: spin 60s linear infinite; pointer-events: none;
}
@keyframes spin { to { transform: translate(-50%, -46%) rotate(360deg); } }

/* ── sections ── */
/* One calm family: every section after the hero shares the warm cream
   base — no alternating light/dark blocks, no gradients between sections. */
.section-light { background: var(--cream-50); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space) * 3); }

.card {
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: calc(var(--space) * 4);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(16,28,48,.12); }
.service-card { position: relative; display: flex; flex-direction: column; }
.service-card h3 { color: var(--navy-900); margin-bottom: 10px; font-size: 1.32rem; }
.service-card p { color: var(--ink-600); font-size: var(--fs-sm); }
.card-icon {
  font-size: 1.5rem; color: var(--gold-500); margin-bottom: 18px;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--cream-100); border: 1px solid var(--line-light); border-radius: 10px;
}
.tag {
  align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-700);
  background: var(--cream-100); border: 1px solid var(--line-light);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}
.tag-premium { color: #7a5c22; background: #f4e9cf; border-color: #e3d0a4; }

/* ladder */
.ladder { counter-reset: step; max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.ladder-step {
  display: flex; gap: 26px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 26px 30px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ladder-step:hover { transform: translateY(-3px); border-color: var(--gold-400); box-shadow: 0 14px 34px rgba(16,28,48,.08); }
.step-no {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--gold-500); min-width: 56px; line-height: 1;
}
.ladder-step h3 { color: var(--navy-900); margin-bottom: 8px; font-size: 1.3rem; }
.ladder-step p { color: var(--ink-600); font-size: var(--fs-sm); margin-bottom: 10px; }
.step-tier {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy-700); border: 1px solid var(--line-light); border-radius: 99px; padding: 4px 12px;
}
.step-tier.tag-premium { color: #7a5c22; background: #f4e9cf; border-color: #e3d0a4; }
.ladder-care { background: linear-gradient(140deg, rgba(176,141,79,.10), var(--white) 70%); border-color: #e3d0a4; }
#packages .center { margin-top: calc(var(--space) * 7); }

/* process */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  background: var(--white); border-top: 3px solid var(--gold-400);
  border-radius: 0 0 var(--radius) var(--radius); padding: 26px 22px;
  border-inline: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.step-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--gold-500); display: block; margin-bottom: 12px; line-height: 1;
}
.step h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: 8px; }
.step p { font-size: var(--fs-sm); color: var(--ink-600); }

/* why — same cream base, navy text */
.why-section {
  background: var(--cream-50);
  color: var(--ink-900);
}
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: calc(var(--space) * 9); align-items: center; }
.why-grid h2 { color: var(--navy-900); }
.why-list { display: grid; gap: 20px; }
.why-list li { display: flex; gap: 16px; color: var(--ink-600); font-size: var(--fs-lg); line-height: 1.55; }
.why-list li > span:first-child { color: var(--gold-500); font-weight: 700; }

/* contact — same cream base, seamless with the rest */
.contact-section {
  background: var(--cream-50);
  color: var(--ink-900); text-align: center;
}
.contact-section h2 { color: var(--navy-900); margin-bottom: 12px; }
.contact-section .section-sub { color: var(--ink-600); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: calc(var(--space) * 5); }
.contact-note { margin-top: calc(var(--space) * 5); font-size: var(--fs-sm); color: var(--ink-600); letter-spacing: .06em; }

/* footer — light, same family as the body */
.site-footer {
  background: var(--cream-50); color: var(--ink-600);
  padding: calc(var(--space) * 6) 0;
  border-top: 1px solid var(--line-light);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: var(--fs-sm); transition: color .15s; }
.footer-nav a:hover { color: var(--gold-500); }
.brand-footer .brand-name { color: var(--navy-900); }
.copyright { font-size: var(--fs-xs); letter-spacing: .05em; }

/* reveal on scroll — gated behind html.js so content stays visible without JS */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-ring { animation: none; }
}

/* ── responsive ── */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .section { padding: calc(var(--space) * 9) 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 90;
    background: var(--cream-50); flex-direction: column; gap: 0;
    padding: 10px 0 18px; border-bottom: 1px solid var(--line-light);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 6%; border-bottom: 1px solid rgba(16,28,48,.06); font-size: var(--fs-base); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .ladder-step { flex-direction: column; gap: 10px; padding: 22px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 379px) {
  .brand-name { font-size: 1.15rem; }
  .btn { padding: 13px 20px; width: 100%; }
  .header-actions { gap: 8px; }
}
