:root {
  --clr-green: #3d6c64;
  --clr-accent-lt: #6B8C7D;
  --clr-accent-glow: rgba(74, 99, 88, 0.12);
  --clr-rose: #f6817c;
  --clr-rose2: #f6807ca1;
  --clr-muted: #666666;
  --clr-text: #333333;
  --clr-border: #E0E0DE;
  --clr-bg: #fff;

  /* sans-serif — современные */
  --font-display: 'Playfair Display', serif;
  --font-dm-sans: 'DM Sans', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --font-nunito: 'Nunito', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-raleway: 'Raleway', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --font-playfair: 'Playfair Display', serif;
  --font-lora: 'Lora', serif;
  --font-cormorant: 'Cormorant Garamond', serif;
  --font-dm-serif: 'DM Serif Display', serif;
  --font-tangerine: 'Tangerine', cursive;
  --font-great-vibes: 'Great Vibes', cursive;
  --font-dancing: 'Dancing Script', cursive;

  --radius: 30px;
  --max-w: 1500px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease: 250ms ease;
  --nav-h: 80px;
  --nav-h-mobile: 65px;
  --nav-offset: calc(var(--nav-h) + env(safe-area-inset-top));

  --sage: var(--clr-green);
  --sage-light: var(--clr-accent-glow);
  --sage-mid: var(--clr-accent-lt);
  --ink: var(--clr-text);
  --ink-soft: var(--clr-muted);
  --white: var(--clr-bg);
  --cream: #FAF8F5;
  --ink-muted: #8A8A8A;
  --amber: #C87941;
  --amber-light: #FFF6ED;

}

.text1 {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
}

.text2 {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 300;
  line-height: 1.4;
  color: #fff;
}

.text3 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

.text4 {
  font-family: var(--font-raleway);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.125);
}

.text4_1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0rem;
  font-weight: 300;
  line-height: 1.41250;
  color: #666666;
  margin-bottom: 3rem;
}

.text4_2 {
  font-family: var(--font-dm-sans);
  font-size: clamp(3rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.125;
  color: #666666;
  font-weight: 200;
  color: var(--clr-text);
  line-height: 1.1;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.text4_3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.text4_3A {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  color: var(--clr-green);
  line-height: 1.1;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 0.25rem;
}

.text4_33 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
  margin-bottom: 3rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.41250;
  color: #666666;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.text5 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.text6 {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
}

.text7 {
  font-family: var(--font-inter);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.125);
}

.fade-in {
  opacity: 0;
  animation: fadeInLeft 1.5s ease forwards;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.word,
.fade-in {
  animation-play-state: paused;
}

body.fonts-loaded .word,
body.fonts-loaded .fade-in {
  animation-play-state: running;
}

/* #region Navbar */

#navbar {
  top: env(safe-area-inset-top);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid #85858538;
  backdrop-filter: blur(10px);
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
  z-index: 10000;
}


.nav-container {
  width: min(var(--max-w), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-icon {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-top: -4px;
}

.logo-mariia {
  color: var(--clr-green);
}

.logo-eats {
  color: var(--clr-rose);
}

.nav-links {
  display: flex;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  color: var(--clr-muted);
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}

.nav-links a:hover {
  color: var(--clr-rose2);
}

.nav-cta {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.575rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-dm-sans);
  font-size: 16px;
  font-weight: 500;
}

.btn-start {
  will-change: filter, transform, opacity;
}

.btn-primary {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
  transition: color var(--ease), background var(--ease);
}

.btn-primary:hover {
  background: var(--clr-rose2);
}

#about,
#certificates,
#services,
#reviews,
#contact {
  scroll-margin-top: 0;
}

/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.mobile-menu-toggle {
  position: relative;
  z-index: 10002;

  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;

  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clr-green);

  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-line {
  width: 25px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 260ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] {
  color: var(--clr-green);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-line:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-line:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 9999;

  display: none;
  place-items: center;

  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;

  padding: calc(var(--nav-h-mobile, 65px) + env(safe-area-inset-top) + 24px)
    var(--gutter)
    calc(48px + env(safe-area-inset-bottom));

  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  overflow: hidden;
}

.mobile-menu.is-open {
  display: grid;
}
.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, 420px);
  gap: clamp(20px, 4svh, 36px);
  gap: 26px;
}

.mobile-menu__link {
  display: block;
  width: 100%;
  padding: 0.35rem 0 0.35rem 32px;
  font-family: var(--font-dm-sans);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.95;
  color: #2f3433;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  opacity: 1;
  transform: none;
  transition: color 180ms ease;
}


.mobile-menu__link:active {
  color: var(--clr-rose);
}



.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--clr-rose);
}

/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------- */




/* #endregion */

