/* ============================================================
   SEHIHE LOSUHI — Main Stylesheet
   Polaroid Nostalgia Design System
   ============================================================ */


:root {
  --cream: #faf6f0;
  --warm-white: #fdf9f4;
  --ink: #2c2416;
  --ink-light: #5c4f3a;
  --ink-faint: #9a8a72;
  --amber: #c8872a;
  --amber-light: #e8a84a;
  --amber-pale: #fdf0d8;
  --amber-dark: #9a6018;
  --rust: #a85430;
  --sage: #7a8c6e;
  --sage-light: #a8b89c;

  --shadow-sm: 0 2px 8px rgba(44,36,22,0.08), 0 1px 3px rgba(44,36,22,0.06);
  --shadow-md: 0 4px 16px rgba(44,36,22,0.12), 0 2px 6px rgba(44,36,22,0.08);
  --shadow-lg: 0 8px 32px rgba(44,36,22,0.16), 0 4px 12px rgba(44,36,22,0.10);
  --shadow-xl: 0 16px 48px rgba(44,36,22,0.20), 0 6px 18px rgba(44,36,22,0.12);
  --shadow-polaroid: 0 6px 20px rgba(44,36,22,0.18), 0 2px 8px rgba(44,36,22,0.12), inset 0 1px 0 rgba(255,255,255,0.8);

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --font-display: 'Onest', sans-serif;
  --font-body: 'Onest', sans-serif;

  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber); transition: color 0.2s ease; }
a:hover { color: var(--amber-dark); }


.surface {
  background: var(--warm-white);
}

.surface-raised {
  background: var(--warm-white);
  box-shadow: var(--shadow-md);
}

.surface-inset {
  background: var(--amber-pale);
  border: 1px solid rgba(200,135,42,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.surface-footer {
  background: var(--ink);
  color: var(--warm-white);
}


.text-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.text-caption {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}


.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.space-section {
  padding: var(--space-24) 0;
}

.space-card {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}


.surface-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(200,135,42,0.15);
  transition: box-shadow 0.4s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark { width: 36px; height: 36px; }

.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--amber);
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}


.nav-mega-parent { position: relative; }

.nav-mega-trigger { cursor: pointer; }

.mega-menu {
  position: absolute;
  top: calc(100%);
  left: 50%;
  transform: translateX(-50%);
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(200,135,42,0.12);
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
}

.nav-mega-parent:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.5rem;
}

.mega-col { padding: 0.5rem 1rem; }

.mega-col + .mega-col {
  border-left: 1px solid rgba(200,135,42,0.12);
}

.mega-col-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.875rem;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.mega-link:hover {
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.mega-link i {
  width: 16px;
  color: var(--amber);
  font-size: 0.8rem;
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}


.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  background: var(--warm-white);
  border-top: 1px solid rgba(200,135,42,0.2);
  box-shadow: 0 -4px 16px rgba(44,36,22,0.1);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
  color: var(--ink-faint);
  font-size: 0.7rem;
  font-weight: 500;
  gap: 3px;
  padding: 6px 4px;
  min-height: 44px;
  transition: color 0.2s;
}

.tab-item i { font-size: 1.1rem; }

.tab-item.tab-active {
  color: var(--amber);
}


.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--amber), var(--amber-light));
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}


.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero-left {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 58%;
  background: var(--ink);
  transform: translateX(-100%);
  animation: slideRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-right {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48%;
  overflow: hidden;
  transform: translateX(100%);
  animation: slideLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) brightness(0.8) contrast(1.05);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, rgba(44,36,22,0.6) 45%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
  max-width: 680px;
  margin-left: 8vw;
}

.hero-eyebrow {
  color: var(--amber-light);
  margin-bottom: 1.25rem;
}

.hero-heading {
  color: var(--warm-white);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-heading em {
  font-style: italic;
  color: var(--amber-light);
}

.hero-sub {
  color: rgba(253,249,244,0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--warm-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--amber);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(200,135,42,0.3);
  cursor: pointer;
  font-family: var(--font-body);
}

.action-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--warm-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,135,42,0.4);
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--warm-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(253,249,244,0.4);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}

.action-ghost:hover {
  border-color: var(--warm-white);
  color: var(--warm-white);
  background: rgba(253,249,244,0.1);
}


.surface-raised .action-ghost,
.space-card .action-ghost,
section:not(.hero-split) .action-ghost {
  color: var(--amber);
  border-color: var(--amber);
}

section:not(.hero-split) .action-ghost:hover {
  background: var(--amber-pale);
  color: var(--amber-dark);
  border-color: var(--amber-dark);
}


.polaroid-frame {
  background: var(--warm-white);
  padding: 14px 14px 42px;
  box-shadow: var(--shadow-polaroid);
  border-radius: var(--radius-xs);
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid-frame:hover {
  transform: rotate(0deg) scale(1.02) !important;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.8);
}

.polaroid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.05) brightness(0.97);
  display: block;
}

.polaroid-caption {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-light);
  font-style: italic;
  font-weight: 400;
}

.polaroid-tilt-left { transform: rotate(-2.5deg); }
.polaroid-tilt-right { transform: rotate(2deg); }


