/* ============================================================
   Wedding info — ոճեր
   ============================================================ */

:root {
  /* --- գունապնակ. կրեմ + բալենու ծաղիկ + ոսկի --- */
  --ivory: #fdf9f6;          /* էջի հիմնական ֆոնը */
  --paper: #ffffff;
  --sand: #f9f0ec;           /* այլընտրանքային բաժինների ֆոնը */
  --blush: #f6e6e3;          /* փափուկ վարդագույն */

  --ink: #5f4a46;            /* հիմնական տեքստը՝ տաք շագանակագույն */
  --muted: #9c837c;          /* երկրորդական տեքստ */
  --accent: #cf94a0;         /* վարդագույն շեշտադրում */
  --accent-dark: #a9636f;    /* մուգ վարդագույն՝ վերնագրերի համար */

  --gold: #c4a052;
  --gold-light: #e6cf95;
  --gold-deep: #9d7c33;

  --line: #f0dfd9;
  /* Ճյուղերի տակի շղարշի գույնը՝ --ivory-ի ու --sand-ի միջինը,
     որ բոլոր բաժինների ֆոների վրա աննկատ լինի */
  --scrim: #fbf5f1;

  /* ծաղիկների գույները (օգտագործվում են floral.css-ում) */
  --blossom: #f6cdd3;
  --blossom-deep: #eaa9b5;
  --blossom-center: #e0b25f;
  --branch: #8c6a52;
  --leaf: #b5b58c;

  --serif: 'Cormorant Garamond', 'Noto Serif Armenian', Georgia, serif;
  --sans: 'Jost', 'Noto Sans Armenian', 'Segoe UI', sans-serif;
  --script: 'Great Vibes', 'Marck Script', 'Noto Serif Armenian', cursive;

  --container: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ---------- հորիզոնական սքրոլի պաշտպանություն ----------
   reveal-անիմացիաները էլեմենտները ժամանակավորապես տեղաշարժում են
   աջ (translateX), ինչը նեղ էկրանին ավելորդ հորիզոնական սքրոլ էր
   ստեղծում։ Կտրում ենք այն։

   Ուշադրություն. պետք է clip, ոչ թե hidden — hidden-ը ստեղծում է
   scroll container և կկոտրեր animation-timeline: view()-ը։
   hidden-ը թողնված է միայն որպես fallback այն հին բրաուզերների
   համար, որտեղ clip չկա (այնտեղ view() նույնպես չկա)։ */

html, .section, .site-footer { overflow-x: hidden; }

@supports (overflow: clip) {
  html, .section, .site-footer { overflow-x: clip; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .5em;
}

h2 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  text-align: center;
  letter-spacing: .01em;
}

h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

a { color: var(--accent-dark); }

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

.container.narrow { max-width: 760px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 24px 100px;
  color: var(--ink);
  /* Կրեմ ֆոն՝ երկու փափուկ վարդագույն շողով */
  background:
    radial-gradient(60% 45% at 18% 18%, rgba(246, 205, 211, .55), transparent 70%),
    radial-gradient(55% 40% at 84% 86%, rgba(246, 205, 211, .45), transparent 70%),
    linear-gradient(170deg, #fefbf9 0%, #fbf3ef 55%, #f8ece7 100%);
  /* clip, ոչ թե hidden. hidden-ը hero-ը դարձնում է scroll container,
     ինչի պատճառով ներսի animation-timeline: view()-ը չէր աշխատի */
  overflow: clip;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-kicker {
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1.2;
  /* Տուփը սեղմվում է հենց տեքստի չափին և կենտրոնանում է էկրանում։ */
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  letter-spacing: .01em;
  /* Ոսկեգույն «մետաղական» լցոն։ Եթե բրաուզերը չաջակցի՝
     տեքստը կմնա հասարակ ոսկեգույն (color-ը fallback է) */
  color: var(--gold);
  background: linear-gradient(100deg, #b8862f 0%, #e7cb84 28%, #c9a34d 52%, #f0dca4 74%, #b8862f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .08em;   /* որ գրչագրի պոչերը չկտրվեն */
}

/* Տողերը կառուցվում են main.js-ում՝ renderHero()-ում */
.hero-names span { display: block; }

/* «եվ»-ը և երկրորդ անունը մեկ տուփի մեջ են, ուստի ձախ եզրով
   միշտ ճիշտ իրար տակ են։ Ամբողջ տուփը ներս է քաշված այնքան, որ
   «եվ»-ը ընկնի առաջին անվան վերջին տառերի տակ։
   Աջ-ձախ շարժելու համար փոխեք հենց այս 2.4em-ը։ */
.hero-names .hn-tail { margin-top: 0.1em; }

.hero-names .hn-amp {
  font-size: .5em;
  line-height: 1;
  margin-top: .12em;
  margin-bottom: .04em;
}

.hero-date {
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.hero-place {
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 34px;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  text-decoration: none;
  font-size: 1.2rem;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- ընդհանուր բաժիններ ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--sand); }

.eyebrow {
  text-align: center;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 38px;
  max-width: 220px;
  color: var(--gold);
  font-size: .8rem;
}

.ornament span {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .5;
}

.ornament.dark { color: var(--gold); }
.ornament.light { color: var(--gold); margin-bottom: 26px; }

/* ---------- զույգի լուսանկարը ----------
   Կամարաձև (arch) շրջանակ՝ վերևը կլորացած, ներքևը՝ գրեթե ուղիղ։
   Չափը փոխելու համար՝ width-ը։ Ձևը՝ --arch-ը։ */

.photo {
  --arch: 50% 50% 8px 8px / 38% 38% 2% 2%;

  position: relative;
  width: min(300px, 68%);
  margin: 0 auto 42px;
  padding: 11px;              /* ոսկե օղակի ու նկարի արանքը */
}

.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;          /* ցանկացած համամասնության նկար ճիշտ կկտրվի */
  border-radius: var(--arch);
  box-shadow: 0 16px 36px rgba(169, 99, 111, .18);
}

/* Բարակ ոսկե օղակը՝ նկարից մի փոքր դուրս */
.photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-light);
  border-radius: var(--arch);
  pointer-events: none;
}

.lead {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.7;
  text-align: center;
  color: var(--ink);
}

.lead.centered { text-align: center; }

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  color: var(--accent-dark);
  margin-top: 26px;
}

