/* =========================================================
   Владислав Канівець — custom overrides on top of main.css
   Palette: black / orange / yellow (gold logo)
   ========================================================= */
:root {
  --c-bg: #000;
  --c-accent: #ff8c1a;   /* orange */
  --c-accent-2: #ffc72c; /* yellow / gold */
  --c-accent-dark: #7a3700;
  --c-border: #2b2118;
  --c-muted: #dfdfdfa6;
  --header-offset: 130px;
}

/* Smooth scrolling is done by Lenis in main.js; this offset keeps
   anchor targets (e.g. "Перевірити дату" → #contacts) below the fixed header */
section[id] {
  scroll-margin-top: var(--header-offset);
}
@media screen and (max-width: 999px) {
  :root { --header-offset: 90px; }
}

/* Warm stage glow instead of the template's teal background.
   Painted once at the top of the page (no background-attachment: fixed —
   that forces a full repaint on every scroll frame and caused the jank). */
body {
  background:
    radial-gradient(900px 700px at 95% 260px, rgba(255, 140, 26, 0.14), transparent 70%),
    radial-gradient(700px 600px at 0% 1700px, rgba(255, 199, 44, 0.05), transparent 70%),
    #000;
  background-repeat: no-repeat;
}
@media screen and (max-width: 650px) {
  body {
    background:
      radial-gradient(500px 420px at 100% 120px, rgba(255, 140, 26, 0.13), transparent 70%),
      #000;
    background-repeat: no-repeat;
  }
}

