:root{
  --accent:#24c7bf;
  --accent-dark:#11b1aa;
  --text:#252629;
  --muted:#6d6f73;
  --bg:#eef0f1;
  --card:#ffffff;
  --line:#dde1e4;
  --shadow:0 18px 40px rgba(27, 34, 40, .08);
  --radius:18px;
  --container:min(1240px, calc(100vw - 48px));
}

/* BASE */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:var(--container);margin:0 auto;max-width:100%}
section{padding:88px 0}
.section--gray{background:var(--bg)}
.section--accent{background:var(--accent)}
.section-title{
  margin:0 0 34px;
  text-align:center;
  font-size:68px;
  line-height:.95;
  font-weight:900;
  letter-spacing:-.04em;
}
.lead-title{
  font-size:78px;
  line-height:.93;
  font-weight:900;
  letter-spacing:-.04em;
  margin:0 0 10px;
  overflow-wrap:anywhere;
}
.lead-subtitle{font-size:22px;font-weight:800;margin:0 0 26px}
.text-muted{color:var(--muted);font-size:18px}
.content p{margin:0 0 18px;color:#63676d;font-size:18px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 28px;
  border:none;
  border-radius:10px;
  background:var(--accent);
  color:#fff;
  font-weight:800;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:transform .22s ease, background .22s ease, box-shadow .22s ease, letter-spacing .22s ease;
  position:relative;
  overflow:hidden;
  text-align:center;
}
.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 40%, rgba(255,255,255,.35) 50%, transparent 62%);
  transform:translateX(-120%);
  transition:transform .5s ease;
}
.btn:hover{
  transform:translateY(-3px) scale(1.01);
  background:var(--accent-dark);
  box-shadow:0 22px 45px rgba(17,177,170,.24);
  letter-spacing:.01em;
}
.btn:hover::before{transform:translateX(120%)}
.btn:active{transform:translateY(-1px) scale(.995)}

.btn-white{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 28px;
  border:none;
  border-radius:10px;
  background:#fff;
  color:#24c7bf;
  font-weight:800;
  box-shadow:0 18px 40px rgba(27, 34, 40, .08);
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  text-align:center;
}

.btn-white:hover{
  transform:translateY(-3px);
  background:#f8ffff;
  color:#11b1aa;
  box-shadow:0 22px 45px rgba(36,199,191,.18);
}

.btn-white:active{
  transform:translateY(-1px);
}

.eyebrow{
  display:inline-block;
  font-size:20px;
  font-weight:900;
  color:#1e2a33;
  border-bottom:4px solid #7786cc;
  padding-bottom:2px;
  margin-top:12px;
  transition:transform .22s ease, color .22s ease;
}
.eyebrow:hover{color:var(--accent-dark);transform:translateY(-1px)}

/* HERO */
.hero{
  position:relative;
  min-height:640px;
  overflow:hidden;
  background:#dbe3e8;
}
.slides{
  position:absolute;
  inset:0;
  height:100%;
}
.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .7s ease;
}
.slide.active{opacity:1}
.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(17,23,30,.33);
}
.hero__inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  min-height:640px;
}
.hero__content{
  max-width:720px;
  color:#fff;
  padding:60px 0;
}
.hero h1{
  font-size:78px;
  line-height:1.20;
  letter-spacing:-.04em;
  margin:0 0 22px;
  font-weight:900;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
.hero p{
  font-size:31px;
  font-weight:800;
  margin:0 0 26px;
  overflow-wrap:anywhere;
}
.hero__controls{
  position:absolute;
  inset:50% 24px auto auto;
  z-index:2;
  display:flex;
  gap:8px;
  transform:translateY(-50%);
}
.hero__controls button{
  width:42px;
  height:42px;
  border:none;
  border-radius:8px;
  background:rgba(38,43,48,.75);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}
.dots{
  display:flex;
  gap:10px;
  margin-top:78px;
  flex-wrap:wrap;
}
.dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:1px solid #fff;
  background:transparent;
  cursor:pointer;
  padding:0;
}
.dots button.active{
  background:var(--accent);
  border-color:var(--accent);
}

