@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500&family=Marck+Script&display=swap');

:root {
  --bg: #ffffff; 
  --bg-soft: #fbf9f7; 
  --card: #ffffff; 
  --text: #362f38; 
  --muted: #7a717d; 
  --accent: #a07878;
  --olive: #8a9675;
  --olive-light: #e4e7dd; 
  --line: #ede6e2; 
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.03);
  --shadow-md: 0 12px 35px rgba(138, 150, 117, 0.08); 
  --shadow-lg: 0 22px 55px rgba(138, 150, 117, 0.14);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(138, 150, 117, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(138, 150, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(138, 150, 117, 0); }
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family: 'Jost', sans-serif; 
  font-weight: 400;
  color:var(--text);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 5% 15%, rgba(138, 150, 117, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 95% 85%, rgba(160, 120, 120, 0.08) 0%, transparent 35%);
  background-attachment: fixed;
}

.wrap{
  max-width: 1380px; 
  margin:0 auto;
  padding:40px 24px;
}

h1,h2{
  font-family: 'Cormorant Garamond', serif;
  margin:0;
  font-weight: 600;
}

h1{
  font-size:clamp(3.5rem, 10vw, 7.8rem);
  line-height:0.92;
  margin-top:20px;
  color: var(--text);
}

h2{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.card h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--olive);
  margin: 15px auto 0;
  border-radius: 2px;
  opacity: 0.4;
}

.lead {
  color: var(--muted);
  line-height: 1.85;
  max-width: 880px; 
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  font-weight: 300;
}

.hero{
  min-height:92vh;
  display:grid;
  place-items:center;
  position:relative;
  border-radius:36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.96) 100%);
  box-shadow: var(--shadow-md);
  margin-bottom: 45px;
  border: 1px solid rgba(255,255,255,0.7);
  animation: fadeInUp 1s ease-out;
}

.hero-inner{
  position:relative;
  z-index:1;
  text-align:center;
  padding:60px 20px;
  max-width:1050px; 
}

.eyebrow{
  letter-spacing:.35em;
  text-transform:uppercase;
  color:var(--olive);
  font-size:1rem;
  font-weight:500;
}

.intro{
  max-width:850px;
  margin:30px auto 0;
  line-height:2;
  color:var(--muted);
  font-size:1.2rem;
  font-weight: 300;
}

.hero-photo{
  margin:40px auto 20px;
  max-width:580px; 
}

.hero-photo img{
  width:100%;
  display:block;
  border-radius:32px;
  aspect-ratio:4/5;
  object-fit:cover;
  box-shadow: var(--shadow-lg);
  border:12px solid #fff;
}

.names{
  display:flex;
  gap:30px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin:35px 0 15px;
}

.names span{
  font-size:clamp(3.2rem, 8vw, 6rem);
  font-family: 'Marck Script', cursive;
  color: var(--accent);
  line-height: 1.1;
  padding: 0 10px;
}

.divider {
  width: 90px;
  height: 40px;
  position: relative;
}

.divider::before, .divider::after {
  content: '🌿'; 
  font-size: 2.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.divider::before { left: 0; transform: translateY(-50%) rotate(-15deg) scaleX(-1); }
.divider::after { right: 0; transform: translateY(-50%) rotate(15deg); }

.countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  max-width:680px;
  margin:40px auto 0;
}

.timebox{
  background:#fff;
  border:1px solid #f2efed;
  border-radius:24px;
  padding:25px 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.timebox:hover {
  transform: translateY(-5px);
  border-color: var(--olive-light);
  box-shadow: var(--shadow-md);
}

.timebox b{
  display:block;
  font-size:clamp(2.2rem, 6vw, 3.4rem);
  font-family:'Cormorant Garamond', serif;
  color: var(--olive);
  font-weight: 600;
}

.timebox span{
  font-size:1rem;
  color:var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta{
  margin-top:45px;
  display:inline-block;
  padding:18px 42px;
  background:var(--olive);
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  font-weight:500;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(138, 150, 117, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2.5s infinite;
}

.cta:hover{
  background: #798366;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(138, 150, 117, 0.4);
}

section{padding:30px 0}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:35px;
}

.card{
  grid-column:span 12;
  background:var(--card);
  border:1px solid rgba(238, 230, 226, 0.8);
  border-radius:32px;
  padding:50px 70px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 0.8s ease-out both;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive-light);
}

.card::before, .card::after {
  content: '';
  position: absolute;
  top: 35px; bottom: 35px;
  width: 24px;
  pointer-events: none;
  opacity: 0.75;
  background-image: 
    radial-gradient(circle at 12px 12px, transparent 4px, var(--olive-light) 5px, var(--olive-light) 6px, transparent 7px),
    radial-gradient(circle at 12px 12px, var(--accent) 2px, transparent 2.5px),
    radial-gradient(circle at 12px 24px, var(--line) 2px, transparent 2.5px);
  background-size: 24px 24px;
}

.card::before {
  left: 20px;
  border-right: 1px solid rgba(238, 230, 226, 0.6);
}

.card::after {
  right: 20px;
  border-left: 1px solid rgba(238, 230, 226, 0.6);
}

.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
}