.section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 3rem;
}


.intro-strip {
  padding: var(--space-16) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.intro-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.intro-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.intro-icon {
  width: 48px;
  height: 48px;
  background: var(--amber);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.intro-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.intro-card p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
}


.featured-article { padding: var(--space-24) 0; }

.featured-split {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 5rem;
  align-items: center;
}

.featured-image-wrap {
  display: flex;
  justify-content: center;
}

.featured-image-wrap .polaroid-frame {
  width: 100%;
  max-width: 420px;
}

.featured-image-wrap .polaroid-frame img {
  height: 320px;
}

.featured-text h2 {
  margin-bottom: 1.5rem;
}


.process-section { padding: var(--space-24) 0; }

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.process-step {
  padding: 0 1.5rem;
  position: relative;
  text-align: center;
}

.process-step + .process-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(200,135,42,0.4), transparent);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(200,135,42,0.15);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.step-connector {
  display: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(200,135,42,0.35);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.step-body {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
}


.topics-carousel-section { padding: var(--space-24) 0; }

.topic-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.topic-card-image {
  margin: 1.5rem 1.5rem 0;
  border-radius: var(--radius-sm);
}

.topic-card-image img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.topic-card-body {
  padding: 1.5rem;
}

.topic-tag {
  display: inline-block;
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 0.75rem;
}

.topic-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.topic-card-body p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}


.splide__pagination__page.is-active { background: var(--amber); }
.splide__arrow { background: var(--warm-white); box-shadow: var(--shadow-md); color: var(--ink); }
.splide__arrow:hover { background: var(--amber-pale); }
.splide__arrow svg { fill: var(--ink); }


.polaroid-gallery-section { padding: var(--space-24) 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.gallery-item {
  width: 100%;
}

.gallery-item img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}


.templates-cta { padding: var(--space-16) 0; }

.cta-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 4rem;
  align-items: center;
  padding: 4rem;
}

.cta-text h2 { margin-bottom: 1.5rem; }

.cta-image {
  display: flex;
  justify-content: center;
}

.cta-image .polaroid-frame img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}


.who-teaser { padding: var(--space-24) 0; }

.who-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 5rem;
  align-items: center;
}

.who-text h2 { margin-bottom: 1.5rem; }

.who-image {
  display: flex;
  justify-content: center;
}

.who-image .polaroid-frame img {
  height: 340px;
  width: 100%;
  object-fit: cover;
}


.surface-footer {
  background: var(--ink);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo { width: 32px; height: 32px; filter: invert(1) brightness(2); }

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--warm-white);
}

.footer-tagline {
  color: rgba(253,249,244,0.55);
  max-width: 460px;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: rgba(253,249,244,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--amber-light); }

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(253,249,244,0.55);
}

.footer-contact a {
  color: rgba(253,249,244,0.7);
  text-decoration: none;
}

.footer-contact a:hover { color: var(--amber-light); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(253,249,244,0.1);
  width: 100%;
}

.footer-legal a {
  color: rgba(253,249,244,0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--amber-light); }

.footer-copy {
  color: rgba(253,249,244,0.35);
  font-size: 0.8rem;
}


.page-hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}


.who-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.who-persona {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.persona-icon {
  width: 52px;
  height: 52px;
  background: var(--amber-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.who-persona h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.who-persona p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.persona-tag-item {
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
}

.not-for-section { padding: var(--space-24) 0; }

.not-for-inner {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 5rem;
  align-items: center;
}

.not-for-text h2 { margin-bottom: 1.5rem; }

.not-for-image {
  display: flex;
  justify-content: center;
}

.not-for-image .polaroid-frame img {
  height: 320px;
  width: 100%;
  object-fit: cover;
}


.topic-section { padding: var(--space-16) 0; }

.topic-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4rem;
  align-items: start;
}

.topic-layout-reverse {
  direction: rtl;
}

.topic-layout-reverse > * {
  direction: ltr;
}

.topic-big-number {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(200,135,42,0.18);
  line-height: 1;
  letter-spacing: -0.05em;
  padding-top: 0.5rem;
}

.topic-content-col h2 {
  margin-bottom: 1.5rem;
}

.topic-content-col p {
  margin-bottom: 1.25rem;
}

.topic-image {
  float: right;
  margin: 0 0 2rem 2rem;
  max-width: 280px;
}

.topic-image img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.topic-detail-box {
  margin: 2rem 0;
  clear: both;
}

.detail-box-head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  font-size: 0.9rem;
  color: var(--ink-light);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.8rem;
}

.formula-display {
  margin: 2rem 0;
  text-align: center;
}

.formula-label {
  display: block;
  margin-bottom: 0.5rem;
}

.formula-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Courier New', monospace;
  padding: 1rem;
  background: rgba(200,135,42,0.08);
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

.formula-note {
  display: block;
  margin-top: 0.5rem;
  color: var(--ink-faint);
}


.templates-section { padding: var(--space-24) 0; }

.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.template-card {
  border-radius: var(--radius-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.template-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.template-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.template-card p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}


.faq-container { max-width: 860px; margin: 0 auto; }

.faq-category { margin-bottom: 3.5rem; }

.faq-category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--amber-pale);
}

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s;
}

