:root {
  --ink: #202b33;
  --ink-soft: #3a4750;
  --ink-deep: #161e24;
  --paper: #f7f2e9;
  --paper-deep: #efe6d8;
  --paper-line: #ddd0ba;
  --accent: #c1622e;
  --accent-dark: #96481e;
  --accent-light: #e3a272;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 30, 36, 0.08);
  --shadow-md: 0 8px 24px -8px rgba(22, 30, 36, 0.28), 0 2px 6px rgba(22, 30, 36, 0.12);
  --shadow-lg: 0 28px 56px -16px rgba(22, 30, 36, 0.38), 0 10px 20px -6px rgba(22, 30, 36, 0.2);

  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  font-weight: 600;
}

p { margin: 0 0 var(--space-md); }

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}


.mod-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.mod-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.mod-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Newsreader', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  transition: color var(--transition);
}
.mod-nav-logo-mark { width: 34px; height: 34px; }
.mod-nav-pills {
  display: flex;
  gap: 0.35rem;
  background: rgba(247,242,233,0.6);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}
.mod-nav-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all var(--transition);
}
.mod-nav-pill:hover { background: var(--paper-deep); color: var(--ink); }
.mod-nav-pill.is-active { background: var(--accent-dark); color: var(--paper); }

.mod-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(247,242,233,0.6);
  box-shadow: var(--shadow-sm);
}
.mod-nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

.mod-nav[data-theme="dark"] .mod-nav-logo { color: var(--paper); }
.mod-nav[data-theme="dark"] .mod-nav-pills { background: rgba(32,43,51,0.55); }
.mod-nav[data-theme="dark"] .mod-nav-pill { color: var(--paper-deep); }
.mod-nav[data-theme="dark"] .mod-nav-pill:hover { background: rgba(247,242,233,0.15); color: var(--paper); }
.mod-nav[data-theme="dark"] .mod-nav-toggle { background: rgba(32,43,51,0.55); }
.mod-nav[data-theme="dark"] .mod-nav-toggle span { background: var(--paper); }

@media (max-width: 960px) {
  .mod-nav-pills { display: none; }
  .mod-nav-toggle { display: flex; }
}


.mod-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
}
.mod-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(22,30,36,0.55);
  opacity: 0;
  transition: opacity var(--transition);
}
.mod-sheet-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-sm) var(--space-md) var(--space-xl);
  transform: translateY(100%);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
  max-height: 80vh;
  overflow-y: auto;
}
.mod-sheet.is-open { visibility: visible; }
.mod-sheet.is-open .mod-sheet-backdrop { opacity: 1; }
.mod-sheet.is-open .mod-sheet-panel { transform: translateY(0); }
.mod-sheet-handle {
  width: 44px; height: 5px;
  background: var(--paper-line);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
}
.mod-sheet-nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mod-sheet-nav a {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
  transition: background var(--transition);
}
.mod-sheet-nav a:hover { background: var(--paper-deep); }
.mod-sheet-nav a i { color: var(--accent-dark); width: 20px; }


.mod-hero {
  padding: calc(var(--space-3xl) + 2rem) var(--space-md) var(--space-2xl);
  background: var(--paper);
  position: relative;
}
.mod-hero::before {
  content: "";
  position: absolute;
  top: 8rem; left: -6rem;
  width: 20rem; height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.35;
  z-index: 0;
}
.mod-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.mod-hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: var(--space-sm);
}
.mod-hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.mod-hero-title span { color: var(--accent-dark); }
.mod-hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}
.mod-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--space-2xl); }

.mod-hero-breadcrumb {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.mod-hero-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  text-align: center;
}
.mod-hero-step::after {
  content: "";
  position: absolute;
  top: 16px; left: 55%;
  width: 90%;
  height: 2px;
  background: var(--paper-line);
  z-index: 0;
}
.mod-hero-step:last-child::after { display: none; }
.mod-hero-step-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper-deep);
  border: 2px solid var(--paper-line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  color: var(--ink-soft);
  position: relative; z-index: 1;
  transition: all var(--transition);
}
.mod-hero-step.is-active .mod-hero-step-dot {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
}
.mod-hero-step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mod-hero-step.is-active .mod-hero-step-label { color: var(--ink); }

