/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  color: #36454F;
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== Colors ===== */
:root {
  --primary: #008080;
  --primary-dark: #006666;
  --primary-light: #20B2AA;
  --accent: #3CB371;
  --charcoal: #36454F;
  --warm: #FFEFD5;
  --bg-light: #ecf4f4;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(135deg, #005050, #008080);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.logo-img.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  object-fit: cover;
}

.logo-text {
  color: #E5E4E2;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== 3D Hero Title ===== */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}

.hero-3d {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 5.5rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, #f5f5f0 0%, #e5e4e2 25%, #d0d0ce 50%, #b0b0ae 75%, #9a9a96 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1)) drop-shadow(0 4px 4px rgba(0,0,0,0.15)) drop-shadow(0 8px 8px rgba(0,0,0,0.2));
  line-height: 1.1;
  transform: perspective(800px) rotateX(4deg);
  transition: transform 0.4s ease;
}

.hero-3d:hover {
  transform: perspective(800px) rotateX(8deg) translateY(-4px) scale(1.03);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 70%, rgba(60,179,130,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.25) 0%, transparent 45%),
    linear-gradient(160deg, #0a7a7a 0%, #008080 40%, #d0f0e8 100%);
  z-index: 0;
  overflow: hidden;
}

.hero-bg-wave {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,128,128,0.2);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #005c5c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}



.gradient-text {
  background: linear-gradient(135deg, #26a6a6, #3CB371);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 32px;
  background: linear-gradient(180deg, #ffffff, #DAA520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s ease;
}

.hero-subtitle.slogan-hide {
  opacity: 0;
  transform: translateY(8px);
}

.hero-accent {
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-top: 12px;
  background: linear-gradient(135deg, #d4f0f0, #e8faf0, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #008080, #006666);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,128,128,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,128,128,0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn-sm { padding: 10px 24px; font-size: 13px; }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  background: rgba(0,128,128,0.1);
  color: #008080;
  border: 1px solid rgba(0,128,128,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: #36454F;
  margin-bottom: 40px;
}

/* ===== About ===== */
.about-section {
  background: linear-gradient(140deg, #005858, #007575, #1a9898);
  color: #fff;
}

.competencies-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 24px;
  padding-right: 24px;
}

.about-section .section-label {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.about-section .section-title { color: #fff; }

.about-content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-photo {
  flex-shrink: 0;
  width: 230px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 28px 64px rgba(0,0,0,0.4);
}

.about-img {
  width: 100%;
  height: 307px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-img-rect {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: linear-gradient(135deg, #008080, #20B2AA);
}

.about-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,64,64,0.7), transparent);
  text-align: center;
}

.about-photo-name {
  font-weight: 600;
  font-size: 14px;
}

.about-photo-role {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  text-align: justify;
}

/* ===== Pain Section (Типичные боли) ===== */
.pain-section {
  background: #f0f8f5;
  padding: 100px 0;
}

.pain-section .section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pain-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,128,128,0.12);
}

.pain-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #008080, #3CB371);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: #fff;
}

.pain-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.pain-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.pain-cta {
  text-align: center;
  margin-top: 16px;
}

.pain-cta .btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.pain-cta .btn:hover i {
  transform: translateX(4px);
}

/* ===== Services ===== */
.services-section { background: #fbf5e8; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,128,128,0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0,128,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008080;
  font-size: 20px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #36454F;
}

.service-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* ===== Tariffs ===== */
.tariffs-section { background: #ecf4f4; }

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tariff-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid #e8e8e8;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.tariff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,128,128,0.12);
}

.tariff-card.featured {
  border: 2px solid #008080;
  box-shadow: 0 8px 32px rgba(0,128,128,0.15);
}

.tariff-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #008080, #006666);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tariff-badge {
  display: inline-block;
  background: rgba(0,128,128,0.1);
  color: #008080;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.tariff-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 16px;
}

.tariff-price {
  margin-bottom: 24px;
}

.price-from {
  font-size: 13px;
  color: #999;
}

.price-value {
  font-size: 36px;
  font-weight: 800;
  color: #008080;
  display: block;
  line-height: 1.1;
}

.price-period {
  font-size: 14px;
  color: #999;
}

.tariff-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.tariff-features li {
  padding: 6px 0;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tariff-features li::before {
  content: '✓';
  color: #3CB371;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Calculator ===== */

/* ===== Calculator ===== */
.calculator-section {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.calc-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.calc-form-panel {
  background: #fffcf7;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #f0e8d8;
}

.calc-block {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.calc-btns-grid {
  display: grid;
  gap: 8px;
}

.calc-btns-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.calc-btns-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.calc-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 16px;
  border: 2px solid #e0d8c8;
  border-radius: 14px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  line-height: 1.3;
}

.calc-btn small {
  font-weight: 400;
  font-size: 0.7rem;
  color: #888;
  margin-top: 2px;
}

.calc-btn:hover {
  border-color: #008080;
  background: #f0fafa;
}

.calc-btn.active {
  background: #008080;
  border-color: #008080;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,128,128,0.25);
}

.calc-btn.active small {
  color: rgba(255,255,255,0.7);
}

.calc-btn.disabled {
  background: #f0f0f0;
  border-color: #ddd;
  color: #aaa;
  cursor: not-allowed;
}

.calc-inline-counter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-counter-btn {
  width: 36px;
  height: 36px;
  border: 2px solid #e0d8c8;
  border-radius: 12px;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.calc-counter-btn:hover {
  border-color: #008080;
  background: #f0fafa;
}

.calc-result-panel {
  position: sticky;
  top: 100px;
}

.calc-result-box {
  background: linear-gradient(140deg, #002828 0%, #004848 40%, #008080 100%);
  border-radius: 24px;
  padding: 36px 32px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,199,138,0.15), transparent);
}

.calc-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}

.calc-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #3CB371, #2d9057);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(60,179,113,0.35);
  text-decoration: none;
}

.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(60,179,113,0.45);
}

@media (max-width: 768px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result-panel { position: static; }
  .calc-btns-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #008080;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-item-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 2px;
}

.contact-item a {
  font-size: 15px;
  font-weight: 600;
  color: #36454F;
  transition: color 0.2s;
}

.contact-item a:hover { color: #008080; }

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #f0f0f0;
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #36454F;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #008080;
  box-shadow: 0 0 0 3px rgba(0,128,128,0.1);
}

.contact-form-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 12px;
  text-align: center;
}

/* ===== Contact Form Detailed ===== */
.contact-form-wide {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-detailed {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #f0e8d8;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0e8e0;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #008080;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section-title::before {
  content: '';
  width: 20px;
  height: 1px;
  background: #80c0c0;
}

.form-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e8e0;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #36454F;
  margin-bottom: 8px;
}

.form-field select,
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0d8c8;
  border-radius: 14px;
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  color: #36454F;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  border-color: #008080;
  box-shadow: 0 0 0 4px rgba(0,128,128,0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

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

.form-radio-group {
  display: grid;
  gap: 8px;
}

.form-radio-group.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.form-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid #e0d8c8;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #36454F;
  transition: all 0.2s;
}

.form-radio input {
  display: none;
}

.form-radio:has(input:checked) {
  background: #008080;
  border-color: #008080;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,128,128,0.2);
}

.form-radio:hover {
  border-color: #008080;
  background: #f0fafa;
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .form-radio-group.cols-4 { grid-template-columns: 1fr 1fr; }
  .contact-form-detailed { padding: 24px; }
}

/* ===== Footer ===== */
.footer {
  background: #008080;
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-links a,
.footer-contacts a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #fff;
}

.footer-phone {
  font-size: 16px !important;
  font-weight: 600;
  color: #fff !important;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: #008080;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ===== Floating Buttons ===== */


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #005050;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }

  .about-content { flex-direction: column; }
  .about-photo {
    width: 170px;
    margin: 0 auto;
  }
  .about-img { height: 227px; }

  .services-grid { grid-template-columns: 1fr; }
  .tariffs-grid { grid-template-columns: 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tariffs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Плавающая кнопка Фимы ===== */
.fima-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

.fima-label {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.fima-float {
  width: 70px;
  height: 70px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background: #fff;
  border: 3px solid #008080;
}

.fima-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fima-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0,0,0,0.35);
}