/* ==========================================================================
   Пінгвін ЕКО — стилі лендингу
   Кольори, шрифти й розміри взяті з макета у Figma (Бренд-бук · 07 Сайт)
   ========================================================================== */

:root{
  --blue-deep:#143592;
  --blue-mid:#2152a6;
  --blue-light:#398bcb;
  --orange:#f49f34;
  --ice:#eaf4fb;
  --paper:#f7fbfd;
  --line:#dde4e8;
  --ink:#10182b;
  --white:#fff;

  --r-card:24px;
  --r-tile:18px;
  --r-field:14px;
  --r-btn:14px;

  --header-h:96px;
  --gutter:120px;
  --maxw:1440px;

  --font-head:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}

body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}
p{margin:0}

.container{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--gutter);
}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--orange);color:var(--blue-deep);
  padding:10px 18px;border-radius:0 0 12px 0;font-weight:700;
}
.skip-link:focus{left:0}

:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}

/* ---------- Типографіка ---------- */
.h2{
  font-family:var(--font-head);
  font-weight:800;
  font-size:52px;
  line-height:1.12;
  letter-spacing:-1.5px;
  color:var(--blue-deep);
  margin:0 0 28px;
}
.h2--light{color:var(--white)}

.eyebrow{
  font-family:var(--font-head);
  font-weight:700;
  font-size:14px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--blue-light);
  margin:0 0 16px;
}
.eyebrow--light{color:var(--blue-light)}
.eyebrow--dark{color:var(--blue-deep)}

.section__lead{
  font-size:19px;
  line-height:1.6;
  color:var(--blue-mid);
  max-width:700px;
  margin:0 0 56px;
}

.rule{display:block;width:80px;height:6px;border-radius:3px;background:var(--orange);margin:0 0 32px}
.rule--light{margin:32px 0}

.section{padding:100px 0;position:relative;overflow:hidden}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-weight:700;font-size:17px;
  text-decoration:none;cursor:pointer;border:0;
  border-radius:var(--r-btn);
  padding:0 24px;height:48px;
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease;
}
.btn--primary{background:var(--orange);color:var(--blue-deep)}
.btn--primary:hover{background:#f7ae54;transform:translateY(-1px);box-shadow:0 8px 20px rgba(244,159,52,.3)}
.btn--ghost{background:transparent;color:var(--white);border:2px solid var(--blue-light)}
.btn--ghost:hover{background:rgba(57,139,203,.18)}
.btn--lg{height:64px;min-width:230px;padding:0 28px}
.btn--block{width:100%}
.btn--submit{height:58px;font-size:17px;margin-top:8px}
.btn[disabled]{opacity:.6;cursor:progress;transform:none;box-shadow:none}

/* ---------- Шапка ---------- */
.header{
  position:fixed;inset:0 0 auto 0;z-index:50;
  background:var(--white);
  border-bottom:1px solid var(--line);
  transition:box-shadow .2s ease;
}
.header.is-stuck{box-shadow:0 6px 24px rgba(16,24,43,.07)}

.header__inner{
  max-width:var(--maxw);margin:0 auto;
  padding:0 var(--gutter);
  height:var(--header-h);
  display:flex;align-items:center;gap:32px;
}

.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:0 0 auto}
.brand__logo{width:64px;height:64px;object-fit:contain}
.brand__text{display:flex;flex-direction:column;line-height:1.2}
.brand__name{font-family:var(--font-head);font-weight:800;font-size:22px;letter-spacing:-.5px;color:var(--blue-deep)}
.brand__tagline{font-size:12px;color:var(--blue-light)}

.nav{margin-left:auto}
.nav__list{display:flex;align-items:center;gap:36px}
.nav__link{
  font-family:var(--font-body);font-weight:600;font-size:16px;
  color:var(--blue-deep);text-decoration:none;
  padding:6px 0;position:relative;white-space:nowrap;
}
.nav__link::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;
  background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .2s ease;
}
.nav__link:hover::after,.nav__link.is-active::after{transform:scaleX(1)}
.nav__mobile-extra{display:none}

.header__right{display:flex;align-items:center;gap:20px;margin-left:auto}