/* #region Hero */
#hero {
  margin-top: calc(var(--nav-h) + env(safe-area-inset-top));
  position: relative;
  display: flex;
  align-items: center;
  min-height: 900px;
  margin-top: var(--nav-h);
  background-image: url('images/hero9.webp');
  background-repeat: no-repeat;
  background-position: calc(50% - -50px) calc(50% - 75px);
  background-size: 3000px auto;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#hero-container {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  z-index: 1;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.accent-word {
  color: var(--clr-green);
  text-shadow: none;
}

.hero-right p {
  margin-top: 6rem;
  margin-bottom: 1rem;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 1.25rem;
  padding: 0.3215rem 0.3215rem 0.3215rem 1.75rem;
  border-radius: 50px;
  background: white;
  font-family: var(--font-raleway);
  font-size: 1.750rem;
  font-weight: 500;
  color: var(--clr-muted);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease;
  transition-delay: 0.4s;
}

.btn-start:hover .btn-start-icon {
  background: var(--clr-rose2);
}

.btn-start-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-green);
  color: #fff;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}


/* ===== HERO H1 WORD ANIMATION ===== */

.word {
  display: inline-block;
  opacity: 0;
  animation: fadeInLeft 1.055s ease forwards;
}

/* #endregion */

/* #region About */

#about {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#about-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin-inline: auto;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bcgrnd.avif');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  border: 1px solid #42424233;
  background: white;
  font-family: var(--font-raleway);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--clr-text);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.05);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-rose);
  flex-shrink: 0;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  align-self: flex-start;
}

.about-photo {
  width: clamp(280px, 40vw, 600px);
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}

.ce-tag2 {
  display: flex;
  align-items: center;
  width: fit-content;
  justify-content: center;
  gap: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7a6e;
  border: 1px solid #c8d9d3;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.0rem;
  line-height: 1;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(84, 121, 110, 0.28);
  border-radius: 999px;
  background: rgba(84, 121, 110, 0.06);
  color: #3f6f62;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}


/* #endregion */

/* #region Services */


#services {
  position: relative;
  z-index: 1;
  width: 100%;
  align-items: center;
}

#services-container {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 2rem;
  overflow: visible;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bcgrnd.avif');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

#services > * {
  position: relative;
  z-index: 1;
}

.services__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 52px;
}

/* Grid */
.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: var(--gutter);
  gap: 16px;
}

/* Card base */
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 22px 30px;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07), 0 20px 40px rgba(231, 231, 231, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;


  display: grid;
  grid-template-rows:
    auto
    /* tag */
    auto
    /* name */
    auto
    /* price-block */
    auto
    /* price-note */
    1fr
    /* desc — растягивается чтобы съесть разницу */
    auto
    /* features */
    auto;
  /* cta */


}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sage-mid);
  transition: background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px #f6807c2d;
}

.service-card:hover::before {
  background: var(--clr-rose2);
}

.service-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.service-card__price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.service-card__price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.service-card__price-period {
  font-size: 0.95rem;
  color: var(--ink-muted);
  font-weight: 300;
}


.service-card__desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
  font-weight: 300;
  flex-grow: 1;
}

.service-card__features {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
  /* ← вот это */
}

.service-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid #F0EDE8;
  font-weight: 300;
  line-height: 1.4;
}

.service-card__feature:last-child {
  border-bottom: none;
}

.service-card__feature-icon {
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 1px;
}

.service-card__cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 100px;
  border: 1.5px solid var(--sage-mid);
  background: transparent;
  color: var(--sage);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-top: auto;
}

.service-card__cta:hover {
  background: var(--sage-light);
  border-color: var(--sage);
}

.service-card__cta--free {
  border-color: var(--amber);
  color: var(--amber);
  font-weight: 600;
}

.service-card__cta--free:hover {
  background: var(--amber-light);
}

.service-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--sage);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
}

/* #endregion */

/* #region Reviews */

:root {
  --review-card-w: 400px;
  /* ширина карточки */
  --review-card-h: 975px;
  /* высота карточки */
  --review-card-gap: 13px;
  /* отступ между карточками */
}

#reviews {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.reviews__viewport {
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
}

.reviews__track {
  display: flex;
  gap: var(--review-card-gap);
  width: max-content;
  padding-left: 1rem;
  padding-right: 1rem;
}

.reviews__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  margin-inline: auto;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.reviews__viewport::-webkit-scrollbar {
  display: none;
}

.reviews__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reviews__viewport::-webkit-scrollbar {
  display: none;
}

.reviews__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reviews__track {
  display: flex;
  gap: var(--review-card-gap);
  width: max-content;
  animation: none;
}

/* ---- Card ---- */

.review-card {
  width: var(--review-card-w);
  min-width: var(--review-card-w);
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  flex: 0 0 var(--review-card-w);
  box-shadow:
    0 2px 20px rgba(0, 0, 0, 0.07),
    0 20px 40px rgba(231, 231, 231, 0.15);
}

