/* ===================================================
   style.css - אריה לייב שלום לייבוביץ
   =================================================== */

/* 1. CSS CUSTOM PROPERTIES
   ================================================ */
:root {
  --color-bg:          #FAFAF7;
  --color-bg-alt:      #F2EFE8;
  --color-surface:     #FFFFFF;
  --color-border:      #E2DDD4;
  --color-text:        #1A1815;
  --color-text-muted:  #6A6760;
  --color-gold:        #B8912A;
  --color-gold-hover:  #9E7D20;
  --color-gold-subtle: #F5EDD5;
  --color-nav-bg:      rgba(250,250,247,0.93);
  --color-shadow:      rgba(26,24,21,0.09);
  --color-hero-from:   #EDEAE2;
  --color-hero-to:     #FAFAF7;
  --color-dot:         rgba(184,145,42,0.18);

  --font: 'Heebo', 'Arial Hebrew', 'David', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  --trans-fast: 150ms ease;
  --trans-base: 250ms ease;
  --trans-slow: 450ms ease;

  --shadow-sm: 0 1px 4px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --shadow-lg: 0 12px 40px var(--color-shadow);

  --nav-h: 72px;
}

[data-theme="dark"] {
  --color-bg:          #0D1117;
  --color-bg-alt:      #161B22;
  --color-surface:     #1C2333;
  --color-border:      #30363D;
  --color-text:        #E6EDF3;
  --color-text-muted:  #8B949E;
  --color-gold:        #D4AF47;
  --color-gold-hover:  #EAC95C;
  --color-gold-subtle: #2D2510;
  --color-nav-bg:      rgba(13,17,23,0.93);
  --color-shadow:      rgba(0,0,0,0.35);
  --color-hero-from:   #0D1117;
  --color-hero-to:     #161B22;
  --color-dot:         rgba(212,175,71,0.12);
}

/* 2. RESET & BASE
   ================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  transition: background var(--trans-slow), color var(--trans-slow);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
*:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 3. ACCESSIBILITY
   ================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  right: 0;
  background: var(--color-gold);
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--trans-fast);
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* 4. TYPOGRAPHY UTILITIES
   ================================================ */
.text-gold  { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }

.headline-xl {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.headline-lg {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}
.headline-md {
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
}
.body-lg { font-size: 1.125rem; line-height: 1.75; }
.body-sm { font-size: 0.9rem; line-height: 1.6; }
.label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* 5. LAYOUT
   ================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}
.section--sm { padding: 3.5rem 0; }
.section--lg { padding: 8rem 0; }

