/* ============================================================
   KET_TATT — Multi-page site
   Style: wfolio-inspired · Montserrat · Light · Minimalist
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 400; line-height: 1.8; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

:root {
  --bg: #FFFFFF;
  --surface: #FAF8F5;
  --surface-alt: #F4F1EC;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #A0A0A0;
  --accent: #1A1A1A;
  --accent-hover: #333;
  --border: #ECEAE5;
  --border-light: #F4F1EC;
  --shadow: 0 2px 20px rgba(17,17,17,0.06);
  --shadow-lg: 0 12px 48px rgba(17,17,17,0.08);
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 300ms;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 400; line-height: 1.3; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 80px 0; }
.section--alt { background: var(--surface); }

/* --- Page hero (inner pages) --- */
.page-hero { padding: 140px 0 60px; text-align: center; }
.page-hero__title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 400; margin-bottom: 12px; }
.page-hero__subtitle { font-size: 1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* --- Section head --- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head__title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 400; margin-bottom: 8px; }
.section-head__subtitle { font-size: 0.9rem; color: var(--text-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-size: 0.9rem; font-weight: 500;
  border-radius: 100px; transition: all var(--dur) var(--ease);
  cursor: pointer; text-align: center; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--large { padding: 18px 40px; }
.btn--small { padding: 10px 22px; font-size: 0.8rem; }

/* --- Photo placeholders --- */
.ph {
  background: var(--surface-alt); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); width: 100%;
}
.ph__label { font-size: 0.85rem; color: var(--text-muted); padding: 16px; text-align: center; }
.ph--portrait { aspect-ratio: 4/5; }
.ph--square { aspect-ratio: 1; }
.ph--wide { aspect-ratio: 16/10; }
.ph--cinematic { aspect-ratio: 21/9; }

/* --- Stars --- */
.star { width: 16px; height: 16px; color: #C4B89A; }
.stars { display: flex; gap: 2px; justify-content: center; }
.stars--small .star { width: 13px; height: 13px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all var(--dur) var(--ease);
}
.header--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(17,17,17,0.04);
  padding: 14px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text); text-transform: uppercase; }
.logo__accent { color: var(--text-light); }
.logo__sub { display: block; font-size: 0.6rem; font-weight: 400; letter-spacing: 0.1em; color: var(--text-light); text-transform: none; margin-top: 2px; }

.nav { display: none; gap: 28px; }
.nav__link {
  font-size: 0.82rem; font-weight: 400; color: var(--text-muted);
  transition: color var(--dur); text-transform: uppercase; letter-spacing: 0.03em;
}
.nav__link:hover, .nav__link--active { color: var(--text); }
.nav__link--active { font-weight: 500; }

.header__cta { display: none; }

.burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; width: 40px; height: 40px; align-items: flex-end; justify-content: center; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all var(--dur) var(--ease); }
.burger--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* --- Mobile fullscreen menu --- */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 99;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 24px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 400ms var(--ease);
}
.mobile-menu--open { opacity: 1; pointer-events: all; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu__link {
  display: block; padding: 10px 0;
  font-size: 1.1rem; font-weight: 400; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.04em;
  transform: translateX(120%); opacity: 0;
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}
.mobile-menu--open .mobile-menu__link { transform: translateX(0); opacity: 1; }
.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 80ms; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 160ms; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 240ms; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 320ms; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { transition-delay: 400ms; }
.mobile-menu--open .mobile-menu__link:nth-child(6) { transition-delay: 480ms; }
.mobile-menu--open .mobile-menu__link:nth-child(7) { transition-delay: 560ms; }
.mobile-menu__link:hover { color: var(--text-muted); }
.mobile-menu__socials {
  display: flex; gap: 16px; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--border);
  transform: translateX(120%); opacity: 0;
  transition: transform 500ms var(--ease) 560ms, opacity 500ms var(--ease) 560ms;
}
.mobile-menu--open .mobile-menu__socials { transform: translateX(0); opacity: 1; }
.mobile-menu__social {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--text);
  transition: all var(--dur);
}
.mobile-menu__social:hover { border-color: var(--accent); color: var(--accent); }
.mobile-menu__social svg { width: 22px; height: 22px; }

/* ============================================================
   HOME PAGE — intro + photo carousel (wfolio style)
   ============================================================ */
.home-intro-block {
  padding: 160px 0 60px;
  text-align: center;
}
.home-intro-block__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.3;
}
.home-intro-block__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 580px;
  margin: 0 auto;
}

.carousel { position: relative; width: 100%; }
.carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 260px;
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--surface-alt);
}
.carousel__item .ph {
  border-radius: var(--radius);
  transition: transform 500ms var(--ease);
  width: 100%; height: 100%;
}
.carousel__item img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  transition: transform 500ms var(--ease);
  display: block;
}
.carousel__item:hover .ph,
.carousel__item:hover img { transform: scale(1.05); }

