@font-face {
  font-family: "SHK Dzeragir"; /* название, под которым будешь использовать */
  src: url("/event/sam-shush/SHK_Dzeragir.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


  :root{
    --peach:#f3a48b;
    --peach-hover:#ee9072;
    --dark:#0c1117;
    --light:#ffffff;
    --text-dark:#1a1a1a;
    --golden: #b8860b;
    --golden-dark: #8b7500;
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{margin:0;color:#fff;font-family:"Manrope",system-ui,Arial,sans-serif; font-size: 20px}

  .sec{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:80px 20px}

  /* ---------- 1. HERO ---------- */
  .hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
  .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.55));z-index:-1}
  .hero .inside{text-align:center}
.names {
    font-size: 95px;
    letter-spacing: .04em;
    margin: 0 0 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    font-family: "SHK Dzeragir", sans-serif;
}
  span.icon_hearts {
    width: 100px;
    display: inline-block;
}
  .subtitle{opacity:.95;margin:140px 0 26px; font-size: 18px}
  .count{display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.06);backdrop-filter:blur(6px);
    width:min(680px,92%);margin:26px auto;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.14)}
  .cell{padding:16px 10px;position:relative;text-align:center}
  .cell:not(:last-child)::after{content:"";position:absolute;top:20%;bottom:20%;right:0;width:1px;background:rgba(255,255,255,.25)}
  .num{font-size:clamp(32px,5vw,52px);font-weight:800}
  .lab{text-transform:uppercase;font-size:15px;opacity:.85;margin-top:4px}
 .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 50px 15px 50px;
    border-radius: 999px;
    background: var(--golden);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    transition: .25s;
    line-height: 1.5;
}

.btn:hover {
    background: #f9e79f;
    color: var(--golden-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}

.btn::before {
    content: "";
    position: absolute;
    top: -80%;
    left: -60%;
    width: 45%;
    height: 260%;
    transform: skewX(-20deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.95) 48%,
        transparent 60%
    );
    opacity: 0;
    filter: blur(2px);
    animation: shine 2s ease-in-out infinite; /* всегда крутится */
}

@keyframes shine {
    0% {
        left: -60%;
        opacity: 0;
    }
    50% {
        opacity: .95;
    }
    100% {
        left: 140%;
        opacity: 0;
    }
}


  /* ---------- 2. ПРОГРАММА (GRID) ---------- */

/* декоративные углы (как будто лента по краям) */
.envelope {
  width: 800px;
  max-width: calc(100% - 30px);
  margin: 60px auto;
  padding: 60px 60px 100px 60px;
  text-align: center;
  font-family: "SHK Dzeragir", cursive;

  /* фон под пергамент */
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  border: 6px solid transparent;
  border-radius: 16px;

  /* золотая рамка */
  border-image: linear-gradient(45deg, #d4af37, #f9e79f, #d4af37) 1;
  
  /* мягкая тень */
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  position: relative;
}
span.icon_invite {
    width: 100px;
    display: block;
    position: absolute;
    bottom: 30px;
    right: 30px;
}
.envelope h1 {
  font-size: 44px;
  font-weight: normal;
  color: var(--golden);
  margin-bottom: 25px;
}

.envelope p {
  font-size: 28px;
  line-height: 1.8;
  margin: 20px 0;
  color: #444;
}

.envelope .date {
  font-size: 30px;
  font-weight: bold;
  color: var(--golden-dark);
  margin-top: 35px;
}


#program {
  background: #fff;
  color: #1a1a1a;
  padding: 30px 20px 80px 20px;
}
  #program .prog-wrap{width:min(820px,100%);margin:0 auto}
#program .prog-intro {
    text-align: center;
    margin-bottom: 48px;
    font-family: "SHK Dzeragir", sans-serif;
}
.prog-intro p {
  font-size: 35px;
}
.prog-intro p span {
    color: var(--peach);
    font-size: 58px;
    margin-bottom: 28px;
    display: inline-block;
}
  #program .prog-intro .date{color:var(--peach);font-weight:800;font-size:40px;margin:6px 0 4px}