.swatch{
  width:110px;
  text-align:center;
  transition: transform 0.3s ease;
}

.swatch:hover { transform: scale(1.15); }

.swatch span{
  width:75px;
  height:75px;
  display:block;
  margin:0 auto 15px;
  border-radius:50%;
  border:5px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  position: relative;
}

.swatch span::after {
  content:'';
  position: absolute;
  top: 10%; left: 10%;
  width: 30%; height: 30%;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

.swatch small{
  display:block;
  font-size:0.95rem;
  color:var(--muted);
  font-weight: 400;
}

.schedule {
  display: grid;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.event{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:25px;
  align-items:center;
  padding:25px;
  background: var(--bg-soft);
  border-radius: 20px;
  border: 1px solid transparent;
  text-align: left;
  transition: all 0.3s ease;
}

.event:hover {
  background: #fff;
  border-color: var(--olive-light);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.time{
  font-family:'Cormorant Garamond',serif;
  font-size:2.2rem;
  color:var(--olive);
  font-weight: 600;
}

.event strong {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
}

.cal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  border-bottom: 2px solid var(--olive-light);
  padding-bottom: 15px;
}

.month{
  font-family:'Cormorant Garamond',serif;
  font-size:2rem;
  color: var(--text);
  font-weight: 600;
}

.calendar {
  border: 1px solid rgba(238, 230, 226, 0.8);
  border-radius: 28px;
  padding: 30px;
  background: #fff;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.days,.dates{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:10px;
}

.days div{
  font-size:0.9rem;
  text-align:center;
  color:var(--olive);
  font-weight:500;
  padding:10px 0;
}

.dates div{
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:var(--bg-soft);
  color:var(--text);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.dates div:not(.active):hover {
  background: var(--olive-light);
  cursor: default;
}

.dates .active{
  background:var(--olive);
  color:#fff;
  font-weight:500;
  box-shadow: 0 6px 15px rgba(138, 150, 117, 0.4);
  transform: scale(1.05);
}

.note{
  font-size:1rem;
  color:var(--muted);
  line-height:1.8;
  margin-top: 8px;
}

.form {
  display: grid;
  gap: 20px;
  max-width: 650px;
  margin: 0 auto;
}

input,select,textarea,button{ font:inherit; }

input,select,textarea{
  width:100%;
  padding:18px 22px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  outline:none;
  transition: all 0.3s ease;
  color: var(--text);
  font-size: 1.05rem;
}

input:focus,select:focus,textarea:focus{
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(138, 150, 117, 0.15);
}

input::placeholder, textarea::placeholder {
  color: #a39ca5;
  font-weight: 300;
}

textarea{
  min-height:150px;
  resize:vertical;
}

button[type="submit"]{
  border:none;
  border-radius:18px;
  padding:20px 25px;
  background:var(--olive);
  color:#fff;
  font-weight:500;
  font-size: 1.1rem;
  cursor:pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 15px rgba(138, 150, 117, 0.25);
}

button[type="submit"]:hover{
  background: #798366;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 150, 117, 0.35);
}

.msg{
  margin:0 0 35px 0;
  padding:20px 25px;
  border-radius:20px;
  font-size: 1.1rem;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.success{ background:#eef8ef; color:#1d6b2a; border: 1px solid #c3e6cb; }
.error{ background:#fff1f1; color:#9c2a2a; border: 1px solid #f5c6cb; }

.checkbox-group {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px 30px;
  background: var(--bg-soft);
  text-align: left;
  transition: all 0.3s ease;
}

.checkbox-group:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(138, 150, 117, 0.15);
}

.checkbox-legend {
  font-weight: 500;
  color: var(--text);
  padding: 0 10px;
  font-size: 1.05rem;
  margin-bottom: 15px;
  display: block;
  width: 100%;
  text-align: center;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: var(--text);
  position: relative;
}

.checkbox-label:hover {
  border-color: var(--olive);
  background: var(--bg-soft);
  transform: translateX(4px);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.checkbox-label .checkmark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--muted);
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--olive);
  border-color: var(--olive);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
  box-shadow: 0 0 0 3px rgba(138, 150, 117, 0.3);
}

.attendance-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 15px !important;
}

.attendance-yes {
  background: #e8f5e9 !important;
  border-color: #81c784 !important;
}

.attendance-yes:hover {
  background: #c8e6c9 !important;
  border-color: #66bb6a !important;
}

.attendance-yes input[type="radio"]:checked + .radio-mark {
  background: #4CAF50 !important;
  border-color: #4CAF50 !important;
}

.attendance-no {
  background: #fff3e0 !important;
  border-color: #ffb74d !important;
}

.attendance-no:hover {
  background: #ffe0b2 !important;
  border-color: #ffa726 !important;
}

.attendance-no input[type="radio"]:checked + .radio-mark {
  background: #ff9800 !important;
  border-color: #ff9800 !important;
}

.radio-mark {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid var(--muted) !important;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
}

.radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.attendance-yes input[type="radio"]:checked + .radio-mark::after,
.attendance-no input[type="radio"]:checked + .radio-mark::after {
  opacity: 1;
}

.attendance-yes input[type="radio"]:checked + .radio-mark {
  background: #4CAF50;
  border-color: #4CAF50;
}

.attendance-no input[type="radio"]:checked + .radio-mark {
  background: #ff9800;
  border-color: #ff9800;
}

.checkbox-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* ========================================== */
/* ТРАНСФЕР: РАДИО-КНОПКИ */
/* ========================================== */

.transport-grid-radio {
  grid-template-columns: 1fr 1fr !important;
  gap: 15px !important;
}

.transport-radio {
  background: var(--bg-soft) !important;
  border-color: var(--line) !important;
}

.transport-radio:hover {
  border-color: var(--olive) !important;
  background: var(--bg-soft) !important;
}

.transport-radio input[type="radio"]:checked + .radio-mark {
  background: var(--olive) !important;
  border-color: var(--olive) !important;
}

.transport-radio input[type="radio"]:checked + .radio-mark::after {
  opacity: 1;
}

.transport-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* ========================================== */
/* ТРАНСФЕР: ПОЛЯ ДЛЯ АДРЕСА И КОЛИЧЕСТВА */
/* ========================================== */

.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 5px;
}

.transport-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-weight: 400;
  color: var(--text);
}

