/* Shared styles for inner pages (Services, About, Contact) */

.services-more { margin-top: 44px; text-align: center; }

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(38, 39, 141, .95), transparent 60%),
    radial-gradient(500px 360px at 0% 100%, rgba(38, 39, 141, .45), transparent 70%),
    var(--navy);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -180px;
  width: 520px; height: 520px;
  background: url("/assets/icon.png") center / contain no-repeat;
  opacity: .08;
  animation: spin 80s linear infinite;
}
.page-hero-inner { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 96px); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.025em;
  margin-bottom: 24px;
  max-width: 900px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .lead { max-width: 640px; }

.svc-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.svc-jump a {
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.svc-jump a:hover { border-color: var(--gold); color: var(--gold); }
.svc-jump a.jump-tv { background: var(--leaf); border-color: var(--leaf); color: var(--navy); }
.svc-jump a.jump-tv:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Service blocks */
.svc-blocks { padding: clamp(40px, 6vw, 80px) 0; }
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding: clamp(48px, 7vw, 90px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.svc-block:last-child { border-bottom: 0; }
.svc-block.flip .svc-copy { order: 2; }
.svc-index { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.1rem; color: var(--gold-deep); margin-bottom: 12px; letter-spacing: .04em; }
.svc-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; }
.svc-copy > p { color: var(--muted); font-size: 1.08rem; }
.svc-copy .checklist { margin: 24px 0 0; }

.svc-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(38, 39, 141, .9), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.svc-visual::before {
  content: "";
  position: absolute;
  top: -25%; left: -20%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(225, 195, 64, .3);
  animation: spin 50s linear infinite;
}
.flip .svc-visual {
  background:
    radial-gradient(420px 300px at 0% 100%, rgba(124, 179, 66, .35), transparent 60%),
    linear-gradient(135deg, var(--royal), var(--navy));
}
.vis-card {
  position: relative;
  width: 78%;
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
  animation: float 7s ease-in-out infinite;
}
.vis-chip {
  position: absolute;
  right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .82rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}
.vis-chip .dot { background: var(--navy); }
.vis-card i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }
.vis-card i.short { width: 60%; }