.review-card__body {
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.review-card__photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

/* #endregion */

/* #region Contact me */
.ce-wrap {
  padding-block: clamp(4.5rem, 9vw, 7rem);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}



.ce-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/bcgrnd.avif');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}


.ce-wrap > * {
  position: relative;
  z-index: 1;
}




.ce-inner {
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

/* ── Левая колонка ────────────────────────────────────────── */
.ce-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7a6e;
  border: 1px solid #c8d9d3;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.75rem;
}

.ce-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a7a6e;
  flex-shrink: 0;
}

.ce-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #1a1a18;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.ce-heading em {
  font-style: italic;
  color: #5a7a6e;
  font-weight: 400;
}

.ce-desc {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #6b6b67;
  margin-bottom: 1rem;
  max-width: 320px;
}

.ce-divider {
  width: 60%;
  height: 1px;
  background: #c8d9d3;
  margin-bottom: 1rem;
}

/* ── Соцсети ──────────────────────────────────────────────── */
.ce-socials-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
}

.ce-socials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ce-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #4a4a47;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  transition: background 0.18s ease, color 0.18s ease;
}

.ce-social:hover {
  background: #eef3f1;
  color: #5a7a6e;
}

.ce-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ce-social-icon.ig {
  background: #fce8f0;
  color: #c2587e;
}

.ce-social-icon.tg {
  background: #e3f0fb;
  color: #3a7bbf;
}

.ce-social-icon.fb {
  background: #e8edfb;
  color: #4560b0;
}

.ce-social-icon.ms {
  background: #fce8e8;
  color: #bf4545;
}

.ce-social-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  line-height: 1.3;
}

.ce-social-handle {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  color: #999;
  line-height: 1.3;
}

.ce-social:hover .ce-social-handle {
  color: #7a9e96;
}

/* ── Карточка формы ───────────────────────────────────────── */
.ce-card {
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: 20px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.ce-form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: #1a1a18;
  margin-bottom: 0.3rem;
}

.ce-form-sub {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 1.75rem;
}

/* ── Поля формы ───────────────────────────────────────────── */
.ce-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem;
}

.ce-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ce-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}

.ce-input,
.ce-select,
.ce-textarea {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  color: #1a1a18;
  background: #fafaf8;
  border: 1px solid #e2e2de;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.ce-input:focus,
.ce-select:focus,
.ce-textarea:focus {
  border-color: #5a7a6e;
  background: #fff;
}

.ce-input.err,
.ce-select.err,
.ce-textarea.err {
  border-color: #d96060;
}

.ce-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.ce-select option {
  background: #fff;
  color: #1a1a18;
}

.ce-textarea {
  resize: vertical;
  min-height: 100px;
}

.ce-err-msg {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  color: #d96060;
  min-height: 1em;
  line-height: 1.4;
}

/* ── Кнопка submit ────────────────────────────────────────── */
.ce-submit {
  width: 100%;
  padding: 0.875rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: #3d6c64;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.ce-submit:hover {
  background: #4e8278;
  transform: translateY(-1px);
}

.ce-submit:active {
  transform: translateY(0);
}

.ce-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Спиннер */
.ce-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ce-spin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes ce-spin {
  to {
    transform: rotate(360deg);
  }
}

.ce-submit.loading .ce-btn-text {
  display: none;
}

.ce-submit.loading .ce-spinner {
  display: block;
}

/* ── Сообщения успех / ошибка ─────────────────────────────── */
.ce-notice {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.55;
}

.ce-notice.ok {
  background: #edf4f1;
  border: 1px solid #b8d4cb;
  color: #3d6c64;
}

.ce-notice.fail {
  background: #fdf0f0;
  border: 1px solid #f0c0c0;
  color: #a03030;
}


/* #endregion */

/* #region Certificates */

#certificates {
  padding-top: 4rem;
  padding-bottom: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.certificates_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  align-items: stretch;
  max-width: var(--max-w);
  width: 100%;
  flex-wrap: wrap;
  margin-inline: auto;
  padding: var(--gutter);
}

.cert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07), 0 20px 40px rgba(231, 231, 231, 0.15);
  border-radius: 20px;
  padding: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px #f6807c2d;
}

.cert-card_body {
    width: 100%;
}

.cert-card_scan {
  flex-shrink: 0;
  width: 100%;
}

.cert-card_scan img {
  width: 100%;
  display: block;
  /* border-radius: 16px; */
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.cert-card_divider {
  border: none;
  border-top: 1px solid #d0c9ba80;
  width: 100%;
  margin: 16px 0;
}

.text4_31 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 500;
  color: #666666;
  text-align: left;
}

.text4_11 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0rem;
  font-weight: 300;
  line-height: 1.5;
  color: #666666;
  text-align: left;
}