/* CASES */
.cases-section{
  padding-top:64px;
  padding-bottom:72px;
  background:var(--bg);
}
.cases-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(580px, .98fr);
  gap:52px;
  align-items:start;
}
.cases-copy{
  min-width:0;
  padding-top:8px;
}
.cases-title{
  margin:0 0 26px;
  max-width:720px;
  font-size:72px;
  line-height:.94;
  font-weight:900;
  letter-spacing:-.045em;
}
.cases-description{
  max-width:760px;
  font-size:18px;
  line-height:1.58;
  color:#4f5358;
}
.cases-actions{margin-top:42px}
.cases-btn{
  min-height:74px;
  padding:0 34px;
  border-radius:10px;
  font-size:18px;
  font-weight:800;
  box-shadow:none;
}
.cases-btn:hover{
  box-shadow:none;
  transform:translateY(-2px);
}
.cases-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:38px 36px;
}
.case-card{
  background:#f6f6f6;
  border:1px solid rgba(0,0,0,.03);
  border-radius:10px;
  padding:20px 20px 24px;
  box-shadow:none;
  transition:transform .2s ease, box-shadow .2s ease;
}
.case-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(24,31,36,.06);
  border-color:rgba(0,0,0,.04);
}
.case-card__media{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  object-position:center;
  border-radius:8px;
  margin-bottom:22px;
  background:#d7dfe3;
}
.case-card h3{
  margin:0;
  text-align:center;
  font-size:18px;
  font-weight:800;
  line-height:1.2;
  color:var(--accent-dark);
}

/* STEPS */
.steps{
  padding:96px 0 110px;
  background:#f3f3f3;
  overflow:hidden;
}
.steps .section-title{
  margin:0 0 58px;
  text-align:center;
  font-size:72px;
  line-height:.92;
  font-weight:900;
  letter-spacing:-.05em;
}
.steps-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:28px;
  align-items:start;
}
.step{
  position:relative;
  text-align:center;
  padding:0 8px;
}
.step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:4px;
  right:-34px;
  width:130px;
  height:72px;
  border-top:2px solid #dfdfdf;
  border-right:2px solid #dfdfdf;
  border-radius:0 90px 0 0;
  transform:rotate(28deg);
  opacity:.95;
  pointer-events:none;
}
.step__icon{
  width:126px;
  height:126px;
  margin:0 auto 28px;
  border-radius:50%;
  background:#f5f5f5;
  border:1px solid #e5e5e5;
  box-shadow:
    inset 0 0 0 8px #f8f8f8,
    0 2px 0 rgba(0,0,0,.02);
  display:grid;
  place-items:center;
}
.step__icon svg{
  width:50px;
  height:50px;
  stroke:#4a4a4a;
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.step--active .step__icon{
  width:126px;
  height:126px;
  border-radius:14px;
  background:#fff;
  border:3px solid var(--accent);
  box-shadow:none;
  padding:0;
}
.step__icon-inner{
  width:104px;
  height:104px;
  background:var(--accent);
  border-radius:2px;
  display:grid;
  place-items:center;
}
.step--active .step__icon svg{
  width:46px;
  height:46px;
  stroke:#fff;
}
.step h3{
  margin:0 0 12px;
  font-size:28px;
  line-height:1.12;
  font-weight:900;
  letter-spacing:-.03em;
}
.step p{
  margin:0 auto;
  max-width:290px;
  color:#6d6f73;
  font-size:18px;
  line-height:1.4;
}

/* CATALOG / PROFILE / BLOG / REVIEWS */
.cards-4{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:24px;
}

.profiles-section{
  padding:110px 0;
  background:linear-gradient(180deg, #f4f7f8 0%, #eef2f4 100%);
  overflow:hidden;
}

.profiles-full{
  width:100%;
  max-width:100%;
  padding:0 32px;
}

.profiles-head{
  max-width:980px;
  margin:0 auto 56px;
  text-align:center;
}

.profiles-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 18px;
  border-radius:999px;
  background:rgba(36,199,191,.12);
  color:var(--accent-dark);
  font-size:15px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:22px;
}

.profiles-title{
  margin:0 0 18px;
  font-size:72px;
  line-height:.95;
  font-weight:900;
  letter-spacing:-.045em;
  color:var(--text);
}

.profiles-subtitle{
  margin:0 auto;
  max-width:820px;
  font-size:24px;
  line-height:1.5;
  color:#5f666d;
  font-weight:500;
}

.profile-grid--wide{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:30px;
  align-items:stretch;
}

.profile-grid--wide{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:30px;
  align-items:stretch;
}

.profile-card--premium{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:520px; /* одинаковая минимальная высота */
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.7);
  border-radius:28px;
  padding:22px;
  box-shadow:0 20px 50px rgba(28,35,40,.08);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.profile-card__media{
  position:relative;
  height:300px;
  border-radius:22px;
  overflow:hidden;
  margin-bottom:20px;
  background:#eef2f4;
  flex-shrink:0;
}

.profile-card__content{
  display:flex;
  flex-direction:column;
  flex:1;
}

.profile-card__content h3{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.1;
  font-weight:900;
  text-align:left;
  color:var(--text);
}

.profile-card__content p{
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:#5f666d;
}

.profile-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}