.transport-label-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.transport-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Jost', sans-serif;
}

.transport-input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(138, 150, 117, 0.15);
}

.transport-input::placeholder {
  color: #a39ca5;
  font-weight: 300;
}

.transport-input[type="number"] {
  max-width: 120px;
}

.transport-fields {
  animation: fadeInUp 0.4s ease;
}

/* ========================================== */
/* ГОРИЗОНТАЛЬНАЯ КАРУСЕЛЬ (АДАПТИВНАЯ) */
/* ========================================== */

.horizontal-carousel {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
  margin: 0 auto;
}

.horizontal-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  will-change: transform;
}

.horizontal-slide {
  min-width: 33.333%;
  padding: 10px;
  box-sizing: border-box;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.horizontal-slide .image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  background: var(--bg-soft);
}

.horizontal-slide .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.horizontal-slide .image-wrapper img:hover {
  transform: scale(1.05);
}

/* ========================================== */
/* КНОПКИ НАВИГАЦИИ */
/* ========================================== */

.horizontal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 10;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.horizontal-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.horizontal-btn.prev {
  left: 16px;
}

.horizontal-btn.next {
  right: 16px;
}

.horizontal-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

/* ========================================== */
/* ТОЧКИ НАВИГАЦИИ */
/* ========================================== */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 5px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dots .dot:hover {
  background: var(--olive-light);
}

.carousel-dots .dot.active {
  background: var(--olive);
  border-color: var(--olive);
  transform: scale(1.3);
}

/* ========================================== */
/* КНОПКИ КОНТАКТОВ */
/* ========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.contact-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.contact-btn .btn-icon {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

.contact-btn span:not(.btn-icon) {
  position: relative;
  z-index: 1;
}

.contact-btn.phone-btn {
  background: var(--olive);
  box-shadow: 0 4px 15px rgba(138, 150, 117, 0.3);
}

.contact-btn.phone-btn:hover {
  background: #798366;
  box-shadow: 0 8px 25px rgba(138, 150, 117, 0.4);
}

.contact-btn.vk-btn {
  background: var(--olive);
  box-shadow: 0 4px 15px rgba(138, 150, 117, 0.3);
}

.contact-btn.vk-btn:hover {
  background: #798366;
  box-shadow: 0 8px 25px rgba(138, 150, 117, 0.4);
}

.contact-btn.max-btn {
  background: var(--olive);
  box-shadow: 0 4px 15px rgba(138, 150, 117, 0.3);
}

.contact-btn.max-btn:hover {
  background: #798366;
  box-shadow: 0 8px 25px rgba(138, 150, 117, 0.4);
}

/* ========================================== */
/* КАРТА */
/* ========================================== */

