:root{
  --bg:#ffffff;
  --text:#0b1b2a;
  --muted:#4a5a6a;
  --navy:#0f2a3b;
  --cyan:#19b6c8;
  --cyan2:#37c8d8;
  --line:rgba(15,42,59,.10);
  --shadow:0 14px 40px rgba(15,42,59,.10);
  --shadow2:0 10px 24px rgba(15,42,59,.08);
  --radius:18px;
  --radius2:24px;
  --container:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
  padding-top:86px; /* фиксированный header */
}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 1rem}
h1,h2,h3{margin:0 0 .75rem; line-height:1.15}
h1{font-size:clamp(2rem,3.5vw,3.2rem); letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,2.2vw,2.2rem); letter-spacing:-.02em}
h3{font-size:1.05rem}
strong{font-weight:800}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip{
  position:absolute; left:-999px; top:10px;
  padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.brand-logo{height:58px; width:auto}

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

.nav-menu{
  display:flex;
  align-items:center;
  gap:18px;
  font-weight:700;
  color:var(--navy);
}

.nav-menu a{
  padding:10px 10px;
  border-radius:12px;
  transition:background .2s ease, color .2s ease;
}

.nav-menu a:hover{
  background:rgba(25,182,200,.10);
  color:var(--navy);
}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  width:44px; height:44px;
  border-radius:14px;
  box-shadow:var(--shadow2);
  cursor:pointer;
}

.hamburger{
  display:block;
  width:18px; height:2px;
  background:var(--navy);
  margin:0 auto;
  position:relative;
  border-radius:2px;
}

.hamburger::before,.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:18px; height:2px;
  background:var(--navy);
  border-radius:2px;
}

.hamburger::before{top:-6px}
.hamburger::after{top:6px}

.no-scroll{overflow:hidden}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  background:linear-gradient(135deg, var(--cyan), var(--cyan2));
  color:#06202a;
  font-weight:900;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow2);
  transition:transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover{transform:translateY(-1px); filter:saturate(1.05); box-shadow:var(--shadow)}
.btn:active{transform:translateY(0)}
.btn-small{padding:10px 12px; border-radius:14px}

/* HERO (Minimal) */
.hero{position:relative}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 320px at 20% 10%, rgba(25,182,200,.16), transparent 60%),
    radial-gradient(720px 260px at 80% 30%, rgba(15,42,59,.10), transparent 55%);
  pointer-events:none;
}

.hero-min{
  padding:72px 0 48px;
  overflow:hidden; /* самолёт может выходить за контейнер, но не за экран */
}

.hero-grid-min{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  grid-template-areas:
    "copy image"
    "cta  image";
  align-items:center;
  gap:48px;
  position:relative;
  overflow:visible;
}