.socials{display:flex;align-items:center;gap:22px}
.socials a{display:inline-flex;opacity:.9;transition:opacity .15s ease,transform .15s ease}
.socials a:hover{opacity:1;transform:translateY(-1px)}
.socials img{width:25px;height:25px;object-fit:contain}
.socials li.is-hidden{display:none}
.socials--header img{filter:none}
.socials--footer img{filter:brightness(0) invert(1);opacity:.85}
.socials--nav{display:none}

.header__cta{height:44px;min-width:196px;border-radius:12px}

.burger{
  display:none;width:44px;height:44px;border:0;background:transparent;
  padding:0;cursor:pointer;flex-direction:column;justify-content:center;gap:6px;align-items:flex-end;
}
.burger span{display:block;width:32px;height:3px;border-radius:2px;background:var(--blue-deep);transition:transform .2s ease,opacity .2s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* ---------- Герой ---------- */
.hero{
  position:relative;
  background:var(--blue-deep);
  padding:calc(var(--header-h) + 72px) 0 150px;
  overflow:hidden;
  isolation:isolate;
}
.hero__bg{position:absolute;inset:-60px;z-index:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;opacity:.23;filter:blur(24px)}
.hero__inner{position:relative;z-index:2}

.blob{position:absolute;border-radius:50%;z-index:1;pointer-events:none}
.blob--a{width:320px;height:320px;left:-117px;top:-46px;background:rgba(57,139,203,.22)}
.blob--b{width:460px;height:460px;right:-200px;top:300px;background:rgba(57,139,203,.18)}
.blob--c{width:160px;height:160px;left:56%;top:-42px;background:rgba(57,139,203,.26)}
.blob--d{width:220px;height:220px;left:106px;bottom:-40px;background:rgba(57,139,203,.14)}

.hero__title{
  font-family:var(--font-head);font-weight:800;
  font-size:96px;line-height:1.05;letter-spacing:-3px;
  color:var(--white);margin:0 0 28px;
}
.hero__lead{font-size:22px;line-height:1.6;color:var(--ice);max-width:640px;margin:0 0 40px}
.hero__actions{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:56px}

.hero__facts{display:flex;flex-wrap:wrap;gap:20px 40px}
.hero__facts li{position:relative;padding-left:20px;min-width:180px;max-width:220px}
.hero__facts li::before{
  content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:4px;background:var(--orange);
}
.hero__facts strong{display:block;font-family:var(--font-head);font-weight:600;font-size:16px;color:var(--white)}
.hero__facts span{display:block;font-size:13px;line-height:1.5;color:var(--blue-light)}

.hero__wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:105px;z-index:3;display:block}

/* ---------- Про нас ---------- */
.section--about{background:var(--white)}
.about__grid{display:grid;grid-template-columns:600px 1fr;gap:80px;align-items:start}
.about__p{font-size:19px;line-height:1.7;color:var(--ink);margin:0 0 28px}
.about__p--accent{font-weight:700;color:var(--blue-deep)}

.values{display:flex;flex-direction:column;gap:19px}
.value{
  position:relative;background:var(--ice);border-radius:var(--r-card);
  padding:28px 32px 28px 56px;min-height:160px;
  display:flex;flex-direction:column;justify-content:center;
}
.value::before{
  content:"";position:absolute;left:0;top:28px;bottom:28px;width:6px;border-radius:3px;background:var(--orange);
}
.value__title{font-family:var(--font-head);font-weight:600;font-size:22px;color:var(--blue-deep);margin:0 0 10px}
.value__text{font-size:16px;line-height:1.55;color:var(--blue-mid)}

/* ---------- Послуги ---------- */
.section--services{background:var(--paper)}
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service{
  background:var(--white);border:1px solid var(--ice);border-radius:var(--r-card);
  padding:32px;min-height:246px;
  transition:transform .18s ease,box-shadow .18s ease;
}
.service:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,53,146,.08)}
.service__icon{
  width:64px;height:64px;border-radius:var(--r-tile);background:var(--ice);
  display:flex;align-items:center;justify-content:center;margin-bottom:32px;
}
.service__icon img{width:32px;height:32px;object-fit:contain}
.service__title{font-family:var(--font-head);font-weight:600;font-size:22px;line-height:1.3;color:var(--blue-deep);margin:0 0 14px}
.service__text{font-size:15px;line-height:1.6;color:var(--blue-mid)}