.note {
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 28px;
}

/* ---------- կոճակներ ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.btn-light {
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--gold-light);
  color: var(--gold-deep);
}

.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
}

.btn-outline:hover { background: var(--accent); color: var(--paper); }

/* ---------- երաժշտության կոճակը ----------
   Էկրանի ներքևի աջ անկյունում է, ճյուղերից վերև (z-index 40 > 30)։
   Բարերը շարժվում են միայն երբ երգը միացած է։ */

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(169, 99, 111, .16);
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.music-toggle:hover {
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Երգը կանգնած է — եռանկյուն (play)։ Երգը հնչում է — պարող բարեր։ */

.music-play {
  width: 13px;
  height: 14px;
  background: var(--gold-deep);
  -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  margin-left: 3px;    /* եռանկյան ծանրության կենտրոնը ձախ է, փոխհատուցում ենք */
}

.music-icon {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.music-toggle.is-playing .music-play { display: none; }
.music-toggle.is-playing .music-icon { display: flex; }

.music-icon span {
  width: 3px;
  height: 5px;
  border-radius: 2px;
  background: var(--gold-deep);
  opacity: .45;
  transition: height .3s ease, opacity .3s ease;
}

.music-toggle.is-playing .music-icon span {
  opacity: 1;
  animation: eq .9s ease-in-out infinite;
}

.music-toggle.is-playing .music-icon span:nth-child(2) { animation-delay: .18s; }
.music-toggle.is-playing .music-icon span:nth-child(3) { animation-delay: .36s; }

@keyframes eq {
  0%, 100% { height: 5px; }
  50%      { height: 16px; }
}

/* ---------- հետհաշվարկ ---------- */

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cd-item {
  min-width: 96px;
  padding: 20px 10px;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  text-align: center;
}

.cd-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-dark);
}

