/* ==============================================
   MANARAH ADVISORY — style.css
   Nordic-clean with warm bronze accent
   ============================================== */

/* ── 1. CSS Variables ── */
:root {
  /* Light backgrounds */
  --bg:           #FFFFFF;
  --bg-warm:      #F8F7F4;
  --bg-warm-alt:  #F2EFE9;

  /* Dark backgrounds */
  --bg-dark:         #0C0B0A;
  --bg-dark-2:       #161412;
  --bg-dark-card:    #1E1C1A;

  /* Brand */
  --bronze:       #A08B5B;
  --bronze-light: #C4A96D;
  --bronze-muted: rgba(160, 139, 91, 0.12);

  /* Text — light sections */
  --text:           #1A1816;
  --text-secondary: #5A5450;
  --text-muted:     #8A8480;

  /* Text — dark sections */
  --text-inv:           #F0EDE6;
  --text-inv-secondary: #9A9590;
  --text-inv-muted:     #6B6560;

  /* Borders */
  --border:       #E5E0DA;
  --border-hover: #C8BEB4;
  --border-dark:  #2A2522;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --size-hero: clamp(2.6rem, 5.5vw, 4.2rem);
  --size-h1:   clamp(2rem,   4vw,   3rem);
  --size-h2:   clamp(1.6rem, 3vw,   2.3rem);
  --size-h3:   clamp(1.15rem, 2vw,  1.45rem);
  --size-body: 1.05rem;
  --size-sm:   0.875rem;
  --size-xs:   0.75rem;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  /* Layout */
  --container:        1140px;
  --container-narrow: 720px;
  --pad:              1.5rem;
  --nav-h:            80px;
  --radius:           2px;

  /* Motion */
  --ease:      0.3s ease;
  --ease-fast: 0.18s ease;

  /* Functional */
  --success: #2D7D32;
  --error:   #C75B5B;
}

/* ── 2. Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--size-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 3. Base Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; color: inherit; }
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p  { line-height: 1.75; color: var(--text-secondary); }

.label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--sp-sm);
}
.label--inv { color: var(--bronze-light); }

/* ── 4. Layout ── */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.wrap--narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: var(--sp-xl) 0; }
.section--lg { padding: var(--sp-xl) 0; }
.section--sm { padding: var(--sp-lg) 0; }

/* ── 5. Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(12, 11, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--ease);
}
.nav.scrolled { background: rgba(12, 11, 10, 0.97); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav__logo img { height: 72px; width: auto; display: block; }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-lg);
}
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-inv-secondary);
  transition: color var(--ease-fast);
  position: relative;
  padding-bottom: 2px;
}
.nav__link:hover { color: var(--text-inv); }
.nav__link.active {
  color: var(--text-inv);
  font-weight: 700;
}
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--bronze);
}

.nav__cta { display: none; }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text-inv);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  padding: var(--sp-xl) var(--pad);
  gap: var(--sp-md);
  border-top: 1px solid var(--border-dark);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-inv);
}
.nav__mobile .nav__cta { display: inline-flex; margin-top: auto; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__burger { display: none; }
}

/* Language switcher */
.nav__lang {
  display: none;
  align-items: center;
  gap: 0.35rem;
  margin-left: var(--sp-md);
}
.nav__lang-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-inv-muted);
  transition: color var(--ease-fast);
  padding: 2px 0;
}
.nav__lang-link:hover { color: var(--text-inv-secondary); }
.nav__lang-link.active { color: var(--text-inv); font-weight: 700; }
.nav__lang-sep { color: var(--text-inv-muted); font-size: 0.7rem; }

@media (min-width: 768px) { .nav__lang { display: flex; } }

/* Mobile language switcher */
.nav__mobile .nav__lang {
  display: flex;
  margin-left: 0;
  margin-top: var(--sp-lg);
  justify-content: flex-start;
  gap: 0.5rem;
}
.nav__mobile .nav__lang-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-inv-muted);
}
.nav__mobile .nav__lang-link.active { color: var(--text-inv); }

