/* Homepage: the two products side by side, how the voicemail works, the elf option.
   Loaded after main.css. Everything is prefixed sv- so it can't collide with Bootstrap. */

:root {
  --sv-navy: #0b2c4a;
  --sv-header: #111827;
  --sv-red: #d63a3b;
  --sv-red-dark: #a51c30;
  --sv-green: #1fa361;
  --sv-green-dark: #0f4d2e;
  --sv-ink: #212529;
  --sv-muted: #5b6472;
  --sv-line: #e5e7eb;
  --sv-paper: #f4f4f4;
}

/* ---------- Buttons, as on santabooker.com ---------- */
.btn { border-radius: 14px; }
.btn.red { background: var(--sv-red); color: #fff; }
.btn.red:hover { background: var(--sv-red-dark); color: #fff; }
.btn.green-outline { background: transparent; border: 2px solid var(--sv-green); color: var(--sv-green); transition: background 0.2s ease, color 0.2s ease; }
.btn.green-outline:hover, .btn.green-outline:focus { background: var(--sv-green); color: #fff; }

/* ---------- Homepage header, as on santabooker.com ----------
   Blue gradient with falling snow, ending in a snowy wave; trees stand in the snow either side of the cards.
   --sv-ground is where the blue ends, measured up from the header's bottom edge, so the cards sit half on the snow.
   No z-indexes: the layers paint in source order (dots, snow, wave, trees, content), and the container stays out of a
   stacking context so the phone menu (position: fixed, inside it) still covers the whole page. */
.sv-home-header { --sv-ground: 190px; overflow: hidden; padding-bottom: 70px !important; }
.sv-home-header.gradient-container::before,
.sv-home-header.gradient-container::after { display: none; }
.sv-home-header .top-background { top: 0; bottom: var(--sv-ground); height: auto; min-height: 0; max-height: none; z-index: auto; background: linear-gradient(to bottom, #001e3b 0%, #042aae 100%); }
.sv-home-header > .container { position: relative; }

.sv-wave { position: absolute; left: 0; bottom: calc(var(--sv-ground) - 2px); width: 100%; height: 150px; pointer-events: none; display: block; }

.sv-deco { position: absolute; height: auto; pointer-events: none; }
.sv-deco--left-dots { top: 80px; left: 0; width: 340px; }
.sv-deco--right-dots { top: 40px; right: 0; width: 190px; }
.sv-deco--left-trees, .sv-deco--right-trees { bottom: calc(var(--sv-ground) - 80px); }
.sv-deco--left-trees { left: 0; width: 500px; }
.sv-deco--right-trees { right: 0; width: 440px; }

/* Page header (privacy, terms, contact, 404), as santabooker.com's inner pages: all blue, the wave is its
   bottom 100px, and smaller trees stand on the wave in the corners. */
.sv-page-header { --sv-ground: 0px; overflow: hidden; background: linear-gradient(to bottom, #001e3b 0%, #042aae 100%); padding-bottom: 140px !important; }
.sv-page-header > .container { position: relative; }
.sv-page-header .header-text h1 { color: #fff; }
.sv-page-header .sv-wave { height: 100px; }
.sv-page-header .sv-deco--left-trees { left: -40px; width: 190px; bottom: 18px; }
.sv-page-header .sv-deco--right-trees { right: -30px; width: 170px; bottom: 18px; }
.sv-page-header .sv-deco--left-dots { top: 10px; left: 6%; width: 160px; opacity: 0.75; }
.sv-page-header .sv-deco--right-dots { top: 14px; right: 6%; width: 110px; opacity: 0.75; transform: scaleX(-1); }
@media (max-width: 1399px) {
  .sv-page-header .sv-deco--left-trees { left: -40px; width: 160px; }
  .sv-page-header .sv-deco--right-trees { right: -30px; width: 140px; }
  .sv-page-header .sv-deco--left-dots { left: 4%; width: 130px; }
  .sv-page-header .sv-deco--right-dots { right: 4%; width: 96px; }
}

/* Each flake is a column as tall as the blue, so translateY(100%) carries its glyph from the top to the snow line. */
.sv-snow { position: absolute; top: 0; left: 0; right: 0; bottom: var(--sv-ground); overflow: hidden; pointer-events: none; }
.sv-snow span { position: absolute; top: 0; height: 100%; color: rgba(255, 255, 255, 0.7); line-height: 1; animation: sv-snowfall linear infinite; will-change: transform; }
.sv-snow span::before { content: "\2744\FE0E"; display: block; animation: sv-spin linear infinite; animation-duration: inherit; }
@keyframes sv-snowfall {
  0% { transform: translate3d(0, -40px, 0); opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 0.9; }
  100% { transform: translate3d(40px, 100%, 0); opacity: 0; }
}
@keyframes sv-spin { to { transform: rotate(360deg); } }
.sv-snow span:nth-child(1) { left: 4%; font-size: 14px; animation-duration: 14s; animation-delay: 0s; }
.sv-snow span:nth-child(2) { left: 12%; font-size: 22px; animation-duration: 18s; animation-delay: -3s; }
.sv-snow span:nth-child(3) { left: 20%; font-size: 10px; animation-duration: 11s; animation-delay: -7s; }
.sv-snow span:nth-child(4) { left: 28%; font-size: 18px; animation-duration: 16s; animation-delay: -1s; }
.sv-snow span:nth-child(5) { left: 36%; font-size: 12px; animation-duration: 13s; animation-delay: -9s; }
.sv-snow span:nth-child(6) { left: 44%; font-size: 24px; animation-duration: 20s; animation-delay: -5s; }
.sv-snow span:nth-child(7) { left: 52%; font-size: 11px; animation-duration: 12s; animation-delay: -2s; }
.sv-snow span:nth-child(8) { left: 60%; font-size: 16px; animation-duration: 17s; animation-delay: -10s; }
.sv-snow span:nth-child(9) { left: 68%; font-size: 20px; animation-duration: 19s; animation-delay: -4s; }
.sv-snow span:nth-child(10) { left: 76%; font-size: 13px; animation-duration: 14s; animation-delay: -8s; }
.sv-snow span:nth-child(11) { left: 84%; font-size: 18px; animation-duration: 16s; animation-delay: -6s; }
.sv-snow span:nth-child(12) { left: 92%; font-size: 11px; animation-duration: 13s; animation-delay: -1s; }
.sv-snow span:nth-child(13) { left: 16%; font-size: 26px; animation-duration: 22s; animation-delay: -12s; }
.sv-snow span:nth-child(14) { left: 56%; font-size: 9px; animation-duration: 10s; animation-delay: -4s; }
.sv-snow span:nth-child(15) { left: 80%; font-size: 22px; animation-duration: 18s; animation-delay: -11s; }

/* ---------- Hero ---------- */
.sv-hero { position: relative; text-align: center; margin-top: 48px; }
.sv-hero .sv-eyebrow { color: #4ade80; letter-spacing: 5px; font-size: 18px; font-weight: 600; text-transform: uppercase; margin: 0; }
.sv-hero h1 { color: #fff; margin: 14px 0 0; }
.sv-hero .sv-lead { max-width: 660px; margin: 18px auto 0; font-size: 20px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); font-weight: 300; }

/* ---------- The two products, styled like santabooker.com's pricing cards ---------- */
.sv-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1140px; margin: 48px auto 0; }
.sv-door {
  --tone: var(--sv-green); --tone-rgb: 31, 163, 97; --tint: #f3fbf7;
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--sv-ink); background: linear-gradient(180deg, var(--tint) 0%, #fff 34%);
  border: 1px solid rgba(var(--tone-rgb), 0.16); border-radius: 30px; padding: 40px 40px 30px;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 20, 60, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sv-door--call { --tone: var(--sv-red); --tone-rgb: 214, 58, 59; --tint: #fdf3f3; }
.sv-door::before { content: "\2744\FE0E"; position: absolute; top: -26px; right: -14px; font-size: 135px; line-height: 1; color: rgba(var(--tone-rgb), 0.08); pointer-events: none; transition: transform 0.9s ease; }
.sv-door > * { position: relative; }
@media (hover: hover) {
  .sv-door:hover { transform: translateY(-6px); border-color: rgba(var(--tone-rgb), 0.35); box-shadow: 0 1.75rem 3.75rem rgba(0, 20, 60, 0.32); }
  .sv-door:hover::before { transform: rotate(40deg) scale(1.05); }
}
.sv-door__tag { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tone); }
.sv-door h2 { margin: 10px 0 0; font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--sv-navy); }
.sv-door__price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin: 18px 0 0; font-size: 66px; font-weight: 700; line-height: 1; color: var(--sv-navy); }
.sv-door__price sup { top: 0; vertical-align: baseline; margin-top: 0.12em; font-size: 28px; font-weight: 600; }
.sv-door__price small { align-self: flex-end; margin: 0 6px 0.14em 0; font-size: 18px; font-weight: 500; color: var(--sv-muted); }
.sv-door__sub { margin: 10px 0 0; font-size: 16px; line-height: 1.4; color: var(--sv-muted); font-weight: 400; }
.sv-door ul { list-style: none; align-self: stretch; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--sv-line); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.sv-door li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; font-weight: 400; color: #3d4652; padding: 0; text-wrap: pretty; }
.sv-door li::before { display: none; }
.sv-door li svg { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; color: var(--tone); background: rgba(var(--tone-rgb), 0.12); }
.sv-door__actions { align-self: stretch; margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.sv-door__actions .btn { width: 100%; font-size: 20px; font-weight: 600; padding: 14px 20px; white-space: normal; box-shadow: 0 10px 22px rgba(var(--tone-rgb), 0.3); transition: background 0.2s ease, transform 0.2s ease; }
.sv-door__actions .btn:hover { transform: translateY(-1px); }
.sv-door__fine { font-size: 14px; color: var(--sv-muted); text-align: center; margin: 0; font-weight: 400; line-height: 1.4; text-wrap: balance; }

/* The quote sits just under the header, on the grey page. */
.sv-quote { padding: 40px 0 30px; }
.sv-quote blockquote { font-weight: 500; color: var(--sv-ink); }

/* ---------- Shared section bits ---------- */
.sv-section { padding: 70px 0; }
.sv-section--white { background: #fff; }
.sv-head { max-width: 780px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.sv-head .sv-eyebrow { color: var(--sv-green); letter-spacing: 5px; font-size: 16px; font-weight: 500; text-transform: uppercase; margin: 0; }
.sv-head h2 { font-size: 40px; line-height: 1.15; color: var(--sv-navy); font-weight: 600; margin: 0; }
.sv-head p { color: var(--sv-muted); font-size: 20px; line-height: 1.4; margin: 0; }

/* ---------- How the voicemail works ---------- */
.sv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.sv-step { background: var(--sv-paper); border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.sv-step__num { width: 42px; height: 42px; border-radius: 50%; background: var(--sv-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.sv-step h3 { font-size: 22px; font-weight: 600; color: var(--sv-navy); margin: 0; }
.sv-step p { color: var(--sv-muted); font-size: 17px; line-height: 1.45; margin: 0; font-weight: 400; }
.sv-step .sv-step__phone { font-size: 26px; font-weight: 700; color: var(--sv-red); letter-spacing: 0.02em; }

.sv-why { margin-top: 44px; background: var(--sv-paper); border-radius: 18px; padding: 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.sv-why h3 { font-size: 27px; font-weight: 600; color: var(--sv-navy); margin: 0; }
.sv-why > div > p { color: var(--sv-muted); font-size: 18px; line-height: 1.45; margin: 10px 0 0; font-weight: 400; }
.sv-why ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.sv-why li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.4; font-weight: 400; padding: 0; }
.sv-why li::before { display: none; }
.sv-why li svg { flex: none; color: var(--sv-green); margin-top: 4px; }
.sv-week { background: #fff; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.sv-week__title { color: var(--sv-muted); letter-spacing: 4px; font-size: 13px; text-transform: uppercase; margin: 0 0 4px; font-weight: 500; }
.sv-week__day { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 1.35; }
.sv-week__day b { flex: none; width: 46px; color: var(--sv-red); font-weight: 600; }
.sv-week__day span { background: var(--sv-paper); border-radius: 10px; padding: 8px 12px; flex: 1; }

.sv-compare { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sv-compare table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--sv-line); border-radius: 16px; overflow: hidden; }
.sv-compare th, .sv-compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sv-line); font-size: 17px; line-height: 1.4; font-weight: 400; }
.sv-compare thead th { font-size: 19px; font-weight: 700; }
.sv-compare thead th:nth-child(2) { color: var(--sv-red); }
.sv-compare thead th:nth-child(3) { color: var(--sv-green); }
.sv-compare tbody th { font-weight: 500; color: var(--sv-muted); font-size: 15px; width: 22%; }
.sv-compare tr:last-child td, .sv-compare tr:last-child th { border-bottom: 0; }
.sv-compare td .btn { font-size: 16px; padding: 8px 18px; }

/* ---------- Elf ---------- */
.sv-elf { background: linear-gradient(135deg, #0f4d2e, #1fa361); color: #fff; border-radius: 20px; padding: 42px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.sv-elf .sv-eyebrow { color: #c9f2da; letter-spacing: 5px; font-size: 15px; text-transform: uppercase; margin: 0; font-weight: 500; }
.sv-elf h2 { color: #fff; font-size: 38px; line-height: 1.15; font-weight: 600; margin: 10px 0 0; }
.sv-elf > div > p { margin: 12px 0 0; color: #e6f7ec; font-size: 18px; line-height: 1.45; font-weight: 400; }
.sv-elf__picks { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.sv-elf__pick { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 17px; }
.sv-elf__pick b { display: block; font-size: 11px; opacity: 0.8; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.sv-elf__pick--on { background: #fff; color: var(--sv-green-dark); border-color: #fff; }
.sv-elf__bubble { position: relative; background: #fff; color: var(--sv-ink); border-radius: 18px; padding: 22px 24px; font-size: 17px; line-height: 1.5; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); }
.sv-elf__bubble::after { content: ""; position: absolute; left: -12px; top: 32px; border: 12px solid transparent; border-right-color: #fff; border-left: 0; }
.sv-elf__bubble small { display: block; margin-top: 10px; color: var(--sv-muted); font-size: 14px; }

/* Elf feature in the features grid */
.sv-feature-new { position: relative; }
.sv-feature-new .icon svg { width: 44px; height: 44px; color: var(--sv-red); }
.sv-feature-new .sv-new { display: block; font-size: 11px; color: var(--sv-red); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }

/* ---------- One-off call strip above the plans ---------- */
.sv-onecall { background: #fff; border: 2px solid var(--sv-red); border-radius: 14px; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; text-align: left; }
.sv-onecall__name { color: var(--sv-red); letter-spacing: 4px; text-transform: uppercase; font-size: 13px; font-weight: 600; margin: 0; }
.sv-onecall h3 { font-size: 26px; font-weight: 600; color: var(--sv-navy); margin: 4px 0 0; }
.sv-onecall p { color: var(--sv-muted); margin: 6px 0 0; font-size: 17px; line-height: 1.4; font-weight: 400; }
.sv-onecall .btn { white-space: nowrap; }

/* ---------- Bottom banner: two buttons ---------- */
.get-started .sv-cta-btns { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; vertical-align: middle; position: relative; z-index: 9999; }
.get-started .sv-cta-btns .btn { font-size: 22px; padding: 10px 28px; }
.get-started .sv-cta-btns .btn.outline { background: transparent; border: 2px solid #fff; color: #fff; }
.get-started .sv-cta-btns .btn.outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Small screens ---------- */
@media (max-width: 1199px) {
  .sv-deco { display: none; }
  .sv-page-header { padding-bottom: 70px !important; }
  .sv-page-header .sv-wave { height: 60px; }
}
@media (max-width: 991px) {
  .sv-doors, .sv-steps, .sv-why, .sv-elf { grid-template-columns: 1fr; }
  .sv-onecall { grid-template-columns: 1fr; text-align: center; }
  .sv-onecall .btn { justify-self: center; }
}
@media (max-width: 600px) {
  .sv-hero { margin-top: 32px; }
  .sv-hero .sv-lead { font-size: 18px; }
  .sv-home-header { --sv-ground: 150px; padding: 32px 4px 48px !important; }
  .sv-page-header { padding: 32px 4px 60px !important; }
  .sv-home-header .fs-1 img, .sv-page-header .fs-1 img { max-width: 210px !important; }
  .sv-page-header .header-text h1 { font-size: 32px; }
  .sv-hero .sv-eyebrow { font-size: 13px; letter-spacing: 2px; }
  .sv-hero h1 { font-size: 30px; line-height: 1.2; }
  .sv-wave { height: 90px; }
  .sv-doors { margin-top: 36px; gap: 22px; }
  .sv-door { padding: 32px 22px 24px; border-radius: 24px; }
  .sv-door h2 { font-size: 25px; }
  .sv-door__price { font-size: 54px; }
  .sv-door__price sup { font-size: 24px; }
  .sv-door li { font-size: 16px; }
  .sv-door__actions { padding-top: 24px; }
  .sv-door__actions .btn { font-size: 18px; }
  .sv-section { padding: 48px 0; }
  .sv-head h2 { font-size: 30px; }
  .sv-why { padding: 22px; }
  .sv-elf { padding: 30px 22px; }
  .sv-elf h2 { font-size: 29px; }
  .get-started .h4, .get-started h4 { margin-right: 0; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-door, .sv-door::before, .btn { transition: none !important; }
  .sv-snow { display: none; }
}