/* Lenis (smooth scroll) recommended base styles */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Fixed header: lighter blur = cheaper repaint while scrolling */
.header {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Entrance animations (site.js, IntersectionObserver): short, vertical,
   GPU-friendly (opacity + transform only). Content stays visible if JS is off. */
/* Hidden state: no delay and quick, so re-arming (block went below the
   screen) is invisible. Visible state: soft "expo-out" glide with the delay. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.js [data-reveal="zoom"] {
  transform: translate3d(0, 24px, 0) scale(0.94);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
@media screen and (max-width: 650px) {
  .js [data-reveal] {
    transform: translate3d(0, 28px, 0);
  }
  .js [data-reveal="zoom"] {
    transform: translate3d(0, 16px, 0) scale(0.95);
  }
}

/* Readability: template body text was weight 100 and 65% white */
.hero-description__text,
.bio-wrapper__text,
.expertise-wrapper__list-text,
.vision-wrapper__descr,
.media-wrapper__text,
.faq-item__answer,
.contacts-intro__text {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* Long texts flow with the page instead of sitting in small inner
   scroll boxes (those also fought with the smooth scroll) */
.bio-wrapper,
.vision-wrapper__descr {
  height: auto;
  overflow: visible;
  padding-right: 0;
}
.bio-wrapper__text {
  max-width: 980px;
  font-size: 18px;
}
.bio-wrapper__text p,
.vision-wrapper__descr p {
  margin-bottom: 22px;
}
.vision-wrapper__descr {
  font-size: 18px;
}
@media screen and (max-width: 650px) {
  .bio-wrapper__text,
  .vision-wrapper__descr {
    font-size: 16px;
  }
  .bio-wrapper__text p,
  .vision-wrapper__descr p {
    margin-bottom: 18px;
  }
}
.footer-text {
  font-family: Inter, sans-serif;
}

/* ---------- Buttons ---------- */
.button {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
a.button:hover {
  border-color: var(--c-accent);
}
.button--accent {
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  border-color: transparent;
  color: #000;
  font-weight: 600;
}
a.button--accent:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 26, 0.35);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--c-accent-2);
  outline-offset: 3px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.logo__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo__text {
  white-space: nowrap;
}
@media screen and (max-width: 1200px) and (min-width: 1000px) {
  .logo__text { font-size: 17px; }
  .menu-list { gap: 14px; }
  .menu-list__item-link { font-size: 14px; }
}
@media screen and (max-width: 650px) {
  .logo { font-size: 16px; gap: 10px; }
  .logo__icon { width: 38px; height: 38px; }
}

/* Active menu underline */
.menu-list__item-link:hover {
  color: var(--c-accent-2);
}

/* ---------- Hero ----------
   Markup: photo + description first, H1 last; CSS puts H1 on top */
.hero {
  display: flex;
  flex-direction: column;
}
.hero > .container {
  width: 100%;
}
.hero-heading {
  order: -1;
}
.hero-member {
  order: 1;
  padding-top: 20px;
}
.hero-member img {
  width: auto;
  max-height: min(640px, 72vh);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 199, 44, 0.18);
}
.hero-member__name {
  width: min-content;
  top: 9%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  color: #fff;
}
@media screen and (max-width: 650px) {
  .hero-member__name {
    top: 14px;
    left: 14px;
    font-size: 14px;
    letter-spacing: 1.2px;
  }
}
.hero-title {
  line-height: 1.15;
}
.nowrap {
  white-space: nowrap;
}
.hero-title__bold {
  background: linear-gradient(90deg, var(--c-accent-2), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats__stat {
  border-left-color: var(--c-accent);
}

/* Instagram + TikTok right under the H1 */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
/* Shared caption for both links: "ВІДЕО ТА ФОТО З ВИСТУПІВ ——" */
.hero-socials__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 6px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
.hero-socials__label::after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-accent-2), var(--c-accent));
}
.hero-insta__name {
  display: none;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.hero-insta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 18px 8px 8px;
  border: 1.5px solid rgba(255, 140, 26, 0.45);
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.hero-insta:hover {
  border-color: var(--c-accent);
  background-color: rgba(255, 140, 26, 0.08);
}
.hero-insta__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
  flex-shrink: 0;
}
.hero-insta__handle {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 17px;
}
@media screen and (max-width: 999px) {
  .hero-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-socials {
    justify-content: center;
  }
  /* Caption on its own line above the two buttons, with lines on both sides */
  .hero-socials__label {
    flex-basis: 100%;
    justify-content: center;
    margin: 0 0 2px;
  }
  .hero-socials__label::before {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  }
}
@media screen and (max-width: 650px) {
  .hero-socials {
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero-insta {
    gap: 10px;
    padding-right: 16px;
  }
  .hero-insta__icon { width: 32px; height: 32px; }
  .hero-insta__handle { display: none; }
  .hero-insta__name { display: inline; }
  .hero-socials__label { font-size: 11px; gap: 10px; }
  .hero-socials__label::before,
  .hero-socials__label::after { width: 24px; }
}

/* Viber QR (computers) */
.cmodal.cmodal--qr {
  width: min(420px, calc(100% - 32px));
  text-align: center;
}
.cmodal--qr .cmodal__title {
  margin-right: 0;
}
.viber-qr {
  display: block;
  box-sizing: border-box;
  width: 240px;
  height: 240px;
  margin: 0 auto 18px;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
}
.viber-number {
  font-family: Inter, sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}
.viber-number strong {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.viber-desktop {
  justify-content: center;
  font-size: 14px;
}
.hero-stats__stat-number {
  color: var(--c-accent-2);
}
@media screen and (min-width: 1000px) {
  .hero-description__text { max-width: 560px; }
  .hero-title { font-size: 54px; }
}

/* Phones: stats, photo, text, button (one markup for all widths) */
@media screen and (max-width: 650px) {
  .hero-wrapper {
    flex-direction: column;
    gap: 0;
  }
  .hero-description {
    display: contents;
  }
  .hero-stats {
    order: 1;
  }
  .hero-member {
    order: 2;
    align-self: stretch;
    width: auto;
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    padding-top: 0;
  }
  .hero-member img {
    max-width: 300px;
    width: 72%;
    height: auto;
    max-height: none;
  }
  .hero-description__text {
    order: 3;
    margin-bottom: 30px;
  }
  .hero-description > .button {
    order: 4;
  }
  .hero-title {
    font-size: 24px;
  }
}

/* ---------- Section headings ---------- */
.section-title {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  border-left: 6px solid var(--c-accent);
  padding-left: 24px;
  margin-bottom: 35px;
}
@media screen and (max-width: 650px) {
  .section-title {
    font-size: 16px;
    border-left-width: 4px;
    padding-left: 14px;
    margin-bottom: 20px;
  }
}

/* ---------- Services (template "expertise") ----------
   Cards exist once inside the mobile slider; on desktop the slider
   is disabled in JS (breakpoint 650) and flattened into a 2-col grid. */
.expertise-wrapper__list-item {
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.expertise-wrapper__list-item:hover {
  border-color: rgba(255, 140, 26, 0.55);
  background-color: rgba(255, 140, 26, 0.04);
}
.expertise-wrapper__list-item > .button {
  border-color: rgba(255, 140, 26, 0.45);
  flex-shrink: 0;
  width: 70px;
  justify-content: center;
}
.expertise-wrapper__list-item > .button img {
  flex-shrink: 0;
}
@media screen and (max-width: 1100px) and (min-width: 650px) {
  .expertise-wrapper__list-item { padding: 28px 22px; gap: 16px; }
  .expertise-wrapper__list-item > .button { width: 54px; padding: 14px; }
  .expertise-wrapper__list-title { font-size: 20px; }
  .expertise-wrapper__list-text { font-size: 16px; }
}
/* Hero stats on tablets: keep each label on one or two lines */
@media screen and (max-width: 999px) and (min-width: 651px) {
  .hero-wrapper { gap: 28px; align-items: center; }
  .hero-member { flex: 0 0 46%; max-width: 46%; }
  .hero-member img { width: 100%; max-width: 340px; height: auto; max-height: none; }
  .hero-description { gap: 28px; align-items: flex-start; }
  .hero-description__text { text-align: left; font-size: 18px; }
  .hero-description > .button { white-space: nowrap; }
  .hero-stats { gap: 20px; }
  .hero-stats__stat { padding-left: 16px; }
  .hero-stats__stat-text { font-size: 16px; }
}
@media screen and (min-width: 650px) {
  .expertise-wrapper__container {
    display: block;
    overflow: visible;
  }
  .swiper-ex .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    transform: none !important;
    padding-bottom: 0;
  }
  .swiper-ex .swiper-slide,
  .swiper-ex .ex-slide__wrapper {
    display: contents;
  }
  .swiper-ex .swiper-pagination {
    display: none;
  }
}
@media screen and (max-width: 649.98px) {
  .expertise [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .expertise-wrapper__list-item {
    padding: 25px 16px;
  }
}

/* ---------- Approach (template "vision") ---------- */
.vision-wrapper__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.25;
  max-width: 1100px;
}
.vision-wrapper__hero {
  padding-bottom: 10px;
}
.vision-wrapper__hero img {
  max-width: 400px;
  width: 70%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.vision-wrapper__text strong {
  color: var(--c-accent-2);
  font-weight: 600;
}
.steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  text-align: left;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 140, 26, 0.4);
}
@media screen and (max-width: 999px) and (min-width: 651px) {
  .vision-wrapper__title { font-size: 30px; }
  .vision-wrapper__grid { flex-direction: column; gap: 30px; }
  .vision-wrapper__hero { max-width: 100%; }
  .vision-wrapper__hero img { width: 320px; }
  .vision-wrapper__descr { max-width: 100%; width: 100%; }
}
@media screen and (max-width: 650px) {
  .vision-wrapper__title { font-size: 20px; }
  .vision-wrapper__hero img { width: 248px; }
}

/* ---------- Gallery (template "media") ----------
   All photos are 2:3, so the ratio below never crops them */
.media-slide.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.media-slide > img {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.media-slide__descr {
  flex: 1;
  padding: 14px 24px 18px;
}
.media-slide__title {
  margin-bottom: 0;
}
.media-wrapper__more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 50px 0 100px;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1000px;
}
.faq-item {
  border: 2px solid var(--c-border);
  border-radius: 18px;
  transition: border-color 0.3s ease;
}
.faq-item[open] {
  border-color: rgba(255, 140, 26, 0.55);
}
.faq-item__question {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-family: Montserrat, sans-serif;
  font-size: 19px;
  font-weight: 600;
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__question::after {
  content: "+";
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}
.faq-item__answer {
  padding: 0 28px 24px;
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: var(--c-muted);
}
@media screen and (max-width: 650px) {
  .faq { padding: 40px 0 60px; }
  .faq-item__question { font-size: 16px; padding: 18px 18px; }
  .faq-item__answer { padding: 0 18px 18px; font-size: 15px; }
}

/* ---------- Contacts ---------- */
.contacts {
  padding: 50px 0 100px;
}
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contacts-intro__title {
  font-family: Montserrat, sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
.contacts-intro__text {
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 19px;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.contacts-intro__area {
  display: inline-block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-accent-2);
  border-left: 4px solid var(--c-accent);
  padding-left: 14px;
}
.contacts-intro__cta {
  display: inline-flex;
  margin-top: 28px;
}
.contacts-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contacts-list__wide {
  grid-column: 1 / -1;
}
.contacts-list .contact-card {
  padding: 20px 22px;
}
.contacts-list .contact-card__value {
  font-size: 19px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid var(--c-border);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  height: 100%;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.contact-card:hover {
  border-color: var(--c-accent);
  background-color: rgba(255, 140, 26, 0.06);
  transform: translateY(-2px);
}
.contact-card--main {
  border-color: rgba(255, 140, 26, 0.55);
}
.contact-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
}
.contact-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-card__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9f9f9f;
}
.contact-card__value {
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 16px;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 999px) {
  .contacts-wrapper { grid-template-columns: 1fr; gap: 30px; }
}
@media screen and (max-width: 650px) {
  .contacts { padding: 40px 0 60px; }
  .contacts-intro__title { font-size: 24px; }
  .contacts-intro__text { font-size: 16px; }
  .contacts-intro__cta { display: flex; justify-content: center; }
  .contacts-list { grid-template-columns: 1fr; gap: 10px; }
  .contacts-list .contact-card { padding: 14px 16px; }
  .contacts-list .contact-card__value { font-size: 17px; }
}

/* ---------- Floating CTA (phones & tablets) ---------- */
.float-cta {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 199, 44, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 24px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.float-cta.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
a.float-cta:hover {
  transform: translate(-50%, 24px);
}
a.float-cta.is-shown:hover {
  transform: translate(-50%, -2px);
}
.float-cta svg {
  flex-shrink: 0;
}
@media screen and (min-width: 1000px) {
  .float-cta { display: none; }
}

/* ---------- "Зв’язатись" pop-up ---------- */
html.modal-open {
  overflow: hidden;
}
.cmodal {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1.5px solid rgba(255, 140, 26, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(600px 400px at 100% 0, rgba(255, 140, 26, 0.12), transparent 70%),
    #0b0806;
  color: #fff;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.cmodal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cmodal[open] {
  animation: cmodal-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cmodal[open]::backdrop {
  animation: cmodal-fade 0.3s ease;
}
@keyframes cmodal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes cmodal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cmodal__inner {
  position: relative;
  padding: 40px;
}
.cmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.cmodal__close:hover {
  border-color: var(--c-accent);
  color: var(--c-accent-2);
}
.cmodal__title {
  font-family: Montserrat, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 56px 8px 0;
}
.cmodal__subtitle {
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}
.cmodal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.cmodal__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.contact-card--sm {
  padding: 12px 16px;
  gap: 14px;
  border-radius: 14px;
}
.contact-card--sm .contact-card__icon {
  width: 40px;
  height: 40px;
}
.contact-card--sm .contact-card__label {
  font-size: 12px;
}
.contact-card--sm .contact-card__value {
  font-size: 16px;
}

/* Lead form */
.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 2px solid var(--c-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}
.lead-form__title {
  font-family: Montserrat, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}
.lead-form__field {
  display: grid;
  gap: 6px;
}
.lead-form__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9f9f9f;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 1.5px solid #3a2e24;
  border-radius: 12px;
  background: #000;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px; /* 16px+ stops iOS from zooming into the field */
  line-height: 1.4;
  transition: border-color 0.25s ease;
}
.lead-form textarea {
  resize: vertical;
  min-height: 90px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #6f6359;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}
.lead-form input.is-invalid {
  border-color: #ff5a3c;
}
.lead-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.lead-form__submit {
  justify-content: center;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
}
.lead-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.lead-form__status {
  font-size: 15px;
  line-height: 1.5;
  min-height: 0;
}
.lead-form__status:empty {
  display: none;
}
.lead-form__status.is-ok { color: #7ddc8a; }
.lead-form__status.is-error { color: #ffb199; }
.lead-form__note {
  font-size: 12px;
  color: #8a8077;
  line-height: 1.5;
}
@media screen and (max-width: 760px) {
  .cmodal__inner { padding: 28px 18px 20px; }
  .cmodal__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .cmodal__title { font-size: 22px; margin-right: 48px; }
  .cmodal__subtitle { font-size: 15px; margin-bottom: 18px; }
  .cmodal__grid { grid-template-columns: 1fr; gap: 20px; }
  .cmodal__links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .contact-card--sm { padding: 10px; gap: 10px; }
  .contact-card--sm .contact-card__icon { width: 34px; height: 34px; }
  .contact-card--sm .contact-card__value { display: none; }
  .contact-card--sm .contact-card__label {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
  }
  .lead-form { padding: 18px 16px; scroll-margin-top: 12px; }
  .lead-form__title { font-size: 17px; }
}

/* ---------- Footer ---------- */
.footer-text strong {
  color: #fff;
}
@media screen and (max-width: 650px) {
  .footer-text { text-align: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
