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

  :root {
    --olive-deep: #5C6545;
    --olive-mid: #8A9B6E;
    --olive-light: #bac487;
    --olive-wash: #d4ddb0;
    --cream: #F5EFE3;
    --linen: #EDE5D4;
    --sand: #E2D5BE;
    --earth: #9B8B72;
    --taupe: #7A6E5F;
    --ink: #3A3228;
  }

  html { scroll-behavior: smooth; }

  body {
    background-color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--ink);
    overflow-x: hidden;
    position: relative;
  }

  /* ─── PAPER TEXTURE (grain only) ─── */

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 400px 400px;
  }

  /* ─── LAYOUT ─── */
  .page {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 0 auto;
    padding: 0 24px 80px;
  }

  /* ─── DIVIDER ─── */
  .divider {
    width: 32px;
    height: 0.5px;
    background: var(--olive-light);
    margin: 0 auto;
    opacity: 0.6;
  }

  .divider-long {
    width: 100%;
    height: 0.5px;
    background: linear-gradient(90deg, transparent, var(--olive-light), transparent);
    margin: 40px 0;
    opacity: 0.7;
  }

  /* ─── SECTION LABEL ─── */
  .section-label {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--earth);
    text-align: center;
    margin-bottom: 28px;
  }

  /* ─── HERO ─── */
  .hero-names-top {
    text-align: center;
    padding: 56px 24px 40px;
    background: var(--cream);
  }
  .hero-names {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 10vw, 56px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .hero-amp {
    display: block;
    font-size: clamp(26px, 7vw, 38px);
    color: var(--earth);
    margin: 6px 0;
    font-style: normal;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
  }
.hero {
  position: relative;
  margin: 0 -24px;
  overflow: hidden;
  background: transparent;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 760px;

  height: 520px;

  object-fit: cover;
  object-position: center 18%;

  display: block;

  background: transparent;

  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 20px 60px rgba(0,0,0,0.08);
}
.hero-overlay {
  display: none;
}
  .hero-pretitle-below {
    text-align: center;
    padding: 28px 24px 0;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--earth);
  }
  .hero-date { display: none; }
  .hero-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--olive-mid), transparent);
    margin: 28px auto 0;
    opacity: 0.5;
  }

  /* ─── INTRO CARD ─── */
  .intro-section {
    padding: 0 0 56px;
    text-align: center;
  }

  .intro-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--ink);
    letter-spacing: 0.01em;
    margin-bottom: 20px;
  }

  .intro-italic {
    font-style: italic;
    font-size: 22px;
    color: var(--taupe);
    line-height: 1.7;
  }

  /* ─── PROGRAM SECTION ─── */
  .program-section {
    padding: 0 0 56px;
  }

  .timeline {
    position: relative;
    padding: 8px 0;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background: linear-gradient(to bottom, transparent, var(--olive-light) 10%, var(--olive-light) 90%, transparent);
    transform: translateX(-50%);
  }

  .timeline-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
    position: relative;
  }

  .timeline-row:last-child { margin-bottom: 0; }

  .timeline-left {
    flex: 1;
    text-align: right;
    padding-right: 32px;
  }

  .timeline-right {
    flex: 1;
    text-align: left;
    padding-left: 32px;
  }

  .timeline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cream);
    border: 0.5px solid var(--olive-mid);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .time-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--olive-deep);
    line-height: 1;
  }

  .time-desc {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--taupe);
    margin-top: 4px;
    line-height: 1.5;
  }

  /* ─── VENUE CARD ─── */
  .venue-section {
    padding: 0 0 56px;
  }

  .venue-card {
    background: var(--linen);
    border: 0.5px solid var(--olive-light);
    border-radius: 2px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 2px 8px rgba(92,101,69,0.06),
      0 8px 32px rgba(92,101,69,0.08),
      0 1px 2px rgba(92,101,69,0.04);
  }

  /* paper fold corner */
  .venue-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 28px 28px 0;
    border-color: transparent var(--cream) transparent transparent;
    filter: drop-shadow(-2px 2px 3px rgba(92,101,69,0.1));
  }

  /* grain on card */
  .venue-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .venue-address {
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--taupe);
    line-height: 1.9;
  }

  .venue-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--olive-deep);
    text-decoration: none;
    border-bottom: 0.5px solid var(--olive-mid);
    padding-bottom: 2px;
    transition: opacity 0.2s;
  }
  .venue-link:hover { opacity: 0.65; }

  /* ─── DRESSCODE ─── */
  .dresscode-section {
    padding: 0 0 56px;
    text-align: center;
  }

  .dresscode-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--taupe);
    margin-bottom: 28px;
    letter-spacing: 0.03em;
  }

  .palette-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(58,50,40,0.12), 0 1px 3px rgba(58,50,40,0.08);
  }

  /* ─── RSVP FORM ─── */
  .rsvp-section {
    padding: 0 0 56px;
  }
  

  .rsvp-card {
    background: var(--linen);
    border: 0.5px solid var(--sand);
    border-radius: 2px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    box-shadow:
      0 4px 16px rgba(92,101,69,0.07),
      0 12px 40px rgba(92,101,69,0.09);
  }

  .rsvp-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }

  .form-label {
    display: block;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--earth);
    margin-bottom: 10px;
  }

  .form-input {
    width: 100%;
    background: var(--cream);
    border: 0.5px solid var(--sand);
    border-radius: 1px;
    padding: 14px 16px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
  }

  .form-input::placeholder { color: var(--earth); opacity: 0.5; }
  .form-input:focus { border-color: var(--olive-mid); }

  .radio-group, .check-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .radio-item, .check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .radio-item input, .check-item input {
    width: 16px;
    height: 16px;
    accent-color: var(--olive-deep);
    cursor: pointer;
    flex-shrink: 0;
  }

  .radio-item span, .check-item span {
    font-size: 17px;
    font-weight: 300;
    color: var(--taupe);
    letter-spacing: 0.04em;
  }

  .submit-btn {
    width: 100%;
    background: var(--olive-deep);
    color: var(--cream);
    border: none;
    padding: 18px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 1px;
    margin-top: 8px;
    transition: background 0.25s, opacity 0.25s;
    position: relative;
    z-index: 1;
  }

  .submit-btn:hover { background: var(--olive-mid); color: var(--cream); }

  /* ─── FOOTER ─── */
  footer {
    text-align: center;
    padding: 40px 0 16px;
    position: relative;
    z-index: 1;
  }

  .footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
    color: var(--ink);
    letter-spacing: 0.01em;
  }

  .footer-meta {
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--earth);
    margin-top: 8px;
  }

  /* ─── SCROLL ANIMATIONS — см. ниже ─── */

  /* ─── CALENDAR ─── */
  .cal-wrap {
    margin: 32px auto 0;
    max-width: 320px;
    background: var(--linen);
    border: 0.5px solid var(--olive-light);
    border-radius: 3px;
    padding: 24px 20px 20px;
    box-shadow:
      0 2px 8px rgba(92,101,69,0.06),
      0 10px 36px rgba(92,101,69,0.1),
      0 1px 2px rgba(92,101,69,0.04);
    position: relative;
    overflow: hidden;
  }

  .cal-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .cal-month-label {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--earth);
    text-align: center;
    margin-bottom: 18px;
  }

  .cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
  }

  .cal-hdr {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--earth);
    text-align: center;
    padding-bottom: 8px;
    opacity: 0.7;
  }

  .cal-empty { height: 34px; }

  .cal-day {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: var(--taupe);
    border-radius: 2px;
    letter-spacing: 0;
  }

  .cal-sun { color: var(--earth); opacity: 0.6; }

  .cal-special {
    position: relative;
    flex-direction: column;
    gap: 1px;
    background: var(--olive-deep);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(92,101,69,0.25), 0 4px 20px rgba(92,101,69,0.15);
  }

  .cal-special .cal-num {
    font-size: 12px;
    font-weight: 400;
    color: var(--cream);
    line-height: 1;
  }

  .cal-heart {
    width: 10px;
    height: 9px;
    display: block;
    opacity: 0.85;
  }

  .cal-heart path { fill: var(--olive-wash); }


  /* ─── DETAILS ─── */
  .details-section {
    padding: 0 0 56px;
  }

  .details-card {
    background: var(--linen);
    border: 0.5px solid var(--olive-light);
    border-radius: 2px;
    padding: 36px 32px;
    text-align: center;
    box-shadow:
      0 2px 8px rgba(92,101,69,0.06),
      0 8px 32px rgba(92,101,69,0.08);
    position: relative;
    overflow: hidden;
  }

  .details-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .details-icon {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1;
  }

  .details-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
  }

  .details-sub {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--taupe);
    font-style: italic;
    letter-spacing: 0.02em;
  }

  /* ─── PAPER FOLD LINES (decorative overlays per section) ─── */
  .paper-fold {
    position: relative;
  }
  .paper-fold::before {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: -20px;
    z-index: 0;
    background:
      linear-gradient(114deg, transparent 0%, transparent 45%, rgba(138,155,110,0.055) 45.3%, transparent 45.8%);
  }

  

.countdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.time-box {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  padding: 34px;
  min-width: 160px;
  border-radius: 28px;
  text-align: center;
}

.time-box span {
  display: block;
  font-size: 68px;
  font-weight: 300;
  color: #6d705c;
}

.time-box small {
  ffont-size: 18px;
  letter-spacing: 2px;
  margin-top: 10px;
  display: block;
  color: #8a8a8a;
}

/* ══════════════════════════════════════════════════
   SCROLL ANIMATIONS 2026
══════════════════════════════════════════════════ */

/* Базовый fade-in (управляется JS через .visible) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline rows — slide in с боков */
.timeline-row {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline-row:nth-child(odd)  { transform: translateX(-28px); }
.timeline-row:nth-child(even) { transform: translateX(28px); }
.timeline-row.tl-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Palette dots — scale up */
.dot {
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
}
.dot.dot-visible {
  transform: scale(1);
  opacity: 1;
}

/* Calendar 21 — pulse glow */
.cal-special {
  transition: box-shadow 0.4s ease;
}
.cal-special.cal-pulse {
  animation: heartbeat 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heartbeat {
  0%   { box-shadow: 0 2px 10px rgba(92,101,69,0.25), 0 4px 20px rgba(92,101,69,0.15); }
  40%  { box-shadow: 0 0 0 8px rgba(92,101,69,0.12), 0 0 0 16px rgba(92,101,69,0.06); }
  100% { box-shadow: 0 2px 14px rgba(92,101,69,0.35), 0 4px 28px rgba(92,101,69,0.2); }
}

/* Success message */
.success-message {
  display: none;
  margin-top: 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--olive-deep);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.success-message.success-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════
   PREMIUM TYPOGRAPHY
══════════════════════════════════════════════════ */

/* Оптическое выравнивание и сглаживание шрифтов */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Section label — с тонкими линиями по бокам */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--olive-light));
  opacity: 0.6;
}
.section-label::after {
  background: linear-gradient(90deg, var(--olive-light), transparent);
}