/* ── 6. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.875rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 2.25rem; font-size: 0.85rem; }

.btn--primary { background: var(--bronze); color: #0C0B0A; border-color: var(--bronze); }
.btn--primary:hover { background: var(--bronze-light); border-color: var(--bronze-light); }

.btn--outline { background: transparent; color: var(--bronze); border-color: var(--bronze); }
.btn--outline:hover { background: var(--bronze-muted); }

.btn--ghost {
  background: transparent;
  color: var(--text-inv);
  border-color: rgba(240, 237, 230, 0.35);
}
.btn--ghost:hover {
  background: rgba(240, 237, 230, 0.07);
  border-color: rgba(240, 237, 230, 0.55);
}

/* ── 7. Hero — Homepage ── */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,11,10,0.50) 0%,
    rgba(12,11,10,0.65) 50%,
    rgba(12,11,10,0.82) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--sp-xl) 0;
  max-width: 800px;
  animation: heroIn 0.9s ease forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--sp-md);
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 26px; height: 1px;
  background: var(--bronze);
  flex-shrink: 0;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: var(--size-hero);
  font-weight: 500;
  color: var(--text-inv);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-lg);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-inv-secondary);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--sp-xl);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-inv-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: heroIn 1.2s ease 0.8s both;
}
.hero__scroll svg { animation: bounce 2s ease infinite 1.5s; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── 8. Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: calc(var(--nav-h) + var(--sp-lg)) 0 var(--sp-lg);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero .wrap { width: 100%; }
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12,11,10,0.92) 0%, rgba(12,11,10,0.72) 100%);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__content h1 { color: var(--text-inv); margin-bottom: var(--sp-md); font-size: var(--size-h1); }
.page-hero__content p  { color: var(--text-inv-secondary); font-size: 1.05rem; max-width: 560px; }

/* ── 9. Section Heading Component ── */
.sec-head { margin-bottom: var(--sp-lg); }
.sec-head h2 { color: var(--text); }
.sec-head--inv h2 { color: var(--text-inv); }
.sec-head--center { text-align: center; }
.sec-head--narrow { max-width: var(--container-narrow); }

/* ── 10. Cards ── */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: border-color var(--ease), transform var(--ease);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card--top-accent { border-top: 2px solid var(--bronze); }
.card__icon { width: 38px; height: 38px; margin-bottom: var(--sp-md); color: var(--bronze); }
.card__title { font-family: var(--font-serif); font-size: var(--size-h3); font-weight: 600; color: var(--text); margin-bottom: var(--sp-xs); }
.card__text  { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* ── 11. Trust Strip ── */
.trust {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-lg) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}
@media (min-width: 768px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item { text-align: center; }
.trust-item__val {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bronze);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.trust-item__desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }

/* ── 12. CTA Dark Section ── */
.cta-dark {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: var(--sp-xl) 0;
}
.cta-dark__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}
.cta-dark__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(12,11,10,0.96) 0%, rgba(12,11,10,0.65) 100%);
}
.cta-dark__body {
  position: relative; z-index: 1;
  max-width: 600px;
}
.cta-dark__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 500;
  color: var(--text-inv);
  margin-bottom: var(--sp-md);
}
.cta-dark__body p { color: var(--text-inv-secondary); font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--sp-lg); }

/* ── 13. Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: start;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  position: relative;
  transition: border-color var(--ease), transform var(--ease);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: var(--bronze); transform: translateY(-2px); }
.pricing-card--featured {
  background: var(--bg-dark-2);
  border: 2px solid var(--bronze);
  color: var(--text-inv);
}
.pricing-card--featured .pricing-card__name { color: var(--text-inv); }
.pricing-card--featured .pricing-card__desc { color: var(--text-inv-secondary); border-bottom-color: var(--border-dark); }
.pricing-card--featured .pricing-card__features li { color: var(--text-inv-secondary); }
.pricing-card--featured .pricing-card__scope,
.pricing-card--featured .pricing-card__overflow { color: var(--text-inv-muted); }
.pricing-card--featured .pricing-card__overflow { border-bottom-color: var(--border-dark); }
.pricing-card--featured .pricing-card__bestfor-label { color: var(--text-inv-muted); }
.pricing-card--featured .pricing-card__bestfor-text { color: var(--text-inv-secondary); }
.pricing-card--featured:hover { border-color: var(--bronze-light); transform: translateY(-2px); }

.pricing-card__badge {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bronze);
  color: #0C0B0A;
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius);
  margin-bottom: var(--sp-md);
  align-self: flex-start;
}

.pricing-card__name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bronze);
  margin-bottom: 0.3rem;
}
.pricing-card__price em { font-size: 0.88rem; font-style: normal; font-weight: 400; color: var(--text-muted); }
.pricing-card__desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.pricing-card__features { margin-bottom: var(--sp-md); }
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.38rem 0;
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '—';
  color: var(--bronze);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}
.pricing-card__scope,
.pricing-card__overflow {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.pricing-card__overflow {
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.pricing-card__bestfor { margin-top: auto; }
.pricing-card__bestfor-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.pricing-card__bestfor-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

.pricing-card__cta {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
}
.pricing-card--featured .pricing-card__cta {
  border-top-color: var(--border-dark);
}
.pricing-card__cta .btn { width: 100%; justify-content: center; }

/* ── 14. Additional Services ── */
.add-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  align-items: stretch;
}
@media (min-width: 768px) { .add-grid { grid-template-columns: repeat(3, 1fr); } }

