:root {
  --brand: #006B7D;
  --brand-2: #008CA3;
  --accent: #00A8CC;
  --bg: #F0F8FB;
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  
  --text: #14141c;
  --surface: #ffffff;
  --surface-2: #f1f1f7;
  --muted: #6a6a7b;
  --border: #e7e7ef;
  --radius-1: 10px;
  --radius-2: 16px;
  --radius-3: 22px;
  --shadow-1: 0 1px 2px rgba(20, 20, 40, .06);
  --shadow-2: 0 1px 2px rgba(20, 20, 40, .06), 0 10px 24px rgba(20, 20, 40, .08);
  --shadow-3: 0 2px 4px rgba(20, 20, 40, .06), 0 24px 60px rgba(20, 20, 40, .14);
  --container: 1160px;
  
  --transition: 200ms ease-out;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', 'Georgia', serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h1 em, h2 em {
  font-style: italic;
  color: var(--accent);
}

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo a {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand);
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-weight: 400;
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--grad);
  color: white;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 107, 125, 0.3);
}

.btn-header {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-ghost:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.hero {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--surface-2);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--border);
}

.stats-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-card {
  padding: 2rem 1rem;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--brand);
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap var(--transition);
}

.card-link:hover {
  text-decoration: underline;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--brand-2));
  color: white;
  border-radius: var(--radius-2);
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
}

.partner-logo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  transition: all var(--transition);
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-1);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.partner-logo:hover img {
  opacity: 1;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  font-weight: 500;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-section {
  background: linear-gradient(135deg, rgba(0, 107, 125, 0.05) 0%, rgba(0, 140, 163, 0.05) 100%);
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  text-align: center;
}

.cta-card h2 {
  margin-bottom: 1rem;
}

.cta-card > p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
}

/* Анимация появления при скролле */
html.js [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Плавающая анимация для карточек */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.service-card:hover,
.benefit-card:hover {
  animation: float 2s ease-in-out infinite;
}

/* Пульсация иконок */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 204, 0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(0, 168, 204, 0); }
}

.benefit-icon {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* Градиентная анимация фона статистики */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.stats-section {
  background: linear-gradient(270deg, #ffffff, #f0f8fb, #ffffff);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

/* Появление цифр статистики */
html.js .stat-number {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.js .stat-number.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Волновой эффект для партнёров */
.partner-logo {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.partners-grid:hover .partner-logo {
  opacity: 0.5;
}

.partners-grid .partner-logo:hover {
  opacity: 1;
  transform: scale(1.15) rotate(2deg);
}

/* Эффект печатной машинки для hero */
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Parallax для hero-image */
@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    transition: transform 0.3s ease-out;
  }
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}

.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: white;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-col a {
  transition: color var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
}

.page-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 2rem;
  text-align: center;
}

.page-intro {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 700px;
  margin: 1rem auto 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  margin-bottom: 2rem;
  transition: all var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-2);
}

.service-detail-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.service-detail-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-detail-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--brand);
}

.service-detail-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.btn-service {
  padding: 0.65rem 1.75rem;
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}

.mission-card {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  text-align: center;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text);
  margin-top: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  text-align: center;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  padding: 1.5rem 1rem 0.5rem;
  font-size: 1.1rem;
}

.team-position {
  padding: 0 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.certificate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.certificate-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-2);
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--surface-2);
}

.certificate-card p {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.cases-grid {
  display: grid;
  gap: 3rem;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  overflow: hidden;
  transition: all var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-2);
}

.case-image {
  background: var(--surface-2);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-content {
  padding: 2rem;
}

.case-content h3 {
  margin-bottom: 1.5rem;
  color: var(--brand);
}

.case-detail {
  margin-bottom: 1.5rem;
}

.case-detail h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.case-detail p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-block {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
}

.contact-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

.contact-block p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-detail {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-block a {
  color: var(--accent);
  transition: color var(--transition);
}

.contact-block a:hover {
  color: var(--brand);
}

.map-container {
  border-radius: var(--radius-3);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}

.form-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
}

.form-intro {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  margin-top: 2rem;
}

.success-message,
.error-message {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-2);
  margin-bottom: 2rem;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
}