/* ---------- Акції ---------- */
.section--promo{background:var(--orange)}
.blob--p1{width:300px;height:300px;left:-92px;top:-26px;background:rgba(255,255,255,.14)}
.blob--p2{width:380px;height:380px;right:-134px;bottom:-190px;background:rgba(255,255,255,.12)}
.promo__grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.promo__note{font-size:16px;color:var(--blue-deep);opacity:.85}
.promo__card{background:var(--white);border-radius:var(--r-card);padding:36px 40px}
.promo__price{font-family:var(--font-head);font-weight:800;font-size:44px;line-height:1.1;letter-spacing:-1px;color:var(--orange);margin:0 0 14px}
.promo__for{font-family:var(--font-body);font-weight:700;font-size:18px;color:var(--blue-deep);margin:0 0 18px}
.promo__small{font-size:14px;line-height:1.6;color:var(--blue-mid)}

/* ---------- Прайс ---------- */
.section--price{background:var(--white)}
.price{display:flex;flex-direction:column;gap:12px}
.price__loading{color:var(--blue-mid)}

.acc{background:var(--ice);border-radius:20px;overflow:hidden}
.acc__head{
  width:100%;border:0;background:transparent;cursor:pointer;
  display:flex;align-items:center;gap:20px;
  padding:28px 32px;text-align:left;
  font-family:var(--font-head);font-weight:600;font-size:21px;color:var(--blue-deep);
}
.acc__chevron{flex:0 0 auto;width:14px;height:14px;border-right:3px solid var(--orange);border-bottom:3px solid var(--orange);transform:rotate(-45deg);transition:transform .2s ease;margin-left:4px}
.acc.is-open .acc__chevron{transform:rotate(45deg)}
.acc__panel{display:none;padding:0 32px 28px}
.acc.is-open .acc__panel{display:block}

.acc__group{margin-top:18px}
.acc__group:first-child{margin-top:0}
.acc__group-title{
  font-family:var(--font-head);font-weight:700;font-size:13px;letter-spacing:2px;text-transform:uppercase;
  color:var(--blue-light);margin:0 0 10px;
}
.ptable-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ptable{width:100%;border-collapse:collapse;font-size:15px}
.ptable th{
  text-align:left;font-family:var(--font-body);font-weight:700;font-size:13px;line-height:1.25;
  color:var(--blue-light);padding:0 12px 8px 0;border-bottom:1px solid rgba(57,139,203,.25);
  white-space:normal;vertical-align:bottom;
}
.ptable th:not(:first-child),.ptable td:not(:first-child){text-align:right}
.ptable td:not(:first-child){white-space:nowrap}
.ptable th.is-promo-head{min-width:88px}
.ptable td{padding:11px 12px 11px 0;border-bottom:1px solid rgba(57,139,203,.18);color:var(--blue-mid);vertical-align:top}
.ptable tr:last-child td{border-bottom:0}
.ptable .is-name{color:var(--ink);width:100%}
.ptable .is-promo{color:var(--orange);font-weight:700}

.price__notes{margin-top:36px;display:flex;flex-direction:column;gap:10px}
.price__notes li{position:relative;padding-left:18px;font-size:14px;line-height:1.6;color:var(--blue-mid)}
.price__notes li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:3px;background:var(--orange)}

/* ---------- Контакти ---------- */
.section--contacts{background:var(--blue-deep);color:var(--white)}
.blob--c1{width:300px;height:300px;left:-107px;top:0;background:rgba(57,139,203,.2)}
.blob--c2{width:420px;height:420px;right:-200px;bottom:-140px;background:rgba(57,139,203,.16)}
.contacts__grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 520px;gap:80px;align-items:start}

