/* Contact Header */
.contact-header {
  text-align: center;
  margin: 40px 0 30px;
  padding: 30px 15px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .contact-header {
    margin: 30px 0 20px;
    padding: 25px 10px;
  }
}

.contact-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  position: relative;
  display: inline-block;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 576px) {
  .contact-header h1 {
    font-size: 1.85rem;
    max-width: 100%;
  }
}

.contact-header h1:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: white; /* Добавлено отсутствующее свойство */
  border-radius: 2px;
}

.contact-header p {
  opacity: 0.9;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-top: 15px;
  padding: 0 10px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .contact-grid {
    gap: 15px;
    margin-bottom: 40px;
  }
}

/* Contact Sections */
.contact-section {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  .contact-section {
    padding: 20px 15px;
  }
}

.contact-title {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
}

.contact-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .contact-item {
    flex-direction: column;
    margin-bottom: 25px;
  }
}

.contact1-icon {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-right: 15px;
  min-width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 85, 245, 0.1);
}

@media (max-width: 576px) {
  .contact1-icon {
    margin-right: 0;
    margin-bottom: 10px;
    min-width: 40px;
    height: 40px;
  }
}

.contact-text h3 {
  margin: 0 0 8px 0;
  color: var(--primary);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.contact-text p,
.contact-text a {
  margin: 0;
  color: var(--dark);
  text-decoration: none;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 400;
  word-break: break-word;
}

.contact-text a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Map Container */
.map-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-map {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 300px;
  margin-bottom: 15px;
}

@media (max-width: 576px) {
  .contact-map {
    min-height: 250px;
    margin-bottom: 10px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Map Buttons */
.map-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .map-buttons {
    grid-template-columns: 1fr;
  }
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-align: center;
  color: white;
}

.map-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.map-btn i {
  margin-right: 6px;
  font-size: 1rem;
}

.google-btn { background: linear-gradient(135deg, #4285F4, #34A853); }
.yandex-btn { background: linear-gradient(135deg, #FF0000, #FF5252); }
.gis-btn { background: linear-gradient(135deg, #30b170, #3cc180); }

/* Business Hours */
.business-hours p {
  margin: 5px 0;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Callback Form Section */
.callback-form-container {
  max-width: min(1250px, 95%);
  margin: 0 auto;
  background: white;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .callback-form-container {
    padding: 20px;
    margin-bottom: 30px;
  }

.contact-text p,
.contact-text a {
  line-height: 1.5;
}
}

@media (max-width: 576px) {
  .callback-form-container {
    padding: 15px;
    margin-bottom: 25px;
  }
}

.repair-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.repair-form .form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px 18px 12px 45px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: clamp(0.95rem, 2vw, 1rem);
  transition: var(--transition);
  background-color: #f9f9f9;
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 18px;
}

@media (max-width: 576px) {
  .form-control {
    padding: 10px 15px 10px 40px;
    background-position: 12px center;
    background-size: 16px;
  }
}

input[name="client_name"] {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232c3e50"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

input[name="client_phone"] {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232c3e50"><path d="M20 15.5c-1.2 0-2.5-.2-3.6-.6h-.3c-.3 0-.5.1-.7.3l-2.2 2.2c-2.8-1.5-5.2-3.8-6.6-6.6l2.2-2.2c.4-.4.6-.9.3-1.4v-.3C8.7 6.5 8.5 5 8.5 4c0-.5-.5-1-1-1H4c-.5 0-1 .5-1 1 0 9.4 7.6 17 17 17 .5 0 1-.5 1-1v-3.5c0-.5-.5-1-1-1z"/></svg>');
}

select.form-control {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232c3e50"><path d="M7 10l5 5 5-5z"/></svg>');
  appearance: none;
  padding-right: 35px;
}

textarea.form-control {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232c3e50"><path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"/></svg>');
  min-height: 100px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background-color: white;
}

.callback-form-container .submit-btn {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-size: clamp(0.95rem, 2vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.callback-form-container .submit-btn:hover {
  background-color: #1b49e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.form-footer {
  margin-top: 12px;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: var(--gray);
  text-align: center;
  line-height: 1.5;
}

.form-footer a {
  color: var(--secondary);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}
/* Страница «О нас» — макет в духе корпоративного «О компании» */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-about-life {
  background: var(--page-canvas);
}

body.page-about-life main {
  padding: 14px 0 34px;
}

body.page-about-life .site-breadcrumb {
  margin: 6px 0 12px;
}

.about-life-hero-wrap {
  padding: 0 0 clamp(36px, 4.5vw, 52px);
}

.about-life-hero {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 38%);
  gap: clamp(20px, 3.5vw, 34px);
  align-items: center;
  background: #fff;
  border: 1px solid var(--hero-card-border);
  border-radius: 16px;
  padding: clamp(22px, 3.5vw, 34px) clamp(18px, 3vw, 34px);
  box-shadow: var(--hero-card-shadow);
}

.about-life-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.18;
}

.about-life-hero__p {
  margin: 0 0 12px;
  font-size: clamp(0.94rem, 1.45vw, 1rem);
  line-height: 1.55;
  color: var(--text-muted-strong);
  max-width: 42rem;
}

.about-life-hero__p:last-of-type {
  margin-bottom: 18px;
}

.about-life-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(34, 85, 245, 0.28);
}

.about-life-hero__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(34, 85, 245, 0.35);
}

.about-life-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.about-life-hero__deco {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
}

.about-life-deco {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(145deg, #2255f5 0%, #4b7cff 45%, #00a2ff 100%);
  box-shadow: 0 20px 50px rgba(34, 85, 245, 0.35);
}

.about-life-deco--1 {
  width: 58%;
  height: 72%;
  left: 8%;
  top: 10%;
  transform: rotate(-8deg);
  opacity: 0.95;
}

.about-life-deco--2 {
  width: 48%;
  height: 48%;
  right: 6%;
  bottom: 8%;
  transform: rotate(12deg);
  background: linear-gradient(160deg, #00a2ff, #2255f5);
  opacity: 0.88;
}

.about-life-deco--3 {
  width: 32%;
  height: 32%;
  right: 28%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #7aa2ff, #2255f5);
  opacity: 0.75;
}

.about-life-hub-section {
  padding: 0 0 clamp(36px, 4.5vw, 52px);
}

.about-life-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-life-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  padding: 18px 18px 16px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft-card);
  border: 1px solid var(--surface-border);
  transition: var(--transition-smooth);
}

.about-life-hub-card:hover {
  border-color: rgba(34, 85, 245, 0.35);
  box-shadow: 0 10px 24px rgba(34, 85, 245, 0.1);
  transform: translateY(-1px);
}

.about-life-hub-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  padding-right: 40px;
}

.about-life-hub-card__go {
  align-self: flex-start;
  width: 40px;
  height: 40px;
  margin-top: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ecf5;
  color: var(--primary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.about-life-hub-card:hover .about-life-hub-card__go {
  background: var(--secondary);
  color: #fff;
}

.about-life-workflow {
  padding: 0 0 clamp(36px, 4.5vw, 52px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.about-life-workflow__heading {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--primary);
}

.about-workflow-wrap {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft-card);
  padding: clamp(20px, 3vw, 30px);
}

.about-workflow-intro {
  max-width: 42rem;
  margin-bottom: clamp(18px, 3vw, 24px);
}

.about-workflow-sub {
  margin: 0;
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  line-height: 1.55;
  color: var(--gray);
}

.about-workflow-grid {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.about-workflow-grid__cell {
  display: block;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.about-workflow-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 16px;
  background: #f8faff;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 3px 10px rgba(25, 25, 50, 0.04);
  transition: var(--transition-smooth);
}

.about-workflow-card:hover {
  border-color: rgba(34, 85, 245, 0.28);
  box-shadow: 0 8px 18px rgba(34, 85, 245, 0.08);
  transform: translateY(-1px);
}

.about-workflow-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.about-workflow-card__step {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #2255f5 0%, #4b7cff 55%, #00a2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-workflow-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 85, 245, 0.1);
  color: var(--secondary);
  font-size: 1.05rem;
}

.about-workflow-card:hover .about-workflow-card__icon {
  background: var(--secondary);
  color: #fff;
}

.about-workflow-card__text {
  margin: 0;
  font-size: clamp(0.88rem, 1.35vw, 0.95rem);
  line-height: 1.55;
  color: #3d3d52;
}

.about-workflow-note {
  max-width: 36rem;
}

@media (max-width: 1024px) {
  .about-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .about-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .about-workflow-grid {
    grid-template-columns: 1fr;
  }
}

.about-narrow {
  max-width: 720px;
}

.about-steps {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  line-height: 1.6;
  color: var(--dark);
}

.about-steps li {
  margin-bottom: 10px;
}

.about-note {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
}

.about-note a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

.about-note a:hover {
  text-decoration: underline;
}

.about-life .about-cta-strip.section {
  padding: 0;
}

.about-cta-strip {
  background: transparent;
  color: #fff;
}

.about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 0;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  box-shadow: 0 8px 22px rgba(25, 25, 50, 0.14);
}

.about-cta-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
}

.about-cta-text {
  margin: 0;
  opacity: 0.92;
  max-width: 520px;
  line-height: 1.5;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.about-cta-actions .btn {
  min-height: 44px;
  min-width: 11.5rem;
  padding: 10px 22px;
  white-space: nowrap;
  box-shadow: none;
}

.about-cta-phone {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
}

.about-cta-phone:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  transform: translateY(-1px);
}

.about-cta-btn {
  background: var(--secondary);
  color: #fff !important;
}

.about-cta-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Подвал страницы «О нас» — три колонки */
.footer.footer--life-about {
  background: #e8ecf4;
  border-top: none;
  border-radius: 0;
  box-shadow: none;
  margin-top: 0;
  padding-top: 2.5rem;
}

.footer.footer--life-about .footer-life-top {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(25, 25, 50, 0.08);
  margin-bottom: 1rem;
}

.footer-life-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin: 0 0 1rem;
}

.footer-life-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-life-nav a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.2rem 0;
  transition: color var(--motion-duration-fast) var(--motion-ease-standard);
}

.footer-life-nav a:hover {
  color: var(--secondary);
}

.footer-life-legal-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.footer-life-legal-row a {
  color: var(--secondary);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-life-legal-row a:hover {
  text-decoration: underline;
}

.footer-life-phone {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-life-phone a {
  color: var(--primary);
  text-decoration: none;
}

.footer-life-phone a:hover {
  color: var(--secondary);
}

.footer-life-mail {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.footer-life-mail a {
  color: var(--gray);
  text-decoration: none;
}

.footer-life-mail a:hover {
  color: var(--secondary);
}

.footer-life-hours {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--gray);
}

.footer-social--life a {
  background: #d8dde8;
  color: var(--primary);
}

.footer-social--life a:hover {
  background: var(--secondary);
  color: #fff;
}

.footer-tax-info--life {
  margin-top: 1rem;
  max-width: 280px;
}

.map-wrapper--life {
  border-radius: 16px;
  margin-bottom: 12px;
}

.footer-life-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--secondary);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
}

.footer-life-cta:hover {
  filter: brightness(1.05);
}

@media (max-width: 1100px) {
  .about-life-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-life-hero {
    grid-template-columns: 1fr;
  }

.about-life-hero__visual {
  order: -1;
  min-height: 180px;
}

.footer.footer--life-about .footer-life-top {
  grid-template-columns: 1fr 1fr;
}

.footer-life-col--map {
  grid-column: 1 / -1;
}
}

@media (max-width: 768px) {
  body.page-about-life main {
    padding: 10px 0 30px;
  }

  .about-life-hero,
  .about-workflow-wrap,
  .about-cta-inner {
    border-radius: 14px;
  }

  .about-life-hero {
    padding: 18px 16px;
  }

  .about-life-hub-card {
    border-radius: 14px;
    min-height: 104px;
  }
}

@media (max-width: 600px) {
  .about-life-hub-grid {
    grid-template-columns: 1fr;
  }

.footer.footer--life-about .footer-life-top {
  grid-template-columns: 1fr;
}
}

/* Исправление для карты на очень маленьких экранах */
@media (max-width: 400px) {
  .contact-map {
    width: 100%;
    margin-left: 0;
  }

.map-buttons-container {
  width: 100%;
  margin-left: 0;
}

.map-buttons {
  padding: 0 15px;
}
}

@media (prefers-reduced-motion: reduce) {
  .about-life-hero__cta,
  .about-life-hub-card,
  .about-workflow-card,
  .footer-life-cta {
    transition: none !important;
  }

  .about-life-hub-card:hover,
  .about-workflow-card:hover,
  .about-life-hero__cta:hover {
    transform: none !important;
  }
}
