:root {
        --radius-card: 16px;
      }
      [data-theme="classic"] {
        --bg: #faf6ee;
        --bg-deep: #f1ead9;
        --ink: #1c5c3e;
        --ink-deep: #123d28;
        --accent: #d9333f;
        --accent-deep: #a82430;
        --text: #241f1c;
        --line: rgba(28, 92, 62, 0.16);
        --display-font: "Playfair Display", serif;
        --display-style: italic;
        --display-weight: 500;
        --card-bg: #ffffff;
      }
      [data-theme="modern"] {
        --bg: #fff7f2;
        --bg-deep: #ffe9dc;
        --ink: #e8397a;
        --ink-deep: #b01f58;
        --accent: #17a673;
        --accent-deep: #0e7a54;
        --text: #2b1230;
        --line: rgba(232, 57, 122, 0.18);
        --display-font: "Baloo 2", sans-serif;
        --display-style: normal;
        --display-weight: 700;
        --card-bg: #ffffff;
      }

      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }
      html {
        scroll-behavior: smooth;
      }
      body {
        background: var(--bg);
        color: var(--text);
        font-family: "Manrope", sans-serif;
        line-height: 1.6;
        overflow-x: hidden;
        transition:
          background 0.35s ease,
          color 0.35s ease;
      }
      h1,
      h2,
      h3 {
        font-family: var(--display-font);
        font-style: var(--display-style);
        font-weight: var(--display-weight);
        color: var(--ink-deep);
        line-height: 1.1;
        transition: color 0.35s ease;
      }
      a {
        color: inherit;
      }
      .wrap {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px;
      }

      .theme-switch {
        display: inline-flex;
        background: var(--bg-deep);
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 4px;
        gap: 4px;
      }
      .theme-switch button {
        border: none;
        background: transparent;
        padding: 9px 18px;
        border-radius: 999px;
        font-family: "Manrope";
        font-weight: 700;
        font-size: 0.85rem;
        cursor: pointer;
        color: var(--text);
        opacity: 0.55;
        transition: all 0.2s ease;
      }
      .theme-switch button.active {
        background: var(--accent);
        color: #fff;
        opacity: 1;
      }

      nav {
        position: sticky;
        top: 0;
        z-index: 50;
        background: color-mix(in srgb, var(--bg) 90%, transparent);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--line);
        transition:
          background 0.35s ease,
          border-color 0.35s ease;
      }
      nav .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 24px;
        gap: 16px;
        flex-wrap: wrap;
      }
      .nav-logo {
        height: 44px;
        display: block;
      }
      .nav-right {
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .nav-cta {
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        padding: 11px 22px;
        border-radius: 999px;
        font-size: 0.88rem;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.2s ease;
      }
      .nav-cta:hover {
        background: var(--accent-deep);
      }

      .hero {
        position: relative;
        padding: 64px 0 40px;
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
        text-align: center;
        transition: background 0.35s ease;
      }
      .hero-logo {
        width: min(260px, 60vw);
        margin: 0 auto 8px;
        display: block;
      }
      .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--accent);
        font-weight: 700;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin: 16px 0 18px;
      }
      .eyebrow::before,
      .eyebrow::after {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--accent);
      }
      .hero h1 {
        font-size: clamp(2rem, 5vw, 3.2rem);
        max-width: 760px;
        margin: 0 auto;
      }
      .hero p.lede {
        margin: 20px auto 0;
        max-width: 560px;
        font-size: 1.08rem;
        color: var(--ink);
        font-weight: 500;
      }
      .hero-actions {
        margin-top: 30px;
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
      }
      .btn-primary {
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        padding: 16px 32px;
        border-radius: 999px;
        text-decoration: none;
        font-size: 1rem;
        transition:
          transform 0.15s ease,
          background 0.2s ease;
        box-shadow: 0 10px 26px
          color-mix(in srgb, var(--accent) 30%, transparent);
      }
      .btn-primary:hover {
        transform: translateY(-2px);
        background: var(--accent-deep);
      }
      .btn-secondary {
        border: 1.5px solid var(--ink);
        color: var(--ink-deep);
        padding: 16px 32px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition:
          border-color 0.3s ease,
          color 0.3s ease;
      }

      /* ---------- CAROUSEL — full viewport width ---------- */
      .carousel-wrap {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-top: 34px;
        padding: 0;
      }
      .carousel {
        position: relative;
        overflow: hidden;
        background: var(--bg-deep);
        height: clamp(200px, 38vw, 520px);
      }
      .carousel-track {
        display: flex;
        height: 100%;
        transition: transform 0.5s ease;
      }
      .carousel-slide {
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
      }
      .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .carousel-slide .placeholder-label {
        color: var(--ink);
        opacity: 0.55;
        font-family: var(--display-font);
        font-size: 1.3rem;
        border: 2px dashed var(--line);
        border-radius: 14px;
        padding: 18px 28px;
        text-align: center;
      }
      .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.85);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--ink-deep);
        z-index: 2;
      }
      .carousel-nav.prev {
        left: 16px;
      }
      .carousel-nav.next {
        right: 16px;
      }
      .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 14px;
        padding: 0 24px;
      }
      .carousel-dots button {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        border: none;
        background: var(--line);
        cursor: pointer;
        padding: 0;
      }
      .carousel-dots button.active {
        background: var(--accent);
      }
      .carousel-note {
        text-align: center;
        font-size: 0.8rem;
        color: var(--text);
        opacity: 0.5;
        margin-top: 10px;
        padding: 0 24px;
      }
      @media (max-width: 640px) {
        .carousel {
          height: clamp(180px, 60vw, 360px);
        }
      }

      section {
        padding: 70px 0;
      }
      .section-tag {
        color: var(--accent);
        font-weight: 700;
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
        text-align: center;
        transition: color 0.3s ease;
      }
      .section-title {
        font-size: clamp(1.7rem, 3.6vw, 2.4rem);
        text-align: center;
        margin: 0 auto 14px;
        max-width: 680px;
      }
      .section-sub {
        color: var(--ink);
        max-width: 560px;
        margin: 0 auto;
        font-size: 1rem;
        text-align: center;
        opacity: 0.85;
      }

      .loc-grid {
        margin-top: 44px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 22px;
      }
      .loc-card {
        background: var(--card-bg);
        border: 1px solid var(--line);
        border-radius: var(--radius-card);
        padding: 28px 26px;
        text-align: center;
        transition: border-color 0.3s ease;
      }
      .loc-card h3 {
        font-size: 1.15rem;
        margin-bottom: 6px;
        font-style: normal;
      }
      .loc-card p {
        color: var(--text);
        opacity: 0.75;
        font-size: 0.94rem;
      }

      .groups {
        background: var(--ink-deep);
        transition: background 0.35s ease;
      }
      .groups .section-tag {
        color: color-mix(in srgb, var(--bg) 70%, var(--accent));
      }
      .groups h2,
      .groups .section-title {
        color: var(--bg);
      }
      .groups .section-sub {
        color: color-mix(in srgb, var(--bg) 80%, transparent);
        opacity: 0.85;
      }
      .group-grid {
        margin-top: 44px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1px;
        background: color-mix(in srgb, var(--bg) 14%, transparent);
        border: 1px solid color-mix(in srgb, var(--bg) 14%, transparent);
        border-radius: 18px;
        overflow: hidden;
      }
      .group-card {
        background: var(--ink);
        padding: 28px 24px;
        transition: background 0.35s ease;
      }
      .classic-only,
      .modern-only {
        display: none;
      }
      [data-theme="classic"] .classic-only {
        display: block;
      }
      [data-theme="modern"] .modern-only {
        display: block;
      }
      .ribbon {
        width: 100%;
        max-width: 800px;
        height: 44px;
        margin: 32px auto 0;
        display: block;
        opacity: 0.85;
      }
      .ribbon path {
        fill: none;
        stroke: var(--ink);
        stroke-width: 3;
        stroke-linecap: round;
      }
      .group-card .tag {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ink-deep);
        background: #fff;
        display: inline-block;
        padding: 4px 12px;
        border-radius: 999px;
        margin-bottom: 16px;
      }
      .group-card h3 {
        color: #fff;
        font-size: 1.25rem;
        margin-bottom: 8px;
      }
      .group-card p {
        color: color-mix(in srgb, var(--bg) 80%, transparent);
        font-size: 0.92rem;
      }
      .group-card .format {
        margin-top: 14px;
        font-weight: 700;
        font-size: 0.83rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.9;
        color: color-mix(in srgb, var(--bg) 60%, var(--accent) 40%);
      }

      .form-card {
        margin: 40px auto 0;
        background: var(--card-bg);
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 40px;
        max-width: 640px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
      }
      .form-card label {
        display: block;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--ink);
        margin-bottom: 8px;
      }
      .field {
        margin-bottom: 20px;
      }
      .form-card input,
      .form-card select {
        width: 100%;
        background: var(--bg);
        border: 1px solid var(--line);
        color: var(--text);
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 1rem;
        font-family: "Manrope";
      }
      .form-card input:focus,
      .form-card select:focus {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
      }
      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
      }
      @media (max-width: 520px) {
        .form-row {
          grid-template-columns: 1fr;
        }
      }
      .form-submit {
        width: 100%;
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        padding: 16px;
        border: none;
        border-radius: 999px;
        font-size: 1.05rem;
        cursor: pointer;
        margin-top: 6px;
        transition:
          transform 0.15s ease,
          background 0.2s ease;
      }
      .form-submit:hover {
        transform: translateY(-2px);
        background: var(--accent-deep);
      }
      .form-note {
        margin-top: 14px;
        font-size: 0.82rem;
        color: var(--text);
        opacity: 0.6;
        text-align: center;
      }

      footer {
        padding: 48px 0 40px;
        border-top: 1px solid var(--line);
        background: var(--bg-deep);
      }
      .foot-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 24px;
        align-items: center;
      }
      .foot-logo {
        height: 48px;
      }
      .foot-contact a {
        display: inline-block;
        color: var(--ink-deep);
        text-decoration: none;
        margin-left: 18px;
        font-size: 0.94rem;
        font-weight: 600;
      }
      .foot-contact a:first-child {
        margin-left: 0;
      }
      .foot-contact a:hover {
        color: var(--accent);
      }
      .foot-note {
        color: rgba(0, 0, 0, 0.4);
        font-size: 0.8rem;
        margin-top: 28px;
        text-align: center;
      }

      ::selection {
        background: var(--accent);
        color: #fff;
      }
      .theme-img {
        display: none;
      }
      [data-theme="classic"] .theme-img.for-classic {
        display: block;
      }
      [data-theme="modern"] .theme-img.for-modern {
        display: block;
      }
      img.theme-img {
        margin: 0 auto;
      }

/* Honeypot-поле для захисту форми від ботів: приховане від людей,
   але доступне для автозаповнення "розумними" спам-ботами. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}