.add-item {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: border-color var(--ease), transform var(--ease);
}
.add-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.add-item__accent {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--bronze);
  margin-bottom: var(--sp-md);
}
.add-item__icon {
  width: 32px;
  height: 32px;
  color: var(--bronze);
  margin-bottom: var(--sp-md);
}
.add-item__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.add-item__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: var(--sp-md);
}
.add-item__price {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bronze);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-sm);
  margin-top: auto;
}

/* ── 15. Benefits Grid (Why Estonia) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}
@media (min-width: 640px)  { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  transition: border-color var(--ease), transform var(--ease);
}
.benefit-card:hover { border-color: var(--bronze); transform: translateY(-2px); }
.benefit-card__num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--bronze);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.benefit-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.benefit-card__text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ── 16. Image Strip ── */
.img-strip {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.img-strip__overlay {
  position: absolute; inset: 0;
  background: rgba(12, 11, 10, 0.3);
}

/* ── 17. E-Residency Section ── */
.e-res {
  background: var(--bg-warm);
  padding: var(--sp-xl) 0;
}
.e-res__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
@media (min-width: 900px) { .e-res__inner { grid-template-columns: 1fr 1fr; } }

.e-res__img { border-radius: var(--radius); overflow: hidden; }
.e-res__img img { width: 100%; height: auto; object-fit: cover; }

.e-res__heading { margin-bottom: var(--sp-md); }
.e-res__text { font-size: 0.975rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--sp-md); }

.e-res__list-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--sp-sm);
  margin-top: var(--sp-md);
}
.e-res__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  padding: 0.32rem 0;
  line-height: 1.5;
}
.e-res__list--yes li::before { content: '✓'; color: var(--bronze); font-weight: 700; flex-shrink: 0; }
.e-res__list--no  li::before { content: '✗'; color: var(--text-muted); font-weight: 700; flex-shrink: 0; }
.e-res__list--no  li         { color: var(--text-muted); }

.e-res__detail {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border);
}
.e-res__link {
  color: var(--bronze);
  font-weight: 500;
  border-bottom: 1px solid rgba(160, 139, 91, 0.35);
  transition: border-color var(--ease-fast);
}
.e-res__link:hover { border-color: var(--bronze); }

/* ── 18. Challenges Section ── */
.challenges { padding: var(--sp-xl) 0; background: var(--bg); }

.challenge-item {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
}
.challenge-item:first-of-type { border-top: 1px solid var(--border); }

@media (min-width: 768px) {
  .challenge-item {
    grid-template-columns: 260px 1fr;
    gap: var(--sp-xl);
    align-items: start;
  }
}

.challenge-item__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.challenge-item__text { font-size: 0.96rem; color: var(--text-secondary); line-height: 1.75; }

.challenges__tiein {
  margin-top: var(--sp-xl);
  padding: var(--sp-lg);
  background: var(--bg-warm);
  border-left: 2px solid var(--bronze);
}
.challenges__tiein p { font-size: 1rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--sp-sm); }
.challenges__tiein p:last-child { margin-bottom: 0; }