.faq-question:hover { background: var(--amber-pale); }

.faq-icon {
  color: var(--amber);
  font-size: 0.9rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.faq-open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.7;
}

.faq-answer p + p {
  padding-top: 0;
}


.contact-layout {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap { border-radius: var(--radius-lg); }

.form-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.form-step-indicator.step-active { opacity: 1; }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--amber);
}

.form-step-indicator.step-active .step-dot {
  background: var(--amber);
  color: white;
}

.form-step-indicator span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-step-line {
  flex: 1;
  height: 2px;
  background: var(--amber-pale);
  margin: 0 0.75rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid rgba(200,135,42,0.25);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200,135,42,0.12);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-checkbox-group { display: flex; align-items: flex-start; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--amber);
  margin-top: 2px;
  cursor: pointer;
}

.form-btn-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-next-btn { margin-top: 0.5rem; }

.contact-info-wrap { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-block { border-radius: var(--radius-lg); }

.contact-info-block h3, .contact-languages h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(200,135,42,0.1);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 36px;
  height: 36px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info-label {
  color: var(--ink-faint);
  margin-bottom: 0.2rem;
}

.contact-info-block a, .contact-languages a {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-languages { border-radius: var(--radius-lg); }

.contact-languages p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.7; margin-bottom: 1rem; }

.lang-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-xl);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}


.legal-page {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-container { max-width: 800px; margin: 0 auto; }

.legal-header {
  padding: 3rem 0 2rem;
  border-bottom: 2px solid var(--amber-pale);
  margin-bottom: 3rem;
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(200,135,42,0.12);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-summary-box {
  background: var(--amber-pale);
  border-left: 3px solid var(--amber);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: 1.25rem;
}

.legal-summary-inline {
  background: var(--amber-pale);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.legal-section a {
  color: var(--amber);
  text-decoration: underline;
}


.cookie-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cookie-table th {
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid rgba(200,135,42,0.3);
}

.cookie-table td {
  padding: 0.75rem 1rem;
  color: var(--ink-light);
  border-bottom: 1px solid rgba(200,135,42,0.1);
  vertical-align: top;
}

.cookie-table tr:last-child td { border-bottom: none; }

.cookie-table code {
  background: var(--amber-pale);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
  color: var(--amber-dark);
}


.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--warm-white);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 4px 20px rgba(44,36,22,0.3);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-wrap: wrap;
}

.cookie-banner.cookie-visible {
  transform: translateY(0);
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: rgba(253,249,244,0.85);
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text a {
  color: var(--amber-light);
}

.cookie-banner-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-btn-accept {
  background: var(--amber);
  color: white;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.cookie-btn-accept:hover { background: var(--amber-dark); }

.cookie-btn-reject {
  background: transparent;
  color: rgba(253,249,244,0.7);
  border: 1px solid rgba(253,249,244,0.3);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.cookie-btn-reject:hover {
  color: var(--warm-white);
  border-color: rgba(253,249,244,0.6);
}

.cookie-btn-customize {
  background: transparent;
  color: rgba(253,249,244,0.6);
  border: none;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.cookie-btn-customize:hover { color: var(--warm-white); }


.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,36,22,0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 1rem;
}

.cookie-modal-overlay.modal-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.cookie-modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.cookie-modal p {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(200,135,42,0.12);
}

.cookie-category-info { flex: 1; }

.cookie-category-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.cookie-category-desc {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--amber); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}


@keyframes slideRight {
  to { transform: translateX(0); }
}

@keyframes slideLeft {
  to { transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-step + .process-step::before { display: none; }
  .templates-grid { grid-template-columns: 1fr 1fr; }
  .featured-split { grid-template-columns: 1fr; gap: 3rem; }
  .who-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .topic-layout { grid-template-columns: 80px 1fr; gap: 2rem; }
  .who-content-grid { grid-template-columns: 1fr; }
  .not-for-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-tab-bar { display: flex; }

  body { padding-bottom: 70px; }

  .hero-left { width: 100%; }
  .hero-right { width: 100%; opacity: 0.3; }
  .hero-content { margin-left: 0; padding: 2rem; }

  .intro-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .templates-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .who-content-grid { grid-template-columns: 1fr; }

  .topic-layout { grid-template-columns: 1fr; }
  .topic-number-col { display: none; }
  .topic-image { float: none; max-width: 100%; margin: 0 0 1.5rem 0; }

  .featured-split { grid-template-columns: 1fr; }
  .not-for-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }

  .mega-menu { display: none; }

  .footer-contact { flex-direction: column; gap: 0.5rem; }
  .footer-nav { gap: 1rem; }

  .space-section { padding: var(--space-16) 0; }

  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-btns { width: 100%; }

  .cta-inner { padding: 2rem 1.5rem; }

  .form-btn-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-heading { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .text-display { font-size: clamp(1.75rem, 8vw, 3rem); }
  .space-section { padding: var(--space-12) 0; }
  .space-card { padding: var(--space-6); }
  .polaroid-frame { padding: 10px 10px 36px; }
}