/* Ski Holidays Ltd — site styles */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --white: #ffffff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link-on-dark: #2997ff;
  --night: #050a1c;
  --alpenglow: #ff7a4d;
  --error: #e30000;
  --radius-lg: 28px;
  --radius: 14px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 52px;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.nav.is-dim {
  background: rgba(5, 10, 28, .55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-color: rgba(255, 255, 255, .08);
}
.nav.is-light, .page-light .nav {
  color: var(--ink);
  background: rgba(251, 251, 253, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-color: rgba(0, 0, 0, .08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 24px; height: 24px; }
.brand small { font-weight: 400; font-size: 13px; opacity: .55; margin-left: -4px; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; font-size: 12.5px; }
.nav__links a { opacity: .82; transition: opacity .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__cta {
  opacity: 1 !important; padding: 5px 13px; border-radius: 980px;
  background: var(--blue); color: #fff; font-size: 12px;
}
.nav__cta:hover { background: var(--blue-hover); }
.nav__toggle { display: none; width: 40px; height: 40px; margin-right: -10px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 17px; height: 1.5px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .35s var(--ease), background .2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 52px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 22px 28px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em;
    background: rgba(251, 251, 253, .97); color: var(--ink);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav__links a { display: block; padding: 12px 0; opacity: 1; }
  .nav__cta { margin-top: 12px; text-align: center; font-size: 17px; padding: 12px; }
  .nav.is-open { color: var(--ink); background: rgba(251, 251, 253, .97); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 980px; font-size: 17px; font-weight: 500;
  background: var(--blue); color: #fff;
  transition: background .2s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(0, 113, 227, .6); }
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .5); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 2px; font-size: 17px; color: var(--blue); }
.link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-arrow:hover::after { transform: translate(3px, -1px); }
.on-dark .link-arrow { color: var(--link-on-dark); }

/* ---------- Hero ---------- */

.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1080px;
  overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(180deg, #03071a 0%, #0b1840 28%, #23387c 50%, #7d6fae 64%, #e59c9a 74%, #ffc8a2 82%);
}
.hero__glow {
  position: absolute; left: 50%; top: 66%; width: 1200px; height: 700px; z-index: -1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 220, 180, .75), rgba(255, 160, 130, .25) 45%, transparent 75%);
  filter: blur(10px);
}
.hero__stars {
  position: absolute; inset: 0 0 45% 0; z-index: -1; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 27% 8%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 41% 22%, #fff, transparent),
    radial-gradient(1px 1px at 58% 12%, #fff, transparent),
    radial-gradient(1px 1px at 69% 27%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 83% 9%, #fff, transparent),
    radial-gradient(1px 1px at 92% 31%, #fff, transparent),
    radial-gradient(1px 1px at 7% 36%, #fff, transparent),
    radial-gradient(1px 1px at 35% 40%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 76% 44%, rgba(255,255,255,.6), transparent);
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.hero__layer {
  position: absolute; left: -4%; right: -4%; bottom: 0; width: 108%; height: 100%;
  will-change: transform; pointer-events: none; max-width: none;
}
.hero__snow { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__content {
  position: relative; z-index: 5; text-align: center;
  padding-top: clamp(110px, 17vh, 190px);
  will-change: transform, opacity;
}
.eyebrow {
  display: inline-block; font-size: clamp(14px, 1.3vw, 17px); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
}
.hero h1 {
  margin-top: 14px; font-size: clamp(48px, 8.4vw, 104px); line-height: 1.02;
  letter-spacing: -0.05em; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 35%, #c9d6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  max-width: 700px; margin: 24px auto 0; padding: 0 12px;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.35; color: rgba(255, 255, 255, .84); font-weight: 400;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: center; align-items: center; margin-top: 38px; }
.hero .link-arrow { color: #fff; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; z-index: 6; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(29, 29, 31, .35);
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: rgba(29, 29, 31, .55); animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.intro > * { opacity: 0; transform: translateY(24px); filter: blur(8px); animation: intro 1.4s var(--ease) forwards; }
.intro > :nth-child(2) { animation-delay: .12s; }
.intro > :nth-child(3) { animation-delay: .26s; }
.intro > :nth-child(4) { animation-delay: .4s; }
@keyframes intro { to { opacity: 1; transform: none; filter: none; } }

/* ---------- Sections ---------- */

.section { padding: 130px 0; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 70px; }
.section-head .eyebrow { color: var(--alpenglow); }
h2 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 700; }
.section-head p { margin-top: 18px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--muted); }

/* ---------- Extras tiles ---------- */

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 60px 32px 0; min-height: 660px; isolation: isolate;
}
.tile--wide {
  grid-column: 1 / -1; min-height: 700px; color: #fff;
  background: radial-gradient(900px 500px at 50% 110%, #1d3584 0%, #070c22 55%, #000 100%);
}
.tile__name { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 700; }
.tile__tag { margin-top: 6px; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.02em; font-weight: 500; }
.tile__desc { max-width: 460px; margin: 14px auto 0; color: var(--muted); font-size: 17px; }
.tile--wide .tile__desc { color: rgba(255, 255, 255, .66); }
.tile__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; margin-top: 22px; align-items: center; }
.tile__links .btn { padding: 9px 20px; font-size: 15px; }
.tile__visual { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 44px 0 60px; }

/* Lift pass card */
.pass-stage { perspective: 1400px; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pass {
  --rx: 10deg; --ry: -16deg; --mx: 30%; --my: 20%;
  position: relative; width: min(460px, 78vw); aspect-ratio: 1.586; border-radius: 24px;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 3.2vw, 30px);
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  color: #fff; overflow: hidden; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease);
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%),
    linear-gradient(140deg, #0f1f57 0%, #2549b8 42%, #4f8dff 72%, #9cc8ff 100%);
  box-shadow:
    0 50px 90px -30px rgba(41, 120, 255, .65),
    0 30px 50px -30px rgba(0, 0, 0, .8),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.pass.is-tracking { transition: transform .15s linear; }
.pass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 42%);
  mix-blend-mode: overlay;
}
.pass::after {
  content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .28;
  background: conic-gradient(from 120deg at var(--mx) var(--my), #ff9a8b, #ffd36e, #8ef0c7, #7cc4ff, #c49bff, #ff9a8b);
  mix-blend-mode: color-dodge; filter: blur(30px);
}
.pass__ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .22; }
.pass__top, .pass__bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; }
.pass__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.pass__brand svg { width: 20px; height: 20px; }
.pass__type { font-size: 11px; font-weight: 600; letter-spacing: .2em; opacity: .8; }
.pass__chip {
  width: 46px; height: 34px; border-radius: 7px; margin-top: 6px;
  background: linear-gradient(135deg, #f6e7c1, #c9a65a 45%, #f3dea6 70%, #b08c40);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  position: relative; z-index: 1;
}
.pass__chip::before {
  content: ""; position: absolute; inset: 8px 6px; border: 1px solid rgba(0,0,0,.18); border-radius: 3px;
}
.pass__days { position: relative; z-index: 1; font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pass__days span { display: block; font-size: 12px; letter-spacing: .18em; font-weight: 600; opacity: .7; margin-bottom: 6px; }
.pass__meta { font-size: 11px; letter-spacing: .14em; font-weight: 600; opacity: .85; line-height: 1.6; }
.pass__code {
  width: 92px; height: 34px; border-radius: 4px; opacity: .85;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px);
}

/* Ski rental */
.skis { width: min(320px, 64vw); height: auto; overflow: visible; }
.skis .ski { transform-box: fill-box; transform-origin: 50% 82%; transition: transform 1.2s var(--ease); }
.skis .ski--a { transform: rotate(-4deg) translateY(30px); }
.skis .ski--b { transform: rotate(4deg) translateY(30px); }
.is-in .skis .ski--a { transform: rotate(-17deg); }
.is-in .skis .ski--b { transform: rotate(17deg); }
.tile:hover .skis .ski--a { transform: rotate(-21deg) translateX(-8px); }
.tile:hover .skis .ski--b { transform: rotate(21deg) translateX(8px); }
.skis-shadow { transition: transform 1.2s var(--ease), opacity 1.2s; transform-origin: center; }

/* Ski school */
.slalom { width: min(360px, 72vw); height: auto; overflow: visible; }
.slalom__track { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 3.2s var(--ease); }
.is-in .slalom__track { stroke-dashoffset: 0; }
.slalom__gate { opacity: 0; transform: translateY(10px); transform-box: fill-box; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-in .slalom__gate { opacity: 1; transform: none; }
.is-in .slalom__gate { transition-delay: .5s; }
.is-in .slalom__gate:nth-of-type(2) { transition-delay: 1.3s; }
.is-in .slalom__gate:nth-of-type(3) { transition-delay: 2.1s; }

/* ---------- How it works ---------- */

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  padding: 40px 34px 44px; border-radius: var(--radius-lg); background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 24px 50px -36px rgba(0, 0, 0, .35);
}
.step__num {
  font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(135deg, #2549b8, #ff7a4d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: 26px; font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Planner ---------- */

.planner {
  color: #fff;
  background: radial-gradient(1200px 700px at 50% -10%, #1e3a8f 0%, #0a1233 45%, #02040c 100%);
}
.planner .section-head p { color: rgba(255, 255, 255, .66); }
.planner-card {
  max-width: 900px; margin: 0 auto; padding: clamp(26px, 4vw, 48px);
  border-radius: 32px; background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9);
}
.planner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.group-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .62); margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 980px;
  font-size: 16px; font-weight: 500; border: 1px solid var(--line); background: var(--white);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.chip span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .45;
  transition: all .3s var(--ease);
}
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span::before {
  opacity: 1; border-color: #fff; background: #fff;
  box-shadow: inset 0 0 0 4px var(--ink);
}
.chip input:focus-visible + span { outline: 3px solid rgba(0, 113, 227, .6); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }
.on-dark .chip span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.on-dark .chip input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .chip input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }

.dark-input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  font-size: 17px; color-scheme: dark; transition: border-color .2s, background .2s;
}
.dark-input::placeholder { color: rgba(255, 255, 255, .4); }
.dark-input:focus { outline: none; border-color: var(--link-on-dark); background: rgba(255, 255, 255, .1); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.party { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper {
  display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 6px 0 16px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
}
.on-dark .stepper { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }
.stepper__label { font-size: 15px; color: var(--muted); }
.on-dark .stepper__label { color: rgba(255, 255, 255, .6); }
.stepper__ctrl { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); transition: background .2s, transform .2s;
}
.on-dark .stepper button { background: rgba(255, 255, 255, .1); color: #fff; }
.stepper button:hover { background: #e8e8ed; }
.on-dark .stepper button:hover { background: rgba(255, 255, 255, .2); }
.stepper button:active { transform: scale(.92); }
.stepper input {
  width: 32px; text-align: center; border: 0; background: transparent; font-size: 17px; font-weight: 600;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.planner-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.planner-summary__text { font-size: 17px; color: rgba(255, 255, 255, .78); min-height: 1.47em; }
.planner-summary__text strong { color: #fff; font-weight: 600; }

/* ---------- Statement ---------- */

.statement { padding: 170px 0 150px; text-align: center; }
.statement h2 {
  --p: 0%;
  max-width: 1000px; margin: 0 auto; font-size: clamp(40px, 6.4vw, 84px);
  background: linear-gradient(90deg, var(--ink) var(--p), #c7c7cc calc(var(--p) + 18%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statement .btn { margin-top: 46px; }

/* ---------- Footer ---------- */

.footer { background: var(--bg-alt); color: var(--muted); font-size: 12.5px; padding: 46px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer h4 { color: var(--ink); font-size: 12.5px; font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 7px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__brand p { max-width: 320px; margin-top: 10px; line-height: 1.6; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; }

/* ---------- Contact page ---------- */

.contact-hero { padding: 150px 0 56px; text-align: center; }
.contact-hero h1 { font-size: clamp(48px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -0.05em; font-weight: 700; }
.contact-hero p { max-width: 640px; margin: 20px auto 0; font-size: clamp(19px, 1.9vw, 24px); color: var(--muted); line-height: 1.38; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 130px; }

.form-card {
  position: relative; padding: clamp(26px, 4vw, 48px); border-radius: 32px; background: var(--white); scroll-margin-top: 80px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 40px 80px -50px rgba(0, 0, 0, .35);
}
.form-card h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.035em; }
.form-card > p { color: var(--muted); margin-top: 6px; }
.form-section { margin-top: 30px; }
.form-section > .group-label { color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row + .row, .row + .field, .field + .row, .form-section > .field + .field { margin-top: 12px; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 58px; padding: 24px 16px 8px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 160px; resize: vertical; padding-top: 28px; line-height: 1.45; }
.field label {
  position: absolute; left: 17px; top: 18px; font-size: 17px; color: var(--muted); pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field--static label { transform: translateY(-10px) scale(.72); }
.field input[type="date"] { color-scheme: light; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(227, 0, 0, .1); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: var(--error); }
.field.has-error .field__error { display: block; }
.optional { color: var(--muted); font-size: .85em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 360px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; background: #fff2f2; color: #a00000; }
.form-status.is-visible { display: block; }
.form-status a { text-decoration: underline; }

.form-success { display: none; text-align: center; padding: 60px 10px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; animation: intro 1s var(--ease) both; }
.form-success svg { width: 76px; height: 76px; margin: 0 auto 22px; }
.form-success circle { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease) forwards; }
.form-success path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h2 { font-size: clamp(30px, 3.4vw, 40px); }
.form-success p { margin-top: 10px; color: var(--muted); font-size: 17px; }

.info-card { padding: 36px 34px; border-radius: 32px; background: var(--bg-alt); position: sticky; top: 76px; }
.info-card + .info-card { margin-top: 20px; }
.info-block + .info-block { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.info-block h3 { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 8px; }
.info-block address, .info-block p { font-style: normal; font-size: 19px; line-height: 1.45; letter-spacing: -0.02em; }
.info-block .link-arrow { margin-top: 10px; font-size: 15px; }
.mini-map {
  height: 150px; margin: -36px -34px 30px; border-radius: 32px 32px 0 0; overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 58% 54%, rgba(0, 113, 227, .18) 0 24px, transparent 25px),
    linear-gradient(115deg, transparent 46%, #fff 46% 49%, transparent 49%),
    linear-gradient(25deg, transparent 58%, #fff 58% 60.5%, transparent 60.5%),
    linear-gradient(170deg, transparent 30%, rgba(255,255,255,.8) 30% 31.5%, transparent 31.5%),
    linear-gradient(0deg, #e6ecdf, #edf1e8);
}
.mini-map::after {
  content: ""; position: absolute; left: 58%; top: 54%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .12s; }
.js [data-reveal-delay="2"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 600px; }
  .steps { grid-template-columns: 1fr; }
  .planner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 46px; }
  .tile { padding: 46px 22px 0; min-height: 540px; border-radius: 24px; }
  .tile--wide { min-height: 600px; }
  .row, .dates, .party { grid-template-columns: 1fr; }
  .statement { padding: 120px 0 110px; }
  .planner-summary .btn { width: 100%; }
  .form-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro > * { opacity: 1; transform: none; filter: none; }
}