.point__list{display:flex;flex-direction:column;gap:12px}
.point__row{display:flex;align-items:center;gap:20px}
.point__icon{
  flex:0 0 auto;width:56px;height:56px;border-radius:16px;background:rgba(57,139,203,.25);
  display:flex;align-items:center;justify-content:center;
}
.point__icon img{width:28px;height:28px;object-fit:contain}
.point__body{display:flex;flex-direction:column}
.point__label{font-size:14px;color:var(--blue-light)}
.point__value{
  font-family:var(--font-head);font-weight:600;font-size:20px;color:var(--white);
  text-decoration:none;
}
a.point__value:hover{color:var(--orange)}

/* ---------- Форма ---------- */
.formcard{background:var(--white);border-radius:28px;padding:44px;color:var(--ink);scroll-margin-top:calc(var(--header-h) + 24px)}
.formcard__title{font-family:var(--font-head);font-weight:800;font-size:30px;letter-spacing:-1px;color:var(--blue-deep);margin:0 0 12px}
.formcard__lead{font-size:16px;line-height:1.55;color:var(--blue-mid);margin:0 0 28px}

.field{margin-bottom:22px}
.field__label{
  display:block;font-family:var(--font-body);font-weight:600;font-size:13px;letter-spacing:.4px;
  color:var(--blue-light);margin-bottom:8px;
}
.field__input{
  width:100%;height:54px;padding:0 18px;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-field);
  font-family:var(--font-body);font-size:16px;color:var(--ink);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.field__input::placeholder{color:#b8c6d1}
.field__input:focus{outline:0;border-color:var(--blue-light);box-shadow:0 0 0 3px rgba(57,139,203,.18)}
.field__input.is-invalid{border-color:#d9534f;background:#fdf6f6}
.field__error{min-height:0;font-size:13px;color:#d9534f;margin-top:6px}

.dropzone{
  display:block;cursor:pointer;text-align:center;
  padding:22px 18px;border:1.5px dashed var(--line);border-radius:var(--r-field);
  background:var(--paper);transition:border-color .15s ease,background-color .15s ease;
}
.dropzone:hover,.dropzone.is-drag{border-color:var(--blue-light);background:#f0f7fc}
.dropzone__title{display:block;font-family:var(--font-head);font-weight:600;font-size:16px;color:var(--blue-deep);margin-bottom:6px}
.dropzone__hint{display:block;font-size:13px;line-height:1.5;color:var(--blue-mid)}

.thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.thumbs li{position:relative;width:72px;height:72px;border-radius:12px;overflow:hidden;background:var(--ice)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.thumbs button{
  position:absolute;top:4px;right:4px;width:22px;height:22px;border:0;border-radius:11px;
  background:rgba(16,24,43,.72);color:#fff;font-size:14px;line-height:1;cursor:pointer;
}

.field--check{margin-top:4px}
.check{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--blue-mid);cursor:pointer}
.check input{width:20px;height:20px;flex:0 0 auto;margin-top:1px;accent-color:var(--orange)}
.check a{color:var(--blue-light)}

.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.formcard__status{margin-top:16px;font-size:15px;line-height:1.55;min-height:0}
.formcard__status.is-ok{color:#1c7c4a;font-weight:700}
.formcard__status.is-err{color:#d9534f;font-weight:700}

/* ---------- Футер ---------- */
.footer{background:var(--ink);color:var(--white);padding:36px 0}
.footer__inner{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.footer .brand__name{color:var(--white)}
.footer .brand__tagline{color:var(--blue-light)}
.footer .brand__logo{width:72px;height:72px}
.footer__nav{display:flex;gap:32px;margin-left:40px}
.footer__nav a{font-size:16px;color:var(--white);text-decoration:none;opacity:.9}
.footer__nav a:hover{color:var(--orange);opacity:1}
.socials--footer{margin-left:auto}
.footer__copy{font-size:13px;color:var(--blue-mid)}

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width:1300px){
  :root{--gutter:64px}
  .hero__title{font-size:76px;letter-spacing:-2px}
  .about__grid{grid-template-columns:1fr 1fr;gap:48px}
  .contacts__grid{grid-template-columns:1fr 460px;gap:48px}
}

@media (max-width:1100px){
  .nav__list{gap:24px}
  .header__cta{min-width:0;padding:0 16px}
  .socials--header{gap:16px}
}

@media (max-width:960px){
  :root{--gutter:32px;--header-h:64px}

  .header__inner{gap:16px}
  .brand__logo{width:44px;height:44px}
  .brand__name{font-size:18px}
  .brand__tagline{font-size:11px}

  .header__cta{display:none}
  .socials--header{display:none}
  .burger{display:flex}

  .nav{
    position:fixed;left:0;right:0;top:var(--header-h);
    background:var(--white);border-bottom:1px solid var(--line);
    padding:8px 32px 24px;margin:0;
    transform:translateY(-12px);opacity:0;visibility:hidden;
    transition:opacity .18s ease,transform .18s ease,visibility .18s;
    max-height:calc(100dvh - var(--header-h));overflow-y:auto;
    box-shadow:0 16px 32px rgba(16,24,43,.12);
  }
  .nav.is-open{transform:none;opacity:1;visibility:visible}
  .nav__list{flex-direction:column;align-items:stretch;gap:0}
  .nav__link{display:block;padding:16px 0;border-bottom:1px solid var(--line);font-size:18px}
  .nav__link::after{display:none}
  .nav__mobile-extra{display:block;margin-top:20px}
  .socials--nav{display:flex;flex-direction:column;gap:0;margin-bottom:20px}
  .socials--nav a{align-items:center;gap:12px;padding:12px 0;text-decoration:none;color:var(--blue-deep);font-weight:600}
  .socials--nav img{width:22px;height:22px}
  .socials--nav li.is-text img{display:none}

  .section{padding:64px 0}
  .h2{font-size:34px;letter-spacing:-.8px;margin-bottom:20px}
  .eyebrow{font-size:12px;letter-spacing:3px}
  .section__lead{font-size:16px;margin-bottom:32px}

  .hero{padding:calc(var(--header-h) + 40px) 0 90px}
  .hero__title{font-size:40px;line-height:1.1;letter-spacing:-1px}
  .hero__lead{font-size:17px;margin-bottom:28px}
  .hero__actions{flex-direction:column;gap:12px;margin-bottom:36px}
  .btn--lg{width:100%;height:58px;min-width:0}
  .hero__facts{flex-direction:column;gap:14px}
  .hero__facts li{max-width:none}
  .hero__wave{height:40px}
  .blob--b,.blob--c{display:none}

  .about__grid{grid-template-columns:1fr;gap:36px}
  .about__p{font-size:17px}
  .value{min-height:0;padding:22px 24px 22px 44px}
  .value::before{top:20px;bottom:20px;width:5px}
  .value__title{font-size:19px}

  .services{grid-template-columns:1fr;gap:16px}
  .service{min-height:0;padding:24px}
  .service__icon{width:48px;height:48px;border-radius:14px;margin-bottom:20px}
  .service__icon img{width:24px;height:24px}
  .service__title{font-size:19px}

  .promo__grid{grid-template-columns:1fr;gap:28px}
  .promo__card{padding:26px 24px}
  .promo__price{font-size:34px}
  .promo__for{font-size:16px}

  .acc__head{padding:20px 22px;font-size:17px;gap:14px}
  .acc__panel{padding:0 16px 22px}
  .ptable{font-size:14px}
  .ptable th{font-size:11px;padding-right:8px}
  .ptable td{padding:10px 8px 10px 0}
  .ptable .is-name{font-size:13px}
  .ptable th.is-promo-head{min-width:66px}

  .contacts__grid{grid-template-columns:1fr;gap:40px}
  .point__icon{width:46px;height:46px;border-radius:14px}
  .point__icon img{width:22px;height:22px}
  .point__value{font-size:17px}

  .formcard{padding:28px 22px;border-radius:22px}
  .formcard__title{font-size:24px}

  .footer{padding:28px 0}
  .footer__inner{flex-direction:column;align-items:flex-start;gap:20px}
  .footer .brand__logo{width:56px;height:56px}
  .footer__nav{margin-left:0;flex-wrap:wrap;gap:8px 20px}
  .socials--footer{margin-left:0}
}

@media (max-width:420px){
  :root{--gutter:16px}
  .nav{padding-left:16px;padding-right:16px}
  .hero__title{font-size:34px}
}