.mod-hero-visual { position: relative; }
.mod-hero-atropos { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-xl); }
.mod-hero-atropos .atropos-inner { border-radius: var(--radius-xl); position: relative; height: 100%; }
.mod-hero-image {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.mod-hero-badge {
  position: absolute;
  bottom: -1rem; left: -1.5rem;
  background: var(--paper);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600;
  max-width: 220px;
}
.mod-hero-badge i { color: var(--accent-dark); font-size: 1.1rem; }
.mod-hero-quote {
  position: absolute;
  top: -1.2rem; right: -1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 0.95rem;
  max-width: 240px;
}


.mod-section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: var(--space-sm);
}
.mod-section-eyebrow-light { color: var(--accent-light); }
.mod-section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: var(--space-md); }
.mod-section-title-light { color: var(--paper); }
.mod-section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; margin-bottom: var(--space-lg); }


.mod-philosophy {
  background: var(--ink);
  color: var(--paper-deep);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: -4vw 0;
  padding: calc(var(--space-3xl) + 4vw) var(--space-md) calc(var(--space-3xl) + 4vw);
  position: relative;
  z-index: 2;
}
.mod-philosophy-inner { max-width: 780px; margin: 0 auto; text-align: left; }
.mod-philosophy-lead { font-size: 1.15rem; color: var(--paper-deep); margin-bottom: var(--space-lg); }
.mod-philosophy-text { color: var(--paper-deep); }
.mod-pull-quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.5;
  color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding-left: var(--space-md);
  margin: var(--space-xl) 0;
}
.mod-pull-quote-inline {
  color: var(--accent-dark);
  border-left-color: var(--accent-dark);
  font-size: 1.3rem;
}


.mod-tabs-section { padding: var(--space-2xl) var(--space-md); position: relative; z-index: 1; background: var(--paper); }
.mod-tabs-inner { max-width: 1080px; margin: 0 auto; }
.mod-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--paper-line);
  padding-bottom: 0.75rem;
}
.mod-tabs-btn {
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  transition: all var(--transition);
}
.mod-tabs-btn:hover { background: var(--paper-deep); }
.mod-tabs-btn.is-active { background: var(--ink); color: var(--paper); }
.mod-tabs-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.mod-tabs-panel.is-active { display: grid; opacity: 1; }
.mod-tabs-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mod-tabs-text h3 { font-size: 1.6rem; }
@media (max-width: 760px) {
  .mod-tabs-panel { grid-template-columns: 1fr; }
}


.mod-services { padding: var(--space-2xl) var(--space-md); background: var(--paper-deep); }
.mod-services-inner { max-width: 1240px; margin: 0 auto; }
.mod-services-head { max-width: 700px; margin-bottom: var(--space-xl); }
.mod-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.mod-services-card {
  background: var(--paper);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.mod-services-card::before {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 70px; height: 70px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0.25;
}
.mod-services-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mod-services-num { font-family: 'Newsreader', serif; font-size: 2.2rem; font-weight: 700; color: var(--accent-dark); }
.mod-services-card h3 { font-size: 1.3rem; margin-top: 0.3rem; }
.mod-services-card p { margin-bottom: 0; color: var(--ink-soft); }
.mod-services-card-image { padding: 0; }
.mod-services-card-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); min-height: 200px; }
@media (max-width: 900px) {
  .mod-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mod-services-grid { grid-template-columns: 1fr; }
}


.mod-about { padding: var(--space-2xl) var(--space-md); background: var(--paper); }
.mod-about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-2xl);
  align-items: center;
}
.mod-about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.mod-about-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent-dark); margin-top: var(--space-sm); }
@media (max-width: 860px) {
  .mod-about-inner { grid-template-columns: 1fr; }
  .mod-about-image img { aspect-ratio: 16/10; }
}


.mod-cta {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
}
.mod-cta-inner { max-width: 700px; margin: 0 auto; }
.mod-cta h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.mod-cta p { color: var(--paper-deep); margin-bottom: var(--space-lg); }
.mod-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }


.mod-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem;
  min-height: 44px;
  transition: all var(--transition);
}
.mod-btn-solid { background: var(--accent-dark); color: var(--paper); box-shadow: var(--shadow-sm); }
.mod-btn-solid:hover { background: var(--accent); color: var(--paper); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mod-btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.mod-btn-ghost:hover { background: var(--ink); color: var(--paper); }
.mod-btn-ghost-dark { border: 2px solid var(--paper); color: var(--paper); }
.mod-btn-ghost-dark:hover { background: var(--paper); color: var(--ink); }
.mod-btn-full { width: 100%; }


.mod-footer { background: var(--ink); color: var(--paper-deep); padding: var(--space-2xl) var(--space-md) 0; }
.mod-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(247,242,233,0.15);
}
.mod-footer-brand { font-family: 'Newsreader', serif; font-size: 1.5rem; font-weight: 700; color: var(--paper); margin-bottom: var(--space-sm); }
.mod-footer-text { max-width: 42ch; color: var(--paper-deep); }
.mod-footer-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--accent-light); }
.mod-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.mod-footer-col h4 { color: var(--paper); font-family: 'Manrope', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.mod-footer-col a, .mod-footer-col p { display: block; color: var(--paper-deep); margin-bottom: 0.6rem; font-size: 0.93rem; }
.mod-footer-col a:hover { color: var(--accent-light); }
.mod-footer-bottom { max-width: 1240px; margin: 0 auto; padding: var(--space-md) 0; text-align: center; font-size: 0.82rem; color: rgba(247,242,233,0.5); }
@media (max-width: 860px) {
  .mod-footer-inner { grid-template-columns: 1fr; }
  .mod-footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mod-footer-links { grid-template-columns: 1fr; }
}


.mod-page-hero { padding: calc(var(--space-3xl) + 1rem) var(--space-md) var(--space-2xl); background: var(--paper); }
.mod-page-hero-inner { max-width: 780px; margin: 0 auto; }
.mod-page-hero-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: var(--space-md); }
.mod-breadcrumb-trail { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: var(--space-md); display: flex; gap: 0.5rem; }
.mod-breadcrumb-trail a { color: var(--ink-soft); }
.mod-breadcrumb-trail a:hover { color: var(--accent-dark); }
.mod-page-hero-legal .mod-page-hero-title { margin-bottom: var(--space-xs); }


.mod-article { padding: 0 var(--space-md) var(--space-2xl); background: var(--paper); }
.mod-article-inner { max-width: 720px; margin: 0 auto; }
.mod-article-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: var(--space-xl); }
.mod-article-image-right { margin-top: var(--space-lg); }
.mod-article-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: var(--space-xl); }
.mod-article-inner p { color: var(--ink-soft); font-size: 1.05rem; }


.mod-faq { margin: var(--space-lg) 0; }
.mod-faq-item {
  background: var(--paper-deep);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
}
.mod-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.mod-faq-item summary::-webkit-details-marker { display: none; }
.mod-faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 0;
  font-size: 1.3rem;
  color: var(--accent-dark);
  transition: transform var(--transition);
}
.mod-faq-item[open] summary::after { transform: rotate(45deg); }
.mod-faq-item p { margin-top: 0.8rem; margin-bottom: 0; color: var(--ink-soft); }

.mod-inline-cta {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--space-xl);
}
.mod-inline-cta p { color: var(--paper-deep); margin-bottom: var(--space-md); font-size: 1.1rem; }


.mod-schedule { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin: var(--space-lg) 0 var(--space-xl); }
.mod-schedule-item { background: var(--paper-deep); border-radius: var(--radius-lg); padding: var(--space-md); border-left: 4px solid var(--accent); }
.mod-schedule-tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent-dark); margin-bottom: 0.4rem; }
.mod-schedule-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.mod-schedule-item p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }
@media (max-width: 640px) { .mod-schedule { grid-template-columns: 1fr; } }