/* Search */
.vs-bar { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.vs-glass { width: 12px; height: 12px; border: 2px solid var(--royal); border-radius: 50%; position: relative; flex: none; }
.vs-glass::after { content: ""; position: absolute; width: 6px; height: 2px; background: var(--royal); right: -6px; bottom: -3px; transform: rotate(45deg); }
.vs-result { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.vs-result > div { flex: 1; }
.vs-top { background: #FBF6DE; border: 1.5px solid var(--gold); }
.vs-top strong { display: block; color: var(--navy); font-size: .98rem; }
.vs-top small { color: var(--muted); font-size: .76rem; }
.vs-stars { color: var(--gold-deep); font-size: .8rem; letter-spacing: 2px; display: block; }
.vs-pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #E2453C; flex: none; margin-top: 2px; }
.vs-pin.dim { background: #C9CBDA; }

/* Browser */
.vis-browser { padding: 0; overflow: hidden; }
.vb-top { display: flex; gap: 6px; padding: 12px 14px; background: #EEF0F6; }
.vb-top i { width: 10px; height: 10px; border-radius: 50%; margin: 0; background: #C9CBDA; }
.vb-top i:first-child { background: #E2453C; }
.vb-top i:nth-child(2) { background: var(--gold); }
.vb-top i:nth-child(3) { background: var(--leaf); }
.vb-hero { background: linear-gradient(135deg, var(--royal), var(--navy)); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.vb-title { display: block; height: 12px; width: 80%; border-radius: 6px; background: rgba(255, 255, 255, .9); }
.vb-title.short { width: 50%; background: var(--gold); }
.vb-btn { display: block; width: 90px; height: 22px; border-radius: 999px; background: var(--gold); margin-top: 8px; }
.vb-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 20px 20px; }
.vb-cols span { height: 40px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); }

/* Content stack */
.vis-stack { position: relative; width: 80%; aspect-ratio: 4 / 3; }
.vis-tile { position: absolute; border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.vis-tile.t1 { width: 54%; aspect-ratio: 1; left: 22%; top: 4%; background: var(--navy); border: 3px solid var(--gold); gap: 8px; padding: 12px; z-index: 2; animation: float 7s ease-in-out infinite; }
.vt-title { font-family: var(--serif); color: var(--white); font-weight: 800; font-size: clamp(.95rem, 1.6vw, 1.25rem); line-height: 1.1; }
.vis-tile.t2 { width: 30%; aspect-ratio: 9 / 16; right: 0; top: 14%; background: linear-gradient(160deg, var(--leaf), var(--forest)); z-index: 3; animation: float 6s ease-in-out infinite; animation-delay: -2s; }
.vt-play { width: 0; height: 0; border-left: 18px solid var(--white); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.vis-tile.t3 { width: 34%; aspect-ratio: 8.5 / 11; left: 8%; bottom: -4%; background: var(--white); justify-content: flex-start; gap: 10px; transform: rotate(-4deg); z-index: 1; }
.vis-tile.t3 .mf-band { height: 34%; }
.vt-lines { width: 70%; display: flex; flex-direction: column; gap: 6px; }
.vt-lines i { display: block; height: 5px; border-radius: 3px; background: var(--line); }

/* Ad */
.vis-ad { width: 64%; padding: 14px; }
.va-label { font-size: .7rem; color: var(--muted); font-weight: 600; }
.va-img { margin-top: 8px; aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, var(--gold), #F1DA7A); display: grid; place-items: center; }
.va-img span { font-family: var(--serif); font-weight: 900; font-size: clamp(1.2rem, 2.4vw, 1.8rem); color: var(--navy); }
.va-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.va-foot > div { flex: 1; }
.va-foot i { margin-top: 0; }
.va-foot i + i { margin-top: 6px; }
.va-btn { font-size: .72rem; font-weight: 700; background: var(--royal); color: var(--white); padding: 7px 12px; border-radius: 8px; white-space: nowrap; }

/* Calendar */
.vc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.vc-head strong { font-family: var(--serif); color: var(--navy); font-size: 1.1rem; }
.vc-head span { color: var(--line); font-size: .6rem; letter-spacing: 3px; }
.vc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.vc-grid span { aspect-ratio: 1; border-radius: 8px; background: var(--cream); }
.vc-grid span.on { background: var(--royal); }
.vc-grid span.on.g { background: var(--gold); }
.vc-grid span.on.b { background: var(--leaf); }

/* Review */
.vr-row { display: flex; gap: 12px; align-items: flex-start; }
.vr-row > div { flex: 1; }
.vr-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--leaf), var(--forest)); flex: none; }
.vr-reply { margin: 16px 0 0 26px; padding: 14px; border-radius: 12px; background: #F1F1FA; border-left: 3px solid var(--royal); }
.vr-reply strong { font-size: .78rem; color: var(--royal); }

/* Elevate (full) */
.elevate-full { background: linear-gradient(180deg, #F3F8EE, var(--white) 70%); scroll-margin-top: 84px; }
.elevate-full .elevate-copy .btn { margin-top: 4px; }
.elevate-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(56px, 7vw, 88px); position: relative; }
.ew-panel {
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid #DCEBCF;
  box-shadow: 0 24px 60px -32px rgba(63, 125, 50, .5);
}
.ew-panel h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.ew-panel > p { color: var(--muted); }
.ew-host { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 24px 60px -32px rgba(3, 8, 73, .7); }
.ew-host h3 { color: var(--white); }
.ew-host > p { color: rgba(255, 255, 255, .75); }
.ew-host .text-link { color: var(--gold); }
.ew-host .text-link:hover { color: var(--white); }
.ew-steps { list-style: none; counter-reset: ew; margin: 24px 0 26px; padding: 0; display: grid; gap: 16px; }
.ew-steps li { counter-increment: ew; position: relative; padding-left: 52px; }
.ew-steps li::before {
  content: counter(ew);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: .9rem;
  background: rgba(124, 179, 66, .18); color: var(--forest);
}
.ew-host .ew-steps li::before { background: var(--gold); color: var(--navy); }
.ew-steps strong { display: block; color: var(--navy); line-height: 1.3; }
.ew-host .ew-steps strong { color: var(--white); }
.ew-steps span { font-size: .93rem; color: var(--muted); }
.ew-host .ew-steps span { color: rgba(255, 255, 255, .7); }

@media (max-width: 860px) {
  .svc-block { grid-template-columns: 1fr; gap: 36px; }
  .svc-block.flip .svc-copy { order: 0; }
  .elevate-split { grid-template-columns: 1fr; }
  .page-hero::after { width: 340px; height: 340px; right: -120px; bottom: -120px; }
}
@media (max-width: 600px) {
  .svc-visual { aspect-ratio: auto; min-height: 300px; padding: 28px 18px 76px; border-radius: 22px; }
  .vis-card { width: 88%; padding: 16px; }
  .vis-ad { width: 72%; }
  .vis-stack { width: 92%; }
  .vis-chip { right: 14px; bottom: 14px; font-size: .74rem; padding: 8px 12px; }
  .svc-jump a { font-size: .8rem; padding: 8px 14px; }
}

/* Grass edge on inner-page heroes; floating shapes retired */
.shape { display: none; }
.page-hero-inner::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 80px; transform: translateX(-50%); background: url("/assets/grass-front.svg") bottom center / auto 65% repeat-x, url("/assets/grass-back.svg") bottom center / auto 100% repeat-x; -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent); pointer-events: none; z-index: -1; }

/* Section background: light royal tint instead of cream */
:root { --cream: #F3F4FA; }

/* Grass along the top of the footer on every page */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -64px; height: 66px; pointer-events: none; background: url("/assets/grass-front.svg") bottom center / auto 70% repeat-x, url("/assets/grass-back.svg") bottom center / auto 100% repeat-x; -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent); }

/* Real photos: team, founders and Elevate With Us ads */
.team-grid .founder-card .founder-photo { background: var(--navy) center / cover no-repeat; border: 5px solid var(--white); box-shadow: 0 24px 50px -24px rgba(3, 8, 73, .6); }
.team-grid .founder-card:nth-child(1) .founder-photo { background-image: url("/assets/photos/elizabeth.webp"); }
.team-grid .founder-card:nth-child(2) .founder-photo { background-image: url("/assets/photos/david.webp"); }
.team-grid .founder-photo span { display: none; }
.about-panel { background: var(--navy) url("/assets/photos/team-v2.webp") center 30% / cover no-repeat; }
.about-panel::before { inset: 0; top: 0; right: 0; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; animation: none; background: linear-gradient(to top, rgba(3, 8, 73, .88), rgba(3, 8, 73, 0) 48%); }
.about-lion { display: none; }
.tv-wrap { padding: 40px 0 0; }
.tv { padding: 0; background: none; border-radius: 24px; overflow: hidden; }
.tv-screen { aspect-ratio: 4 / 3; border-radius: 24px; background: var(--navy) url("/assets/photos/ad-double-l.webp") center / cover no-repeat; }
.tv-ad, .tv-stand { display: none; }
.tv-wrap::before { content: ""; position: absolute; top: 0; right: -10px; z-index: 2; width: 44%; aspect-ratio: 4 / 3; border-radius: 16px; border: 5px solid var(--white); background: var(--navy) url("/assets/photos/ad-walker-grill.webp") center / cover no-repeat; box-shadow: 0 24px 50px -20px rgba(3, 8, 73, .6); animation: float 7s ease-in-out infinite; }
.mock-tv { background: var(--navy) url("/assets/photos/ad-jojos.webp") center / cover no-repeat; }
.mock-tv-screen { display: none; }
.about-panel ~ .fc-2 { top: auto; left: auto; bottom: 6px; right: -10px; }
@media (max-width: 600px) { .about-panel ~ .fc-2 { right: 0; bottom: -26px; } }

/* Performance: pause animations offscreen; pulse the live dot with transform only */
.anim-off, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
.live-dot { position: relative; box-shadow: none; animation: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #E2453C; animation: pulse-ring 1.8s ease-out infinite; }
@keyframes pulse-ring { from { transform: scale(1); opacity: .6; } to { transform: scale(2.4); opacity: 0; } }