/* Имена — увеличенный трекинг на больших экранах */
.hero-names {
  font-feature-settings: "swsh" 1, "calt" 1;
  letter-spacing: -0.02em;
}

/* Intro — чуть увеличенный межстрочный */
.intro-text {
  font-feature-settings: "liga" 1, "onum" 1;
}

/* Time numbers — tabular nums */
.time-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Venue link — подчёркивание через offset */
.venue-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  border-bottom: none;
  transition: text-decoration-color 0.3s ease, opacity 0.2s;
}
.venue-link:hover {
  text-decoration-color: var(--olive-mid);
  opacity: 1;
}

/* Submit button — uppercase с kerning */
.submit-btn {
  font-feature-settings: "cpsp" 1;
  letter-spacing: 0.32em;
}

.wedding-date {
  margin-top: 22px;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  letter-spacing: 0.28em;
  color: var(--olive-deep);
  opacity: 0.92;
}

/* ══════════════════════════════════════════════════
   COUNTDOWN
══════════════════════════════════════════════════ */
.countdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.time-box {
  background: var(--linen);
  border: 0.5px solid var(--olive-light);
  border-radius: 4px;
  padding: 26px 22px 18px;
  min-width: 110px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(92,101,69,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(92,101,69,0.14);
}

.time-box span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--olive-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-box small {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--earth);
}