.profile-card:hover .profile-card__media img{
  transform:scale(1.06);
}

.gallery-section{
  overflow:hidden;
}

.gallery-wrap{
  position:relative;
}

.gallery-slider{
  overflow:hidden;
  width:100%;
}

.gallery-track{
  display:flex;
  gap:24px;
  transition:transform .45s ease;
}

.gallery-card{
  flex:0 0 calc((100% - 72px) / 4);
  aspect-ratio:1 / 1;
  border-radius:18px;
  overflow:hidden;
  background:#d7dfe3;
  box-shadow:var(--shadow);
}

.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.gallery-card:hover img{
  transform:scale(1.04);
}

.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:none;
  border-radius:10px;
  background:#fff;
  box-shadow:var(--shadow);
  font-size:28px;
  color:#3b3d42;
  cursor:pointer;
  z-index:2;
}

.gallery-arrow.left{left:-20px}
.gallery-arrow.right{right:-20px}

.gallery-dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.gallery-dots button{
  width:8px;
  height:8px;
  border-radius:999px;
  border:none;
  background:#8a8d90;
  opacity:.5;
  cursor:pointer;
  padding:0;
}

.gallery-dots button.active{
  opacity:1;
  background:var(--accent);
  width:24px;
}

@media (max-width: 900px){
  .gallery-card{
    flex:0 0 calc((100% - 24px) / 2);
  }

  .gallery-arrow.left{left:0}
  .gallery-arrow.right{right:0}
}

@media (max-width: 640px){
  .gallery-card{
    flex:0 0 100%;
  }

  .gallery-arrow{
    width:36px;
    height:36px;
    font-size:22px;
    top:auto;
    bottom:-52px;
    transform:none;
  }

  .gallery-arrow.left{left:calc(50% - 46px)}
  .gallery-arrow.right{right:calc(50% - 46px)}

  .gallery-dots{
    margin-top:64px;
  }
}

/* ADAPTIVE */
@media (max-width: 1180px){
  .profile-grid--wide{
    grid-template-columns:repeat(2, 1fr);
  }

  .profiles-title{
    font-size:58px;
  }

  .profiles-subtitle{
    font-size:21px;
  }
}

@media (max-width: 768px){
  .profiles-section{
    padding:80px 0;
  }

  .profiles-full{
    padding:0 20px;
  }

  .profiles-title{
    font-size:42px;
  }

  .profiles-subtitle{
    font-size:18px;
  }

  .profile-card__media{
    height:240px;
  }

  .profile-card__content h3{
    font-size:24px;
  }

  .profile-card__content p{
    font-size:16px;
    line-height:1.6;
  }
}