/* ── 19. Costs Table ── */
.costs { background: var(--bg-warm); padding: var(--sp-xl) 0; }
.costs__wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--sp-md);
}
.costs__table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.costs__table th {
  background: var(--bg-warm-alt);
  padding: 0.8rem 1.2rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.costs__table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.5;
}
.costs__table tr:last-child td { border-bottom: none; }
.costs__table tr:hover td { background: rgba(160, 139, 91, 0.04); }
.costs__table .manarah td { color: var(--text); font-weight: 500; }
.costs__table .manarah td:first-child { color: var(--bronze); }
.costs__note { font-size: 0.855rem; color: var(--text-muted); line-height: 1.65; }

/* ── 20. Contact Form ── */
.contact-section { background: var(--bg); padding: var(--sp-xl) 0 var(--sp-xl); }
.contact-wrap { max-width: 640px; margin: 0 auto; padding: 0 var(--pad); }
.contact-wrap > h2 { text-align: center; margin-bottom: var(--sp-lg); }

.form { display: flex; flex-direction: column; gap: var(--sp-md); }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.form__label span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-muted); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px var(--bronze-muted);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }
.form__textarea { min-height: 150px; resize: vertical; }
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z' fill='%238A8480'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form__honey { display: none !important; }
.form__error { font-size: 0.78rem; color: var(--error); display: none; margin-top: 0.2rem; }
.form__error.show { display: block; }
.form__input.err,
.form__select.err,
.form__textarea.err { border-color: var(--error); }

.form__success {
  display: none;
  text-align: center;
  padding: var(--sp-xl);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form__success.show { display: block; }
.form__success h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text); margin-bottom: var(--sp-sm); }
.form__success p  { color: var(--text-secondary); }

/* Company details below form */
.co-details {
  max-width: 640px;
  margin: var(--sp-2xl) auto 0;
  padding: var(--sp-lg) var(--pad);
  border-top: 1px solid var(--border);
  text-align: center;
}
.co-details p { font-size: 0.9rem; color: var(--text-muted); line-height: 2.1; }
.co-details a { color: var(--bronze); transition: color var(--ease-fast); }
.co-details a:hover { color: var(--bronze-light); }

/* ── 21. Footer ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-xl) 0 var(--sp-lg);
}
.footer__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border-dark);
}
@media (min-width: 768px) {
  .footer__body {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--sp-2xl);
  }
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-inv);
  margin-bottom: 0.4rem;
}
.footer__brand-detail {
  font-size: 0.82rem;
  color: var(--text-inv-muted);
  line-height: 1.9;
}
.footer__brand-detail a {
  color: var(--bronze);
  transition: color var(--ease-fast);
}
.footer__brand-detail a:hover { color: var(--bronze-light); }

.footer__col-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv-muted);
  margin-bottom: var(--sp-md);
}
.footer__nav-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav-link {
  font-size: 0.88rem;
  color: var(--text-inv-secondary);
  transition: color var(--ease-fast);
}
.footer__nav-link:hover { color: var(--text-inv); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__bottom .footer__copy { font-size: 0.78rem; color: var(--text-inv-muted); }
.footer__legal { display: flex; gap: var(--sp-md); }
.footer__legal a {
  font-size: 0.75rem;
  color: var(--text-inv-muted);
  transition: color var(--ease-fast);
}
.footer__legal a:hover { color: var(--text-inv-secondary); }

/* ── 22. Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ── 23. Utilities ── */
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.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; }

.text-bronze { color: var(--bronze); }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }

.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }

.text-link {
  color: var(--bronze);
  font-weight: 600;
  border-bottom: 1px solid rgba(160, 139, 91, 0.3);
  transition: border-color var(--ease-fast);
}
.text-link:hover { border-color: var(--bronze); }

/* Accent rule above section titles */
.accent-rule {
  display: block;
  width: 44px; height: 2px;
  background: var(--bronze);
  margin-bottom: var(--sp-md);
}

/* Philosophy / narrow prose section */
.prose p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--sp-md); }
.prose p:last-child { margin-bottom: 0; }

/* Gap section pull quote */
.pull {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  display: block;
  padding: var(--sp-lg) 0;
}

/* Divider line */
.divider { height: 1px; background: var(--border); }

/* Services page image+text layout */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
