/* CoHost Dordogne — shared stylesheet. No build step: plain CSS, mobile-first.
   Palette: soft cream, dusty coral/salmon, warm apricot, pastel sky-blue,
   cool grey neutral, one dark teal anchor. Light group always pairs with
   ink text; the single dark group always pairs with cream text. */

:root {
  --color-cream: #fdf6ea;
  --color-mist: #b8bbc0;
  --color-stone-line: #c9b79a;
  --color-coral: #f4bba7;
  --color-coral-text: #b23d1f;
  --color-coral-solid: #d54b23;
  --color-apricot: #f3b874;
  --color-sky: #acecfc;
  --color-teal-dark: #17323a;
  --color-teal-mid: #1f4048;
  --color-ink: #231b14;
  --color-white: #ffffff;
  --color-focus: #1d5fd6;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --radius-lg: 28px;
  --radius: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 1.0625rem;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  margin-top: 0;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.15;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--color-coral-text);
}

a:hover {
  color: var(--color-coral);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-ink);
  padding: 0.75em 1.2em;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: var(--color-white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 0.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 30rem) {
  .logo {
    font-size: 1.5rem;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5em 1em;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--color-mist);
  color: var(--color-ink);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.lang-switch a {
  text-decoration: none;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  border: 1px solid var(--color-stone-line);
  color: var(--color-ink);
  font-weight: 700;
}

.lang-switch a[aria-current="true"] {
  background: var(--color-teal-dark);
  color: var(--color-cream);
  border-color: var(--color-teal-dark);
}

/* Nav toggle: round icon button + full overlay panel, no JS */

.nav-toggle {
  display: block;
  position: relative;
}

.nav-toggle summary {
  cursor: pointer;
  list-style: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 60;
}

.nav-toggle summary::-webkit-details-marker {
  display: none;
}

.dots-icon {
  width: 16px;
  height: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.dots-icon span {
  background: var(--color-cream);
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.icon-open {
  display: none;
  color: var(--color-cream);
  font-size: 1.3rem;
  line-height: 1;
}

.nav-toggle[open] .icon-closed {
  display: none;
}

.nav-toggle[open] .icon-open {
  display: block;
}

.nav-overlay {
  position: fixed;
  inset: 4vh 4vw;
  z-index: 50;
  background: var(--color-teal-dark);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.nav-overlay .overlay-links {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-overlay .overlay-links a {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  color: var(--color-cream);
  text-decoration: none;
  display: inline-block;
}

.nav-overlay .overlay-links a:hover {
  color: var(--color-apricot);
}

.nav-overlay .lang-switch a {
  border-color: rgba(250, 243, 231, 0.4);
  color: var(--color-cream);
}

.nav-overlay .lang-switch a[aria-current="true"] {
  background: var(--color-apricot);
  border-color: var(--color-apricot);
  color: var(--color-ink);
}

@media (min-width: 60rem) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
  }
}

/* Buttons */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-coral);
  color: var(--color-ink);
}

.btn-primary:hover {
  background: var(--color-coral-text);
  color: var(--color-cream);
}

.btn-dark {
  background: var(--color-teal-dark);
  color: var(--color-cream);
}

.btn-dark:hover {
  background: var(--color-teal-mid);
  color: var(--color-cream);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn-secondary:hover {
  background: rgba(35, 27, 20, 0.06);
}

.btn-on-dark {
  background: var(--color-cream);
  color: var(--color-ink);
}

.btn-on-dark:hover {
  background: var(--color-apricot);
}

/* Sections */

.section {
  padding: 1.25rem 0;
}

.section-intro {
  max-width: 42em;
  margin-bottom: 1.75rem;
}

.section-intro p {
  color: var(--color-ink);
  opacity: 0.85;
}

/* Bento blocks */

.bento {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .span-2 {
    grid-column: span 2;
  }
  .span-3 {
    grid-column: span 3;
  }
  .span-4 {
    grid-column: span 4;
  }
}

.block {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.block-flush {
  padding: 0;
  overflow: hidden;
}

/* Light group: always paired with ink text (all pass 4.5:1+ AA). */
.block-cream {
  background: var(--color-cream);
  color: var(--color-ink);
  border: 1px solid var(--color-stone-line);
}

.block-mist {
  background: var(--color-mist);
  color: var(--color-ink);
}

.block-apricot {
  background: var(--color-apricot);
  color: var(--color-ink);
}

.block-sky {
  background: var(--color-sky);
  color: var(--color-ink);
}

.block-coral {
  background: var(--color-coral);
  color: var(--color-ink);
}

/* Dark group: single dark teal anchor, always paired with cream text. */
.block-dark {
  background: var(--color-teal-dark);
  color: var(--color-cream);
}

.block-dark a:not(.btn) {
  color: inherit;
  text-decoration-underline-offset: 3px;
}

.block h2,
.block h3 {
  color: inherit;
}

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

.block-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

/* Accent copy: serif body text in an accent color, used sparingly to break
   up the sans/ink default — a handful of passages, not every paragraph. */

.accent-copy {
  font-family: var(--font-serif);
  font-size: 1.15em;
  line-height: 1.5;
}

.accent-copy--teal {
  color: var(--color-teal-dark);
}

.accent-copy--coral {
  color: var(--color-coral-text);
}

/* Pill tags — the "highlighter" chip look, also used inline as .hl */

.tag-pill {
  display: inline-block;
  border-radius: 8px;
  padding: 0.3em 0.7em;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(35, 27, 20, 0.08);
  color: inherit;
  margin: 0 0.4em 0.4em 0;
}

.block-dark .tag-pill {
  background: rgba(250, 243, 231, 0.18);
}

.tag-list {
  margin-top: 1rem;
}

/* Inline highlight marks — a soft "highlighter pen" over a key phrase.
   Used sparingly (a handful of times), not on every paragraph. */

.hl {
  background: var(--color-coral);
  color: var(--color-ink);
  padding: 0.05em 0.35em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-apricot {
  background: var(--color-apricot);
}

.hl-sky {
  background: var(--color-sky);
}

/* Hero */

.hero {
  padding: 1.5rem 0 0.5rem;
}

.hero-inner {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .hero-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-main {
  border-radius: var(--radius-lg);
  background: var(--color-apricot);
  padding: 2.5rem 1.75rem;
}

@media (min-width: 40rem) {
  .hero-main {
    grid-column: span 3;
    padding: 3.5rem;
  }
  .hero-figure {
    grid-column: span 1;
  }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--color-coral-text);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 40em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-teal-dark);
  display: flex;
  align-items: stretch;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stat block */

.stat-block {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .stat-block {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  opacity: 0.9;
  font-size: 0.98rem;
}

.stat-source {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Pricing */

.price-figure {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.price-figure span {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  opacity: 0.85;
}

.pricing-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
}

.pricing-list li {
  padding-left: 1.7em;
  position: relative;
  margin-bottom: 0.6em;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Figure placeholders */

.figure-placeholder {
  margin: 0;
  height: 100%;
}

.figure-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.figure-caption {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.6rem;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  counter-increment: step;
  padding-top: 2.75rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-cream);
  background: var(--color-coral-solid);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--color-stone-line);
  padding: 1.1rem 0;
}

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

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-ink);
}

.faq-item[open] summary {
  margin-bottom: 0.6rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 50rem) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75em 0.9em;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-cream);
  color: var(--color-ink);
}

.form-note {
  font-size: 0.85rem;
  opacity: 0.85;
}

.fallback-contact a {
  font-weight: 700;
}

/* Footer */

.site-footer {
  background: var(--color-teal-dark);
  color: rgba(251, 242, 227, 0.75);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
  margin-top: 1.25rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.site-footer a {
  color: var(--color-cream);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-grid h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