/* Portrait carousel (matches trio block) */
.carousel--portrait .carousel__track { gap: 16px; padding: 8px 24px; }
.carousel--portrait .carousel__item { aspect-ratio: 4/5; flex-basis: 220px; }
.carousel--portrait .carousel__item .ph { border: 1px solid var(--border); }

@media (min-width: 768px) {
  .carousel--portrait .carousel__item { flex-basis: 260px; }
}
@media (min-width: 1024px) {
  .carousel--portrait .carousel__item { flex-basis: 300px; }
}

.home-cta { text-align: center; padding: 80px 0; }
.home-cta__title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 400; margin-bottom: 16px; }
.home-cta__text { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; }

/* --- Home social buttons --- */
.home-socials { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.home-socials__btn {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 32px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
  text-transform: uppercase; border: 1px solid var(--border);
  background: var(--bg); color: var(--text);
  transition: all var(--dur); min-width: 260px; justify-content: center;
}
.home-socials__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.home-socials__btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.home-socials__btn--tg { color: #229ED9; border-color: #229ED9; }
.home-socials__btn--tg:hover { background: #229ED9; color: #fff; }
.home-socials__btn--ig { color: #E1306C; border-color: #E1306C; }
.home-socials__btn--ig:hover { background: #E1306C; color: #fff; }
.home-socials__btn--vk { color: #0077FF; border-color: #0077FF; }
.home-socials__btn--vk:hover { background: #0077FF; color: #fff; }
.home-socials__btn--channel { background: var(--accent); color: #fff; border-color: var(--accent); }
.home-socials__btn--channel:hover { background: var(--accent-hover); }

/* --- Why me (home) --- */
.home-why { display: flex; flex-direction: column; gap: 16px; }
.home-why__item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.home-why__item h3 { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.home-why__item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* --- Portfolio quotes --- */
.portfolio-quote { text-align: center; padding: 40px 0; }
.portfolio-quote__text {
  font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 300; font-style: italic;
  line-height: 1.6; color: var(--text); max-width: 600px; margin: 0 auto;
}

/* --- Certificate page --- */
.cert-grid { display: flex; flex-direction: column; gap: 32px; }
.cert-card { text-align: center; }
.cert-card__photo {
  max-width: 400px; margin: 0 auto 20px;
  overflow: hidden; border-radius: var(--radius);
}
.cert-card__photo[data-lightbox] { cursor: pointer; }
.cert-card__photo .ph { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; height: 100%; aspect-ratio: auto; }
.cert-card__photo img { width: 100%; border-radius: var(--radius); display: block; transition: transform 400ms var(--ease); }
.cert-card__photo[data-lightbox]:hover img { transform: scale(1.03); }
.cert-card__title { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.cert-card__text { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }

/* --- About quote --- */
.about-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 300; font-style: italic;
  text-align: center; color: var(--text);
  padding: 40px 0; max-width: 600px; margin: 0 auto;
  line-height: 1.6;
}

/* --- Quote block --- */
.home-quote { text-align: center; padding: 80px 0; }
.home-quote__text {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
}

/* --- Trio (3 portrait photos) --- */
.home-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.home-trio__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
}
.home-trio__item .ph {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 500ms var(--ease);
}
.home-trio__item img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  transition: transform 500ms var(--ease);
  display: block;
}
.home-trio__item:hover .ph,
.home-trio__item:hover img { transform: scale(1.04); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: 140px 0 60px; }
.about-hero__grid { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.about-hero__photo { max-width: 400px; width: 100%; }
.about-hero__photo .ph { border-radius: var(--radius-lg); }
.about-hero__text { max-width: 560px; }
.about-hero__title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 400; margin-bottom: 20px; }
.about-hero__text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.about-features { display: flex; flex-direction: column; gap: 16px; }
.about-feature {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.about-feature__title { font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.about-feature__text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   PORTFOLIO PAGE — 4 categories with captions
   ============================================================ */
.portfolio-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portfolio-cat { text-align: center; }
.portfolio-cat__photo {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.portfolio-cat__photo .ph {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 500ms var(--ease);
}
.portfolio-cat__photo:hover .ph { transform: scale(1.04); }
.portfolio-cat__title { font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.portfolio-cat__text { font-size: 0.82rem; color: var(--text-muted); }

.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.portfolio-item { overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.portfolio-item .ph { border-radius: var(--radius); transition: transform 500ms var(--ease); aspect-ratio: 1; }
.portfolio-item:hover .ph { transform: scale(1.05); }

/* ============================================================
   PRICE PAGE — split blocks + banner
   ============================================================ */
.price-photos { display: flex; flex-direction: column; gap: 16px; max-width: 480px; margin: 0 auto 48px; }
.price-photos__img { width: 100%; max-width: 220px; border-radius: var(--radius); display: block; margin: 0 auto; }
.price-grid { display: flex; flex-direction: column; gap: 24px; }
.price-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px;
}
.price-card__title { font-size: 1.2rem; font-weight: 500; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.price-list__item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.price-list__item:last-child { border-bottom: none; }
.price-list__name { font-size: 0.88rem; color: var(--text); }
.price-list__price { font-size: 0.88rem; font-weight: 500; color: var(--text); white-space: nowrap; }
.price-card__note { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; margin-top: 16px; }

/* --- Price split (photo + text side by side) --- */
.price-split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.price-split__photo { width: 100%; max-width: 360px; }
.price-split__photo .ph { border-radius: var(--radius); border: 1px solid var(--border); }
.price-split__text { max-width: 420px; text-align: center; }
.price-split__title { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 400; margin-bottom: 12px; }
.price-split__desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.price-split__price { font-size: 1.1rem; font-weight: 500; color: var(--text); }

/* --- Price banner (full-width photo + centered text) --- */
.price-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.price-banner__bg {
  position: absolute;
  inset: 0;
  background: var(--surface-alt);
  /* Заменить на: background: url('img/banner.jpg') center/cover no-repeat; */
}
.price-banner__content {
  position: relative;
  z-index: 2;
  padding: 48px 24px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--radius);
  max-width: 480px;
}
.price-banner__title { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 400; margin-bottom: 12px; }
.price-banner__text { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.reviews-grid { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px;
}
.review-card .stars { margin-bottom: 12px; justify-content: flex-start; }
.review-card__text { font-size: 0.92rem; color: var(--text); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-card__author { font-size: 0.85rem; font-weight: 500; color: var(--text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; text-align: left;
  font-size: 0.95rem; font-weight: 500; color: var(--text); transition: color var(--dur);
}
.faq__question:hover { color: var(--accent-hover); }
.faq__icon { width: 20px; height: 20px; color: var(--text-muted); transition: transform var(--dur); flex-shrink: 0; }
.faq-item--open .faq__icon { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease), padding 400ms var(--ease); }
.faq-item--open .faq__answer { max-height: 600px; padding-bottom: 20px; }
.faq__answer p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   CONTACTS PAGE
   ============================================================ */
.contacts-grid { display: flex; flex-direction: column; gap: 40px; }
.contacts-socials { display: flex; flex-direction: column; gap: 12px; }
.contact-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 32px; border-radius: 100px;
  font-weight: 500; font-size: 0.95rem;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  transition: all var(--dur);
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.contact-btn--beige {
  color: var(--beige-dark);
  border-color: var(--beige-dark);
  justify-content: center;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.contact-btn--beige:hover {
  background: var(--beige-dark);
  color: #fff;
  border-color: var(--beige-dark);
}

.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contacts-detail { display: flex; gap: 16px; align-items: flex-start; }
.contacts-detail svg { width: 22px; height: 22px; color: var(--text); margin-top: 2px; flex-shrink: 0; }
.contacts-detail__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-light); margin-bottom: 4px; }
.contacts-detail__value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contacts-detail__sub { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); padding: 48px 0; border-top: 1px solid var(--border); text-align: center; }
.footer__socials { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }
.footer__social {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--text-muted);
  transition: all var(--dur);
}
.footer__social:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 20px; height: 20px; }
.footer__copy { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; background: rgba(17,17,17,0.92);
  display: flex; align-items: center; justify-content: center; z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 300ms var(--ease); padding: 40px;
}
.lightbox--open { opacity: 1; pointer-events: all; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: #fff; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); transition: all var(--dur);
}
.lightbox__close:hover { background: rgba(255,255,255,0.1); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal--in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Tablet (≥768px)
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .container { padding: 0 40px; }

  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }

  .carousel__item { flex-basis: 320px; }
  .home-trio { grid-template-columns: repeat(3, 1fr); }
  .home-why { flex-direction: row; }
  .home-why__item { flex: 1; }
  .home-socials { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cert-grid { flex-direction: row; }
  .cert-card { flex: 1; }

  .about-hero__grid { flex-direction: row; align-items: flex-start; }
  .about-hero__photo { flex: 0 0 40%; }
  .about-hero__text { flex: 1; }
  .about-features { flex-direction: row; }
  .about-feature { flex: 1; }

  .portfolio-cats { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .price-photos { flex-direction: row; justify-content: center; max-width: 640px; }
  .price-photos__img { aspect-ratio: 4/5; object-fit: cover; max-width: 300px; }
  .price-grid { flex-direction: row; }
  .price-card { flex: 1; }
  .price-split { flex-direction: row; align-items: center; gap: 64px; }
  .price-split--reverse { flex-direction: row-reverse; }
  .price-split__photo { flex: 0 0 40%; max-width: 400px; }
  .price-split__text { flex: 1; text-align: left; }
  .reviews-grid { flex-direction: row; }
  .review-card { flex: 1; }
  .contacts-grid { flex-direction: row; align-items: flex-start; gap: 64px; }
  .contacts-socials { flex: 1; }
  .contacts-info { flex: 1; }
}

@media (min-width: 1024px) {
  .section { padding: 120px 0; }
  .portfolio-grid { gap: 16px; }
  .carousel__item { flex-basis: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
