/* =========================================================================
   SimplePort — standalone recreation of simpleport.ru
   Clean, self-contained rebuild of the original Tilda site.
   Design tokens (fonts, sizes, spacing, colors) match the original 1:1.
   ========================================================================= */

:root{
  --brand:#8e2663;          /* magenta — nav, footer, submit button */
  --link:#ff8562;           /* default link color (peach) */
  --text:#000000;
  --td:#4d4c4c;             /* table body text */
  --row-even:#eeeeee;       /* zebra striping */
  --border-dark:#000000;    /* table header underline */
  --border-light:#d9d9d9;   /* table body row borders */
  --footer-border:#292929;
  --font:'Roboto',Arial,Helvetica,sans-serif;
}

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

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:var(--font);
  font-weight:300;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  background:#ffffff;
}

a{ color:var(--link); text-decoration:none; }
strong,b{ font-weight:700; }
img{ max-width:100%; }

/* ---- grid helpers ---- */
.container{ max-width:1200px; margin:0 auto; padding:0 20px; }
.w1000{ max-width:1000px; margin:0 auto; }
.w800{ max-width:800px; margin:0 auto; }

/* skip-link for accessibility */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:1000;
  background:#fff; color:#000; padding:10px 16px;
}
.skip-link:focus{ left:8px; top:8px; }

/* =========================================================================
   NAVIGATION  (Tilda T229)  — fixed, 50px, magenta, centered white menu
   ========================================================================= */
.nav{
  position:fixed; top:0; left:0; width:100%; height:50px; z-index:990;
  background:var(--brand);
  transition:background-color .3s linear;
}
.nav__inner{
  height:50px; max-width:100%; margin:0 auto;
  display:flex; align-items:center; justify-content:center;
  padding:0 20px;
}
.nav__list{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
}
.nav__item{ padding:0 15px; }
.nav__link{
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.2px;
  white-space:nowrap;
  transition:opacity .2s ease-in-out;
}
.nav__link:hover{ opacity:.7; }
.nav__link.is-active{ opacity:.7; }

/* burger (mobile only) */
.nav__burger{
  display:none;
  position:absolute; right:18px; top:50%; transform:translateY(-50%);
  width:28px; height:22px; background:none; border:0; cursor:pointer; padding:0;
}
.nav__burger span{
  display:block; position:absolute; left:0; height:2px; width:100%;
  background:#fff; border-radius:2px; transition:.25s ease;
}
.nav__burger span:nth-child(1){ top:2px; }
.nav__burger span:nth-child(2){ top:10px; }
.nav__burger span:nth-child(3){ top:18px; }
.nav.is-open .nav__burger span:nth-child(1){ top:10px; transform:rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2){ opacity:0; }
.nav.is-open .nav__burger span:nth-child(3){ top:10px; transform:rotate(-45deg); }

