@import url("reset.css");

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
  color: #1d1d1f;
}

.logo img {
  max-height: 3.9rem;
  width: auto;
  display: block;
}

.logo__text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0071e3;
  letter-spacing: -0.01em;
  text-align: center;
}

.logo__tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: #86868b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
  text-align: center;
}

.logo:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  color: #1d1d1f;
  background-color: #f5f5f7;
  line-height: 1.47059;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.022em;
  max-width: 100%;
  overflow-x: hidden;
}

[class*="__container"] {
  max-width: 72.624rem;
  margin: 0 auto;
  padding: 0 0.938rem;
}

.button {
  font-weight: 500;
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  background: linear-gradient(90deg, #0077ed 0%, #0060cc 25%, #0071e3 50%, #005bb3 75%, #0077ed 100%);
  background-size: 300% 100%;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
  overflow: hidden;
  animation: gradientShift 5s ease-in-out infinite;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.title {
  font-size: 3.5rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
}

/* ************HEADER************ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  flex-wrap: wrap;
  max-width: 74.624rem;
}

.header__logo {
  position: relative;
  z-index: 2;
}

.header__phone {
  font-weight: 400;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.header__phone:hover {
  color: #0071e3;
}

.header__navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__link {
  font-weight: 400;
  position: relative;
  color: #1d1d1f;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.menu__link:hover {
  color: rgba(0, 0, 0, 0.6);
}

.menu__link.active {
  opacity: 0.7;
  font-weight: 500;
  position: relative;
}

.menu__link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 227, 0.0), rgba(0, 113, 227, 0.65), rgba(0, 113, 227, 0.0));
}

.actions-header {
  display: flex;
  align-items: center;
  gap: 0.624rem;
}

.icon-menu {
  display: none;
}

.menu__buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu__button-cta {
  font-weight: 400;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  color: #ffffff;
  background: linear-gradient(90deg, #0077ed 0%, #0060cc 25%, #0071e3 50%, #005bb3 75%, #0077ed 100%);
  background-size: 300% 100%;
  border: none;
  font-size: 12px;
  letter-spacing: -0.01em;
  overflow: hidden;
  animation: gradientShift 5s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

.menu__button-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.4);
}

@keyframes gradientShift {
  0% {
    background-position: 200% 0%;
  }
  100% {
    background-position: -100% 0%;
  }
}

.menu__button-text {
  font-weight: 400;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
  border: none;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.menu__button-text:hover {
  background: rgba(0, 113, 227, 0.12);
  transform: translateY(-1px);
}

.header-phone-link,
.header-sms-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-phone-link svg,
.header-sms-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* Hide menu actions on desktop */
.menu-actions {
  display: none;
}

@media (max-width: 767.999rem) {
  /* Hide phone number in header on mobile */
  .header__phone {
    display: none;
  }
}

/* ****************PAGES**************** */
.page__main {
  padding-bottom: 160px;
}

/* *****************HOME**************** */

.apple-hero {
  position: relative;
  min-height: clamp(520px, 70vh, 680px);
    display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 4.6rem;
}

.apple-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.apple-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 250, 252, 0.35) 0%, rgba(245, 245, 247, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  opacity: 0;
  transition: opacity 0.18s ease-out;
  background: #f3f4f6;
}

.hero-bg.is-loaded {
  opacity: 1;
}

@media (min-width: 900px) {
  .hero-bg {
    object-position: center 30%;
  }
}

.main__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  max-width: 980px;
  margin: 0 auto;
}

