/* ==========================================================================
   Tarot With Vratika — common stylesheet
   Fonts: Marcellus (headings) + Manrope (body)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --night:      #1C1736;   /* deep indigo, from the cosmic banner */
  --plum:       #2A2148;   /* secondary dark surface */
  --plum-2:     #352B57;
  --gold:       #B48A3C;   /* antique gold, accessible on light */
  --gold-light: #D9B66E;   /* gold on dark surfaces */
  --peach:      #F2B98C;   /* matches the line icons */
  --mist:       #F6F3F9;   /* lavender-tinted page background */
  --white:      #FFFFFF;
  --ink:        #25202F;
  --muted:      #5D566C;
  --line:       #E4DDEC;
  --on-dark:    #E9E4F2;
  --on-dark-muted: #B9B0CC;

  --font-display: 'Marcellus', 'Times New Roman', serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 88px;
  --shadow: 0 1px 2px rgba(28, 23, 54, .06), 0 12px 32px -12px rgba(28, 23, 54, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--night);
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--night); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--night); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--plum { background: var(--plum); }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* Gold ornament rule: a small diamond between two lines */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); margin: 14px auto 0; width: 120px;
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .6; }
.ornament span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.ornament--left { margin-left: 0; }
.section--dark .ornament { color: var(--gold-light); }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #9C7630; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn-outline { border-color: var(--night); color: var(--night); }
.btn-outline:hover { background: var(--night); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .9rem; color: var(--gold);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.text-link:hover { border-bottom-color: currentColor; }

/* ---------- 4. Top bar ---------- */
.topbar { background: var(--night); color: var(--on-dark-muted); font-size: .8125rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar-item:hover { color: var(--white); }
.topbar-item svg { width: 14px; height: 14px; fill: var(--gold-light); flex-shrink: 0; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--on-dark-muted); transition: color .2s, background-color .2s;
}
.topbar-social a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; }
.topbar-social a[aria-label="Instagram"] svg { fill: none; }

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(28,23,54,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: block; }
.brand img { height: 74px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a:not(.btn) {
  position: relative; padding: 10px 16px; font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: color .2s;
}
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav > a:not(.btn):hover { color: var(--gold); }
.main-nav > a:not(.btn):hover::after,
.main-nav > a.is-active::after { transform: scaleX(1); }
.main-nav > a:not(.btn).is-active { color: var(--night); }
.nav-cta.is-active { background: var(--night); color: var(--white); }
.nav-cta { margin-left: 14px; padding: 12px 24px; }

.hamburger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--radius-sm);
}
.hamburger span { width: 24px; height: 2px; background: var(--night); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Arch motif (jharokha window) ---------- */
.arch { border-radius: 1000px 1000px 0 0; overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

.arch-frame { position: relative; isolation: isolate; }
.arch-frame::before {          /* offset gold outline behind the image */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: 1000px 1000px 0 0;
}

/* ---------- 7. Home: hero ---------- */
.hero {
  position: relative; min-height: min(84vh, 720px);
  display: flex; align-items: center;
  background: var(--night) url('../../images/Main_banner.jpg') right center / cover no-repeat;
  color: var(--white); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,23,54,.95) 0%, rgba(28,23,54,.82) 38%, rgba(28,23,54,.25) 64%, rgba(28,23,54,0) 80%);
}
.hero .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.hero-content { max-width: 600px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero p { font-size: 1.125rem; color: var(--on-dark); max-width: 54ch; margin-bottom: 36px; }
.hero p br { display: none; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { width: 56px; height: 1.5px; background: var(--gold-light); margin-bottom: 28px; }

/* The one orchestrated motion moment: hero text settles in on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .26s; }
  .hero-content > :nth-child(4) { animation-delay: .4s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 8. Inner page hero ---------- */
.page-hero {
  position: relative; padding: clamp(72px, 10vw, 120px) 0; text-align: center;
  background: var(--night) center / cover no-repeat; color: var(--white);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(28,23,54,.72); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: var(--on-dark); font-size: 1.125rem; margin: 0; }
.page-hero p strong { color: var(--gold-light); font-weight: 600; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: .875rem; color: var(--on-dark-muted); margin-top: 14px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--gold-light); }

.page-hero--about        { background-image: url('../../images/About_Us_Page_.jpg'); }
.page-hero--services     { background-image: url('../../images/Services_Page_.png'); }
.page-hero--testimonials { background-image: url('../../images/Services_Page_.png'); }
.page-hero--contact      { background-image: url('../../images/Contact_Us_Page_.jpg'); }

/* ---------- 9. Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--reverse { grid-template-columns: 7fr 5fr; }
.split-media { max-width: 440px; width: 100%; justify-self: center; }
.split-media .arch { aspect-ratio: 439 / 600; }
.split-media .arch--why { aspect-ratio: 4 / 5; }
.arch--why img { object-position: 30% center; }
.split-text h2 { margin-bottom: 4px; }
.split-text .ornament { margin-bottom: 28px; }
.split-text p { color: var(--muted); }
.section--dark .split-text p { color: var(--on-dark); }
.lead-list p { margin-bottom: .85em; }

/* ---------- 10. Home: service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s;
}
.svc-card:hover { border-color: rgba(180,138,60,.55); box-shadow: var(--shadow); }
.svc-icon {
  width: 72px; height: 84px; border-radius: 1000px 1000px 10px 10px;
  background: var(--night); display: grid; place-items: center; margin-bottom: 22px;
}
.svc-icon img { width: 46px; height: 46px; object-fit: contain; margin-top: 8px; }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.svc-card p { font-size: .95rem; color: var(--muted); line-height: 1.65; }
.svc-more { text-align: center; margin-top: 44px; }

/* ---------- 11. Home: how we work (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 42px; left: 16%; right: 16%;
  border-top: 1px dashed rgba(217,182,110,.5);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step-icon {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--plum-2); border: 1px solid rgba(217,182,110,.45);
  display: grid; place-items: center; position: relative;
}
.step-icon img { width: 48px; height: 48px; object-fit: contain; }
.step-icon::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: var(--white); font: 700 .8rem/28px var(--font-body); text-align: center;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--on-dark-muted); font-size: .975rem; max-width: 34ch; margin: 0 auto; }

/* ---------- 12. Home: approach ---------- */
.approach { max-width: 780px; margin: 0 auto; text-align: center; }
.approach .ornament { margin-bottom: 32px; }
.approach p { font-size: 1.125rem; color: var(--muted); }
.approach p:first-of-type { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.5; color: var(--night); }

/* ---------- 13. Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video-card iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 14. CTA band ---------- */
.cta-band { background: var(--plum); color: var(--white); padding: clamp(48px, 7vw, 72px) 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 15. Services page ---------- */
.svc-filter {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(246,243,249,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.svc-filter .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.svc-filter .container::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.filter-btn small { font-weight: 500; opacity: .7; margin-left: 4px; }

.svc-group { padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: calc(var(--header-h) + 64px); }
.svc-group[hidden] { display: none; }
.svc-group--dark { background: var(--night); }
.svc-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.svc-group-head h2 { margin: 0; }
.svc-group-head .ornament { margin-top: 12px; }
.svc-group--dark .svc-group-head h2 { color: var(--white); }
.svc-group--dark .ornament { color: var(--gold-light); }
.svc-count { font-size: .9rem; color: var(--muted); }
.svc-group--dark .svc-count { color: var(--on-dark-muted); }

/* Tarot-card service tiles: the signature element of the site */
.tarot-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.tarot-grid > .tarot-card { flex: 0 0 calc((100% - 56px) / 3); }
.tarot-card {
  background: var(--white); border-radius: 18px; padding: 12px;
  box-shadow: 0 1px 0 var(--line), var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 80px);
}
.tarot-frame {
  height: 100%; border: 1px solid rgba(180,138,60,.45); border-radius: 12px;
  padding: 18px 20px 24px; display: flex; flex-direction: column;
}
.tarot-num {
  font-family: var(--font-display); color: var(--gold); text-align: center;
  font-size: .95rem; letter-spacing: .14em; margin-bottom: 12px;
}
.tarot-card .arch { aspect-ratio: 1 / 1; margin: 0 auto 20px; width: 100%; background: var(--plum); }
.tarot-card .arch img { transition: transform .6s var(--ease); }
.tarot-card:hover .arch img { transform: scale(1.04); }
.tarot-card h3 { text-align: center; margin-bottom: 0; }
.tarot-card .ornament { width: 84px; margin: 12px auto 18px; }
.tarot-card p { font-size: .95rem; color: var(--muted); line-height: 1.7; flex: 1; }
.tarot-card .text-link { margin-top: 18px; align-self: center; }

.svc-group--dark .tarot-card { background: var(--plum); box-shadow: none; }
.svc-group--dark .tarot-frame { border-color: rgba(217,182,110,.4); }
.svc-group--dark .tarot-num,
.svc-group--dark .tarot-card .text-link { color: var(--gold-light); }
.svc-group--dark .tarot-card h3 { color: var(--white); }
.svc-group--dark .tarot-card p { color: var(--on-dark-muted); }

/* ---------- 16. Testimonials ---------- */
.reviews { columns: 3 320px; column-gap: 24px; }
.review {
  break-inside: avoid; margin: 0 0 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px;
}
.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; font-size: .975rem; color: var(--ink); line-height: 1.75; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar {
  width: 44px; height: 50px; flex-shrink: 0; border-radius: 1000px 1000px 8px 8px;
  background: var(--night); color: var(--gold-light);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1rem; padding-top: 4px;
}
.review-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--night); line-height: 1.2; margin: 0; }
.review-role { font-size: .8125rem; color: var(--muted); }

/* ---------- 17. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-intro h2 { margin-bottom: 4px; }
.contact-intro .ornament { margin-bottom: 26px; }
.contact-intro .lead { font-weight: 700; color: var(--night); font-size: 1.125rem; }
.contact-intro p { color: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.info-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.info-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--night); flex-shrink: 0;
  display: grid; place-items: center;
}
.info-icon img { width: 30px; height: 30px; object-fit: contain; }
.info-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.info-item a, .info-item p { display: block; color: var(--muted); margin: 0; }
.info-item a:hover { color: var(--gold); }

.form-card {
  background: var(--white); border-radius: 18px; padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--mist); font-size: .975rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235D566C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #B3261E; }
.field .error { font-size: .8125rem; color: #B3261E; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .btn { min-width: 180px; }
.form-note { font-size: .8125rem; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; }
.alert--success { background: #EAF5EC; color: #1D5B2C; border: 1px solid #BFDFC5; }
.alert--error { background: #FBECEB; color: #8C1D18; border: 1px solid #F0C3BF; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-muted); }
.footer-grid {
  display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.3fr; gap: 40px;
  padding-top: clamp(56px, 7vw, 80px); padding-bottom: 48px;
}
.footer-brand img { width: 104px; height: 104px; border-radius: 50%; background: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 18px; }
.footer-col > a { display: block; transition: color .2s; word-break: break-word; }
.footer-col > a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-bottom: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); color: var(--white); transition: background-color .2s, border-color .2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-cta-text { color: var(--on-dark); margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .875rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tarot-grid > .tarot-card { flex-basis: calc((100% - 28px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { height: 56px; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 22px; box-shadow: 0 18px 30px -18px rgba(28,23,54,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav > a:not(.btn).is-active { color: var(--gold); }
  .nav-cta { margin: 18px 0 0; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: -1; }
  .split-media { max-width: 360px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .video-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }

  .hero { background-position: 78% center; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(28,23,54,.7) 0%, rgba(28,23,54,.92) 100%); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .topbar-inner { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .topbar-contacts { justify-content: center; gap: 4px 18px; }
  .topbar-social { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .tarot-grid > .tarot-card { flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .arch-frame::before { inset: 12px -10px -12px 10px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 20. Small helpers ---------- */
.about-btns { margin-top: 32px; }
.section-head .ornament + p { margin-top: 22px; }

/* ---------- 22. Booking page: all services ---------- */
.book-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.svc-panels { grid-template-columns: 1fr; }
.svc-panel--wide .opt-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.opt--span { grid-column: span 2; }
.opt-note { font-size: .8125rem; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.svc-panel[hidden], .opt-featured[hidden] { display: none; }
@media (max-width: 640px) {
  .svc-panel--wide .opt-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ---------- 23. SEO silo pages ---------- */
.page-hero--generic { background-image: url('../../images/Services_Page_.png'); }
.page-hero .container > p { max-width: 62ch; margin-left: auto; margin-right: auto; }
.breadcrumb { flex-wrap: wrap; justify-content: center; }
.prose-wrap { max-width: 820px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.3em 0 .4em; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose a:not(.btn) { color: #8A6626; text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):hover { color: var(--night); }
.prose strong { color: var(--ink); }
.prose-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; background: var(--plum); }
.prose-figure img { width: 100%; max-height: 340px; object-fit: cover; }

.answer-box {
  background: var(--mist); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 0 0 28px;
}
.answer-box p { color: var(--ink); font-size: 1.0625rem; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 12px; }
.facts div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--white); }
.facts dt { font-size: .8125rem; font-weight: 700; color: var(--night); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: .925rem; color: var(--muted); line-height: 1.5; }

.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .975rem; }
.price-table th, .price-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-family: var(--font-display); font-weight: 400; color: var(--night); font-size: 1.05rem; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-note { font-size: .9rem; margin-top: 12px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.faq { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--night); }
.faq summary:hover { color: var(--gold); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.link-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: border-color .25s, box-shadow .25s;
}
.link-card:hover { border-color: rgba(180,138,60,.55); box-shadow: var(--shadow); }
.link-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.link-card p { font-size: .95rem; color: var(--muted); line-height: 1.6; flex: 1; }
.link-card .text-link { margin-top: 14px; align-self: flex-start; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0 0 1em; }
.area-chips li { margin: 0; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .875rem; color: var(--ink); }

.svc-card h3 a:hover { color: var(--gold); }
.svc-card .text-link { margin-top: 14px; align-self: flex-start; }
.tarot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 18px; }
.tarot-actions .text-link { margin-top: 0; }
.tarot-card h3 a:hover { color: var(--gold); }
.hub-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.hub-intro p { color: var(--muted); }

.footer-silos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-top: 32px; padding-bottom: 44px; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-silos h4 { color: var(--white); font-size: 1.125rem; margin-bottom: 12px; }
.footer-silos a { display: block; font-size: .925rem; padding: 2px 0; transition: color .2s; }
.footer-silos a:hover { color: var(--gold-light); }
@media (max-width: 640px) { .footer-silos { grid-template-columns: 1fr; } }
.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; }

/* ---------- 23. Student account link + Courses in the menu ---------- */
.topbar-social a.topbar-account { width: auto; border-radius: 999px; padding: 0 12px 0 10px; gap: 7px; display: inline-flex; align-items: center; margin-right: 6px; color: var(--gold-light); font-weight: 600; border: 1px solid rgba(217,182,110,.35); }
.topbar-social a.topbar-account svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-social a.topbar-account:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.main-nav > a.nav-account { display: none; }
@media (min-width: 901px) and (max-width: 1180px) {
  .main-nav > a:not(.btn) { padding: 10px 10px; }
  .main-nav > a:not(.btn)::after { left: 10px; right: 10px; }
  .nav-cta { margin-left: 8px; padding: 12px 18px; }
}
@media (max-width: 900px) {
  .main-nav > a.nav-account { display: block; color: var(--gold); }
}