/* =========================================================================
   HERO / COVER  (Tilda cover + T001)
   ========================================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  color:#fff;
  background:#000 url('assets/hero.jpg') center center / cover no-repeat;
  background-attachment:fixed;
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.70), rgba(0,0,0,.70));
}
.hero__wrap{
  position:relative; z-index:2;
  max-width:700px; margin:0 auto;
  padding:42px 20px;
}
.hero__uptitle{
  font-weight:700;
  font-size:14px;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:#fff;
  padding:30px 0 60px;
}
.hero__title{
  font-weight:700;
  font-size:52px;
  line-height:1.17;
  letter-spacing:.5px;
  color:#fff;
  margin:0;
  padding:24px 0 38px;
}
.hero__descr{
  font-weight:300;
  font-size:24px;
  line-height:1.5;
  color:#fff;
  padding:0 0 30px;
}
.hero__descr a{ color:#fff; font-weight:600; text-decoration:underline; }

/* bouncing down arrow */
.hero__arrow{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%);
  z-index:3;
  animation:hero-bounce 2s ease-in-out infinite;
}
.hero__arrow svg{ fill:#fff; display:block; }
@keyframes hero-bounce{
  0%,100%{ transform:translateX(-50%) translateY(0); }
  50%{ transform:translateX(-50%) translateY(10px); }
}

/* =========================================================================
   SECTION HEAD  (Tilda T795)
   ========================================================================= */
.section{ scroll-margin-top:60px; }
.section-head{
  padding-top:135px; padding-bottom:0;
  text-align:center;
}
.section-head__title{
  font-weight:700;
  font-size:42px;
  line-height:1.23;
  margin:0 auto 40px;
  max-width:1000px;
}
.section-head__descr{
  font-weight:300;
  font-size:24px;
  line-height:1.5;
  max-width:560px;
  margin:0 auto;
}

/* =========================================================================
   PRICING TABLES  (Tilda T431)
   ========================================================================= */
.table-block{ padding-top:90px; padding-bottom:120px; }
.table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.ptable{
  width:100%;
  border-collapse:collapse;
  font-size:18px;
  line-height:1.55;
  text-align:left;
  min-width:680px;
}
.ptable th,
.ptable td{
  padding:20px;
  vertical-align:top;
}
.ptable thead th{
  color:var(--text);
  font-weight:300;
  border-bottom:1px solid var(--border-dark);
}
.ptable tbody td{
  color:var(--td);
  border-bottom:1px solid var(--border-light);
}
.ptable tbody tr:nth-child(odd){ background:#ffffff; }
.ptable tbody tr:nth-child(even){ background:var(--row-even); }

/* =========================================================================
   CONTACT  (Tilda T718)
   ========================================================================= */
.contact{ padding-top:150px; padding-bottom:150px; }
.contact__head{ text-align:center; }
.contact__title{
  font-weight:700; font-size:42px; line-height:1.23;
  margin:0 auto 40px;
}
.contact__intro{
  font-weight:300; font-size:18px; line-height:1.5;
  max-width:560px; margin:0 auto 36px;
}
.contact__email{
  font-weight:300; font-size:30px; line-height:1.45; letter-spacing:.45px;
  color:var(--text);
}
.contact__email a{ color:inherit; text-decoration:none; }
.contact__email a:hover{ text-decoration:underline; }
.contact__email--center{ text-align:center; }

/* =========================================================================
   DISCLAIMER  (Tilda T004)
   ========================================================================= */
.disclaimer{ padding-top:0; padding-bottom:0; }
.disclaimer__text{
  font-weight:300; font-size:20px; line-height:1.55;
}

/* =========================================================================
   RIPE BADGE  (Tilda T107)
   ========================================================================= */
.ripe{ padding-top:75px; padding-bottom:45px; text-align:center; }
.ripe img{ width:auto; max-width:100%; margin:0 auto; display:inline-block; }

/* =========================================================================
   FOOTER  (Tilda T345)  — magenta band
   ========================================================================= */
.footer{ background:var(--brand); }
.footer__inner{
  border-top:1px solid var(--footer-border);
}
.footer__content{
  min-height:120px;
  display:flex; align-items:center;
  padding:18px 0;
}
.footer__text{
  font-weight:300; font-size:14px; line-height:1.55;
  color:#ffffff;
}
.footer__text a{ color:var(--link); }
.footer__text a:hover{ text-decoration:underline; }

/* =========================================================================
   LEGAL / TEXT PAGES  (pay, privacy, terms)
   ========================================================================= */
.page{ padding-top:50px; }            /* clear the fixed nav */
.page-head{
  padding-top:120px; padding-bottom:0; text-align:center;
}
.page-head__title{
  font-weight:700; font-size:42px; line-height:1.23; margin:0 auto;
  max-width:1000px;
}
.doc{
  padding-top:60px; padding-bottom:120px;
  font-weight:300; font-size:18px; line-height:1.6;
  color:#000;
}
.doc h2{
  font-weight:700; font-size:24px; line-height:1.3;
  margin:40px 0 14px;
}
.doc h3{
  font-weight:500; font-size:20px; line-height:1.35;
  margin:28px 0 10px;
}
.doc p{ margin:0 0 14px; }
.doc ul{ margin:0 0 14px; padding-left:22px; }
.doc li{ margin:0 0 8px; }
.doc a{ color:var(--link); }
.doc a:hover{ text-decoration:underline; }
.doc__lead{ font-size:20px; }
.doc table{ border-collapse:collapse; width:100%; margin:18px 0; }
.doc table td,.doc table th{ border:1px solid #ddd; padding:8px 10px; vertical-align:top; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media screen and (max-width:1200px){
  .hero__title{ font-size:52px; }
  .section-head__title,.contact__title,.page-head__title{ font-size:38px; }
  .section-head__descr{ font-size:22px; }
  .hero__descr{ font-size:22px; }
  .contact__email{ font-size:26px; }
  .footer__text{ font-size:12px; }
  .ptable{ font-size:16px; }
  .disclaimer__text{ font-size:18px; }
}

/* tablet & down — collapse heavy vertical padding (matches Tilda) */
@media screen and (max-width:980px){
  .section-head{ padding-top:90px; }
  .table-block{ padding-top:90px; padding-bottom:90px; }
  .contact{ padding-top:90px; padding-bottom:90px; }

  /* burger menu */
  .nav__burger{ display:block; }
  .nav__inner{ justify-content:flex-start; }
  .nav__list{
    position:fixed; top:50px; left:0; width:100%;
    flex-direction:column; align-items:center;
    background:var(--brand);
    padding:8px 0 16px;
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
  }
  .nav.is-open .nav__list{ max-height:80vh; overflow-y:auto; }
  .nav__item{ padding:12px 10px; }
}

@media screen and (max-width:640px){
  .hero__title{ font-size:32px; }
  .hero__descr{ font-size:14px; line-height:1.45; }
  .hero__uptitle{ font-size:10px; padding:20px 0 40px; }
  .section-head__title,.contact__title,.page-head__title{ font-size:30px; }
  .section-head__descr{ font-size:20px; }
  .contact__email{ font-size:22px; }
  .ptable{ font-size:14px; }
  .ptable th,.ptable td{ padding:14px; }
  .disclaimer__text{ font-size:16px; }
  .doc{ font-size:16px; }
}

@media screen and (max-width:480px){
  .hero__title{ font-size:30px; }
}