/* 6. NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--trans-slow), border-color var(--trans-slow), box-shadow var(--trans-base);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--color-gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--trans-fast), background var(--trans-fast);
}
.nav__link:hover, .nav__link.active {
  color: var(--color-text);
  background: var(--color-bg-alt);
}
.nav__link.active { font-weight: 700; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--trans-fast), background var(--trans-fast);
  position: relative;
}
.theme-toggle:hover {
  color: var(--color-gold);
  background: var(--color-bg-alt);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { position: absolute; transition: opacity var(--trans-base), transform var(--trans-base); }
[data-theme="dark"]  .icon-sun  { opacity:0; transform:rotate(90deg) scale(0.5); }
[data-theme="dark"]  .icon-moon { opacity:1; transform:rotate(0deg) scale(1); }
[data-theme="light"] .icon-sun  { opacity:1; transform:rotate(0deg) scale(1); }
[data-theme="light"] .icon-moon { opacity:0; transform:rotate(-90deg) scale(0.5); }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast);
}
.nav__hamburger:hover { background: var(--color-bg-alt); }
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--trans-base), opacity var(--trans-base);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
}

/* 7. HERO
   ================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(160deg, var(--color-hero-from), var(--color-hero-to));
  position: relative;
  overflow: hidden;
}

/* Dot grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-dot) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Gold glow (dark mode accent) */
.hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,71,0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__label {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.hero__title {
  margin-bottom: 1.5rem;
}
.hero__title .line { display: block; }
.hero__title .line--gold { color: var(--color-gold); }

.hero__desc {
  max-width: 540px;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Stats strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}
.hero__stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* 8. BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.97rem;
  transition: all var(--trans-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 2px 12px rgba(184,145,42,0.35);
}
.btn--primary:hover {
  background: var(--color-gold-hover);
  box-shadow: 0 4px 20px rgba(184,145,42,0.45);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--ghost {
  color: var(--color-gold);
  padding-inline: 0;
}
.btn--ghost:hover { text-decoration: underline; }

.btn--lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.88rem; }

/* 9. SERVICE CARDS
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--trans-base), box-shadow var(--trans-base), transform var(--trans-base);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 0; height: 3px;
  background: var(--color-gold);
  border-radius: 3px;
  transition: width var(--trans-slow);
}
.service-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::after { width: 100%; }

.service-card__icon {
  width: 52px; height: 52px;
  background: var(--color-gold-subtle);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.service-card__title { font-size: 1.25rem; font-weight: 800; }
.service-card__desc { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.65; flex: 1; }

.service-card__link {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: gap var(--trans-fast);
}
.service-card__link:hover { gap: 0.6rem; }

/* 10. SECTION HEADER
   ================================================ */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header--center { text-align: center; }

.section-header .label { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  color: var(--color-text-muted);
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.section-header--center p { margin-inline: auto; }

/* 11. ABOUT SECTION
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.about-card__quote {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.about-card__quote::before {
  content: '"';
  position: absolute;
  inset-inline-start: 0;
  top: -2.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.18;
  font-family: Georgia, serif;
  pointer-events: none;
  z-index: 0;
}

.about-card__sig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.about-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #8B6A1A);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.about-text p { color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.8; }
.about-text p:last-child { margin-bottom: 0; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.tag {
  background: var(--color-gold-subtle);
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(184,145,42,0.25);
}

/* 12. CTA BANNER
   ================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-gold) 0%, #9E7D20 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.btn--white {
  background: #fff;
  color: var(--color-gold-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn--white:hover {
  background: #f8f5ee;
  transform: translateY(-2px);
}

/* 13. SERVICE PAGE HERO
   ================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 4rem;
  background: linear-gradient(160deg, var(--color-hero-from), var(--color-hero-to));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}
.breadcrumb a { transition: color var(--trans-fast); }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb__sep { color: var(--color-border); }

/* 14. PROCESS STEPS
   ================================================ */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.process-step__num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--color-gold-subtle);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-gold);
}
.process-step__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.process-step__desc { color: var(--color-text-muted); line-height: 1.7; font-size: 0.96rem; }

/* 15. CHECKLIST
   ================================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  line-height: 1.6;
}
.checklist__item::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--color-gold);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 0.1rem;
}

/* 16. SPLIT LAYOUT (service pages)
   ================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--reverse { direction: ltr; }
.split--reverse > * { direction: rtl; }

/* 17. HIGHLIGHT BOX
   ================================================ */
.highlight-box {
  background: var(--color-gold-subtle);
  border: 1px solid rgba(184,145,42,0.3);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem;
}
[data-theme="dark"] .highlight-box {
  border-color: rgba(212,175,71,0.2);
}
.highlight-box p { line-height: 1.8; font-size: 1rem; }

/* 18. FLOATING WHATSAPP
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  inset-inline-start: 1.75rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.93rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  text-decoration: none;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.wa-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 4px;
}
.wa-float__icon { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float__text { white-space: nowrap; }

/* 19. FOOTER
   ================================================ */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer__brand-name {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}
.footer__brand-name span { color: var(--color-gold); }
.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--trans-fast);
}
.footer__links a:hover { color: var(--color-gold); }

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.footer__a11y {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer__a11y a {
  color: var(--color-gold);
  font-weight: 600;
  transition: opacity var(--trans-fast);
}
.footer__a11y a:hover { opacity: 0.8; }

/* 20. DIVIDER
   ================================================ */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0;
}

/* 21. ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 22. IMAGE PLACEHOLDERS & PHOTO SLOTS
   ================================================ */
.img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  flex-shrink: 0;
  transition: border-color var(--trans-base);
}
.img-wrap:has(img[src]:not([src=""])) {
  border: none;
}

.img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
  user-select: none;
}
.img-ph svg { color: var(--color-gold); opacity: 0.65; }
.img-ph span { opacity: 0.75; font-family: monospace; font-size: 0.78rem; }

.img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Hero - split with photo */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: center;
}
.hero__photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  width: 100%;
}
.hero__photo img {
  object-position: center 12%;
  transform: scale(1.15);
  transform-origin: center 12%;
}