.cd-item small {
  display: block;
  margin-top: 8px;
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-done {
  font-family: var(--serif);
  font-size: 1.5rem;
  text-align: center;
  color: var(--accent-dark);
  margin: 0;
}

/* ---------- օրացույց (hero-ում, անունների տակ) ---------- */

.calendar {
  max-width: 360px;
  margin: 0 auto 34px;
  padding: 26px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(169, 99, 111, .07);
  text-align: center;
}

.calendar-month {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: .02em;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
}

.calendar-weekday {
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--gold);
  padding-bottom: 10px;
}

.calendar-day {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 2.1em;
  height: 2.1em;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  border-radius: 50%;
}

.calendar-day.is-empty { visibility: hidden; }

/* Հարսանիքի օրը՝ լցոնված շրջանակով */
.calendar-day.is-wedding {
  background: var(--accent-dark);
  color: var(--paper);
  font-weight: 500;
  box-shadow: 0 0 0 4px rgba(169, 99, 111, .13);
}

.calendar-note {
  margin: 18px 0 0;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- ծրագիր ---------- */

.timeline {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 78px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  display: flex;
  gap: 28px;
  padding-bottom: 38px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-time {
  flex: 0 0 62px;
  text-align: right;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent-dark);
  padding-top: 2px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 74px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline-body { padding-left: 12px; }
.timeline-body h3 { margin-bottom: .2em; }
.timeline-body p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- վայրեր ---------- */

.venue-grid { display: grid; gap: 34px; }

/* Մեկ սյունակ, քանի որ ներկառուցված քարտեզն անջատված է (տես main.js-ի
   renderVenue()-ն)։ Քարտեզը հետ բերելիս այստեղ գրեք՝
   grid-template-columns: 1fr 1fr; */
.venue-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.venue-info {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.venue-kind {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.venue-address { color: var(--muted); margin-bottom: .3em; }

.venue-time {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--accent-dark);
  margin-bottom: 1.2em;
}

.venue-map { min-height: 260px; background: var(--sand); }
.venue-map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; }

/* ---------- dress code ---------- */

.palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 10px;
}

.swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.palette-caption {
  text-align: center;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.card h3 { color: var(--accent-dark); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- կապ ---------- */

.contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 34px;
  text-align: center;
  min-width: 240px;
}

.contact-role {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-card h3 { margin-bottom: .3em; }

.contact-phone {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-phone:hover { border-bottom-color: var(--gold); }

/* ---------- footer ---------- */

.site-footer {
  background: linear-gradient(180deg, var(--sand) 0%, var(--blush) 100%);
  color: var(--ink);
  text-align: center;
  /* Ներքևի լիցքը հաշվարկվում է ճյուղի բարձրությունից։ Ճյուղը ֆիքսված է
     էկրանի ներքևին և ուտում է վերջին ~150px-ը — առանց այս պաշարի էջի
     վերջին տողը մնում է ծաղիկների տակ ու չի երևում։
     --band-h-ը floral.css-ում է. եթե ծաղիկները անջատեք, fallback-ը 0 է։ */
  padding: 72px 0 calc(var(--band-h, 0px) + 26px);
}

/* Ներքևում մնում է միայն մեկ տող։ Անունների ու ամսաթվի կանոնները
   հանված են՝ այդ տարրերն այլևս չկան index.html-ում։ */

.footer-thanks {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent-dark);
  margin: 0;
}

/* ============================================================
   Սքրոլի անիմացիաներ
   Երկու տարբերակ.
   1) հին բրաուզերներ — JS-ը ավելացնում/հանում է .is-visible դասը
   2) նոր բրաուզերներ — animation-timeline: view(), որտեղ անիմացիան
      ուղիղ կապված է սքրոլի դիրքին և ինքնուրույն հետ է գնում վեր սքրոլելիս

   Ամեն ինչ սկսվում է .js դասով, որը ավելացնում է main.js-ը։ Այսպես, եթե
   JS-ը չբեռնվի կամ անջատված լինի, տեքստը պարզապես երևում է առանց անիմացիայի։
   ============================================================ */

/* --- 1. JS-ով (fallback) --- */

.js .reveal {
  opacity: 0;
  transition:
    opacity .75s cubic-bezier(.22, .61, .36, 1),
    transform .75s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js .reveal,
.js .reveal[data-reveal="up"]    { transform: translateY(30px); }
.js .reveal[data-reveal="left"]  { transform: translateX(-42px); }
.js .reveal[data-reveal="right"] { transform: translateX(42px); }
.js .reveal[data-reveal="scale"] { transform: scale(.9); }

.js .reveal.is-visible { opacity: 1; transform: none; }

/* Ծրագրի ուղղահայաց գիծը՝ քաշվում է վերևից ներքև */
.js .timeline.line-draw::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.js .timeline.line-draw.is-visible::before { transform: scaleY(1); }

/* --- 2. Իսկական scroll-linked անիմացիա --- */

@supports (animation-timeline: view()) {

  .js .reveal,
  .js .reveal[data-reveal="up"],
  .js .reveal[data-reveal="left"],
  .js .reveal[data-reveal="right"],
  .js .reveal[data-reveal="scale"] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: revealUp linear both;
    animation-timeline: view();
    /* cover-ը չափվում է «էկրանի բարձրություն + էլեմենտի բարձրություն»-ով,
       այնպես որ և՛ փոքր, և՛ մեծ բլոկները անիմացվում են հավասարաչափ */
    animation-range: cover 5% cover 42%;
  }

  .js .reveal[data-reveal="left"]  { animation-name: revealLeft; }
  .js .reveal[data-reveal="right"] { animation-name: revealRight; }
  .js .reveal[data-reveal="scale"] { animation-name: revealScale; }

  .js .timeline.line-draw::before {
    transform: none;
    transition: none;
    animation: drawLine linear both;
    animation-timeline: view();
    animation-range: cover 12% cover 68%;
  }

  /* Hero-ի պարունակությունը մարում է, երբ սքրոլում ենք ցած,
     և վերադառնում է, երբ սքրոլում ենք վեր */
  .js .hero-content {
    animation: heroFade linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 75%;
  }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-42px); }
  to   { opacity: 1; transform: none; }
}

@keyframes revealRight {
  from { opacity: 0; transform: translateX(42px); }
  to   { opacity: 1; transform: none; }
}

@keyframes revealScale {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: none; }
}