.ce-tag1 {
  display: flex;
  align-items: center;
  width: fit-content;
  justify-content: center;
  gap: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a7a6e;
  border: 1px solid #c8d9d3;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  margin: 0rem auto 1.75rem auto;
  line-height: 1;
}



.ce-dot {
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}



.ce-social-icon.phone {
  background: #e8f2ee;
  color: #3d6c64;
}




/* #endregion */

/* #region ANIMATION */

#about,
#certificates,
#services,
#reviews,
#contact {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

#about.is-visible,
#certificates.is-visible,
#services.is-visible,
#reviews.is-visible,
#contact.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* #endregion */

/* #region Mobile */

@media (max-width: 768px) {
  /* ---------------- Navbar ---------------- */

  #navbar {
    height: var(--nav-h-mobile);
  }

  .nav-links,
  .nav-cta,
  .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  /* ---------------- Hero ---------------- */

  #hero {
    margin-top: var(--nav-h-mobile);
    min-height: calc(100svh - var(--nav-h-mobile));
    background-position: -618px -230px;
    background-size: 2200px auto;
    overflow: hidden;
    align-items: end;
  }

  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.54) 25%,
      rgba(0, 0, 0, 0.43) 50%,
      transparent 75%
    );
    opacity: 0;
    animation: fadeOverlay 0.7s ease forwards;
    animation-delay: 0.3s;
  }

  #hero-container {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  .hero-right p {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .accent-word {
    color: var(--clr-rose);
  }

  .text7 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 1);
  }

  .text4 {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
  }

  .btn-start {
    align-self: center;
    gap: 0.85rem;
    padding: 0.23rem 0.23rem 0.23rem 1.25rem;
    font-size: 1rem;
  }

  .btn-start-icon {
    width: 35px;
    height: 35px;
    background: var(--clr-rose);
  }

  /* ---------------- About ---------------- */

  #about-container {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 1.25rem;
    padding: var(--gutter);
    margin-top: 2rem;
  }

  .about-left {
    display: contents;
  }

  .about-right {
    order: 2;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .about-photo {
    width: 100%;
    max-width: none;
    max-height: 400px;
    margin-inline: 0;
    border-radius: 0;
    display: block;
  }

  .tag {
    order: 1;
    align-self: center;
    margin-top: 2rem;
  }

  .text4_2 {
    order: 1;
    font-size: 2rem;
    font-weight: 200;
    line-height: 1.1;
    color: var(--clr-text);
    margin-top: 0;
    margin-bottom: 0;
  }

  .about-credentials {
    order: 3;
    margin-bottom: 0;
    text-align: left;
  }

  .text4_1 {
    order: 3;
  }

  /* ---------------- Certificates ---------------- */

  #certificates {
    padding-top: 3rem;
    padding-bottom: 1rem;
    overflow: hidden;
  }

  .certificates_container {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 16px;

    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 1rem 16px 3rem;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding-inline: 16px;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .certificates_container::-webkit-scrollbar {
    display: none;
  }

  .cert-card {
    flex: 0 0 70vw;
    width: 70vw;
    max-width: 70vw;

    height: auto;
    min-height: 0;
    align-self: flex-start;
    justify-content: flex-start;

    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cert-card_scan {
    width: 100%;
  }

  .cert-card_scan img {
    width: 100%;
    height: auto;
    display: block;
  }

  #certificates .certificates_container .cert-card:nth-last-child(-n + 2) {
    display: none;
  }

  /* ---------------- Services ---------------- */

#services {
  padding-inline: var(--gutter);
}

.services__grid {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
}

.desktop-break {
    display: none;
  }

  .service-card__name {
    white-space: nowrap;
  }


  /* ---------------- Reviews ---------------- */

#reviews {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#reviews {
  --review-card-w: 280px;
  --review-card-h: 430px;
  --review-card-gap: 14px;
  --review-photo-h: 300px;
}

.review-card {
  border-radius: 14px;
}

.review-card__body {
  padding: 14px 14px 12px;
  gap: 4px;
}


/* ------------------------------------------------------------- */
.reviews__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .reviews__viewport::-webkit-scrollbar {
    display: none;
  }

  .reviews__track {
    animation: none;
    display: flex;
    gap: var(--review-card-gap);
    width: max-content;
    padding-inline: calc((100vw - var(--review-card-w)) / 2);
  }

  .review-card {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    flex: 0 0 var(--review-card-w);
    min-width: var(--review-card-w);
  }

  .reviews__viewport.is-auto-scrolling {
  scroll-snap-type: none;
}
/* ------------------------------------------------------------- */


  /* ---------------- Contact ---------------- */

  .ce-inner {
    grid-template-columns: 1fr;
  }

  .ce-row {
    grid-template-columns: 1fr;
  }

  .ce-desc {
    max-width: 100%;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeOverlay {
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateY(-50px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}


/* #endregion */