/* About - photo above quote card */
.about__img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  width: 100%;
  margin-bottom: 1.5rem;
}
.about__img img {
  object-position: center 30%;
  transform: scale(1.0);
  transform-origin: center 30%;
  will-change: transform;
  transition: none;
}

/* Page-hero - split with photo */
.page-hero__split {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: center;
}
.page-hero__photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  width: 100%;
}

/* Lectures - speaking photo */
.speaking-photo {
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  width: 100%;
  margin-top: 2.5rem;
}

/* 23. RESPONSIVE
   ================================================ */

/* ── Tablet: 769px - 1024px ──────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Photos stay visible but smaller */
  .hero__split       { grid-template-columns: 1fr 220px; gap: 2rem; }
  .page-hero__split  { grid-template-columns: 1fr 180px; gap: 1.75rem; }

  .services-grid     { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual      { max-width: 540px; }
  .split             { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse    { direction: rtl; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile: ≤768px ──────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Navigation */
  .nav__links     { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero - compact mobile layout */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 3rem;
  }
  .hero__split    { grid-template-columns: 1fr; gap: 0; }

  /* Photo becomes a small circular avatar above the text */
  .hero__photo {
    display: block;
    width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    order: -1;          /* appear before hero__inner */
    margin: 0 auto 1.5rem;
    animation: none;
    border: 3px solid var(--color-gold);
  }

  /* Stats: force 3 equal columns, always one row */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    text-align: center;
  }
  .hero__stat-num { font-size: 1.65rem; }
  .hero__stat-lbl { font-size: 0.75rem; }

  /* Service page heroes */
  .page-hero__split { grid-template-columns: 1fr; }
  .page-hero__photo {
    display: block;
    width: min(52%, 180px);
    margin: 1.5rem auto 0;
    animation: none;
  }
  .page-hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.5rem;
  }

  /* About photo - portrait on mobile */
  .about__img { aspect-ratio: 3/4; }

  /* Layout grids */
  .services-grid  { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .split          { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse { direction: rtl; }

  /* Spacing */
  .section        { padding: 3.5rem 0; }
  .section--lg    { padding: 4.5rem 0; }
  .hero.section--lg { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; }
  .section--sm    { padding: 2.5rem 0; }

  /* Cards & banners */
  .service-card   { padding: 1.75rem 1.5rem; }
  .cta-banner     { padding: 2.5rem 1.5rem; }

  /* Footer */
  .footer__grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; }

  /* Touch targets - WCAG 2.5.5 minimum 44×44px */
  .btn            { min-height: 44px; }
  .theme-toggle   { width: 44px; height: 44px; }
  .nav__link      { min-height: 44px; display: flex; align-items: center; }

  /* WhatsApp float - icon only on mobile */
  .wa-float__text { display: none; }
  .wa-float       { padding: 0; width: 52px; height: 52px; border-radius: 50%;
                    display: flex; align-items: center; justify-content: center; }
  .wa-float__icon { width: 26px; height: 26px; }
}

/* ═══════════════════════════════════════════════
   ENHANCED ANIMATIONS, COLOR & INTERACTIVITY
   ═══════════════════════════════════════════════ */

/* ── Additional reveal directions ────────────── */
.reveal.reveal--from-left  { transform: translateX(-52px); }
.reveal.reveal--from-right { transform: translateX(52px);  }
.reveal.reveal--pop        { transform: scale(0.88) translateY(10px); }
/* .reveal.visible already resets transform:none - covers all variants */

/* mobile: revert to vertical slide for directional variants */
@media (max-width: 768px) {
  .reveal.reveal--from-left,
  .reveal.reveal--from-right { transform: translateY(24px); }
}

/* extra stagger delays */
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.55s; }

/* service cards have their own (shorter) hover transition that wins -
   restore the slow reveal transition while the card is entering       */
.service-card.reveal:not(.visible) {
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Service card - stronger glow & icon spin ─── */
.service-card:hover {
  box-shadow: 0 12px 48px rgba(184,145,42,0.22), 0 2px 10px rgba(0,0,0,0.07);
  transform: translateY(-8px);
}
.service-card__icon {
  transition: transform var(--trans-slow), background var(--trans-base);
}
.service-card:hover .service-card__icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, rgba(184,145,42,0.3), rgba(184,145,42,0.08));
}

