﻿:root {
  --navy: #0a1628;
  --navy-soft: #132542;
  --gold: #d49b4b;
  --gold-dark: #ba8235;
  --canvas: #f5f6f8;
  --white: #ffffff;
  --text: #152032;
  --muted: #5b677b;
  --line: #e2e6ee;
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Montserrat", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--canvas); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.container { width: min(1160px, 92%); margin: 0 auto; }

@keyframes heroEntrance {
  0% { opacity: 0.2; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes orbDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-20px, 16px, 0) scale(1.1); }
}

.hero-entrance {
  animation: heroEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pryme-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--white);
  padding: 2px;
  border: 1px solid rgba(212, 155, 75, 0.45);
  flex-shrink: 0;
}

.pryme-logo-img.footer-logo {
  width: 38px;
  height: 38px;
}

.site-nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(212, 155, 75, 0.25); color: var(--white); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-logo-wrap { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.brand-name strong { display: block; font-family: var(--display); font-size: clamp(0.84rem, 1.3vw, 0.98rem); line-height: 1.15; letter-spacing: 0.05em; color: var(--white); }
.brand-name small { display: block; font-size: 0.71rem; line-height: 1.3; margin-top: 0.14rem; color: #b5c1d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.9rem; font-weight: 500; color: #dce3ef; }
.nav-links > a:hover,
.nav-dropdown-link:hover,
.nav-dropdown-link.active { color: var(--gold); }

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger-wrap { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-caret { background: none; border: none; color: inherit; font-size: 0.85rem; cursor: pointer; padding: 0.15rem 0.25rem; line-height: 1; transition: transform 0.2s ease, color 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-caret, .nav-dropdown.open .nav-dropdown-caret { color: var(--gold); transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -14px; width: 330px;
  background: var(--navy); border: 1px solid rgba(212, 155, 75, 0.35); border-radius: 8px;
  box-shadow: 0 18px 36px rgba(5, 12, 24, 0.35); padding: 0.5rem; display: grid; gap: 0.2rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 120;
}
.nav-dropdown-menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.58rem 0.72rem; border-radius: 6px; font-size: 0.83rem; line-height: 1.35; color: #dce3ef; transition: background-color 0.2s ease, color 0.2s ease; }
.nav-dropdown-menu a span { font-family: var(--display); font-size: 0.72rem; font-weight: 800; color: var(--gold); margin-top: 0.08rem; }
.nav-dropdown-menu a:hover { background: rgba(212, 155, 75, 0.14); color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.btn-gold, .btn-glass, .btn-navy { display: inline-flex; align-items: center; justify-content: center; padding: 0.74rem 1.35rem; border-radius: 6px; font-size: 0.88rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-glass { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.24); }
.btn-glass:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.full-width { width: 100%; }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-btn span { width: 22px; height: 2px; background: var(--white); }

/* Hero */
.hero { position: relative; min-height: clamp(460px, 68vh, 620px); display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide-track { display: flex; width: 500%; height: 100%; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-slide-track img { width: 20%; height: 100%; flex-shrink: 0; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 22, 40, 0.93) 48%, rgba(10, 22, 40, 0.74) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 920px; padding: clamp(3rem, 6vw, 4.8rem) 0; }
.hero-kicker-spread { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.15rem; }
.hero-title-spread { font-family: var(--serif); font-size: clamp(2.15rem, 4.5vw, 3.65rem); line-height: 1.14; letter-spacing: 0.01em; margin-bottom: 1.45rem; max-width: 860px; }
.hero-lead-spread { color: #d3dce9; font-size: clamp(0.95rem, 1.3vw, 1.04rem); line-height: 1.82; letter-spacing: 0.015em; max-width: 840px; margin-bottom: 2.2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Services Page Banner */
.page-banner { background: linear-gradient(115deg, var(--navy) 0%, #132542 100%); color: var(--white); padding: clamp(2.8rem, 5.5vw, 4.2rem) 0; border-bottom: 2px solid rgba(212, 155, 75, 0.35); }
.page-banner-title { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.45rem); line-height: 1.12; margin-bottom: 0.9rem; }
.page-banner-lead { max-width: 780px; color: #d3dce9; font-size: 1rem; line-height: 1.75; }

/* Catalogue Cards */
.catalog-list { display: grid; gap: 2rem; }
.catalog-card {
  display: grid; grid-template-columns: 0.88fr 1.32fr;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; box-shadow: 0 10px 26px rgba(10, 22, 40, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: 96px;
}
.catalog-card:hover, .catalog-card.active { border-color: var(--gold); box-shadow: 0 18px 38px rgba(10, 22, 40, 0.1); }
.catalog-media { position: relative; min-height: 290px; background: var(--navy); overflow: hidden; }
.catalog-media img { transition: transform 0.55s ease; }
.catalog-card:hover .catalog-media img { transform: scale(1.04); }
.catalog-index { position: absolute; top: 14px; left: 14px; background: rgba(10, 22, 40, 0.9); color: var(--gold); border: 1px solid rgba(212, 155, 75, 0.5); font-family: var(--display); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.34rem 0.72rem; border-radius: 5px; }
.catalog-body { padding: clamp(1.35rem, 2.8vw, 2.1rem); display: flex; flex-direction: column; justify-content: center; }
.catalog-body h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.25rem); color: var(--navy); line-height: 1.15; margin-bottom: 0.65rem; }
.catalog-intro { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.25rem; }

.offerings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.offering-box { background: var(--canvas); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 8px; padding: 0.95rem; }
.offering-box h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; line-height: 1.3; }
.offering-box p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* White Architectural Showcase for Language Services (FR & EN) */
.lang-luxe-stage.lang-luxe-light {
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  padding: clamp(1.65rem, 3.5vw, 2.85rem);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.06); color: var(--text);
}
.lang-luxe-stage.lang-luxe-light::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10, 22, 40, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 22, 40, 0.03) 1px, transparent 1px);
  background-size: 42px 42px; pointer-events: none;
}
.lang-luxe-backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lang-orb { position: absolute; border-radius: 50%; filter: blur(48px); opacity: 0.4; animation: orbDrift 11s ease-in-out infinite alternate; }
.lang-orb-1 { width: 250px; height: 250px; top: -60px; right: 8%; background: rgba(212, 155, 75, 0.18); }
.lang-orb-2 { width: 230px; height: 230px; bottom: -70px; left: 6%; background: rgba(10, 22, 40, 0.08); animation-delay: 2.5s; }

.lang-luxe-top { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; padding-bottom: 1.65rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.lang-pair-pill { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.34rem 0.9rem; margin-bottom: 0.8rem; border-radius: 999px; background: rgba(212, 155, 75, 0.12); border: 1px solid rgba(212, 155, 75, 0.45); font-family: var(--display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; color: var(--navy); }
.lang-pair-divider { color: var(--gold-dark); font-size: 0.95rem; }
.lang-luxe-title-block h2 { font-family: var(--serif); font-size: clamp(1.95rem, 3.5vw, 2.8rem); color: var(--navy); line-height: 1.1; margin-bottom: 0.5rem; }
.lang-luxe-sub { max-width: 680px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

.lang-stage-tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.lang-stage-tab { cursor: pointer; border: 1px solid var(--line); background: var(--canvas); color: var(--navy); font-family: var(--sans); font-size: 0.8rem; font-weight: 600; padding: 0.55rem 0.95rem; border-radius: 999px; transition: all 0.25s ease; }
.lang-stage-tab:hover, .lang-stage-tab.active { background: var(--navy); border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 18px rgba(10, 22, 40, 0.12); }

.lang-luxe-timeline { position: relative; z-index: 2; display: grid; gap: 2rem; }
.lang-spine { position: absolute; left: 50%; top: 12px; bottom: 12px; width: 2px; transform: translateX(-50%); background: rgba(212, 155, 75, 0.25); border-radius: 999px; overflow: hidden; }
.lang-spine-fill { display: block; width: 100%; height: 34%; background: linear-gradient(180deg, transparent, #f3c87b, #d49b4b); transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }

.lang-luxe-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; perspective: 1100px; }
.lang-luxe-media { position: relative; height: 265px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(212, 155, 75, 0.45); box-shadow: 0 14px 32px rgba(10, 22, 40, 0.12); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.lang-luxe-media img { filter: contrast(1.03) saturate(1.04); transition: transform 0.65s ease; }
.lang-luxe-row:hover .lang-luxe-media img, .lang-luxe-row.sketch-active .lang-luxe-media img { transform: scale(1.05); }
.lang-media-frame { position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 9px; pointer-events: none; }
.lang-media-chip { position: absolute; top: 14px; left: 14px; padding: 0.28rem 0.68rem; border-radius: 6px; background: rgba(10, 22, 40, 0.88); border: 1px solid rgba(212, 155, 75, 0.55); color: var(--gold); font-family: var(--display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; }

.lang-luxe-card { position: relative; z-index: 3; padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(10, 22, 40, 0.08); transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.lang-luxe-row-left .lang-luxe-card { margin-left: -34px; }
.lang-luxe-row-right .lang-luxe-card { margin-right: -34px; }
.lang-luxe-row.sketch-active .lang-luxe-card, .lang-luxe-row:hover .lang-luxe-card { border-color: var(--gold); box-shadow: 0 16px 34px rgba(10, 22, 40, 0.12); transform: translateY(-3px); }
.lang-luxe-card h3 { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.85rem); color: var(--navy); line-height: 1.2; margin-bottom: 0.7rem; }
.lang-luxe-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

.lang-feature-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.lang-feature-list li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.42rem 0.85rem; border-radius: 8px; background: var(--canvas); border: 1px solid var(--line); color: var(--navy); font-size: 0.88rem; font-weight: 600; }
.lang-feature-list li::before { content: "◆"; color: var(--gold-dark); font-size: 0.65rem; }
.lang-card-bar { margin-top: 1.1rem; height: 3px; width: 48px; border-radius: 999px; background: linear-gradient(90deg, #d49b4b, #f3c87b); transition: width 0.4s ease; }
.lang-luxe-row.sketch-active .lang-card-bar, .lang-luxe-row:hover .lang-card-bar { width: 105px; }

/* Directional Slide-In while keeping elements visible */
.sketch-row.slide-from-left { opacity: 1; transform: translateX(0); animation: slideFromLeftAnim 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sketch-row.slide-from-right { opacity: 1; transform: translateX(0); animation: slideFromRightAnim 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes slideFromLeftAnim {
  0% { opacity: 0.15; transform: translateX(-36px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRightAnim {
  0% { opacity: 0.15; transform: translateX(36px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Sections & Arc */
.section { padding: clamp(3.5rem, 7vw, 5.8rem) 0; border-top: 1px solid var(--line); }
.section-navy { background: var(--navy); color: var(--white); border-top-color: rgba(212, 155, 75, 0.25); }
.sec-head { max-width: 680px; margin-bottom: 2.25rem; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(2.05rem, 3.6vw, 2.95rem); color: var(--navy); line-height: 1.1; margin-bottom: 0.55rem; }
.sec-head p:last-child { color: var(--muted); font-size: 0.95rem; }
.sec-head.on-dark h2 { color: var(--white); }
.sec-head.on-dark p:last-child { color: #c4cfdf; }

.card-arc-stage { display: grid; grid-template-columns: 1.06fr 1.14fr; gap: 2rem; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: clamp(1.15rem, 2.5vw, 2rem); box-shadow: 0 12px 28px rgba(10, 22, 40, 0.05); }
.arc-board { position: relative; min-height: 470px; background: linear-gradient(150deg, #ffffff 0%, #faf8f3 100%); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 1.25rem; }
.arc-watermark { position: absolute; top: 16px; right: 18px; font-family: var(--display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; color: rgba(10, 22, 40, 0.35); border-bottom: 1px solid rgba(212, 155, 75, 0.55); padding-bottom: 0.2rem; z-index: 2; }
.arc-curve-svg { position: absolute; left: 0; top: 0; width: 340px; height: 460px; pointer-events: none; }
.arc-nodes { position: relative; width: 100%; height: 460px; }
.arc-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-24px, -24px); display: flex; align-items: center; gap: 0.85rem; background: transparent; border: none; cursor: pointer; text-align: left; padding: 0.25rem; transition: transform 0.25s ease; z-index: 3; }
.arc-node:hover { transform: translate(-20px, -24px); }
.node-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1.8px solid var(--navy); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; transition: all 0.25s ease; }
.node-circle svg { width: 21px; height: 21px; }
.arc-node:hover .node-circle, .arc-node.active .node-circle { background: var(--navy); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 155, 75, 0.22); }
.node-label { max-width: 265px; font-size: 0.85rem; font-weight: 600; line-height: 1.32; color: var(--muted); background: rgba(255, 255, 255, 0.96); padding: 0.42rem 0.7rem; border-radius: 6px; border: 1px solid var(--line); transition: all 0.25s ease; }
.node-num { font-style: normal; font-family: var(--display); font-size: 0.74rem; font-weight: 800; color: var(--gold-dark); margin-right: 0.3rem; }
.arc-node:hover .node-label, .arc-node.active .node-label { color: var(--navy); font-weight: 700; background: #fffdf9; border-color: var(--gold); }

.arc-detail-panel { position: relative; display: flex; flex-direction: column; justify-content: space-between; background: var(--canvas); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform 0.22s ease-out; }
.detail-photo { position: relative; height: clamp(200px, 28vw, 250px); background: var(--navy); overflow: hidden; }
.photo-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(10, 22, 40, 0.9); color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.32rem 0.7rem; border-radius: 5px; border: 1px solid rgba(212, 155, 75, 0.45); }
.detail-text { padding: clamp(1.15rem, 2.5vw, 1.65rem); }
.detail-text h3 { font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 1.95rem); color: var(--navy); line-height: 1.15; margin-bottom: 0.55rem; }
.detail-text > p { font-size: 0.92rem; color: var(--muted); margin-bottom: 1rem; }
.detail-text ul { list-style: none; display: grid; gap: 0.48rem; }
.detail-text li { position: relative; padding-left: 1.15rem; font-size: 0.88rem; color: var(--text); }
.detail-text li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.process-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 1.6rem; }
.step-badge { display: inline-block; font-size: 0.8rem; font-weight: 800; color: var(--gold); margin-bottom: 0.55rem; }
.process-item h3 { font-family: var(--display); font-size: 1.05rem; color: var(--white); margin-bottom: 0.5rem; }
.process-item p { font-size: 0.88rem; color: #c4cfdf; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.contact-card, .quote-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.3rem, 2.5vw, 1.9rem); }
.contact-card h3, .quote-card h3 { font-family: var(--display); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.7rem; }
.contact-copy { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.contact-meta { list-style: none; display: grid; gap: 0.9rem; }
.contact-meta li { display: grid; grid-template-columns: 105px 1fr; gap: 0.65rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-meta li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-meta strong { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact-meta a { color: var(--navy); font-weight: 600; }
.contact-meta a:hover { color: var(--gold-dark); text-decoration: underline; }
.copy-pill { margin-left: 0.45rem; padding: 0.14rem 0.5rem; font-size: 0.72rem; font-weight: 600; background: var(--canvas); border: 1px solid var(--line); border-radius: 4px; color: var(--navy); cursor: pointer; }
.copy-pill:hover { border-color: var(--gold); }

.quote-card { display: grid; gap: 0.95rem; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.input-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 0.7rem 0.82rem; border: 1px solid var(--line); border-radius: 6px; background: var(--canvas); font-family: inherit; font-size: 0.9rem; color: var(--text); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.status-msg { font-size: 0.86rem; font-weight: 600; color: var(--navy); min-height: 1.2em; }

.site-footer { background: linear-gradient(180deg, var(--navy) 0%, #07101e 100%); color: #b5c1d4; padding: 2rem 0; border-top: 2px solid rgba(212, 155, 75, 0.45); font-size: 0.85rem; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand strong { display: block; font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.05em; color: var(--white); }
.footer-brand p { font-size: 0.82rem; color: #b5c1d4; margin-top: 0.1rem; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; color: #c4cfdf; font-size: 0.84rem; }
.footer-dot { color: var(--gold); }
.site-footer a:hover { color: var(--gold); }

/* Lower-Right WhatsApp Widget */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-fab { width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #ffffff; border: none; box-shadow: 0 8px 22px rgba(10, 22, 40, 0.24); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease; }
.wa-fab:hover { background: #20bd5a; transform: translateY(-2px); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-popup { width: 288px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 32px rgba(10, 22, 40, 0.18); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.wa-popup.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-popup-header { background: #075e54; color: var(--white); padding: 0.85rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.wa-popup-header strong { display: block; font-size: 0.86rem; font-weight: 700; }
.wa-popup-header span { display: block; font-size: 0.74rem; color: rgba(255, 255, 255, 0.85); }
.wa-close { background: none; border: none; color: var(--white); font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 0 0.2rem; }
.wa-popup-body { padding: 0.95rem 1rem 1rem; }
.wa-greeting { background: #f0f2f5; color: var(--text); font-size: 0.82rem; line-height: 1.45; padding: 0.65rem 0.75rem; border-radius: 8px; margin-bottom: 0.85rem; }
.wa-start-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0.62rem 0.9rem; border-radius: 6px; background: #25d366; color: #ffffff; font-size: 0.82rem; font-weight: 700; }
.wa-start-btn:hover { background: #20bd5a; }

.reveal { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .card-arc-stage, .process-grid, .contact-wrap, .catalog-card, .lang-luxe-row { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: 1fr; }
  .lang-spine { display: none; }
  .lang-luxe-row-right .lang-luxe-media { order: -1; }
  .lang-luxe-media { height: 220px; }
  .lang-luxe-row-left .lang-luxe-card, .lang-luxe-row-right .lang-luxe-card { margin: -24px 12px 0 12px; }
}

@media (max-width: 760px) {
  .pryme-logo-img { width: 36px; height: 36px; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 1.25rem 4%; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-menu { position: static; width: 100%; margin-top: 0.5rem; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
  .nav-actions .btn-gold { display: none; }
  .menu-btn { display: flex; }
  .input-row { grid-template-columns: 1fr; }
  .contact-meta li { grid-template-columns: 1fr; gap: 0.25rem; }
  .arc-board { min-height: auto; padding: 1rem; }
  .arc-watermark { position: static; display: inline-block; margin-bottom: 0.75rem; }
  .arc-curve-svg { display: none; }
  .arc-nodes { height: auto; display: flex; flex-direction: column; gap: 0.65rem; }
  .arc-node { position: static; transform: none; width: 100%; }
  .arc-node:hover { transform: none; }
  .node-label { max-width: 100%; flex: 1; }
  .hero-btns .btn-gold, .hero-btns .btn-glass { flex: 1 1 auto; }
  .wa-widget { right: 16px; bottom: 16px; }
  .wa-popup { width: 266px; }
}

/* Lively Interactive Services Hub & "How It Works" Experience */
.lively-banner {
  position: relative;
  overflow: hidden;
}

.banner-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 155, 75, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 155, 75, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.lively-hub-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hub-chip:hover,
.hub-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(212, 155, 75, 0.28);
}

.hub-chip-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hub-chip.active .hub-chip-pulse,
.hub-chip:hover .hub-chip-pulse {
  background: var(--navy);
  animation: pulseRing 1.6s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(10, 22, 40, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(10, 22, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 22, 40, 0); }
}

.media-live-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 0.48rem 0.78rem;
  border-radius: 6px;
  background: rgba(10, 22, 40, 0.86);
  backdrop-filter: blur(6px);
  border-left: 3px solid var(--gold);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 600;
}

.card-top-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.45rem;
}

.card-top-flex h2 {
  margin-bottom: 0 !important;
}

.card-mode-switch {
  display: inline-flex;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem;
  gap: 0.2rem;
}

.mode-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.mode-btn:hover {
  color: var(--navy);
}

.mode-btn.active {
  background: var(--navy);
  color: var(--gold);
}

.mode-panel {
  display: none;
  animation: panelFadeIn 0.35s ease both;
}

.mode-panel.active {
  display: block;
}

@keyframes panelFadeIn {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.interactive-box {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.interactive-box:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 12px 24px rgba(10, 22, 40, 0.08);
}

.how-it-works-bar {
  position: relative;
  z-index: 2;
  margin-top: 2.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.how-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.how-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-head strong {
  font-size: 0.96rem;
  color: var(--navy);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.how-step {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.how-step:hover,
.how-step.active {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(10, 22, 40, 0.07);
}

.how-step-num {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.how-step h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.how-step p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.52;
}

@media (max-width: 980px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Sliding Hero Banner on Services Page (Matches Homepage Hero Slider) */
.services-hero-slider {
  position: relative;
  overflow: hidden;
  min-height: clamp(390px, 52vh, 500px);
  display: flex;
  align-items: center;
  background: var(--navy);
}

.services-hero-slider .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.services-hero-slider .hero-slide-track {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-hero-slider .hero-slide-track img {
  width: 20%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.services-hero-slider .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.92) 48%, rgba(10, 22, 40, 0.72) 100%);
  z-index: 1;
}

.services-hero-slider .page-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Clean Split Section Design (No Outlines or Heavy Borders) */
.split-service-band {
  padding: clamp(3.2rem, 6vw, 4.8rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 76px;
}

.split-service-band.band-white {
  background: var(--white);
}

.split-service-band.band-canvas {
  background: var(--canvas);
}

.split-service-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}

.split-service-grid.reverse-split .split-media {
  order: 2;
}

.split-service-grid.reverse-split .split-content {
  order: 1;
}

.split-media {
  height: clamp(250px, 32vw, 350px);
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-service-band:hover .split-media img {
  transform: scale(1.03);
}

.split-content.catalog-body {
  padding: 0;
}

.split-content.catalog-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
}

.split-offerings {
  gap: 1.25rem;
}

.clean-split-item {
  background: transparent !important;
  border: none !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: 0 !important;
  padding: 0.85rem 0 0 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.clean-split-item:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 980px) {
  .split-service-grid,
  .split-service-grid.reverse-split {
    grid-template-columns: 1fr;
  }
  .split-service-grid.reverse-split .split-media,
  .split-service-grid.reverse-split .split-content {
    order: initial;
  }
  .split-media {
    height: 230px;
  }
}

/* Centered Services Title & Scroll-In Section Effect */
.centered-services-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-banner-title.centered-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.lively-hub-strip.centered-hub {
  justify-content: center;
  margin-top: 0;
}

.scroll-fx .split-media {
  opacity: 0.35;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-fx .split-content {
  opacity: 0.35;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.scroll-fx.in-view .split-media,
.scroll-fx.in-view .split-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-fx .split-media,
  .scroll-fx .split-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Lively Site Polish: Scroll Progress, Quick-Match Pills & Interactive Process Steps */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #f5d393);
  z-index: 200;
  transition: width 0.12s linear;
}

.hero-quick-match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.quick-match-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3c87b;
  margin-right: 0.25rem;
}

.quick-pill {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.quick-pill:hover,
.quick-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

.detail-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.inline-gold-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-dark);
  transition: color 0.2s ease, transform 0.2s ease;
}

.inline-gold-link:hover {
  color: var(--navy);
  transform: translateX(2px);
}

.inline-muted-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.inline-muted-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.process-item.interactive-step {
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.process-item.interactive-step:hover,
.process-item.interactive-step.active {
  background: rgba(212, 155, 75, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.process-live-note {
  margin-top: 1.35rem;
  padding: 0.8rem 1.05rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold);
  color: #e2e8f0;
  font-size: 0.88rem;
}

.split-cta-row {
  margin-top: 1.15rem;
}

/* Wave Split Dividers, Responsive Services Polish & Back-to-Top Arrow */
.split-service-band {
  position: relative;
  padding-bottom: clamp(4.8rem, 7vw, 6.2rem);
}

.split-service-band:last-of-type {
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(42px, 5.2vw, 72px);
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-divider.wave-to-canvas svg path {
  fill: var(--canvas);
}

.wave-divider.wave-to-white svg path {
  fill: var(--white);
}

.back-to-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 5.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, 0.16);
  background: var(--white);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease, visibility 0.25s ease;
  z-index: 120;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .back-to-top-btn {
    right: 1.1rem;
    bottom: 5.1rem;
    width: 40px;
    height: 40px;
  }
  .card-top-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .lively-hub-strip {
    gap: 0.45rem;
  }
  .hub-chip {
    font-size: 0.76rem;
    padding: 0.4rem 0.72rem;
  }
}

/* Site-Wide Wave Splits & Clean Section Transitions */
.hero.has-wave-bottom,
.section.has-wave-bottom,
.split-service-band.has-wave-bottom {
  position: relative;
}

.section.has-wave-bottom {
  padding-bottom: clamp(5.2rem, 7.5vw, 6.8rem);
}

.wave-divider.wave-to-navy svg path {
  fill: var(--navy);
}

.wave-divider.wave-to-footer svg path {
  fill: var(--navy);
}

/* 3-to-5 Image Sliders per Service on Services Page */
.service-multi-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--navy);
}

.service-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-slider-track img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
}

.svc-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 22, 40, 0.72);
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.svc-slide-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.svc-slide-btn.prev {
  left: 10px;
}

.svc-slide-btn.next {
  right: 10px;
}

.svc-slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.svc-slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.svc-slide-dot.active {
  width: 20px;
  background: var(--gold);
}

/* Automated Wave Drift & Noticeable Service Section Entrance */
@keyframes waveDriftSlow {
  0% {
    transform: translateX(0) scaleX(1.06);
  }
  50% {
    transform: translateX(-2.2%) scaleX(1.08);
  }
  100% {
    transform: translateX(0) scaleX(1.06);
  }
}

.wave-divider svg {
  animation: waveDriftSlow 9s ease-in-out infinite;
  transform-origin: center bottom;
  will-change: transform;
}

.split-service-band .split-service-grid {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-service-band.service-revealed .split-service-grid {
  opacity: 1;
  transform: translateY(0);
}

.split-service-band .split-media {
  transform: scale(0.97);
  transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-service-band.service-revealed .split-media {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .wave-divider svg {
    animation: none;
    transform: none;
  }
  .split-service-band .split-service-grid,
  .split-service-band .split-media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Clean Wave Transitions, Interactive Water Ripple on Hover & Subtle Responsive 3D */
.split-service-band {
  border-top: none !important;
}

.has-wave-bottom {
  border-bottom: none !important;
}

.wave-divider {
  pointer-events: auto;
  cursor: default;
  --wave-shift: 0px;
  --wave-tilt: 0deg;
}

@keyframes waterFlowAmbient {
  0% {
    transform: translateX(calc(-1.5% + var(--wave-shift))) scaleX(1.06) skewX(var(--wave-tilt));
  }
  50% {
    transform: translateX(calc(1.5% + var(--wave-shift))) scaleX(1.08) skewX(calc(var(--wave-tilt) * -1));
  }
  100% {
    transform: translateX(calc(-1.5% + var(--wave-shift))) scaleX(1.06) skewX(var(--wave-tilt));
  }
}

.wave-divider svg {
  animation: waterFlowAmbient 7.5s ease-in-out infinite;
  transform-origin: center bottom;
  transition: transform 0.25s ease-out, filter 0.3s ease;
}

.wave-divider:hover svg {
  filter: drop-shadow(0 -2px 8px rgba(212, 155, 75, 0.22));
}

/* Subtle 3D perspective across cards, media, and panels */
main {
  perspective: 1400px;
}

.split-media,
.arc-detail-panel,
.contact-card,
.quote-card,
.process-item {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .split-media:hover {
    transform: rotateY(2.5deg) rotateX(-1.5deg) translateZ(8px);
    box-shadow: 0 18px 34px rgba(10, 22, 40, 0.14);
  }

  .arc-detail-panel:hover,
  .contact-card:hover,
  .quote-card:hover {
    transform: translateY(-4px) rotateX(1deg);
    box-shadow: 0 20px 38px rgba(10, 22, 40, 0.1);
  }
}

@media (max-width: 768px) {
  main {
    perspective: none;
  }
  .split-media:hover,
  .arc-detail-panel:hover,
  .contact-card:hover,
  .quote-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave-divider svg {
    animation: none;
    transform: none;
  }
  .split-media,
  .arc-detail-panel,
  .contact-card,
  .quote-card,
  .process-item {
    transform: none !important;
    transition: none !important;
  }
}

/* Corporate Clarity & Executive Polish */
.hero-scrim {
  background: linear-gradient(100deg, rgba(10, 22, 40, 0.94) 50%, rgba(10, 22, 40, 0.74) 100%);
}

.arc-detail-panel {
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(10, 22, 40, 0.06);
}

.contact-card,
.quote-card {
  border-radius: 12px;
}

.quote-card input:focus,
.quote-card select:focus,
.quote-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 155, 75, 0.18);
}

@media (max-width: 600px) {
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn-gold,
  .hero-btns .btn-glass {
    text-align: center;
  }
}

/* Slower, Calmer Image Transitions & Clean Corporate Polish */
.hero-slide-track {
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.service-slider-track {
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.site-nav {
  backdrop-filter: blur(10px);
}

.arc-detail-panel,
.contact-card,
.quote-card {
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.06);
}

/* Remove Direct Access Bar Below Hero CTA Buttons */
.hero-quick-match {
  display: none !important;
}

/* Legal Pages & Footer Policy Links */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.legal-container {
  max-width: 900px;
}

.legal-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.05);
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.legal-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.legal-card a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Long-Term Agreement Note Inside Quote Form */
.form-agreement-note {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.form-agreement-note a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Keep Services Page Bright, Crisp & Immediately Readable */
.split-service-band .split-service-grid {
  opacity: 1 !important;
  transform: translateY(0);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.split-service-band .split-media {
  opacity: 1 !important;
  transform: scale(1);
}

.split-service-band {
  background: var(--white);
}

.split-service-band:nth-of-type(even) {
  background: #f8f9fb;
}

/* Legal Pages & Footer Policy Links */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.legal-container {
  max-width: 900px;
}

.legal-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.05);
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.legal-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.legal-card a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* High-Contrast Corporate Readability & Interactive Tabs on services.html */
.split-service-band,
.split-service-band p,
.split-service-band li,
.split-service-band .svc-subcol p {
  color: #2b3a4a !important;
  opacity: 1 !important;
}

.split-service-band h2,
.split-service-band h3,
.split-service-band .svc-subcol h4 {
  color: #0a1628 !important;
  opacity: 1 !important;
}

.split-service-band .svc-tab-btn {
  opacity: 1 !important;
  cursor: pointer;
  color: #0a1628;
  background: #eef2f6;
  border: 1px solid rgba(10, 22, 40, 0.14);
}

.split-service-band .svc-tab-btn.active {
  background: #0a1628 !important;
  color: #ffffff !important;
  border-color: #0a1628 !important;
}

.split-service-band .svc-quote-link {
  color: #9e6b1f !important;
  font-weight: 700;
  opacity: 1 !important;
}

/* High-Contrast Corporate Readability & Interactive Tabs on services.html */
.split-service-band,
.split-service-band p,
.split-service-band li,
.split-service-band .svc-subcol p {
  color: #2b3a4a !important;
  opacity: 1 !important;
}

.split-service-band h2,
.split-service-band h3,
.split-service-band .svc-subcol h4 {
  color: #0a1628 !important;
  opacity: 1 !important;
}

.split-service-band .svc-tab-btn {
  opacity: 1 !important;
  cursor: pointer;
  color: #0a1628;
  background: #eef2f6;
  border: 1px solid rgba(10, 22, 40, 0.14);
}

.split-service-band .svc-tab-btn.active {
  background: #0a1628 !important;
  color: #ffffff !important;
  border-color: #0a1628 !important;
}

.split-service-band .svc-quote-link {
  color: #9e6b1f !important;
  font-weight: 700;
  opacity: 1 !important;
}

/* High-Contrast Corporate Readability & Interactive Tabs on services.html */
.split-service-band,
.split-service-band p,
.split-service-band li,
.split-service-band .svc-subcol p {
  color: #2b3a4a !important;
  opacity: 1 !important;
}

.split-service-band h2,
.split-service-band h3,
.split-service-band .svc-subcol h4 {
  color: #0a1628 !important;
  opacity: 1 !important;
}

.split-service-band .svc-tab-btn {
  opacity: 1 !important;
  cursor: pointer;
  color: #0a1628;
  background: #eef2f6;
  border: 1px solid rgba(10, 22, 40, 0.14);
}

.split-service-band .svc-tab-btn.active {
  background: #0a1628 !important;
  color: #ffffff !important;
  border-color: #0a1628 !important;
}

.split-service-band .svc-quote-link {
  color: #9e6b1f !important;
  font-weight: 700;
  opacity: 1 !important;
}

/* Force Full Brightness & High Contrast on Services Page */
#service-3,
#service-3 *,
.split-service-band,
.split-service-band * {
  opacity: 1 !important;
  filter: none !important;
}

.split-service-band h2,
.split-service-band h3,
.split-service-band .svc-subcol h3,
.split-service-band .svc-subcol h4 {
  color: #0a1628 !important;
}

.split-service-band p,
.split-service-band .svc-lead,
.split-service-band .svc-subcol p {
  color: #1f2d3d !important;
}

.split-service-band .svc-kicker {
  color: #9e6b1f !important;
  font-weight: 700;
}

.split-service-band .svc-quote-link {
  color: #0a1628 !important;
  font-weight: 700;
  border-bottom: 2px solid #d49b4b;
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 0.75rem;
}

/* Smooth Sliding "How It Works" Panel & Step Cards */
.svc-tab-viewport {
  overflow: hidden;
  width: 100%;
  margin-top: 0.75rem;
}

.svc-tab-track {
  display: flex;
  width: 200%;
  transform: translateX(0%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-tab-track.show-how-it-works {
  transform: translateX(-50%);
}

.svc-slide-pane {
  width: 50%;
  flex: 0 0 50%;
  box-sizing: border-box;
  opacity: 1 !important;
}

@keyframes stepCardSlideIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.svc-slide-pane.how-active .svc-subcol,
.svc-slide-pane.how-active .process-item,
.svc-slide-pane.how-active .legal-card {
  animation: stepCardSlideIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-slide-pane.how-active .svc-subcol:nth-child(2) {
  animation-delay: 0.08s;
}

.svc-slide-pane.how-active .svc-subcol:nth-child(3) {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .svc-tab-track,
  .svc-slide-pane.how-active .svc-subcol,
  .svc-slide-pane.how-active .process-item {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Responsive Sliding Track & Cards for Growth Levers / How It Works */
.growth-levers-block,
.growth-how-wrap,
.svc-slide-viewport,
.svc-tab-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.growth-slide-track {
  display: flex;
  width: 200%;
  transform: translateX(0%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.growth-slide-track.is-how-it-works {
  transform: translateX(-50%);
}

.growth-slide-pane {
  width: 50%;
  flex: 0 0 50%;
  min-width: 0;
  box-sizing: border-box;
}

.growth-levers-grid,
.growth-how-grid,
.svc-three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.growth-lever-card,
.growth-how-card,
.svc-subcol {
  min-width: 0;
  box-sizing: border-box;
  opacity: 1 !important;
  color: #0a1628;
}

.growth-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

@keyframes growthCardEnter {
  from {
    opacity: 0.25;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.growth-slide-pane.active-pane .growth-lever-card,
.growth-slide-pane.active-pane .growth-how-card,
.growth-slide-pane.active-pane .svc-subcol {
  animation: growthCardEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 900px) {
  .growth-levers-grid,
  .growth-how-grid,
  .svc-three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .growth-levers-grid,
  .growth-how-grid,
  .svc-three-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .growth-controls-row {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-slide-track,
  .growth-slide-pane.active-pane .growth-lever-card,
  .growth-slide-pane.active-pane .growth-how-card,
  .growth-slide-pane.active-pane .svc-subcol {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* Restore Normal Non-Sliding "How It Works" View */
.svc-tab-track,
.growth-slide-track {
  display: block !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}

.svc-slide-pane,
.growth-slide-pane {
  width: 100% !important;
  flex: none !important;
  transform: none !important;
  animation: none !important;
}

.svc-subcol,
.growth-lever-card,
.growth-how-card {
  animation: none !important;
  transform: none !important;
}

/* Keep "How It Works" Inside the Same Column & 3-Column Grid (No Top Banner, No Sliding) */
.normal-how-box,
.generated-how-pane {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  animation: none !important;
}

.normal-how-box .svc-lead,
.generated-how-pane .svc-lead {
  margin-bottom: 1.1rem;
  color: #1f2d3d !important;
}

.normal-how-box .svc-three-cols,
.generated-how-pane .svc-three-cols {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  transform: none !important;
  animation: none !important;
}

@media (max-width: 768px) {
  .normal-how-box .svc-three-cols,
  .generated-how-pane .svc-three-cols {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Clean Non-Sliding In-Column "How It Works" View for All Service Sections */
.split-service-band .svc-tab-track,
.split-service-band .growth-slide-track {
  display: block !important;
  width: 100% !important;
  transform: none !important;
  transition: none !important;
}

.split-service-band .svc-slide-pane,
.split-service-band .growth-slide-pane {
  width: 100% !important;
  flex: none !important;
  transform: none !important;
  animation: none !important;
}

.split-service-band .normal-how-box,
.split-service-band .generated-how-pane {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
}

.split-service-band .svc-three-cols,
.split-service-band .normal-how-box .svc-three-cols,
.split-service-band .generated-how-pane .svc-three-cols {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  transform: none !important;
  animation: none !important;
}

.split-service-band h2,
.split-service-band h3,
.split-service-band .svc-subcol h3,
.split-service-band p,
.split-service-band .svc-lead,
.split-service-band .svc-subcol p {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .split-service-band .svc-three-cols,
  .split-service-band .normal-how-box .svc-three-cols,
  .split-service-band .generated-how-pane .svc-three-cols {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Consistent Crisp Logo & Footer Layout Across All Pages */
.brand-logo,
.footer-logo {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  border-radius: 8px;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
  display: block;
}

.site-footer {
  background: #0a1628;
  color: #e6ecf5;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  color: #ffffff;
  display: block;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: #e0a958;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
}

/* Legal Pages & Footer Policy Links */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.legal-container {
  max-width: 900px;
}

.legal-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 24px rgba(10, 22, 40, 0.05);
}

.legal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.legal-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.legal-card a {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Remove Direct Access Bar Below Hero CTA Buttons */
.hero-quick-match {
  display: none !important;
}

/* Fix "How it works" Mode Switch & Workflow Panel Visibility */
.card-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 22, 40, 0.06);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(10, 22, 40, 0.12);
}

.card-mode-switch .mode-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: #0a1628;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.card-mode-switch .mode-btn:hover {
  background: rgba(10, 22, 40, 0.08);
  color: #0a1628;
}

.card-mode-switch .mode-btn.active {
  background: #0a1628 !important;
  color: #ffffff !important;
}

.catalog-body .mode-panel {
  display: none !important;
}

.catalog-body .mode-panel.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.how-steps-grid.compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.how-step.clean-split-item {
  background: #ffffff;
  color: #0a1628;
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-top: 3px solid #d49b4b;
  border-radius: 10px;
  padding: 16px 18px;
}

.how-step.clean-split-item h4 {
  color: #0a1628;
  margin: 0 0 6px;
  font-size: 1rem;
}

.how-step.clean-split-item p {
  color: #334155;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .how-steps-grid.compact {
    grid-template-columns: 1fr;
  }
}

/* Guarantee "How it works" Workflow Panels Render Visibly */
.split-service-band .catalog-body .mode-panel {
  display: none !important;
}

.split-service-band .catalog-body .mode-panel.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.split-service-band .catalog-body .how-steps-grid.compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .split-service-band .catalog-body .how-steps-grid.compact {
    grid-template-columns: 1fr !important;
  }
}

/* Clean Always-Visible "How It Works" Process Strip Inside Each Service Band */
.always-how-it-works {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 22, 40, 0.12);
}

.always-how-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b57c2d;
  margin-bottom: 0.65rem;
}

.always-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.always-how-card {
  background: rgba(10, 22, 40, 0.03);
  border: 1px solid rgba(10, 22, 40, 0.1);
  border-left: 3px solid #d49b4b;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.always-how-card strong {
  display: block;
  font-size: 0.88rem;
  color: #0a1628;
  margin-bottom: 0.25rem;
}

.always-how-card span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #475569;
}

@media (max-width: 820px) {
  .always-how-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove "How it works" Toggle & Workflow Panels */
.card-mode-switch,
[data-panel="workflow"] {
  display: none !important;
}

[data-panel="solutions"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove Per-Card "How It Works" Strip & Per-Card Quote Link on Services Page */
.split-service-band .how-steps-grid,
.split-service-band .how-works-wrap,
.split-service-band .workflow-strip,
.split-service-band .split-cta-row {
  display: none !important;
}

/* Showroom "Coming Up" Entrance & Scroll Reveal for Services Display Page */
@keyframes prymeHeroRise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-hero-slider .centered-services-banner .page-banner-title {
  animation: prymeHeroRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-hero-slider .centered-services-banner .lively-hub-strip {
  animation: prymeHeroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.split-service-band.display-reveal .split-media,
.split-service-band.display-reveal .split-content {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.split-service-band.display-reveal .split-content {
  transition-delay: 0.1s;
}

.split-service-band.display-reveal.is-coming-up .split-media,
.split-service-band.display-reveal.is-coming-up .split-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-slider .centered-services-banner .page-banner-title,
  .services-hero-slider .centered-services-banner .lively-hub-strip,
  .split-service-band.display-reveal .split-media,
  .split-service-band.display-reveal .split-content {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Services Display Entrance & "Coming Up" Scroll Animation */
@keyframes prymeDisplayRise {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.services-hero-slider .hero-entrance {
  animation: prymeDisplayRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.split-service-band .split-media,
.split-service-band .split-content,
.split-service-band .offering-box {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.split-service-band .offering-box:nth-child(2) {
  transition-delay: 0.08s;
}

.split-service-band .offering-box:nth-child(3) {
  transition-delay: 0.16s;
}

.split-service-band.is-visible .split-media,
.split-service-band.is-visible .split-content,
.split-service-band.is-visible .offering-box,
.split-service-band .split-media.rise-in,
.split-service-band .split-content.rise-in,
.split-service-band .offering-box.rise-in {
  opacity: 1;
  transform: translateY(0);
}

.split-service-band .split-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(10, 22, 40, 0.12);
}

.split-service-band .offering-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(10, 22, 40, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .services-hero-slider .hero-entrance,
  .split-service-band .split-media,
  .split-service-band .split-content,
  .split-service-band .offering-box {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* "Coming Together" Convergence Animation for Services Page */
.split-service-band .split-media,
.split-service-band .split-content,
.split-service-band .offering-box {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.split-service-band .split-media {
  transform: translateX(-44px) scale(0.98);
}

.split-service-band .split-content {
  transform: translateX(44px);
}

.split-service-band.reverse-split .split-media,
.split-service-band .reverse-split .split-media {
  transform: translateX(44px) scale(0.98);
}

.split-service-band.reverse-split .split-content,
.split-service-band .reverse-split .split-content {
  transform: translateX(-44px);
}

.split-service-band .offering-box {
  transform: translateX(26px) translateY(8px);
}

.split-service-band .offering-box:nth-child(2) {
  transition-delay: 0.09s;
}

.split-service-band .offering-box:nth-child(3) {
  transition-delay: 0.18s;
}

.split-service-band.is-visible .split-media,
.split-service-band.is-visible .split-content,
.split-service-band.is-visible .offering-box,
.split-service-band .split-media.rise-in,
.split-service-band .split-content.rise-in,
.split-service-band .offering-box.rise-in {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

@media (max-width: 900px) {
  .split-service-band .split-media,
  .split-service-band .split-content,
  .split-service-band.reverse-split .split-media,
  .split-service-band.reverse-split .split-content,
  .split-service-band .offering-box {
    transform: translateY(24px);
  }

  .split-service-band.is-visible .split-media,
  .split-service-band.is-visible .split-content,
  .split-service-band.is-visible .offering-box,
  .split-service-band .split-media.rise-in,
  .split-service-band .split-content.rise-in,
  .split-service-band .offering-box.rise-in {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-service-band .split-media,
  .split-service-band .split-content,
  .split-service-band .offering-box {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Section-by-Section Slow "Coming Together" Convergence */
.split-service-band .split-media,
.split-service-band .split-content,
.split-service-band .offering-box {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.split-service-band .split-media {
  transform: translateX(-64px) scale(0.97);
}

.split-service-band .split-content {
  transform: translateX(64px);
}

.split-service-band .reverse-split .split-media {
  transform: translateX(64px) scale(0.97);
}

.split-service-band .reverse-split .split-content {
  transform: translateX(-64px);
}

.split-service-band .offering-box {
  transform: translateX(36px) translateY(10px);
  transition-duration: 1.2s;
}

.split-service-band .offering-box:nth-child(1) {
  transition-delay: 0.22s;
}

.split-service-band .offering-box:nth-child(2) {
  transition-delay: 0.42s;
}

.split-service-band .offering-box:nth-child(3) {
  transition-delay: 0.62s;
}

.split-service-band.section-arrived .split-media,
.split-service-band.section-arrived .split-content,
.split-service-band.section-arrived .offering-box {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) scale(1) !important;
}

@media (max-width: 900px) {
  .split-service-band .split-media,
  .split-service-band .split-content,
  .split-service-band .reverse-split .split-media,
  .split-service-band .reverse-split .split-content,
  .split-service-band .offering-box {
    transform: translateY(34px);
  }

  .split-service-band.section-arrived .split-media,
  .split-service-band.section-arrived .split-content,
  .split-service-band.section-arrived .offering-box {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .split-service-band .split-media,
  .split-service-band .split-content,
  .split-service-band .offering-box {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hide "Type of commitment" Field in Quote Form */
#quoteForm [name*="commitment" i],
#quoteForm [id*="commitment" i],
#quoteForm label[for*="commitment" i] {
  display: none !important;
}

/* Polished Design for #quoteForm */
#quoteForm.quote-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 20px 45px rgba(10, 22, 40, 0.08);
  overflow: hidden;
}

#quoteForm.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c89d3c 0%, #e4be64 55%, #162946 100%);
}

#quoteForm .form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

#quoteForm label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #162946;
}

#quoteForm input,
#quoteForm select,
#quoteForm textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#quoteForm input::placeholder,
#quoteForm textarea::placeholder {
  color: #94a3b8;
}

#quoteForm input:hover,
#quoteForm select:hover,
#quoteForm textarea:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

#quoteForm input:focus,
#quoteForm select:focus,
#quoteForm textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #c89d3c;
  box-shadow: 0 0 0 4px rgba(200, 157, 60, 0.16);
}

#quoteForm textarea {
  min-height: 112px;
  resize: vertical;
}

#quoteForm button[type="submit"] {
  margin-top: 6px;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#quoteForm button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
  filter: brightness(1.03);
}

#quoteForm button[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
}

#quoteForm .form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #162946;
}

@media (max-width: 600px) {
  #quoteForm.quote-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
}

/* Small, Classic Terms & Conditions Styling */
#quoteForm .form-terms-row {
  margin: 4px 0 12px;
}

#quoteForm .terms-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}

#quoteForm .terms-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 2px;
  padding: 0;
  accent-color: #162946;
  cursor: pointer;
}

#quoteForm .terms-link {
  color: #162946;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#quoteForm .terms-link:hover {
  color: #b5892b;
}

.pryme-terms-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.pryme-terms-modal.is-open {
  display: flex;
}

.pryme-terms-dialog {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  border-top: 4px solid #c89d3c;
  box-shadow: 0 24px 54px rgba(10, 22, 40, 0.24);
  overflow: hidden;
}

.pryme-terms-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.pryme-terms-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #162946;
}

.pryme-terms-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.pryme-terms-body {
  padding: 18px 20px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #334155;
}

.pryme-terms-body p {
  margin: 0 0 10px;
}

.pryme-terms-body p:last-child {
  margin-bottom: 0;
}

/* Reliable Terms Modal Visibility */
#termsModal.pryme-terms-modal {
  display: none !important;
}

#termsModal.pryme-terms-modal.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Non-Clickable Terms Label Under Quote Form */
#quoteForm .terms-text-static,
#quoteForm .terms-text-static * {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: #475569;
  font-weight: 400;
}

/* Sub-Service Links Going to services.html */
.sub-service-link,
a[href*="services.html"] {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sub-service-link:hover {
  color: #c89d3c;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Smooth Anchor Offset for Fixed/Sticky Headers */
html {
  scroll-behavior: smooth;
}

section[id],
article[id],
[id="language"],
[id="weighing"],
[id="agricultural-trade"],
[id="commercial-agency"],
[id="business-development"] {
  scroll-margin-top: 96px;
}

/* Lively Executive Hover Motion & Wave Split Accents */
.pryme-wave-divider {
  display: block;
  width: 100%;
  height: 54px;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.pryme-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Smooth hover lift & gold accent on cards, buttons, and nav/dropdown links */
a,
button,
.btn,
.button,
.service-card,
.card,
[class*="card"] {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.28s ease,
              background-color 0.28s ease,
              color 0.24s ease;
}

.service-card:hover,
.card:hover,
[class*="service-item"]:hover,
[class*="service-card"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(22, 41, 70, 0.14), 0 0 0 1px rgba(200, 157, 60, 0.45);
  border-color: #c89d3c;
}

/* Lively dropdown item slide + gold marker on hover */
nav ul li ul a,
.dropdown-menu a,
[class*="dropdown"] a,
[class*="submenu"] a {
  position: relative;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.22s ease,
              padding-left 0.22s ease;
}

nav ul li ul a:hover,
.dropdown-menu a:hover,
[class*="dropdown"] a:hover,
[class*="submenu"] a:hover {
  transform: translateX(4px);
  padding-left: 14px;
  color: #c89d3c;
}

/* Subtle sheen sweep on primary buttons */
button[type="submit"]:hover,
.btn-primary:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 41, 70, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .pryme-wave-divider,
  a,
  button,
  .btn,
  .button,
  .service-card,
  .card,
  [class*="card"],
  nav ul li ul a,
  .dropdown-menu a,
  [class*="dropdown"] a,
  [class*="submenu"] a {
    transition: none !important;
    transform: none !important;
  }
}