.success-message svg {
  margin: 0 auto 1rem;
  color: #22c55e;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #15803d;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    gap: 1rem;
  }
  
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .burger {
    display: flex;
  }
  
  .burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .btn-header {
    display: none;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn,
  .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .service-detail-number {
    font-size: 2rem;
  }
  
  .service-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-card {
    grid-template-columns: 1fr;
  }
  
  .case-image {
    aspect-ratio: 16/9;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
  
  .form-card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Стили для блоков, оставшихся без оформления --- */
/* Benefits Section */
.benefits-section {
  background: var(--bg, #F7F4EF);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6, 32px);
  margin-top: var(--space-7, 48px);
}

.benefit-card {
  background: var(--surface, #FBF9F5);
  padding: var(--space-6, 32px);
  border-radius: var(--radius-2, 12px);
  border: 1px solid var(--border, #E7E1D7);
  transition: transform 0.2s var(--ease-out, ease-out), box-shadow 0.2s var(--ease-out, ease-out);
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2, 0 4px 12px rgba(0,0,0,0.08));
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand, #C4612F);
  color: white;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: var(--space-4, 20px);
}

.benefit-card h3 {
  font-size: var(--step-1, 1.2rem);
  font-weight: 600;
  margin-bottom: var(--space-3, 12px);
  color: var(--text, #1F2421);
}

.benefit-card p {
  font-size: var(--step-0, 1rem);
  line-height: 1.6;
  color: var(--muted, #5C635D);
}

/* Partners Section */
.partners-section {
  background: var(--surface, #FBF9F5);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5, 24px);
  margin-top: var(--space-7, 48px);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5, 24px);
  background: white;
  border: 1px solid var(--border, #E7E1D7);
  border-radius: var(--radius-2, 12px);
  transition: transform 0.2s var(--ease-out, ease-out);
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.2s var(--ease-out, ease-out);
}

.partner-logo:hover img {
  opacity: 1;
}

/* Services Section */
.services-section {
  background: var(--surface-2, #FFFFFF);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6, 32px);
  margin-top: var(--space-7, 48px);
}

.service-card {
  background: var(--surface, #FBF9F5);
  padding: var(--space-6, 32px);
  border-radius: var(--radius-2, 12px);
  border: 1px solid var(--border, #E7E1D7);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ease-out, ease-out), transform 0.2s var(--ease-out, ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-2, 0 4px 12px rgba(0,0,0,0.08));
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: var(--step-1, 1.2rem);
  font-weight: 600;
  margin-bottom: var(--space-3, 12px);
  color: var(--text, #1F2421);
}

.service-card p {
  font-size: var(--step-0, 1rem);
  line-height: 1.6;
  color: var(--muted, #5C635D);
  margin-bottom: var(--space-4, 20px);
  flex-grow: 1;
}

.card-link {
  color: var(--brand, #C4612F);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease-out, ease-out);
}

.card-link:hover {
  color: var(--brand-2, #A94E22);
}

/* Testimonial Section */
.testimonial-section {
  background: var(--brand, #C4612F);
  color: white;
}

.testimonial-section .container {
  max-width: 800px;
}

.testimonial-content {
  text-align: center;
  padding: var(--space-8, 64px) 0;
}

.testimonial-quote {
  font-size: var(--step-2, 1.5rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-5, 24px);
}

.testimonial-author {
  font-size: var(--step-0, 1rem);
  font-weight: 500;
  opacity: 0.9;
}

.testimonial-position {
  font-size: var(--step--1, 0.875rem);
  opacity: 0.75;
  margin-top: var(--space-2, 8px);
}

/* About Content */
.about-content {
  background: var(--surface-2, #FFFFFF);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8, 64px);
  align-items: center;
}

.about-text h2 {
  font-size: var(--step-3, 2rem);
  margin-bottom: var(--space-5, 24px);
  color: var(--text, #1F2421);
}

.about-text p {
  font-size: var(--step-0, 1rem);
  line-height: 1.7;
  color: var(--muted, #5C635D);
  margin-bottom: var(--space-4, 20px);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  border-radius: var(--radius-2, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-3, 0 8px 24px rgba(0,0,0,0.12));
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6, 32px);
  }
}

/* Certificates Section */
.certificates-section {
  background: var(--bg, #F7F4EF);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6, 32px);
  margin-top: var(--space-7, 48px);
}

.certificate-card {
  background: white;
  border-radius: var(--radius-2, 12px);
  overflow: hidden;
  border: 1px solid var(--border, #E7E1D7);
  transition: transform 0.2s var(--ease-out, ease-out), box-shadow 0.2s var(--ease-out, ease-out);
}

.certificate-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2, 0 4px 12px rgba(0,0,0,0.08));
}

.certificate-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.certificate-card p {
  padding: var(--space-4, 20px);
  font-size: var(--step-0, 1rem);
  font-weight: 500;
  color: var(--text, #1F2421);
  text-align: center;
}

/* Team Section */
.team-section {
  background: var(--surface-2, #FFFFFF);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6, 32px);
  margin-top: var(--space-7, 48px);
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-4, 20px);
  border-radius: var(--radius-pill, 999px);
  overflow: hidden;
  border: 3px solid var(--border, #E7E1D7);
  transition: transform 0.2s var(--ease-out, ease-out), border-color 0.2s var(--ease-out, ease-out);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
  border-color: var(--brand, #C4612F);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: var(--step-1, 1.2rem);
  font-weight: 600;
  margin-bottom: var(--space-2, 8px);
  color: var(--text, #1F2421);
}

.team-position {
  font-size: var(--step-0, 1rem);
  color: var(--muted, #5C635D);
}

/* Cases Section */
.cases-section {
  background: var(--bg, #F7F4EF);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-7, 48px);
  margin-top: var(--space-7, 48px);
}

.case-card {
  /* Карточка сверху-вниз: общее правило выше ставит фото колонкой сбоку. */
  display: block;
  background: white;
  border-radius: var(--radius-2, 12px);
  overflow: hidden;
  border: 1px solid var(--border, #E7E1D7);
  transition: box-shadow 0.2s var(--ease-out, ease-out), transform 0.2s var(--ease-out, ease-out);
}

.case-card:hover {
  box-shadow: var(--shadow-3, 0 8px 24px rgba(0,0,0,0.12));
  transform: translateY(-3px);
}

.case-image {
  height: 240px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-content {
  padding: var(--space-6, 32px);
}

.case-content h3 {
  font-size: var(--step-2, 1.5rem);
  font-weight: 600;
  margin-bottom: var(--space-5, 24px);
  color: var(--text, #1F2421);
}

.case-detail {
  margin-bottom: var(--space-4, 20px);
}

.case-detail:last-child {
  margin-bottom: 0;
}

.case-detail h4 {
  font-size: var(--step--1, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand, #C4612F);
  margin-bottom: var(--space-2, 8px);
}

.case-detail p {
  font-size: var(--step-0, 1rem);
  line-height: 1.6;
  color: var(--muted, #5C635D);
}

/* Contacts Section */
.contacts-section {
  background: var(--surface-2, #FFFFFF);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6, 32px);
  margin-top: var(--space-6, 32px);
}

.contact-block {
  background: var(--surface, #FBF9F5);
  padding: var(--space-5, 24px);
  border-radius: var(--radius-2, 12px);
  border: 1px solid var(--border, #E7E1D7);
}

.contact-block h3 {
  font-size: var(--step-1, 1.2rem);
  font-weight: 600;
  margin-bottom: var(--space-3, 12px);
  color: var(--text, #1F2421);
}

.contact-block p {
  font-size: var(--step-0, 1rem);
  line-height: 1.6;
  color: var(--muted, #5C635D);
  margin-bottom: var(--space-2, 8px);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-block a {
  color: var(--brand, #C4612F);
  text-decoration: none;
  transition: color 0.2s var(--ease-out, ease-out);
}

.contact-block a:hover {
  color: var(--brand-2, #A94E22);
  text-decoration: underline;
}

.contact-detail {
  font-size: var(--step--1, 0.875rem);
  color: var(--muted, #5C635D);
  margin-top: var(--space-2, 8px);
}

/* Form Section */
.form-section {
  background: var(--bg, #F7F4EF);
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  padding: var(--space-7, 48px);
  border-radius: var(--radius-3, 16px);
  border: 1px solid var(--border, #E7E1D7);
  box-shadow: var(--shadow-2, 0 4px 12px rgba(0,0,0,0.08));
}

.form-card h2 {
  font-size: var(--step-3, 2rem);
  margin-bottom: var(--space-3, 12px);
  color: var(--text, #1F2421);
  text-align: center;
}

.form-intro {
  font-size: var(--step-0, 1rem);
  color: var(--muted, #5C635D);
  text-align: center;
  margin-bottom: var(--space-6, 32px);
}

.contact-form,
.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 20px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4, 20px);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: var(--step--1, 0.875rem);
  font-weight: 500;
  color: var(--text, #1F2421);
  margin-bottom: var(--space-2, 8px);
}

.form-group input,
.form-group textarea {
  padding: var(--space-3, 12px) var(--space-4, 16px);
  font-size: var(--step-0, 1rem);
  border: 1px solid var(--border, #E7E1D7);
  border-radius: var(--radius-1, 8px);
  background: var(--surface, #FBF9F5);
  transition: border-color 0.2s var(--ease-out, ease-out), box-shadow 0.2s var(--ease-out, ease-out);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand, #C4612F);
  box-shadow: 0 0 0 3px rgba(196, 97, 47, 0.1);
}

.btn-full {
  width: 100%;
}

.form-note {
  font-size: var(--step--1, 0.875rem);
  color: var(--muted, #5C635D);
  text-align: center;
  margin-top: var(--space-2, 8px);
}

.success-message {
  text-align: center;
  padding: var(--space-7, 48px) var(--space-5, 24px);
}

.success-message svg {
  color: var(--brand, #C4612F);
  margin-bottom: var(--space-4, 20px);
}

.success-message h3 {
  font-size: var(--step-2, 1.5rem);
  color: var(--text, #1F2421);
  margin-bottom: var(--space-3, 12px);
}

.success-message p {
  font-size: var(--step-0, 1rem);
  color: var(--muted, #5C635D);
}

.error-message {
  background: #FEE;
  color: #C33;
  padding: var(--space-4, 20px);
  border-radius: var(--radius-1, 8px);
  margin-bottom: var(--space-5, 24px);
  text-align: center;
}

/* Map Section */
.map-section {
  background: var(--surface-2, #FFFFFF);
  padding: 0;
}

.map-section .container {
  padding: 0;
  max-width: 100%;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-3, 16px);
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-card {
    padding: var(--space-5, 24px);
  }
  
  .map-container {
    border-radius: 0;
  }
}

/* --- Недостающие дизайн-токены (значения из theme.css платформы) --- */
:root{
  --font-sans: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: var(--step-0, clamp(1rem, .96rem + .2vw, 1.125rem));
  --line-height: 1.6;
}