/* ── Stat number glow ─────────────────────────── */
.hero__stat-num {
  text-shadow: 0 0 28px rgba(184,145,42,0.3);
  transition: transform var(--trans-base);
}
.hero__stat-num:hover { transform: scale(1.06); }
[data-theme="dark"] .hero__stat-num {
  text-shadow: 0 0 38px rgba(212,175,71,0.5);
}

/* ── WhatsApp float pulse ─────────────────────── */
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.40); }
  50%     { box-shadow: 0 6px 38px rgba(37,211,102,0.65),
                        0 0 0 10px rgba(37,211,102,0.09); }
}
.wa-float { animation: wa-pulse 2.8s ease-in-out infinite; }
.wa-float:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.03);
}

/* ── CTA banner: animated gold shimmer ────────── */
@keyframes cta-shine {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.cta-banner {
  background: linear-gradient(
    135deg,
    #8B6A1A 0%, var(--color-gold) 25%,
    #e8c84a 50%, var(--color-gold) 75%, #8B6A1A 100%
  );
  background-size: 280% 280%;
  animation: cta-shine 5s ease infinite;
}

/* ── Hero & page-hero photo: gentle float ─────── */
@keyframes photo-float {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-14px); }
}
.hero__photo      { animation: photo-float 7s ease-in-out infinite; }
.page-hero__photo { animation: photo-float 7s ease-in-out infinite 1s; }

/* ── Hero glow - more vivid ───────────────────── */
.hero::after {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(184,145,42,0.10) 0%, transparent 60%);
}

/* ── Highlight box: gold start border ─────────── */
.highlight-box {
  border-inline-start: 4px solid var(--color-gold);
  padding-inline-start: calc(2rem - 4px);
}

/* ── Process step glow when section enters ─────── */
.reveal.visible .process-step__num {
  box-shadow: 0 0 0 5px rgba(184,145,42,0.15);
}

/* ── Tag hover ────────────────────────────────── */
.tag {
  cursor: default;
  transition: background var(--trans-fast), transform var(--trans-fast),
              box-shadow var(--trans-fast);
}
.tag:hover {
  background: rgba(184,145,42,0.25);
  transform: scale(1.07);
  box-shadow: 0 2px 8px rgba(184,145,42,0.2);
}

/* ── Checklist item hover nudge (RTL: slide right) */
.checklist__item { transition: transform var(--trans-fast); }
.checklist__item:hover { transform: translateX(5px); }

/* ── Reduced motion: disable all added animations ─ */
@media (prefers-reduced-motion: reduce) {
  .hero__photo, .page-hero__photo, .wa-float, .cta-banner {
    animation: none !important;
  }
  .service-card:hover, .service-card__icon,
  .hero__stat-num, .tag, .checklist__item {
    transition: none !important;
    transform: none !important;
  }
}

/* ── Booking steps responsive grid ───────────── */
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .booking-steps { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Small phones: ≤480px ────────────────────── */
@media (max-width: 480px) {
  .container      { padding: 0 1rem; }

  /* Scale down headlines */
  .headline-xl    { font-size: clamp(1.85rem, 8.5vw, 2.4rem); }
  .headline-lg    { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .headline-md    { font-size: clamp(1.2rem, 5vw, 1.5rem); }

  /* Hero */
  .hero__actions  { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stat-num { font-size: 1.75rem; }
  .hero__stats    { gap: 1rem 2rem; }

  /* Cards */
  .service-card   { padding: 1.5rem 1.25rem; }
  .about-card     { padding: 1.5rem; }
  .highlight-box  { padding: 1.5rem; }
  .cta-banner     { padding: 2rem 1.25rem; }

  /* Process */
  .process-step   { gap: 1rem; }
  .process-step__num { width: 38px; height: 38px; font-size: 0.9rem; }
}

/* 30. COOKIE CONSENT BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 9500;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 28px var(--color-shadow);
  padding: 1rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  min-width: 0;
}
.cookie-banner__text a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cookie-banner__text a:hover { color: var(--color-gold-hover); }
.cookie-banner__btn {
  flex-shrink: 0;
  min-width: 90px;
}

/* wa-float rises above the banner when it is visible */
.cookie-banner--visible ~ * .wa-float,
body.cookie-visible .wa-float {
  bottom: calc(4rem + 1px);
}

@media (max-width: 480px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__btn   { width: 100%; justify-content: center; }
}