.hero-copy{grid-area:copy}
.hero-image{grid-area:image; position:relative}
.hero-cta{
  grid-area:cta;
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.lead{
  font-size:1.05rem;
  color:var(--muted);
  max-width:58ch;
}

.hero-image img{
  width:125%;
  max-width:none;
  height:auto;
  object-fit:contain;
  transform:translateX(12%) translateY(-4%); /* “вылетает” из контейнера вправо */
  pointer-events:none;
}


/* Sections */
.section{padding:64px 0}

.section-soft{
  background:
    radial-gradient(900px 380px at 10% 10%, rgba(25,182,200,.12), transparent 55%),
    linear-gradient(180deg, rgba(15,42,59,.03), rgba(15,42,59,.00));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head h2{
  position:relative;
  display:inline-block;
  padding-bottom:10px;
}

.section-head h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:48px;
  height:3px;
  border-radius:3px;
  background:linear-gradient(90deg, var(--cyan), var(--cyan2));
}

/* Services (premium cards) */
.services-premium{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}

.serviceP{
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  background:
    radial-gradient(420px 220px at 20% 10%, rgba(25,182,200,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow:0 18px 46px rgba(15,42,59,.08);
  transition:transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}

.serviceP:hover{
  transform:translateY(-3px);
  border-color:rgba(25,182,200,.55);
  box-shadow:0 28px 70px rgba(15,42,59,.14);
}

.serviceP-ico{
  width:54px; height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  margin-bottom:14px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(25,182,200,.22);
  box-shadow:0 18px 40px rgba(25,182,200,.10), inset 0 1px 0 rgba(255,255,255,.9);
  position:relative;
}

.serviceP-ico::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:22px;
  background:radial-gradient(18px 18px at 50% 50%, rgba(25,182,200,.35), transparent 65%);
  filter:blur(10px);
  opacity:.65;
  pointer-events:none;
}

.serviceP svg{
  width:34px; height:34px;
  overflow:visible;
  filter:drop-shadow(0 10px 18px rgba(25,182,200,.18));
}

.serviceP h3{margin:0 0 8px}
.serviceP p{margin:0; color:var(--muted); font-weight:650}

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}

.step{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  padding:16px;
  background:#fff;
  box-shadow:0 12px 26px rgba(15,42,59,.06);
  display:flex;
  gap:14px;
}

.step-n{
  width:44px; height:44px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(25,182,200,.18);
  border:1px solid rgba(25,182,200,.45);
  font-weight:1000;
  color:var(--navy);
}

.step-body p{color:var(--muted); font-weight:650; margin:0}

.section-testimonials{
  position:relative;
  overflow:hidden;
}

.section-testimonials::before{
  content:"";
  position:absolute;
  inset:-120px -80px auto -80px;
  height:420px;
  background:
    radial-gradient(520px 220px at 20% 25%, rgba(25,182,200,.18), transparent 60%),
    radial-gradient(520px 220px at 70% 40%, rgba(15,42,59,.10), transparent 62%);
  pointer-events:none;
}

/* ===== PROCESO (timeline style, no cards) ===== */

.process{
  position:relative;
  margin-top: 18px;
  padding-left: 28px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.process-line{
  position:absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(25,182,200,.55),
    rgba(15,42,59,.10)
  );
  border-radius: 999px;
}

.p-step{
  display:grid;
  grid-template-columns: 120px 1fr;
  align-items:start;
  gap: 18px;
  padding: 10px 0;
}

.p-marker{
  position:relative;
  display:flex;
  align-items:center;
  gap: 10px;
}

.p-num{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  color: rgba(11,27,42,.82);
  min-width: 3ch;
}

.p-dot{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(25,182,200,.95);
  box-shadow: 0 0 0 6px rgba(25,182,200,.12);
  position:relative;
}

.p-body h3{
  margin: 0 0 6px;
  font-weight: 950;
  letter-spacing: -0.015em;
  color: var(--navy, #0f2a3b);
}

.p-body p{
  margin: 0;
  color: rgba(11,27,42,.78);
  font-weight: 650;
  line-height: 1.55;
  max-width: 72ch;
}

/* subtle “editorial” feel: keep headings narrow */
#proceso .section-head h2{
  max-width: 22ch;
}

/* Responsive */
@media (max-width: 820px){
  .p-step{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .process{
    padding-left: 22px;
  }
  .p-marker{
    gap: 12px;
  }
}

@media (max-width: 520px){
  .p-num{ font-size: 1.05rem; }
  .p-body p{ font-weight: 600; }
}


/* Gallery mosaic */
.t-galleryPages{
  display:flex;
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding: 4px 2px 10px;
}

.t-galleryPages::-webkit-scrollbar{ height:10px; }
.t-galleryPages::-webkit-scrollbar-thumb{
  background: rgba(15,42,59,.16);
  border-radius: 999px;
}
.t-galleryPages::-webkit-scrollbar-track{ background: transparent; }

.t-page{
  flex: 0 0 100%;
  scroll-snap-align: start;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}



/* tile */
.t-g{
  aspect-ratio: 4 / 5;
  border:1px solid rgba(15,42,59,.10);
  background:#fff;
  padding:0;
  border-radius:26px;
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 22px 54px rgba(15,42,59,.12);
}

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




/* Reviews slider */
.t-reviews{
  margin-top:22px;
  border-top:1px solid rgba(15,42,59,.10);
  padding-top:18px;
}

.t-reviews-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.t-reviews-title{
  margin:0;
  font-size:1.05rem;
  font-weight:950;
  color: rgba(11,27,42,.82);
  letter-spacing:-.01em;
}

.t-reviews-controls{
  display:flex;
  gap:10px;
}

.t-nav{
  width:44px;
  height:44px;
  border-radius:16px;
  border:1px solid rgba(15,42,59,.12);
  background: rgba(255,255,255,.85);
  box-shadow: 0 12px 26px rgba(15,42,59,.08);
  cursor:pointer;
  font-size:20px;
  font-weight:900;
  color: rgba(11,27,42,.75);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.t-nav:hover{
  transform: translateY(-1px);
  border-color: rgba(25,182,200,.45);
  box-shadow: 0 18px 46px rgba(15,42,59,.14);
}

.t-track{
  display:flex;
  gap:14px;
  overflow:auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 8px;
}

.t-track::-webkit-scrollbar{ height:10px; }
.t-track::-webkit-scrollbar-thumb{
  background: rgba(15,42,59,.14);
  border-radius: 999px;
}
.t-track::-webkit-scrollbar-track{ background: transparent; }

.t-quote{
  flex: 0 0 420px;
  scroll-snap-align: start;
  border-radius: 26px;
  border: 1px solid rgba(15,42,59,.10);
  background:
    radial-gradient(520px 240px at 18% 12%, rgba(25,182,200,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  box-shadow: 0 18px 46px rgba(15,42,59,.10);
  padding: 18px 18px 14px;
  position:relative;
}

.t-quote::before{
  content:"“";
  position:absolute;
  top:10px; left:14px;
  font-size:48px;
  line-height:1;
  color: rgba(25,182,200,.22);
  font-weight:1000;
}

.t-quote p{
  margin: 0;
  color: rgba(11,27,42,.88);
  font-weight: 650;
  line-height:1.55;
}

.t-meta{
  margin-top:12px;
  font-weight:950;
  color: rgba(11,27,42,.72);
  letter-spacing:-.01em;
}

/* Lightbox */
.t-lightbox{
  position:fixed;
  inset:0;
  background: rgba(6,20,26,.72);
  backdrop-filter: blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:120;
}

.t-lightbox.open{ display:flex; }

.t-lb-img{
  max-width:min(980px, 92vw);
  max-height:80vh;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.t-lb-close{
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

.t-lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  color:#fff;
  font-size:28px;
  font-weight:900;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 46px rgba(0,0,0,.28);
}

.t-lb-prev{ left:18px; }
.t-lb-next{ right:18px; }





@media (max-width: 720px){
  .t-page{
    grid-template-columns: repeat(2, 1fr);
    gap:12px;
  }
  .t-lb-nav{
    width:46px;
    height:46px;
    border-radius:16px;
    font-size:24px;
  }
  .t-lb-prev{ left:12px; }
  .t-lb-next{ right:12px; }
}

/* FAQ */
.faq{display:grid; gap:10px; max-width:860px}

.faq-item{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 12px 26px rgba(15,42,59,.06);
  overflow:hidden;
}

.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-weight:900;
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

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

.faq-item summary::after{
  content:"+";
  font-size:1.4rem;
  line-height:1;
  color:rgba(15,42,59,.75);
}

.faq-item[open] summary::after{content:"–"}
.faq-body{padding:0 16px 14px; color:var(--muted); font-weight:650}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:16px;
  align-items:start;
}

.contact-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin:16px 0;
}

.contact-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  background:#fff;
  box-shadow:0 12px 24px rgba(15,42,59,.06);
}

.cc-k{margin:0 0 6px; color:rgba(11,27,42,.68); font-weight:900; font-size:.85rem}
.cc-v{margin:0; color:var(--navy); font-weight:850}
.cc-v a{text-decoration:underline; text-underline-offset:3px}

.contact-logo{
 width: 400px;
}

.contact-form{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  background:#fff;
  box-shadow:var(--shadow);
  padding:16px;
}

.contact-form h3{margin-bottom:12px}

label{display:block; margin-bottom:10px}
label span{display:block; font-weight:900; color:rgba(11,27,42,.72); font-size:.85rem; margin:0 0 6px}

input, select, textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font:inherit;
  outline:none;
  background:#fff;
  transition:box-shadow .2s ease, border-color .2s ease;
}

textarea{resize:vertical; min-height:110px}

input:focus, select:focus, textarea:focus{
  border-color:rgba(25,182,200,.55);
  box-shadow:0 0 0 4px rgba(25,182,200,.14);
}

.form-note{
  margin:.6rem 0 0;
  color:rgba(11,27,42,.75);
  font-weight:650;
  font-size:.92rem;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background:rgba(15,42,59,.02);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.footer-brand{display:flex; align-items:center; gap:10px}
.footer-brand img{height:44px; width:auto}
.footer-brand span{display:block; color:var(--muted); font-weight:650; font-size:.92rem; margin-top:2px}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-weight:850;
  color:var(--navy);
}

.footer-links a{padding:8px 10px; border-radius:12px}
.footer-links a:hover{background:rgba(25,182,200,.10)}
.footer-copy{color:var(--muted); font-weight:650}

/* Floating CTA */
.float-cta{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  padding:12px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--cyan), var(--cyan2));
  border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow);
  font-weight:1000;
  color:#06202a;
  transform:translateY(14px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}

.float-cta.show{opacity:1; transform:translateY(0); pointer-events:auto}

/* Responsive */
@media (max-width:980px){
  .steps{grid-template-columns:1fr 1fr}
  .testimonials{grid-template-columns:1fr 1fr}
  .t-card-wide{grid-column:auto}
  .contact-grid{grid-template-columns:1fr}
  .contact-cards{grid-template-columns:1fr}
  .services-premium{grid-template-columns:1fr 1fr}
}

@media (max-width:900px){
  /* Важно: на мобиле делаем колонку и задаём порядок трём детям hero-grid-min */
  .hero-grid-min{
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:stretch;
  }
  .hero-copy{order:1}
  .hero-image{order:2}
  .hero-cta{order:3; margin-top:0}

  .hero-image img{
    width:100%;
    transform:none;
  }

  .benefits-grid{grid-template-columns:1fr}
}

@media (max-width:720px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav-menu{
    position:fixed;
    inset:70px 16px auto 16px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:10px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav-menu.open{display:flex}
  .nav-menu a{padding:12px 12px}

  .btn{width:100%}
  .testimonials{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .services-premium{grid-template-columns:1fr}
}