.mod-contact { padding: 0 var(--space-md) var(--space-2xl); background: var(--paper); }
.mod-contact-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
}
.mod-contact-form-wrap h2 { font-size: 1.6rem; margin-bottom: var(--space-md); }
.mod-contact-form { background: var(--paper-deep); padding: var(--space-lg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.mod-form-group { margin-bottom: var(--space-md); display: flex; flex-direction: column; gap: 0.4rem; }
.mod-form-group label { font-weight: 600; font-size: 0.9rem; }
.mod-form-group input[type="text"],
.mod-form-group input[type="email"],
.mod-form-group select,
.mod-form-group textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-line);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  min-height: 44px;
  transition: border var(--transition), box-shadow var(--transition);
}
.mod-form-group input:focus, .mod-form-group select:focus, .mod-form-group textarea:focus {
  border-color: var(--accent-dark);
}
.mod-form-checkbox { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.mod-form-checkbox input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--accent-dark); }
.mod-form-checkbox label { font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

.mod-contact-info { display: flex; flex-direction: column; gap: var(--space-md); }
.mod-contact-info-block { display: flex; gap: 1rem; align-items: flex-start; }
.mod-contact-info-block i { font-size: 1.3rem; color: var(--accent-dark); margin-top: 0.2rem; width: 24px; }
.mod-contact-info-block h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.mod-contact-info-block p { margin-bottom: 0; color: var(--ink-soft); }
.mod-map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (max-width: 860px) {
  .mod-contact-inner { grid-template-columns: 1fr; }
}


.mod-thanks { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--space-2xl) var(--space-md); }
.mod-thanks-inner { max-width: 640px; }
.mod-thanks-inner h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--space-md); }
.mod-thanks-inner p { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: var(--space-lg); }


.mod-legal { padding: 0 var(--space-md) var(--space-2xl); background: var(--paper); }
.mod-legal-inner { max-width: 780px; margin: 0 auto; }
.mod-legal-section { margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--paper-line); }
.mod-legal-section:last-child { border-bottom: none; }
.mod-legal-summary {
  display: inline-block;
  background: var(--paper-deep);
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.mod-legal-section h2 { font-size: 1.4rem; margin-bottom: var(--space-sm); }
.mod-legal-section p:not(.mod-legal-summary) { color: var(--ink-soft); }


.mod-hero-actions a, .mod-cta-actions a, .mod-footer-cta, .mod-about-link {
  position: relative;
}
.mod-footer-cta::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--accent-light);
  transition: width var(--transition);
  margin-top: 2px;
}
.mod-footer-cta:hover::after { width: 100%; }

.mod-cookie {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
}
.mod-cookie-backdrop {
  position: absolute; inset: 0;
  background: rgba(22,30,36,0.55);
  opacity: 0;
  transition: opacity var(--transition);
}
.mod-cookie-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  max-width: 560px;
  background: var(--paper);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(2rem);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.mod-cookie.is-open { visibility: visible; }
.mod-cookie.is-open .mod-cookie-backdrop { opacity: 1; }
.mod-cookie.is-open .mod-cookie-panel { transform: translateY(0); opacity: 1; }
.mod-cookie-panel h2 { font-size: 1.4rem; margin-bottom: var(--space-sm); }
.mod-cookie-panel > p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: var(--space-md); }

.mod-cookie-categories { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: var(--space-md); }
.mod-cookie-category {
  background: var(--paper-deep);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}
.mod-cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.mod-cookie-category p {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mod-cookie-switch { position: relative; display: inline-flex; width: 42px; height: 24px; flex-shrink: 0; }
.mod-cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.mod-cookie-switch span {
  position: absolute; inset: 0;
  background: var(--paper-line);
  border-radius: var(--radius-full);
  transition: background var(--transition);
}
.mod-cookie-switch span::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.mod-cookie-switch input:checked + span { background: var(--accent-dark); }
.mod-cookie-switch input:checked + span::before { transform: translateX(18px); }
.mod-cookie-switch.is-locked { opacity: 0.6; }
.mod-cookie-switch.is-locked input { cursor: not-allowed; }

.mod-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.mod-cookie-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.9rem;
  min-height: 44px;
  flex: 1;
  transition: all var(--transition);
}
.mod-cookie-btn-solid { background: var(--accent-dark); color: var(--paper); }
.mod-cookie-btn-solid:hover { background: var(--accent); color: var(--paper); transform: translateY(-2px); }
.mod-cookie-btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.mod-cookie-btn-ghost:hover { background: var(--ink); color: var(--paper); }

.mod-cookie-fine { margin: var(--space-md) 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.mod-cookie-fine a { font-weight: 600; }

@media (max-width: 480px) {
  .mod-cookie-actions { flex-direction: column; }
  .mod-cookie-btn { width: 100%; }
}

@media (max-width: 640px) {
  .mod-hero-inner { grid-template-columns: 1fr; }
  .mod-hero-visual { order: -1; }
  .mod-hero-badge, .mod-hero-quote { position: static; margin-top: 1rem; max-width: 100%; }
}