/* ============ TOKENS ============ */
:root {
  --orange: #FE6102;
  --orange-dark: #E05500;
  --orange-soft: #FFEBDC;
  --black: #0F0F0F;
  --gray-900: #1A1A1A;
  --gray-700: #4A4A4A;
  --gray-500: #7A7A7A;
  --gray-200: #E6E4DF;
  --gray-100: #F2F0EA;
  --cream: #F7F3EA;
  --white: #FFFFFF;
  --wood: #E7C79A;

  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-lg: 28px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }

/* ============ LAYOUT ============ */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-block { width: 100%; padding: 18px; }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 6px 20px rgba(254,97,2,0.25); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-ghost:hover { background: var(--black); color: white; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.scrolled { border-bottom-color: var(--gray-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo { color: var(--black); display: inline-flex; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color .2s; }
.nav a:hover { color: var(--orange); }
@media (max-width: 900px) {
  .nav { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(1200px 500px at 90% 0%, rgba(254,97,2,0.08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow.light { color: white; background: rgba(255,255,255,0.14); }

.hero-title {
  font-size: clamp(38px, 6.2vw, 82px);
  line-height: 0.98;
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--orange); }
.hero-title .reg { font-size: 0.4em; vertical-align: super; color: var(--gray-500); font-weight: 500; }

.hero-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--gray-700);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: var(--black); font-weight: 800; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--gray-500); }

.hero-visual { position: relative; }
.hero-panel {
  background: var(--orange);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  box-shadow: 0 30px 60px -30px rgba(254,97,2,0.5);
  transform: rotate(-1.5deg);
  transition: transform .5s;
}
.hero-panel:hover { transform: rotate(0deg); }
.hero-panel-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero-panel-text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}
.hero-panel-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
}
.hero-panel-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SECTIONS ============ */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-dark { background: var(--black); color: white; }
.section-cream { background: var(--cream); }

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 20px;
}
.section-num.light { color: var(--orange); }
.section-title {
  font-size: clamp(32px, 4.5vw, 60px);
}
.section-title.light { color: white; }
.section-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--gray-700);
}
.section-dark .section-sub { color: rgba(255,255,255,0.75); }

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.about-benefits { display: flex; flex-direction: column; gap: 24px; }
.benefit { display: flex; gap: 20px; padding: 24px; background: var(--gray-100); border-radius: var(--radius); }
.benefit-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}
.benefit h3 { font-size: 20px; margin-bottom: 6px; }
.benefit p { margin: 0; color: var(--gray-700); font-size: 15px; }

/* ============ CONSTRUCTION ============ */
.construction-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 900px) { .construction-grid { grid-template-columns: 1fr; gap: 40px; } }
.construction-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--orange);
}
.construction-image img { width: 100%; height: auto; }
.layers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.layers li {
  display: flex; gap: 20px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  transition: background .2s, border-color .2s;
}
.layers li:hover { background: rgba(254,97,2,0.1); border-color: var(--orange); }
.layer-badge {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
}
.layers h3 { font-size: 18px; color: white; margin-bottom: 4px; }
.layers p { margin: 0; color: rgba(255,255,255,0.7); font-size: 14px; }

/* ============ ADVANTAGES ============ */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages { grid-template-columns: 1fr; } }
.adv {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background .3s, transform .3s;
  border: 1px solid transparent;
}
.adv:hover { background: white; border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15); }
.adv-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--orange);
  color: white;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.adv-num { font-family: var(--font-display); font-size: 24px; font-weight: 900; }
.adv h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.15; }
.adv p { margin: 0; color: var(--gray-700); font-size: 14.5px; line-height: 1.5; }

.adv-highlight { background: var(--black); color: white; padding: 32px 28px; grid-column: span 2; display: flex; flex-direction: column; }
@media (max-width: 1000px) { .adv-highlight { grid-column: span 2; } }
@media (max-width: 560px) { .adv-highlight { grid-column: span 1; } }
.adv-highlight:hover { background: var(--gray-900); border-color: var(--orange); }
.adv-highlight h3 { color: white; font-size: 22px; margin-bottom: 20px; }
.tech-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tech-list li { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 14px; }
.tech-list li:last-child { border-bottom: none; }
.tech-list span { color: rgba(255,255,255,0.65); }
.tech-list strong { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 16px; }

/* ============ APPLICATIONS ============ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .apps-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black);
}
.app-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.app-card:hover img { transform: scale(1.06); }
.app-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.app-card h3 {
  position: absolute; left: 24px; right: 24px; bottom: 20px;
  color: white;
  font-size: clamp(18px, 1.8vw, 24px);
  z-index: 2;
}

/* ============ FEATURED ============ */
.featured {
  background: var(--black);
  color: white;
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .featured-inner { grid-template-columns: 1fr; gap: 40px; } }
.featured-copy h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  color: white;
  margin: 12px 0 20px;
}
.featured-copy p { color: rgba(255,255,255,0.75); font-size: 17px; margin: 0 0 24px; max-width: 480px; }
.featured-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.featured-tags li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.featured-image img { width: 100%; height: auto; display: block; }