/* CATALOG */
.catalog-section{
  background:var(--accent);
  padding:84px 0 92px;
}
.catalog-title{
  margin:0 0 44px;
  color:#fff;
  text-align:center;
  font-size:64px;
  line-height:.95;
  font-weight:900;
  letter-spacing:-.04em;
}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:42px;
}
.catalog-card{
  background:#f4f4f4;
  border:none;
  border-radius:10px;
  padding:20px 20px 24px;
  box-shadow:none;
  transition:transform .2s ease, box-shadow .2s ease;
}
.catalog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,.10);
}
.catalog-card__media{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  object-position:center;
  border-radius:6px;
  margin-bottom:18px;
  background:#d9d9d9;
}
.catalog-card__title{
  margin:0;
  text-align:center;
  font-size:18px;
  line-height:1.25;
  font-weight:800;
  color:#2e2f33;
}


/* OTHER CARDS */
.profile-card,.review-card,.blog-card,.service-card{
  background:#fff;
  border-radius:12px;
  padding:18px;
  box-shadow:0 2px 0 rgba(0,0,0,.02);
  border:1px solid #eaedef;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.profile-card:hover,.review-card:hover,.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 44px rgba(26,34,40,.10);
  border-color:#dce4e7;
}

.profile-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  align-items:start;
}
.profile-card{
  padding:18px 18px 24px;
  min-height:650px;
}
.profile-card__media{
  height:280px;
  background:#f7f8f8;
  border-radius:8px;
  overflow:hidden;
  margin-bottom:16px;
}
.profile-card:nth-child(1) .profile-card__media{background:linear-gradient(180deg,#f2f3f4,#ffffff 55%,#c59b72)}
.profile-card:nth-child(2) .profile-card__media{background:linear-gradient(180deg,#f6f7f8,#ffffff 55%,#cfd7dc)}
.profile-card:nth-child(3) .profile-card__media{background:linear-gradient(180deg,#f6f7f8,#ffffff 55%,#d8dde2)}
.profile-card:nth-child(4) .profile-card__media{background:linear-gradient(180deg,#f6f7f8,#ffffff 55%,#d9e0e4)}
.profile-card h3{
  font-size:18px;
  font-weight:800;
  text-align:center;
  margin:0;
}
.profile-card p{
  margin:12px 0 0;
  color:#6e7277;
  font-size:15px;
}

.reviews{color:#1d1e21}
.reviews .section-title,.cta .section-title{color:#1d1e21}
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.review-card{
  padding:26px 26px 30px;
  min-height:266px;
  border:none;
  position:relative;
}
.review-card::after{
  content:"❞";
  position:absolute;
  right:18px;
  top:-6px;
  font-size:84px;
  color:#e2e3e5;
  line-height:1;
}
.review-card h3{margin:18px 0 2px;font-size:18px}
.review-card b{
  display:block;
  color:#8a8e92;
  font-size:14px;
  font-weight:500;
  margin-bottom:18px;
}
.review-card p{margin:0;color:#555a5f;font-size:16px}
.reviews-link,.blog-link,.map-link{
  text-align:center;
  margin-top:24px;
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:5px;
}
.reviews-link a,.blog-link a,.map-link a{
  transition:transform .22s ease, color .22s ease;
}
.reviews-link a:hover,.blog-link a:hover,.map-link a:hover{
  color:var(--accent-dark);
  transform:translateY(-1px);
}

.cta{
  text-align:center;
  color:#fff;
  padding:92px 0 82px;
}
.cta .section-title{color:#fff;margin-bottom:14px}
.cta p{
  font-size:20px;
  font-weight:700;
  margin:0 0 28px;
  color:#dff9f7;
}
.cta .phone-xl{
  font-size:48px;
  font-weight:900;
  margin-top:18px;
  overflow-wrap:anywhere;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.blog-card{
  padding:0;
  overflow:hidden;
}
.blog-card__body{padding:16px 18px 18px}
.blog-card__media{
  height:220px;
  border-radius:0;
  margin:0;
  overflow:hidden;
  position:relative;
}

.blog-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.blog-card h3{
  font-size:18px;
  font-weight:800;
  text-align:center;
  margin:0;
}
.blog-card time{
  display:block;
  margin-top:14px;
  color:#8e9398;
  font-size:14px;
}

/* LARGE DESKTOP */
@media (max-width: 1400px){
  .hero h1,.lead-title{font-size:66px}
  .section-title{font-size:58px}
  .cases-grid{gap:40px}
  .cases-title{font-size:62px}
}

/* LAPTOP */
@media (max-width: 1180px){
  :root{--container:min(100vw - 40px, 1000px)}

  .hero h1,.lead-title{font-size:56px}
  .section-title{font-size:54px}
  .hero p{font-size:24px}

  .cards-4,
  .profile-grid,
  .gallery-grid,
  .reviews-grid,
  .blog-grid,
  .cases-cards,
  .catalog-grid{
    grid-template-columns:repeat(2,1fr);
  }

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

  .step::after{display:none}

  .about-grid,
  .advantages-grid,
  .cases-grid{
    grid-template-columns:1fr;
    gap:36px;
  }

  .cases-title{
    font-size:56px;
    max-width:900px;
  }

  .cases-cards{
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }

  .catalog-title{
    font-size:54px;
  }

  .catalog-card__media{
    aspect-ratio:16 / 9;
  }

  .gallery-arrow.left{left:0}
  .gallery-arrow.right{right:0}

  .profile-card{
    min-height:auto;
  }
}

/* TABLET */
@media (max-width: 900px){
  :root{--container:min(100vw - 32px, 900px)}

  section{padding:72px 0}

  .hero,
  .hero__inner{
    min-height:560px;
  }

  .hero__content{
    max-width:100%;
    padding:40px 0;
  }

  .hero h1{
    font-size:46px;
    line-height:1;
  }

  .hero p{
    font-size:22px;
  }

  .section-title{
    font-size:42px;
    margin-bottom:28px;
  }

  .lead-title{
    font-size:46px;
    line-height:1;
  }

  .lead-subtitle{
    font-size:20px;
  }

  .text-muted,
  .content p{
    font-size:17px;
  }

  .adv-list{
    grid-template-columns:1fr;
  }

  .cases-title{
    font-size:46px;
    line-height:1;
  }

  .cases-description{
    font-size:17px;
  }

  .catalog-title{
    font-size:42px;
    margin-bottom:30px;
  }

  .cards-4,
  .profile-grid,
  .gallery-grid,
  .reviews-grid,
  .blog-grid,
  .cases-cards,
  .catalog-grid{
    grid-template-columns:1fr 1fr;
    gap:20px;
  }

  .catalog-card__media{
    aspect-ratio:16 / 9;
  }

  .blog-card__media,
  .profile-card__media{height:230px}
  .gallery-card{height:340px}
  .image-card{min-height:480px}

  .cta .phone-xl{font-size:40px}
}

@media (max-width: 640px){
  :root{--container:min(100vw - 24px, 1000px)}

  section{padding:64px 0}

  .hero,
  .hero__inner{
    min-height:500px;
  }

  .hero__content{
    padding:32px 0 40px;
  }

  .hero h1{
    font-size:34px;
    line-height:1.02;
    margin-bottom:16px;
  }

  .hero p{
    font-size:18px;
    margin-bottom:22px;
  }

  .hero__controls{
    right:12px;
    top:auto;
    bottom:18px;
    transform:none;
  }

  .hero__controls button{
    width:38px;
    height:38px;
    font-size:22px;
  }

  .dots{
    margin-top:26px;
    gap:8px;
  }

  .section-title{
    font-size:32px;
    line-height:1.02;
  }

  .lead-title{
    font-size:34px;
    line-height:1.03;
  }

  .lead-subtitle{
    font-size:18px;
    margin-bottom:18px;
  }

  .text-muted,
  .content p{
    font-size:16px;
  }

  .steps-grid,
  .cards-4,
  .profile-grid,
  .gallery-grid,
  .reviews-grid,
  .blog-grid,
  .adv-list,
  .cases-cards,
  .catalog-grid{
    grid-template-columns:1fr;
  }

  .about-grid,
  .advantages-grid,
  .cases-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  /* CASES */
  .cases-section{
    padding-top:56px;
    padding-bottom:56px;
  }

  .cases-title{
    font-size:34px;
    line-height:1.03;
    margin-bottom:18px;
  }

  .cases-description{
    max-width:none;
    font-size:16px;
    line-height:1.5;
  }

  .cases-actions{
    margin-top:26px;
  }

  .cases-btn{
    width:auto;
    min-height:56px;
    padding:0 24px;
    font-size:17px;
  }

  .case-card{
    padding:14px;
    border-radius:10px;
  }

  .case-card__media{
    aspect-ratio:16 / 10;
    margin-bottom:16px;
    border-radius:8px;
  }

  .case-card h3{
    font-size:17px;
  }

  /* CATALOG */
  .catalog-section{
    padding:64px 0;
  }

  .catalog-title{
    font-size:32px;
    line-height:1.02;
    margin-bottom:24px;
  }

  .catalog-card{
    padding:14px 14px 18px;
    border-radius:10px;
  }

  .catalog-card__media{
    aspect-ratio:16 / 9;
    margin-bottom:14px;
    border-radius:6px;
  }

  .catalog-card__title{
    font-size:17px;
  }

  .step__icon{
    width:68px;
    height:68px;
    border-radius:20px;
  }

  .step__icon svg{
    width:30px;
    height:30px;
  }

  .step h3{
    font-size:18px;
  }

  .step p{
    font-size:14px;
  }

  .profile-card,
  .review-card,
  .blog-card,
  .service-card{
    padding:16px;
  }

  .blog-card__media,
  .profile-card__media{
    height:220px;
  }

  .gallery-card{
    height:260px;
  }

  .image-card{
    min-height:320px;
  }

  .adv-card{
    padding:26px 16px 18px;
    min-height:auto;
  }

  .adv-icon{
    width:72px;
    height:72px;
    left:16px;
    top:-16px;
  }

  .adv-icon svg{
    width:30px;
    height:30px;
  }

  .adv-card h3{
    font-size:17px;
    max-width:none;
  }

  .review-card{
    min-height:auto;
    padding:22px 18px 24px;
  }

  .review-card::after{
    font-size:64px;
    right:14px;
  }

  .review-card h3{font-size:17px}
  .review-card p{font-size:15px}

  .gallery-arrow{
    width:36px;
    height:36px;
    font-size:22px;
    top:auto;
    bottom:-52px;
    transform:none;
  }

  .gallery-arrow.left{left:calc(50% - 46px)}
  .gallery-arrow.right{right:calc(50% - 46px)}

  .gallery-dots{
    margin-top:64px;
  }

  .cta{
    padding:72px 0 64px;
  }

  .cta p{
    font-size:18px;
  }

  .cta .phone-xl{
    font-size:28px;
    line-height:1.1;
  }

  .blog-card__body{
    padding:14px 16px 16px;
  }

  .blog-card h3,
  .profile-card h3{
    font-size:17px;
  }
}

/* SMALL MOBILE */
@media (max-width: 420px){
  :root{--container:min(100vw - 20px, 1000px)}

  section{padding:56px 0}

  .hero h1{font-size:28px}
  .hero p{font-size:16px}

  .section-title{font-size:28px}
  .lead-title{font-size:28px}
  .lead-subtitle{font-size:16px}

  .btn{
    width:100%;
    padding:0 18px;
    min-height:50px;
  }

  .cases-title{
    font-size:28px;
  }

  .case-card__media{
    aspect-ratio:16 / 10;
  }

  .catalog-title{
    font-size:28px;
  }

  .catalog-card__media{
    aspect-ratio:16 / 9;
  }

  .blog-card__media,
  .profile-card__media{
    height:190px;
  }

  .gallery-card{
    height:220px;
  }

  .image-card{
    min-height:280px;
  }

  .cta .phone-xl{
    font-size:24px;
  }

  .review-card{
    padding:18px 16px 20px;
  }
}
/* ADVANTAGES */
.advantages-section{
  background:#efefef;
  padding:90px 0 100px;
}

.advantages-layout{
  display:grid;
  grid-template-columns:minmax(320px, .9fr) minmax(520px, 1.1fr);
  gap:56px;
  align-items:start;
}

.advantages-intro{
  padding-top:12px;
}

.advantages-title{
  margin:0 0 20px;
  font-size:64px;
  line-height:.95;
  font-weight:900;
  letter-spacing:-.045em;
  color:#232427;
}

.advantages-text{
  margin:0;
  max-width:600px;
  font-size:20px;
  line-height:1.6;
  color:#4a4d52;
}

.advantages-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:40px 22px;
}

/* CARD */
.adv-card--custom{
  position:relative;
  min-height:110px;
  padding:50px 18px 18px;
  border-radius:14px;
  background:#dde0e2;
  box-shadow:0 10px 24px rgba(28,35,40,.04);
  transition:transform .25s ease, box-shadow .25s ease;
}

.adv-card--custom:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 34px rgba(28,35,40,.10);
}

.adv-card--custom h3{
  margin:0;
  max-width:260px;
  font-size:17px;
  line-height:1.25;
  font-weight:800;
  color:#2f3135;
}

/* ICON */
.adv-icon--custom{
  position:absolute;
  left:18px;
  top:-30px;
  width:70px;
  height:70px;
  border-radius:50%;
  background:#fff;
  border:3px solid #19bdb3;
  display:grid;
  place-items:center;
}

.adv-icon--custom::before{
  content:"";
  position:absolute;
  width:52px;
  height:52px;
  border-radius:50%;
  background:#22bdb4;
}

.adv-icon--custom svg{
  position:relative;
  z-index:1;
  width:26px;
  height:26px;
  color:#fff;
  stroke:currentColor;
}

/* ================== TABLET ================== */
@media (max-width: 980px){

  .advantages-layout{
    grid-template-columns:1fr;
    gap:32px;
  }

  .advantages-title{
    font-size:42px;
  }

  .advantages-text{
    font-size:18px;
  }

  .advantages-cards{
    grid-template-columns:repeat(2, 1fr);
    gap:32px 18px;
  }
}

/* ================== MOBILE ================== */
@media (max-width: 640px){

  .advantages-section{
    padding:60px 0 70px;
  }

  .advantages-title{
    font-size:28px;
  }

  .advantages-text{
    font-size:15px;
    line-height:1.5;
  }

  .advantages-cards{
    grid-template-columns:1fr;
    gap:28px;
  }

  .adv-card--custom{
    padding:42px 14px 14px;
  }

  .adv-card--custom h3{
    font-size:15px;
  }

  .adv-icon--custom{
    width:56px;
    height:56px;
    top:-24px;
    left:14px;
  }

  .adv-icon--custom::before{
    width:42px;
    height:42px;
  }

  .adv-icon--custom svg{
    width:20px;
    height:20px;
  }
}

/* ================== SMALL MOBILE ================== */
@media (max-width: 420px){

  .advantages-title{
    font-size:24px;
  }

  .advantages-text{
    font-size:14px;
  }

  .adv-card--custom{
    padding:38px 12px 12px;
  }

  .adv-card--custom h3{
    font-size:14px;
  }
}
.service-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8f9 100%);
    position: relative;
    overflow: hidden;
}

.service-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(37, 208, 206, 0.08);
    top: -220px;
    left: -180px;
}

.service-top {
    max-width: 850px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.service-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 40px;
    background: rgba(37, 208, 206, 0.12);
    color: #25d0ce;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.service-title {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    color: #1f1f1f;
    margin-bottom: 30px;
}

.service-description {
    font-size: 20px;
    line-height: 1.8;
    color: #666;
    max-width: 720px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #fff;
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.06);
    transition: .35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37,208,206,0.04),
        rgba(37,208,206,0)
    );
}

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

.service-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(37, 208, 206, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
    color: #1f1f1f;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
    position: relative;
    z-index: 2;
}

@media (max-width: 1100px) {

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

    .service-title {
        font-size: 50px;
    }
}

@media (max-width: 768px) {

    .service-section {
        padding: 80px 0;
    }

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

    .service-title {
        font-size: 38px;
    }

    .service-description {
        font-size: 17px;
    }

    .service-card {
        padding: 28px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}
/* ===== О ПРОИЗВОДСТВЕ COMPACT ===== */

.production-section{
    padding:80px 0;
    background:#f7f8fa;
    position:relative;
    overflow:hidden;
}

.production-section::before{
    content:'';
    position:absolute;
    top:-180px;
    right:-180px;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(37,208,206,.06);
}

.production-top{
    max-width:720px;
    margin-bottom:45px;
    position:relative;
    z-index:2;
}

.production-label{
    display:inline-flex;
    padding:10px 18px;
    border-radius:40px;
    background:rgba(37,208,206,.12);
    color:#25d0ce;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    margin-bottom:20px;
}

.production-title{
    font-size:46px;
    line-height:1.1;
    font-weight:800;
    color:#1f1f1f;
    margin-bottom:20px;
}

.production-description{
    font-size:17px;
    line-height:1.7;
    color:#666;
    max-width:620px;
}

/* ADVANTAGES */

.production-advantages{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:60px;
    position:relative;
    z-index:2;
}

.production-card{
    background:#fff;
    border-radius:24px;
    padding:26px;
    box-shadow:0 12px 35px rgba(0,0,0,.05);
    transition:.3s ease;
    position:relative;
    overflow:hidden;
}

.production-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.production-card span{
    display:inline-flex;
    width:48px;
    height:48px;
    border-radius:14px;
    align-items:center;
    justify-content:center;
    background:rgba(37,208,206,.12);
    color:#25d0ce;
    font-size:16px;
    font-weight:800;
    margin-bottom:18px;
}

.production-card h3{
    font-size:20px;
    line-height:1.35;
    font-weight:800;
    color:#1f1f1f;
    margin-bottom:12px;
}

.production-card p{
    font-size:14px;
    line-height:1.7;
    color:#666;
}

/* GALLERY */

.production-gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-rows:180px;
    gap:14px;
}

.gallery-item{
    overflow:hidden;
    border-radius:20px;
    position:relative;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s ease;
    display:block;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

.gallery-item.big{
    grid-column:span 2;
    grid-row:span 2;
}

.gallery-item.wide{
    grid-column:span 2;
}

/* TABLET */

@media(max-width:1100px){

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

    .production-title{
        font-size:38px;
    }

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

/* MOBILE */

@media(max-width:768px){

    .production-section{
        padding:60px 0;
    }

    .production-title{
        font-size:30px;
    }

    .production-description{
        font-size:15px;
    }

    .production-advantages{
        grid-template-columns:1fr;
        gap:16px;
    }

    .production-card{
        padding:22px;
    }

    .production-card h3{
        font-size:18px;
    }

    .production-gallery{
        grid-template-columns:1fr;
        grid-auto-rows:220px;
    }

    .gallery-item.big,
    .gallery-item.wide{
        grid-column:auto;
        grid-row:auto;
    }
}