/* ══════════════════════════════════════════════════
   MOBILE — полная адаптация
══════════════════════════════════════════════════ */

/* Базовый размер шрифта на маленьких экранах */
@media (max-width: 480px) {

  .page {
    padding: 0 16px 60px;
  }

  /* Hero */
  .hero-names-top {
    padding: 40px 16px 28px;
  }
  .hero-photo {
    height: 420px;
    object-position: center 15%;
  }
  .hero-pretitle-below {
    font-size: 9px;
    padding: 20px 16px 0;
    letter-spacing: 0.25em;
  }

  /* Имена */
  .hero-names {
    font-size: clamp(36px, 11vw, 48px);
  }
  .hero-amp {
    font-size: clamp(24px, 7vw, 32px);
  }

  /* Section labels */
  .section-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    gap: 10px;
  }

  /* Intro */
  .intro-text {
    font-size: 20px;
  }
  .intro-italic {
    font-size: 18px;
  }

  /* Timeline */
  .time-num {
    font-size: 24px;
  }
  .time-desc {
    font-size: 12px;
  }
  .timeline-left  { padding-right: 20px; }
  .timeline-right { padding-left: 20px; }

  /* Venue */
  .venue-card {
    padding: 28px 20px;
  }
  .venue-name {
    font-size: 24px;
  }
  .venue-address {
    font-size: 14px;
  }

  /* Dresscode */
  .dresscode-text {
    font-size: 16px;
  }
  .dot {
    width: 28px;
    height: 28px;
  }

  /* Details */
  .details-card {
    padding: 28px 20px;
  }
  .details-text {
    font-size: 19px;
  }
  .details-sub {
    font-size: 14px;
  }

  /* Form */
  .rsvp-card {
    padding: 28px 20px;
  }
  .form-input {
    font-size: 16px; /* предотвращает zoom на iOS */
    padding: 13px 14px;
  }
  .radio-item span,
  .check-item span {
    font-size: 15px;
  }
  .submit-btn {
    font-size: 12px;
    padding: 16px;
  }

  /* Countdown */
  .time-box {
    min-width: 60px;
    padding: 12px 10px 10px;
  }
  .time-box span {
    font-size: 22px;
  }
  .time-box small {
    font-size: 8px;
  }

  /* Calendar */
  .cal-wrap {
    max-width: 100%;
    padding: 18px 12px 16px;
  }
  .cal-day {
    height: 34px;
    font-size: 11px;
  }
  .cal-hdr {
    font-size: 10px;
  }

  /* Footer */
  .footer-names {
    font-size: 26px;
  }
  .footer-meta {
    font-size: 10px;
  }

  /* Divider long */
  .divider-long {
    margin: 28px 0;
  }
}

/* Планшет */
@media (min-width: 481px) and (max-width: 768px) {
  .page { padding: 0 20px 70px; }
  .hero-photo { height: 480px; }
  .time-num { font-size: 28px; }
  .intro-text { font-size: 22px; }
}

/* Большие экраны — максимальный комфорт */
@media (min-width: 769px) {
  .page { max-width: 580px; }
  .hero-photo { height: 560px; }
}

/* Touch — убираем hover-эффекты */
@media (hover: none) {
  .time-box:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(92,101,69,0.08);
  }
  .submit-btn:hover {
    background: var(--olive-deep);
  }
  .cursor-glow { display: none; }
}

/* PHOTO BLOCK */

.photo-section {
  padding: 120px 24px;
  display: flex;
  justify-content: center;
}

.photo-wrapper {
  width: 100%;
  max-width: 760px;
}

.photo-block {
  width: 100%;
  display: block;

  border-radius: 28px;

  object-fit: cover;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    0 20px 60px rgba(0,0,0,0.08);

  transition: transform 0.4s ease;
}

.photo-block:hover {
  transform: scale(1.01);
}

.photo-caption {
  margin-top: 28px;

  text-align: center;

  font-size: 24px;
  line-height: 1.6;
  font-weight: 300;

  color: #6d705c;
}