.main__caption {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.main__title {
  font-size: 44px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1d1d1f;
  letter-spacing: -0.015em;
  line-height: 1.07143;
}

.main__text {
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.47059;
  letter-spacing: 0em;
  color: #86868b;
  font-size: 21px;
  font-weight: 400;
}

.main__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.main__button {
  font-weight: 400;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 22px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
  background-color: #0071e3;
  letter-spacing: -0.016em;
  font-size: 17px;
  line-height: 1.17647;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.main__button:hover {
  background-color: #0077ed;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main__link {
  font-weight: 400;
  display: inline-block;
  color: #0071e3;
  font-size: 17px;
  line-height: 1.17647;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main__link:hover {
  color: #0051d5;
}

.benefits {
  background: radial-gradient(circle at top, #f5f5f7 0%, #e9eaec 100%);
  padding: 4rem 2rem;
}

.benefits__container {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.benefits__item {
  text-align: center;
}

.benefits__title {
  font-size: 21px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  letter-spacing: -0.016em;
  line-height: 1.381;
}

.benefits__text {
  font-size: 17px;
  font-weight: 400;
  color: #86868b;
  letter-spacing: -0.022em;
  line-height: 1.47059;
}

/* Fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.outro_home {
  background: url("../Website-Images/Home/CTA.jpeg") center / cover no-repeat;
}

/* ************ABOUT**************** */

.about-hero {
  padding: 144px 0 40px;
  background: linear-gradient(180deg, #f6f7f8 0%, #eceef0 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-hero .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.eyebrow {
  letter-spacing: 0.22em;
  font-size: 12px;
  color: #6e6e73;
  margin: 0 0 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.about-hero h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #1d1d1f;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-weight: 600;
}

.about-hero h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1d1d1f 40%, #1d1d1f 60%, transparent);
  opacity: 0.25;
  border-radius: 2px;
}

.subhead {
  max-width: 780px;
  margin: 8px auto 18px;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.65;
  color: #515154;
}

.chips {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.chips li {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}

/* Fade-in animation for hero (About + other hero sections) */
.about-hero .eyebrow,
.about-hero h1,
.about-hero .subhead,
.about-hero .chips li,
.apple-hero .main__title,
.apple-hero .main__text,
.svc-hero h1,
.svc-hero .sub,
.hero-contact h1,
.hero-contact .sub {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.6s ease;
}

.about-hero .visible,
.apple-hero .visible,
.svc-hero .visible,
.hero-contact .visible {
  opacity: 1;
  transform: none;
}

.about-section {
  background: linear-gradient(180deg, #f6f7f8 0%, #e9eaec 100%);
}

.about-intro {
  padding: 40px 0 24px;
}

.about-intro__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

.about-intro__container p {
  font-size: 17px;
  line-height: 1.7;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
}

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

.about-values-section {
  background: linear-gradient(180deg, #f6f7f8 0%, #e9eaec 100%);
  padding: 6rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-section {
  background: linear-gradient(180deg, #f6f7f8 0%, #e9eaec 100%);
  padding: 2rem;
}

.trust-section .trust-strip {
  margin: 0 auto;
}

.about-values-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.value {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #1d1d1f;
  opacity: 0.85;
  margin-top: 2px;
}

.value__content {
  flex: 1;
}

.value h3 {
  font-size: 21px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 6px;
  letter-spacing: -0.016em;
}

.value p {
  font-size: 17px;
  line-height: 1.6;
  color: #515154;
  margin: 6px 0 0;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.trust-strip {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 12px 16px;
  max-width: 980px;
  margin: 0 auto;
}

.trust-strip ul {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #1d1d1f;
}

.trust-strip li {
  position: relative;
  padding-left: 20px;
}

.trust-strip li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
}

.meet-owner-section {
  background: linear-gradient(180deg, #f6f7f8 0%, #e9eaec 100%);
  padding: 6rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.meet-owner__container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.owner-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.owner-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 8px;
  letter-spacing: -0.016em;
}

.owner-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.fine {
  color: #6e6e73;
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 0;
}

.about-cta-section {
  background: linear-gradient(180deg, #f6f7f8 0%, #e9eaec 100%);
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.about-cta__container {
  max-width: 900px;
  margin: 0 auto;
}

.about-cta__container h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-cta__container p {
  font-size: 17px;
  line-height: 1.6;
  color: #515154;
  margin-bottom: 2rem;
}

.about-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-lg {
  font-size: 17px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #1d1d1f;
  color: #1d1d1f;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn:not(.btn-ghost) {
  background: linear-gradient(90deg, #0077ed 0%, #0060cc 25%, #0071e3 50%, #005bb3 75%, #0077ed 100%);
  background-size: 300% 100%;
  color: #fff;
  animation: gradientShift 5s ease-in-out infinite;
}

.btn:not(.btn-ghost):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.25);
}

.about__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.about__image {
  position: relative;
  max-width: 552px;
  height: 614px;
}

.about__image img {
  border-radius: 20px;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about__title {
  margin-bottom: 1.5rem;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-size: 3rem; /* ~15% smaller than base .title (3.5rem) */
}

.about__text {
  max-width: 30rem;
  letter-spacing: 0;
  line-height: 1.6;
  margin-bottom: 3.5rem;
  color: #86868b;
  font-size: 1.1rem;
}

.about__text p:not(:last-child) {
  margin-bottom: 2.5rem;
}

.outro_about {
  background: url("../Website-Images/About/CTA.jpg") center / cover no-repeat;
}

/* **************SERVICES**************** */

.main_services {
  background: url("../Website-Images/Services/Services-Hero-Transparent.jpg") center / cover no-repeat;
}

.services {
  background: radial-gradient(circle at top, #f5f5f7 0%, #e9eaec 100%);
  padding: 4rem 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

.services__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.services__title {
  text-align: center;
  margin-bottom: 5rem;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  font-size: 3rem; /* ~15% smaller than base .title (3.5rem) */
}

.services__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.item-services {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 100%;
}

.item-services__image {
  margin-bottom: 2rem;
  max-width: 360px;
  height: 421px;
}

.item-services__image img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.item-services__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.item-services__text {
  max-width: 21.5rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
  letter-spacing: 0;
  color: #86868b;
}

.item-services__button {
  background: transparent;
  border: none;
  color: #0071e3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  padding: 0;
  font-weight: 400;
}

.item-services__button:hover {
  text-decoration: none;
  opacity: 0.8;
}

.outro_services {
  background: url("../Website-Images/Services/CTA.jpg") center / cover no-repeat;
}

/* ************TESTIMONIAL**************** */

.page__testimonial {
  background: radial-gradient(circle at top, #f5f5f7 0%, #e9eaec 100%);
}

.testimonial {
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.05);
}

.testimonial__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
}

.testiomonial__caption {
  margin-bottom: 4rem;
  font-weight: 600;
  text-transform: uppercase;
}

.testimonial__title {
  margin-bottom: 4rem;
  font-size: 2rem;
  max-width: 40.75rem;
  line-height: 1.4;
  font-weight: 400;
  color: #1d1d1f;
  letter-spacing: -0.015em;
}

.item-testimonial__image {
  max-width: 64px;
  margin: 0 auto;
  margin-bottom: 1.063rem;
  height: 64px;
}

.item-testimonial__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.item-testimonial__title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #1d1d1f;
}

.item-testimonial__caption {
  color: #86868b;
  font-size: 0.938rem;
}

/* ****************OUTRO**************** */

.outro__container {
  padding-top: 8.75rem;
  padding-bottom: 8.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.outro__title {
  margin-bottom: 1.25rem;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.outro__text {
  max-width: 33.625rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  letter-spacing: 0;
  color: #1d1d1f;
  font-size: 1.15rem;
  font-weight: 500;
}

.outro__button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.25);
}

.outro__button:hover {
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35);
}

/* ****************FOOTER**************** */

.footer {
  line-height: 150%;
  background-color: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__container {
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: 74.624rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__policy {
  font-weight: 400;
  letter-spacing: 0;
  justify-self: start;
  color: #86868b;
  font-size: 0.875rem;
}

.footer__logo {
  justify-self: center;
}

.footer__copyright {
  font-weight: 400;
  letter-spacing: 0;
  justify-self: end;
  color: #86868b;
  font-size: 0.875rem;
}

/* ****************ABOUT PAGE**************** */
.main__text_pages {
  max-width: 37.5rem;
}

.main__container_pages {
  padding-top: 300px;
}

.main_pages {
  min-height: 676px !important;
}

/* ****************SERVICES PAGE**************** */
.services-page__container {
  padding-top: 160px;
}

.services-page__item {
  margin-bottom: 132px;
}

.services-page__item:not(:last-child) {
  padding-bottom: 132px;
  margin-bottom: 132px;
  border-bottom: 1px solid rgba(48, 58, 77, 0.4);
}

.services-page__column {
  display: flex;
  align-items: center;
  gap: 97px;
}

.services-page__title {
  margin-bottom: 24px;
}

.services-page__text {
  margin-bottom: 56px;
  max-width: 480px;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.services-page__text p:not(:last-child) {
  margin-bottom: 20px;
}

.services-page__img {
  max-width: 552px;
  height: 614px;
}

.services-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************CONTACT PAGE****************/

.main_contact {
  background: url("../Website-Images/Contact/Contact-Hero-Transparent.jpg") center / cover no-repeat;
}

.contact__container {
  display: flex;
  justify-content: space-between;
  gap: 109px;
  padding-top: 140px;
  padding-bottom: 140px;
}

.contact__title {
  margin-bottom: 48px;
  font-weight: 600;
  line-height: 110%;
  font-size: 40px;
}

.connect-contact {
  display: flex;
  flex-direction: column;
  align-items: start;
  row-gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e1e4eb;
}

.connect-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.connect-contant__type {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 110%;
  text-transform: uppercase;
}

.connect-contact__label {
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.02em;
}

.contact__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__text {
  max-width: 545px;
  font-size: 18px;
  line-height: 150%;
}

.contact__text p:not(:last-child) {
  margin-bottom: 15px;
}

iframe {
  width: 100%;
  max-width: 100%;
  height: 482px;
  filter: grayscale(100%);
  display: block;
}

/* **************REVIEWS PAGE**************** */
.reviews__container {
  padding-top: 160px;
  padding-bottom: 160px;
}

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

.reviews__column {
  border: 1px solid #e1e4eb;
  border-radius: 8px;
}

.reviews__item {
  padding-top: 48px;
  padding-bottom: 56px;
  padding-right: 32px;
  padding-left: 32px;
}

.item-reviews {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-reviews__img {
  max-width: 46px;
  height: 36px;
  margin: 0 auto;
  margin-bottom: 46px;
}

.item-reviews__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-reviews__text {
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 150%;
}

.item-reviews__author {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.item-reviews__geo {
  font-size: 14px;
  letter-spacing: 0.002em;
}

/* ******************PRICING PAGE******************** */
.pricing__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pricing__caption {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 4%;
}

.pricing__title {
  font-weight: 600;
  font-size: 72px;
  margin-bottom: 24px;
}

.pricing__text {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 88px;
}

.pricing__row {
  display: flex;
  align-items: start;
  gap: 24px;
}

.pricing__column {
  border: 2px solid #e1e4eb;
  border-radius: 8px;
}

.pricing__item {
  padding: 40px;
  padding-bottom: 48px;
}

.item-pricing__info {
  padding-bottom: 32px;
  border-bottom: 1px solid #e1e4eb;
  margin-bottom: 32px;
}

.item-pricing__label {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1%;
  margin-bottom: 16px;
}

.item-pricing__cost {
  font-size: 72px;
  font-weight: 600;
  margin-bottom: 16px;
}

.item-pricing__list {
  margin-bottom: 64px;
}

.item-pricing__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-pricing__item::before {
  content: "";
  background: url("../img/pricing/check.svg") 0 0 no-repeat;
  width: 16px;
  height: 18px;
}

.item-pricing__item:not(:last-child) {
  margin-bottom: 12px;
}

.item-pricing__button {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 2%;
  font-weight: 600;
  color: #fff;
  padding: 20px 82px;
  background-color: #303a4d;
  border-radius: 64px;
}

.team {
  background-color: #e1e4eb;
}

.team__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team__title {
  text-align: center;
  margin-bottom: 96px;
  max-width: 483px;
}

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

.team__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item-team__img {
  max-width: 360px;
  height: 363px;
  margin-bottom: 40px;
}

.item-team__img img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.item-team__name {
  max-width: 186px;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  margin-bottom: 12px;
}

.item-team__role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
  letter-spacing: 2%;
}

.item-team__role span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-team__role span::after {
  content: "";
  background: url("../img/team/icons/star.svg") 0 0 no-repeat;
  width: 12px;
  height: 12px;
}

.item-team__text {
  font-size: 16px;
  text-align: center;
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 328px;
  margin-bottom: 20px;
}

.item-team__icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* *************FAQ PAGE************** */
.faqs__container {
  padding-top: 140px;
  padding-bottom: 140px;
}

.faqs__title {
  text-align: center;
  margin-bottom: 80px;
}

.spollers-faq__item {
  width: 100%;
}

.spollers-faq__item:not(:last-child) {
  margin-bottom: 24px;
}

.spollers-faq__button {
  display: inline-block;
  border: 2px solid #e1e4eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 8px;
}

.spollers-faq__button span {
  padding-left: 40px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 600;
}

.spollers-faq__button img {
  padding-right: 34.5px;
}

.spollers-faq__text {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  display: block;
}

.spollers-faq__item.active .spollers-faq__text {
  max-height: 1000px;
  max-height: calc(1000px + 16px);
}

.spollers-faq__item.active .spollers-faq__button {
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
}

.spollers-faq__item.active .spollers-faq__button span {
  padding-bottom: 32px;
}

.spollers-faq__item.active .spollers-faq__button img {
  transform: translate(-34px, 0px) rotate(180deg);
}

.spollers-faq__inner {
  padding-top: 20px;
  padding-left: 40px;
  border: 2px solid #e1e4eb;
  border-radius: 0px 0px 8px 8px;
  line-height: 150%;
  padding-bottom: 20px;
  border-top: none;
  padding-right: 100px;
}

/* ****************TEAM PAGE**************** */
.director__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.director__title {
  margin-bottom: 16px;
}

.director__role {
  font-size: 22px;
  letter-spacing: 2%;
  margin-bottom: 40px;
}

.director__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 480px;
}

.director__text p:not(:last-child) {
  margin-bottom: 20px;
}

.director__img {
  max-width: 552px;
  height: 614px;
}

.director__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ****************GALLERY**************** */
.gallery__container {
  padding-bottom: 140px;
  padding-top: 140px;
}

.gallery__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  margin-bottom: 96px;
  justify-items: center;
}

.gallery__item {
  max-width: 360px;
  height: 407px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery__paggination {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

.gallery__paggination button:first-child {
  transform: translate(0px, 5px);
}

.gallery__paggination button:last-child {
  transform: rotate(-180deg) translate(0px, 5px);
}

.gallery_active {
  color: #fff;
  padding: 10px 15px;
  background-color: #303a4d;
  border-radius: 100px;
  display: inline-block;
}

/* ****************RESOURCES**************** */
.resources__container {
  padding-top: 140px;
  padding-bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 96px;
  justify-items: center;
}

.resources__img {
  max-width: 360px;
  height: 330px;
  margin-bottom: 32px;
}

.resources__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.resources__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
}

.resources__text {
  letter-spacing: 2%;
  line-height: 150%;
  max-width: 243px;
  margin-bottom: 32px;
}

.resources__button {
  background-color: #fff;
  color: #303a4d;
  font-weight: 600;
  letter-spacing: 2%;
  border: 2px solid #303a4d;
  border-radius: 64px;
}

/* ************SERVICES PAGE**************** */

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.svc-hero {
  padding: 44px 0 18px;
  background: linear-gradient(180deg, #f6f7f8 0%, #eceef0 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 140px;
  text-align: center;
}

.svc-hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #1d1d1f;
  font-weight: 600;
}

.svc-hero .sub {
  color: #515154;
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: 18px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-cta .sla {
  font-size: 12px;
  color: #6e6e73;
  margin: 2px 0 0;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

.btn {
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-ghost {
  background: #eef2f6;
  border: 1px solid #d7dde5;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: #1a73e8;
}

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

.link {
  color: #0071e3;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 3px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.link:hover {
  color: #0051d5;
}

/* Subnav */
.svc-subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px auto 6px;
}

.svc-subnav a {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  color: #1d1d1f;
  background: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.svc-subnav a:hover {
  background: #f6f7f8;
}

/* Cards grid */
.svc-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 16px auto 8px;
  align-items: flex-start;
}

.svc-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

/* Совместимость: service-card наследует стили от svc-card */
.service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  /* Убедись, что НЕТ fixed height! */
  height: auto !important;
}

.svc-card h2,
.svc-card h3 {
  margin: 2px 0 6px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #1d1d1f;
  font-weight: 600;
}

.svc-card p {
  color: #515154;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.54;
}

.svc-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #515154;
  font-size: 14px;
  line-height: 1.54;
}

.svc-list li {
  margin-bottom: 4px;
}

/* Новые классы для обновленной структуры */
.service-sub {
  color: #515154;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.54;
}

.service-points {
  margin: 0 0 12px;
  padding-left: 18px;
  color: #515154;
  font-size: 14px;
  line-height: 1.54;
}

.service-points li {
  margin-bottom: 4px;
}

.service-cta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.card-actions,
.actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;                /* меньше расстояние между кнопками */
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

/* Кнопки в карточках сервисов */
.services .btn {
  font-size: 14px;         /* было крупнее */
  line-height: 1.2;
  padding: 8px 14px;       /* меньше отступы */
  border-radius: 10px;     /* мягче радиус */
  font-weight: 600;
}

.services .btn-primary {
  background: #2269e2;
  border: 1px solid #1a58bf;
}

.services .btn-primary:hover {
  filter: brightness(0.95);
}

.services .btn-ghost {
  background: #f1f4f7;
  border: 1px solid #e3e7ec;
}

.services .btn-ghost:hover {
  background: #e9eef3;
}

.services .btn-outline {
  background: #f1f4f7;
  border: 1px solid #e3e7ec;
}

.services .btn-outline:hover {
  background: #e9eef3;
}

.svc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
}

.svc-badges span {
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fafafa;
  color: #515154;
}

.scope {
  margin: 8px 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
}

.scope[open] {
  background: #fff;
}

.scope summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1d1d1f;
}

.scope summary::-webkit-details-marker {
  display: none;
}

.scope summary::marker {
  display: none;
}

.scope summary::after {
  content: "▸";
  margin-left: auto;
  opacity: 0.55;
  transition: transform 0.16s ease;
}

.scope[open] summary::after {
  transform: rotate(90deg);
}

.scope summary:hover {
  color: #0071e3;
}

.toggle-scope,
.js-toggle-scope,
.scope-toggle {
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #d5d9dd;
  color: #4b5563;
  transition: all 0.2s ease;
}

.toggle-scope:hover,
.js-toggle-scope:hover,
.scope-toggle:hover {
  background: #f3f4f6;
  border-color: #cbd2d6;
}

.svc-card.open .toggle-scope,
.service-card.open .toggle-scope,
.service-card.is-open .toggle-scope,
.svc-card.open .js-toggle-scope,
.service-card.open .js-toggle-scope,
.service-card.is-open .js-toggle-scope,
.svc-card.open .scope-toggle,
.service-card.open .scope-toggle,
.service-card.is-open .scope-toggle {
  opacity: 0.9;
  transform: none;
}

.svc-card .toggle-scope::after,
.service-card .toggle-scope::after,
.svc-card .js-toggle-scope::after,
.service-card .js-toggle-scope::after,
.svc-card .scope-toggle::after,
.service-card .scope-toggle::after {
  content: " ▾";
  display: inline-block;
  transition: transform 0.2s ease;
}

.svc-card.open .toggle-scope::after,
.service-card.open .toggle-scope::after,
.service-card.is-open .toggle-scope::after,
.svc-card.open .js-toggle-scope::after,
.service-card.open .js-toggle-scope::after,
.service-card.is-open .js-toggle-scope::after,
.svc-card.open .scope-toggle::after,
.service-card.open .scope-toggle::after,
.service-card.is-open .scope-toggle::after {
  content: " ▴";
}

/* Состояние кнопки */
.toggle-scope[aria-expanded="true"]::after,
.js-toggle-scope[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.scope ol {
  padding: 0 14px 12px 28px;
  margin: 0;
  color: #515154;
  line-height: 1.54;
  font-size: 14px;
}

.scope ol li {
  position: relative;
  padding-left: 16px;
  margin: 4px 0;
}

.scope ol li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.2;
  opacity: 0.6;
}

/* Аккордеон внутри карточки сервиса - плавное раскрытие */
.full-scope {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.28s ease;
  border-radius: 12px;
  background: #f8f9fb;
  padding: 0 16px;          /* паддинг будет включаться только когда открыт */
  margin-top: 0.75rem;
}

.service-card.open .full-scope {
  padding: 12px 16px;
}

/* Скрытая панель со списком работ */
.service-card .scope-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  margin-top: 12px;
  background: #f6f8fa;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

/* Содержимое панели */
.scope-panel__inner {
  padding: 14px 16px 16px;      /* немного больше снизу, чтобы не «резало» */
}


.checklist {
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin: 6px 0;
}

/* Типографика пунктов */
.scope-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  margin: 0 0 10px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;              /* единый с основным текстом */
  line-height: 1.45;
}

.scope-list li:last-child {
  margin-bottom: 0;
}

/* Галочка */
.scope-list .check {
  flex: 0 0 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #8bb6ff;
  position: relative;
  margin-top: 2px;
}

.scope-list .check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 12px;
  border-right: 2px solid #2269e2;
  border-bottom: 2px solid #2269e2;
  transform: rotate(45deg);
}

/* Маленькая стрелка у кнопки */
.btn.btn-ghost .chev {
  display: inline-block;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.btn.btn-ghost[aria-expanded="true"] .chev {
  transform: rotate(180deg) translateY(1px);
}

.svc-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Совместимость: actions наследует стили от svc-actions */
.actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Общий стиль маленьких, аккуратных кнопок */
.card-actions .btn,
.actions .btn,
.service-card .btn,
.toggle-scope,
.js-toggle-scope {
  padding: 6px 14px;        /* вместо больших подушек */
  font-size: 0.85rem;       /* меньше шрифт */
  border-radius: 8px;
  line-height: 1.3;
  font-weight: 500;
}

.btn-primary {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  border: 1px solid #0d6efd;
  box-shadow: none;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0b5ed7;
  filter: none;
}

.btn-outline {
  background: #fff;
  color: #222;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Process */
.svc-process {
  padding: 28px 0;
  background: linear-gradient(180deg, #f7f8f9 0%, #eef0f2 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-process h2 {
  text-align: center;
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.step h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  color: #515154;
  font-size: 14px;
  line-height: 1.54;
}

/* FAQ + Trust */
.svc-faq {
  padding: 24px 0;
  scroll-margin-top: 100px;
}

.svc-faq .container {
  max-width: 800px;
}

.svc-faq h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.svc-faq details {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 0;
  margin: 8px 0;
}

.svc-faq summary {
  padding: 12px 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #1d1d1f;
  font-size: 15px;
  list-style: none;
}

.svc-faq summary::-webkit-details-marker {
  display: none;
}

.svc-faq summary::marker {
  display: none;
}

.svc-faq summary::after {
  content: "▸";
  margin-left: auto;
  opacity: 0.6;
  transition: transform 0.16s;
}

.svc-faq details[open] summary::after {
  transform: rotate(90deg);
}

.svc-faq summary:hover {
  color: #0071e3;
}

.svc-faq details > p {
  padding: 0 14px 12px;
  color: #515154;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.trust-strip {
  padding: 6px 0 0;
  margin: 24px auto;
}

.trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  font-size: 13px;
  color: #6e6e73;
  position: relative;
  padding-left: 16px;
}

.trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  opacity: 0.75;
}

/* Sticky CTA */
.sticky-cta {
  display: none;
}

/* ****************ADAPTIVE**************** */

@media (max-width: 992px) {
  .services__row {
    grid-template-columns: 1fr;
    gap: 6rem;
    justify-items: center;
  }

  .item-services {
    text-align: center;
    align-items: center;
  }

  .page__main {
    padding-bottom: 80px;
  }

  .benefits__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  }

  .main__title {
  font-size: 40px;
    line-height: 1.08349;
    letter-spacing: -0.014em;
  }

  .main__text {
    font-size: 19px;
    line-height: 1.421;
    letter-spacing: -0.019em;
}

@media (min-width: 47.999rem) {
  .menu__list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .menu__body {
    position: relative !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background-color: transparent !important;
    flex-direction: row !important;
    overflow: visible !important;
    top: auto !important;
    right: auto !important;
    row-gap: 0 !important;
  }
  
  .menu__body::before {
    display: none !important;
  }
  
  .menu__item {
    text-align: left !important;
    margin-bottom: 0 !important;
  }
  
  .menu__item:not(:last-child) {
    margin-bottom: 0 !important;
  }
  
  ul.menu__list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  
  li.menu__item {
    display: inline-block !important;
  }
  
  .menu__link {
    font-size: 1rem !important;
  }
  
  .icon-menu {
    display: none !important;
  }
  
  .menu-open .menu__body {
    position: relative !important;
    left: 0 !important;
  }
  
  .menu-open .menu__body::before {
    left: -100% !important;
  }
  
  .wrapper.menu-open {
    overflow: visible !important;
  }
  
  body.menu-open {
    overflow: visible !important;
  }
  
  body.menu-open .page {
    padding-top: 0 !important;
  }
  
  .menu-open .header {
    position: absolute !important;
    z-index: 1000;
  }
  
  .menu-open .menu__body {
    border: none !important;
  }
}

@media (max-width: 995px) {
  .item-pricing__button {
    font-size: 19px;
  }
}

@media (max-width: 62.6875rem) {
  .resources__container {
    padding-top: 70px;
    padding-bottom: 70px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__paggination {
    gap: 27px;
  }

  .gallery__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .director__container {
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 70px;
    gap: 10px;
    text-align: center;
  }

  .item-pricing {
    padding: 20px;
    padding-bottom: 30px;
  }

  .pricing__title {
    font-size: 39px;
  }

  .pricing__text {
    margin-bottom: 25px;
  }

  .item-pricing__button {
    padding: 16px 42px;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .footer__policy,
  .footer__copyright {
    justify-self: center;
    text-align: center;
    margin: 0.5rem 0;
  }

  .footer__logo {
    margin-bottom: 1rem;
  }

  .services-page__column {
    gap: 30px;
    font-size: 15px;
  }

  .services-page__title {
    font-size: 29px;
  }

  .reviews__row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 10px;
  }

  .reviews__item {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    display: inline-block;
  }

  .item-reviews__text {
    font-size: 16px;
  }

  .item-reviews__author {
    font-size: 16px;
  }
}

@media (max-width: 47.999rem) {
  /* Мобильная шапка: остаётся наверху, меню раскрывается под ней */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #1d1d1f;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* Панель мобильного меню под шапкой на всю ширину */
  .menu__body {
    position: fixed;
    top: 4.6rem; /* высота шапки */
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 1.5rem 1.25rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100vh - 4.6rem);
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
  }

  /* Блокируем прокрутку страницы, когда меню открыто */
  body.menu-open {
    overflow: hidden;
  }

  /* Открытое мобильное меню */
  .menu-open .menu__body {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 16px;
    margin-top: 0.5rem;
  }

  .menu__item {
    width: 100%;
    text-align: left;
  }

  .menu__link {
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    padding: 10px 0;
    min-height: 44px; /* комфортная высота для тапа */
    display: flex;
    align-items: center;
    text-align: left;
  }

  .menu__item:not(:last-child) .menu__link {
    border-bottom: 1px solid #eeeeee;
  }

  .menu__buttons {
    width: 100%;
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu__button-cta,
  .menu__button-text {
    width: 100%;
    text-align: center;
  }

  .spollers-faq__item.active .spollers-faq__button img {
    transform: translate(-10px, -10px) rotate(180deg);
  }

  .spollers-faq__button span {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
  }

  .spollers-faq__button img {
    padding-right: 10px;
  }

  .spollers-faq__inner {
    font-size: 16px;
    padding-left: 10px;
    line-height: 130%;
  }

  .pricing__container {
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pricing__row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-pricing__button {
    font-size: 17px;
    padding: 15px 32px;
  }

  .reviews__container {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .icon-menu {
    display: block;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 1.875rem;
    flex: 0 0 1.875rem;
    width: 1.875rem;
    height: 1.125rem;
    cursor: pointer;
    z-index: 5;
  }

  .icon-menu span,
  .icon-menu::before,
  .icon-menu::after {
    content: "";
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    right: 0;
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: #1d1d1f;
  }

  .icon-menu::before {
    top: 0;
  }

  .icon-menu::after {
    bottom: 0;
  }

  .contact__container {
    flex-direction: column;
    padding-top: 80px;
    gap: 50px;
    padding-bottom: 80px;
  }

  .icon-menu span {
    top: calc(50% - 0.0625rem);
  }

  .menu-open .icon-menu span {
    width: 0;
  }

  .menu-open .icon-menu::before {
    top: calc(50% - 0.0625rem);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-open .icon-menu::after {
    bottom: calc(50% - 0.0625rem);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  /* (остальные мобильные стили — как были, но без переопределения .menu__body здесь) */

  .apple-hero {
    min-height: 60vh;
    padding-top: 4.6rem;
  }

  .main__container {
    padding-top: 6rem;
    padding: 4rem 2rem 3rem;
  }

  .main__container_pages {
    padding-top: 290px;
  }

  .main__title {
    font-size: 28px;
    line-height: 1.125;
    letter-spacing: -0.012em;
  }

  .main__text {
    font-size: 19px;
    line-height: 1.421;
    letter-spacing: -0.019em;
  }

  .benefits__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits {
    padding: 3rem 2rem;
  }

  .benefits__title {
    font-size: 19px;
    line-height: 1.421;
    letter-spacing: -0.019em;
  }

  .benefits__text {
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
  }

  .menu__buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .title {
    font-size: 2rem;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .about__container {
    flex-direction: column;
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
    gap: 4rem;
  }

  .about-hero {
    padding: 96px 0 32px;
  }

  .about-hero .container {
    padding: 0 16px;
  }

  .about-intro {
    padding: 32px 0 20px;
  }

  .about-intro__container {
    padding: 0 16px;
    text-align: left;
  }

  .chips li {
    font-size: 13px;
    padding: 6px 10px;
  }

  .about-intro-section {
    padding: 4rem 2rem;
  }

  .about-values-section {
    padding: 4rem 2rem;
  }

  .about-values-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-section {
    padding: 2rem 1rem;
  }

  .trust-strip {
    padding: 10px 12px;
  }

  .trust-strip ul {
    gap: 12px;
  }

  .trust-strip li {
    font-size: 14px;
  }

  .meet-owner-section {
    padding: 4rem 2rem;
  }

  .meet-owner__container {
    flex-direction: column;
    text-align: center;
  }

  .owner-photo {
    width: 140px;
    height: 140px;
  }

  .about-cta-section {
    padding: 4rem 2rem;
  }

  .about-cta__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .services__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .testimonial__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .testiomonial__caption {
    margin-bottom: 2rem;
  }

  .outro__container {
    padding-top: 4.375rem;
    padding-bottom: 4.375rem;
  }

  .logo {
    font-size: 0.8rem;
  }
  
  .logo img {
    max-height: 2.34rem;
  }

  .logo__text {
    font-size: 1.2rem;
  }

  .logo__tagline {
    font-size: 0.5rem;
  }

  .services-page__column {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    gap: 4rem;
  }
}

@media (max-width: 61.936rem) {
  .footer__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 0.938rem;
  }

  .logo {
    font-size: 1.6rem;
  }
  
  .logo img {
    max-height: 3.12rem;
  }

  .logo__text {
    font-size: 1.6rem;
  }

  .logo__tagline {
    font-size: 0.55rem;
  }
}

@media (max-width: 530px) {
  .reviews__row {
    grid-template-columns: 1fr;
  }

  .team__row {
    grid-template-columns: 1fr;
  }

  .gallery__row {
    grid-template-columns: 1fr;
  }

  .resources__container {
    grid-template-columns: 1fr;
  }
}

/* Адаптивные стили для services страницы */
@media (max-width: 1000px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 110;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .sticky-cta a {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    color: #1d1d1f;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
  }

  .sticky-cta a.primary {
    background: #0071e3;
    color: #fff;
    border-color: #0071e3;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  
  .svc-hero {
    padding-top: 120px;
    padding-bottom: 24px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }
  
  .svc-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .svc-actions .btn.sm {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.hero-contact {
  text-align: center;
  padding: 96px 0 16px;
}

.hero-contact h1 {
  font-size: clamp(25px, 3.68vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #1d1d1f;
}

.hero-contact .sub {
  max-width: 720px;
  margin: 8px auto 0;
}

.muted {
  opacity: .7;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  margin-top: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}

.contact-card h3,
.contact-form-card h3 {
  margin: 0 0 8px;
}

.contact-card .hint {
  opacity: .7;
  font-size: .95rem;
}

.link-strong {
  font-weight: 600;
}

.bullet {
  margin: 8px 0 12px;
  padding-left: 18px;
}

.bullet li {
  margin: 6px 0;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 102, 255, .08);
  text-decoration: none;
}

.contact-form-card form label {
  display: block;
  font-weight: 600;
  margin: 10px 0 6px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E2E6EB;
  border-radius: 12px;
  font: inherit;
  background: #F9FAFB;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #A8C5FF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(88, 136, 255, .15);
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin: 8px 0 12px;
}

.info-strips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 26px auto;
}

.info-strips .strip {
  padding: 8px 12px;
  background: #F2F5F8;
  border-radius: 999px;
}

.btn {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  background: #1363FF;
  color: #fff;
}

.btn-outline {
  border: 1px solid #CDE;
  color: #1363FF;
  background: #F7FBFF;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #E5EAF1;
}

.map-wrap {
  margin-top: 8px;
}

/* Form status styles */
.form-status {
  display: none;
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #555555;
}

.form-status--visible {
  display: block;
}

.form-status--error {
  color: #b91c1c; /* слегка красный для ошибки, появится только если есть ошибка */
}

/* Testimonials carousel styles */
.testimonials {
  padding: 40px 0 32px;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-head h2 {
  margin: 0 0 6px;
  font-size: 2.6rem;
  font-weight: 600;
}

.testimonials-head p {
  margin: 0;
}

.t-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-track {
  overflow: hidden;
  flex: 1;
}

.t-track-inner,
.t-track {
  display: block;
}

.t-track[data-track] {
  display: flex;
}

.t-slide {
  min-width: 100%;
  max-width: 100%;
  padding: 16px 18px;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-slide--hidden {
  display: none;
}

.t-slide--active {
  display: flex;
}

.t-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.t-text {
  font-size: 14px;
  color: #111827;
}

.t-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.t-name {
  color: #4b5563;
}

.t-stars {
  color: #f59e0b;
  font-size: 13px;
}

.t-arrow {
  border: none;
  background: #e5e7eb;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.t-arrow:hover {
  background: #d1d5db;
}

.t-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.t-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  padding: 0;
}

.t-dot.is-active {
  background: #1f4fff;
}

@media (min-width: 900px) {
  .t-slide {
    max-width: 720px;
    margin: 0 auto;
  }
}