.map{
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  min-height:450px;
  background:#fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.map:hover { box-shadow: var(--shadow-md); }

.map iframe{
  width:100%;
  height:100%;
  min-height:450px;
  border:0;
  filter: grayscale(0.15) contrast(0.95);
}

/* ========================================== */
/* ВТОРОЙ ДЕНЬ СВАДЬБЫ */
/* ========================================== */

.second-day {
  background: var(--card);
  border: 1px solid rgba(238, 230, 226, 0.8);
  position: relative;
  overflow: hidden;
}

.second-day-icon {
  font-size: 3.5rem;
  margin-bottom: 10px;
  display: block;
}

.second-day .lead {
  max-width: 750px;
}

.second-day .lead strong {
  color: var(--olive);
  font-weight: 600;
}

.second-day-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  padding: 15px 25px;
  background: var(--bg-soft);
  border-radius: 18px;
  border: 1px solid var(--line);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.second-day-note:hover {
  border-color: var(--olive-light);
  box-shadow: var(--shadow-sm);
}

.second-day-note span {
  font-size: 2rem;
}

.second-day-note p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 400;
}

.second-day::before,
.second-day::after {
  content: '';
  position: absolute;
  top: 35px;
  bottom: 35px;
  width: 24px;
  pointer-events: none;
  opacity: 0.75;
  background-image: 
    radial-gradient(circle at 12px 12px, transparent 4px, var(--olive-light) 5px, var(--olive-light) 6px, transparent 7px),
    radial-gradient(circle at 12px 12px, var(--accent) 2px, transparent 2.5px),
    radial-gradient(circle at 12px 24px, var(--line) 2px, transparent 2.5px);
  background-size: 24px 24px;
}

.second-day::before {
  left: 20px;
  border-right: 1px solid rgba(238, 230, 226, 0.6);
}

.second-day::after {
  right: 20px;
  border-left: 1px solid rgba(238, 230, 226, 0.6);
}

/* ========================================== */
/* АДАПТИВ */
/* ========================================== */

@media (max-width: 900px){
  .wrap { padding: 25px 15px; }
  .grid { gap: 20px; }
  
  .card::before, .card::after { display: none; }
  .card { padding: 35px 20px; }
  
  .countdown{ grid-template-columns:repeat(2,1fr); gap: 15px; }
  .event{ grid-template-columns:1fr; gap: 15px; text-align: center; }
  .event:hover { transform: none; }
  .time { font-size: 2rem; }
  .hero{ min-height:auto; }
  .hero-inner { padding: 50px 15px; }
  h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-group {
    padding: 20px 15px;
  }
  
  .checkbox-label {
    padding: 10px 14px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .contact-btn {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .contact-btn .btn-icon {
    font-size: 1.2rem;
  }
  
  .attendance-grid {
    grid-template-columns: 1fr !important;
  }
  
  .second-day-note {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }
  
  .second-day-note span {
    font-size: 1.8rem;
  }
  
  .second-day-note p {
    font-size: 1rem;
  }

  .horizontal-carousel {
    height: 400px;
  }
  
  .horizontal-slide {
    min-width: 50%;
    padding: 8px;
  }
  
  .horizontal-btn {
    width: 40px;
    height: 40px;
  }
  
  .horizontal-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .horizontal-btn.prev {
    left: 12px;
  }
  
  .horizontal-btn.next {
    right: 12px;
  }

  .transport-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .transport-input[type="number"] {
    max-width: 100%;
  }

  .transport-grid-radio {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .contact-btn {
    padding: 16px 20px;
    font-size: 1rem;
    justify-content: center;
  }

  .horizontal-carousel {
    height: 480px;
  }
  
  .horizontal-slide {
    min-width: 100%;
    padding: 6px;
  }
  
  .horizontal-slide .image-wrapper {
    border-radius: 16px;
  }
  
  .horizontal-slide .image-wrapper img {
    object-fit: contain;
    object-position: center;
    background: var(--bg-soft);
  }
  
  .horizontal-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
  }
  
  .horizontal-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .horizontal-btn.prev {
    left: 10px;
  }
  
  .horizontal-btn.next {
    right: 10px;
  }
  
  .carousel-dots {
    gap: 10px;
    padding: 16px 0 5px;
  }
  
  .carousel-dots .dot {
    width: 10px;
    height: 10px;
  }

  .transport-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .transport-input[type="number"] {
    max-width: 100%;
  }

  .transport-grid-radio {
    grid-template-columns: 1fr !important;
  }
}