@keyframes drawLine {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes heroFade {
  to { opacity: 0; transform: translateY(-70px); }
}

/* --- Եթե օգտատերը անջատել է անիմացիաները համակարգում --- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js .reveal,
  .js .reveal[data-reveal="up"],
  .js .reveal[data-reveal="left"],
  .js .reveal[data-reveal="right"],
  .js .reveal[data-reveal="scale"] {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .js .timeline.line-draw::before,
  .js .hero-content {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .scroll-hint { animation: none; }

  /* Բարերը չեն շարժվում, բայց միացած վիճակը մնում է տեսանելի */
  .music-toggle .music-icon span { animation: none; }
  .music-toggle.is-playing .music-icon span { height: 14px; }
}

/* ---------- ադապտիվ ---------- */

@media (max-width: 900px) {
  .venue-card { grid-template-columns: 1fr; }
  .venue-info { padding: 30px 26px; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }

  /* Վերևի ու ներքևի ֆիքսված ճյուղերը ուտում են ~130px, ուստի hero-ի
     բովանդակությունը հեռու ենք պահում եզրերից, որ ծաղիկները չծածկեն */
  .hero { padding: 150px 20px 80px; }

  .section { padding: 70px 0; }

  .calendar { padding: 22px 10px 18px; margin-bottom: 28px; }
  .calendar-month { font-size: 1.25rem; }
  .calendar-day { font-size: .9rem; width: 2em; height: 2em; }
  .calendar-weekday { font-size: .54rem; letter-spacing: .02em; }
  .calendar-note { font-size: .66rem; letter-spacing: .1em; }

  .countdown { gap: 7px; }
  .cd-item { min-width: 0; flex: 1; padding: 14px 4px; }
  .cd-item strong { font-size: 1.7rem; }
  .cd-item small { font-size: .55rem; letter-spacing: .08em; }

  .timeline::before { left: 54px; }
  .timeline-item { gap: 18px; }
  .timeline-item::after { left: 50px; }
  .timeline-time { flex-basis: 46px; font-size: 1.1rem; }
  .timeline-body { padding-left: 10px; }

  .two-col { grid-template-columns: 1fr; }
  .contacts { flex-direction: column; align-items: stretch; }
  .contact-card { min-width: 0; }
}