#program .prog-title {
  font-weight: normal;
  font-size: 64px;
  margin: 70px 0 0 0;
  font-family: "SHK Dzeragir", cursive;
  color: var(--golden);
}
  .timeline{
  display: grid;
  grid-template-columns: calc(50% - 75px) 150px calc(50% - 75px);
    row-gap: 26px;
    position: relative;
  }
  .tl{display:contents;}
  .tl .time{
    grid-column: 1;
    text-align: right;
    font-weight: 800;
    white-space: nowrap;
    padding-top: 31px;
  }
  .tl .axis{
    grid-column: 2;
    position: relative;
    min-height: 128px;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    height: calc(100% - 45px);
    background: rgba(0, 0, 0, .15);
    transform: translateX(-1px);
  }
  .badge{
    position:absolute; left:50%; top:0; transform:translate(-50%,0);
    width:100px; height:100px; border-radius:50%; padding: 5px;
    background:#fff; color:#fff; display:flex; align-items:center; justify-content:center;
    font-size:16px; box-shadow:0 6px 14px rgba(0,0,0,.18)
  }
  .tl .content {
  grid-column: 3;
    padding-top: 17px;
  }
  .tl .content h3{margin:0 0 4px;font-weight:800;}
  .tl .content p{margin:0;opacity:.85;font-size:15px}
.content.mdl {
    margin-top: -14px;
}

/* ---------- 3. ЛОКАЦИЯ ---------- */
.place{background:var(--light);color:var(--text-dark);padding:80px 20px}
.place-wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}
.place-title {
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 50px;
  width: 100%;
  font-family: "SHK Dzeragir", sans-serif;
  font-weight: normal;
  color: var(--golden);
}
.place-subtitle {
    width: 100%;
    text-align: center;
    margin: 0 0 20px 0;
    color: #878383;
    font-size: 16px;
    font-weight: bold;
}
span.icon_loc {
    position: relative;
    top: 5px;
}
span.icon_loc svg {
  width: 20px;
}
.place-photo {
  width: 50%;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.place-photo img{display:block;width:auto;height:500px}
.place-grid{display:grid;grid-template-columns:.3fr .7fr;gap:30px;align-items:center}
.place-heading{font-weight:800;font-size:clamp(22px,3vw,28px)}
.map-box{
  border-radius: 0 12px 12px 0 ;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  background: #f2f4f7;
  width: 50%;
}
footer {
  background: var(--golden);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

footer .footer-email {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* расстояние между иконкой и текстом */
}

footer .footer-email a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

footer .footer-email a:hover {
  color: var(--dark);
}

footer .icon-envelope {
  width: 18px;
  height: 18px;
  display: inline-block;
}

footer .container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .names {
      font-size: 50px;
  }
  #program {
    padding: 30px 15px 80px 15px;
  }
  #program .prog-title{
    margin: 0;
  }
  .timeline {  
    grid-template-columns: 10% 110px calc(90% - 110px);
  }
  .timeline::before {
    left: calc(10% + 55px);
    height: calc(100% - 55px);
  }
  .tl .time {
    text-align: left;
    padding-top: 25px;
  }
  .tl .axis {
    min-height: 85px;
  }
  .badge {
    width: 70px;
    height: 70px;
  }
  .tl .content{
    padding-top: 7px;
  }
  .envelope {
    padding: 50px 30px 80px 30px;
  }
  span.icon_invite {
    width: 88px;
    bottom: 15px;
    right: 15px;
  }
  .place {
    padding: 28px 20px 80px 20px;
  }
  .place-title {
    font-size: 38px;
  }
  .place-photo,
  .map-box {
    width: 100%;
    border-radius: 12px;
  }
  .place-photo img {
    width: 100%;
    height: auto;
  }
  .map-box {
    margin-top: 30px;
  }
}