/* ============ PROJECTS GALLERY ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }
.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
  font-size: 15px;
}
.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--gray-200);
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.2); border-color: var(--orange); }
.project-image {
  aspect-ratio: 4/3;
  background: var(--gray-200);
  overflow: hidden;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.project-body h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--black);
}
.project-body p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-700);
}

/* ============ CLIENTS ============ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .clients-grid { grid-template-columns: 1fr; } }
.client {
  padding: 24px 22px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-700);
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  justify-content: center;
}
.client:hover { border-color: var(--orange); transform: translateY(-2px); }
.client strong { font-family: var(--font-display); font-weight: 700; color: var(--black); font-size: 16px; }

/* ============ BEFORE/AFTER ============ */
.ba-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--orange);
  max-width: 1080px;
  margin: 0 auto;
}
.ba-wrap img { width: 100%; height: auto; display: block; }

/* ============ DOCS ============ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; } }
.doc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background .2s, border-color .2s;
}
.doc:hover { background: rgba(254,97,2,0.1); border-color: var(--orange); }
.doc-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--orange);
  color: white;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.doc h3 { color: white; font-size: 20px; margin-bottom: 12px; }
.doc p { color: rgba(255,255,255,0.7); font-size: 14.5px; margin: 0; }

/* ============ CTA ============ */
.cta {
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(600px 300px at 10% 100%, rgba(254,97,2,0.1), transparent 60%),
    var(--cream);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; gap: 40px; } }
.cta-copy h2 { font-size: clamp(32px, 4.5vw, 56px); margin: 12px 0 20px; }
.cta-copy p { color: var(--gray-700); font-size: 17px; margin: 0 0 32px; max-width: 460px; }
.cta-links { display: flex; flex-direction: column; gap: 16px; }
.cta-link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: border-color .2s, transform .2s;
}
a.cta-link:hover { border-color: var(--orange); transform: translateY(-1px); }
.cta-link span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gray-500); font-weight: 700; }
.cta-link strong { font-family: var(--font-display); font-weight: 700; color: var(--black); font-size: 18px; }

.cta-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.15);
}
.cta-form label { display: flex; flex-direction: column; gap: 8px; }
.cta-form label span { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.cta-form input, .cta-form select, .cta-form textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--gray-100);
  transition: border-color .2s, background .2s;
  color: var(--black);
  font-size: 15px;
}
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}
.cta-form textarea { resize: vertical; min-height: 90px; }
.form-note { margin: 0; font-size: 12px; color: var(--gray-500); text-align: center; }

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { margin: 20px 0 0; font-size: 14.5px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }
.footer-cols h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: white; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-cols a, .footer-cols span { display: block; margin-bottom: 8px; font-size: 14px; color: rgba(255,255,255,0.65); transition: color .2s; }
.footer-cols a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ FIXES r2: логотип и адаптив ============ */
html, body { overflow-x: hidden; }
.logo img { height: 44px; width: auto; display: block; }
.footer-logo { height: 52px; width: auto; display: block; }

/* Колонки сетки не должны раздвигаться длинными словами */
.hero-inner > *, .about-grid > *, .construction-grid > *, .featured-inner > *,
.cta-inner > *, .footer-inner > *, .advantages > *, .apps-grid > *,
.projects-grid > *, .clients-grid > *, .docs-grid > * { min-width: 0; }
.hero-title, .section-title, .featured-copy h2, .cta-copy h2, .about-lead { overflow-wrap: break-word; hyphens: manual; }

/* Десктоп: заголовок героя помещается в свою колонку, панель не уезжает за край */
.hero-copy { container-type: inline-size; }
.hero-title { font-size: clamp(22px, 7.6cqi, 72px); }
.section-head { container-type: inline-size; }
.section-head .section-title { font-size: clamp(22px, 6.4cqi, 52px); }
.hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .hero-panel { transform: none; }
  .hero-panel:hover { transform: none; }
  .hero-visual { max-width: 560px; }
}

@media (max-width: 600px) {
  .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .logo img { height: 36px; }
  .hero { padding: 28px 0 56px; }
  .eyebrow { white-space: normal; font-size: 10.5px; letter-spacing: 0.08em; line-height: 1.4; padding: 7px 12px; margin-bottom: 18px; }
  .hero-title { line-height: 1.08; }
  .hero-lead { font-size: 15.5px; margin-bottom: 24px; }
  .hero-cta { flex-direction: column; margin-bottom: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 12px; padding-top: 20px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 12px; line-height: 1.3; }
  .hero-panel { padding: 20px; gap: 16px; border-radius: 22px; }
  .hero-panel-text { font-size: 18px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-title, .featured-copy h2, .cta-copy h2 { font-size: clamp(21px, 6.6vw, 30px); line-height: 1.12; }
  .section-sub { font-size: 15px; }
  .about-lead { font-size: 18px; line-height: 1.35; }
  .benefit { padding: 18px; gap: 14px; }
  .benefit-num { width: 42px; height: 42px; }
  .featured-copy p { font-size: 15.5px; }
}

/* ============ FIXES r4: картинки с надписями показываются целиком ============ */
.hero-panel-image { aspect-ratio: 995 / 1050; max-height: 520px; }
.hero-panel-image img { object-position: center bottom; }
@media (max-width: 960px) { .hero-panel-image { aspect-ratio: 1 / 1; max-height: none; } }

/* Карточки «Применение»: надпись уже есть на фото — показываем фото целиком, без затемнения и обрезки */
.app-card { aspect-ratio: 1548 / 1076; }
.app-card img { object-fit: cover; object-position: center; }
.app-card:hover img { transform: none; }
.app-card::after { display: none; }
.app-card h3 { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Фото проектов: формат как у слайдов, без обрезки надписей */
.project-image { aspect-ratio: 1548 / 1076; }
.project-card:hover .project-image img { transform: none; }
