/* =========================================================
   Kern Shield — inner pages (About) + extra animations
   Loaded after style.css
   ========================================================= */

/* Reveal variants */
.reveal.left { transform: translateX(-60px); }
.reveal.right { transform: translateX(60px); }
.reveal.zoom { transform: scale(.7); }
.reveal.left.visible, .reveal.right.visible, .reveal.zoom.visible { transform: none; }

/* Image wipe reveal */
/* clip lives on the <img> so the observed box keeps its full size */
.img-reveal { background: var(--blue-light); }
.img-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.3); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); transition-delay: inherit; }
.img-reveal.visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Word-by-word heading */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.split-words.visible .w > span { transform: none; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 140px 0 230px; color: #fff; overflow: hidden; text-align: center; }
.pb-bg {
  position: absolute; inset: -40px;
  background: linear-gradient(110deg, rgba(7,19,49,.94) 0%, rgba(10,26,63,.86) 45%, rgba(21,70,192,.72) 100%),
              url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=70") center/cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-10px, -10px); } }
.pb-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.page-banner h1 { color: #fff; font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.page-banner h1 .metal { background: linear-gradient(90deg, #ffffff 0%, #c3c9d3 35%, #ffffff 55%, #8fb0ff 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
.page-banner p { max-width: 640px; color: #d3dcf0; font-size: 18px; margin-bottom: 30px; }
.pb-anim { animation: heroIn 1s var(--ease) both; }
.pb-anim:nth-child(2) { animation-delay: .15s; }
.pb-anim:nth-child(3) { animation-delay: .3s; }
.pb-anim:nth-child(4) { animation-delay: .45s; }
.breadcrumb { display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px; border-radius: 40px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-family: 'Outfit', sans-serif; font-weight: 500; }
.breadcrumb > i { font-size: 11px; color: var(--sky); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { color: var(--sky); }
.pb-shape { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; transition: transform .3s ease-out; }
.pb-shape.s1 { width: 260px; height: 260px; left: 6%; top: 18%; border: 2px dashed rgba(195,201,211,.35); }
.pb-shape.s1::after { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); }
.pb-shape.s2 { width: 120px; height: 120px; right: 12%; top: 16%; background: radial-gradient(circle, rgba(111,155,255,.5), transparent 70%); }
.pb-shape.s3 { width: 18px; height: 18px; left: 22%; bottom: 34%; background: var(--sky); box-shadow: 0 0 0 10px rgba(111,155,255,.2); }
.pb-shield { position: absolute; z-index: 2; right: 7%; bottom: 30%; width: 140px; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); transition: transform .3s ease-out; }
.page-banner .hero-swoosh { z-index: 2; }

/* ---------- Welcome ---------- */
.welcome { overflow: hidden; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.welcome-media { position: relative; height: 620px; }
.wl-main { position: absolute; left: 0; top: 0; width: 76%; height: 80%; border-radius: 30px 200px 30px 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.wl-small { position: absolute; right: 0; bottom: 0; width: 50%; height: 46%; border-radius: 24px; overflow: hidden; border: 10px solid #fff; box-shadow: var(--shadow-lg); z-index: 2; }
.wl-main img, .wl-small img { width: 100%; height: 100%; object-fit: cover; }
.wl-award {
  position: absolute; left: 6%; bottom: 6%; z-index: 3; width: 200px; padding: 26px 20px; text-align: center; color: #fff;
  background: var(--blue-grad); border-radius: 20px; box-shadow: 0 20px 40px rgba(21,70,192,.4);
}
.wl-award i { font-size: 30px; color: #ffd36b; margin-bottom: 6px; animation: float 3s ease-in-out infinite; }
.wl-award b { display: block; font-family: 'Outfit', sans-serif; font-size: 52px; line-height: 1; }
.wl-award > span { font-size: 14px; color: #dbe5ff; }
.wl-ring { position: absolute; right: 8%; top: 4%; width: 140px; height: 140px; border-radius: 50%; border: 18px solid var(--blue-light); animation: float 6s ease-in-out infinite; z-index: -1; }
.welcome-content > p { color: var(--steel); margin-bottom: 28px; }
.wl-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 34px; }
.wl-feat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--silver-2); font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--heading); transition: background .35s, box-shadow .35s, opacity .8s var(--ease), transform .8s var(--ease); }
.wl-feat i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 19px; box-shadow: var(--shadow); transition: .5s; flex-shrink: 0; }
.wl-feat:hover { background: #fff; box-shadow: var(--shadow); }
.wl-feat:hover i { background: var(--blue-grad); color: #fff; transform: rotateY(360deg); }
.wl-bottom { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--silver-2); }
.founder { display: flex; align-items: center; gap: 14px; }
.founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--blue-light); }
.signature { display: block; font-family: 'Great Vibes', cursive; font-size: 34px; line-height: 1; color: var(--navy); }
.founder small { color: var(--steel); }
.call-box { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 60px; background: var(--navy); color: #fff; }
.call-box > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-grad); position: relative; }
.call-box > span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sky); animation: ring 2s infinite; }
.call-box small { display: block; color: #b9c6e3; font-size: 13px; }
.call-box b { font-family: 'Outfit', sans-serif; font-size: 19px; }
.call-box:hover { background: var(--blue); }

/* ---------- Stat cards ---------- */
.stat-cards { padding-bottom: 120px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.sc { position: relative; padding: 36px 28px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; z-index: 0; transition: box-shadow .45s, opacity .8s var(--ease), transform .8s var(--ease); }
.sc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-grad); transform: translateY(101%); transition: transform .5s var(--ease); }
.sc.visible:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.sc:hover::before { transform: none; }
.sc-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); font-size: 26px; margin-bottom: 20px; transition: .4s; }
.sc b { display: block; font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 800; color: var(--heading); line-height: 1; margin-bottom: 8px; transition: .4s; }
.sc h3 { margin-bottom: 8px; transition: .4s; }
.sc p { color: var(--steel); font-size: 15px; transition: .4s; }
.sc:hover .sc-icon { background: rgba(255,255,255,.15); color: #fff; }
.sc:hover b, .sc:hover h3 { color: #fff; }
.sc:hover p { color: #dbe5ff; }

/* ---------- Video band + mission ---------- */
.video-band { position: relative; padding: 140px 0 260px; text-align: center; color: #fff; overflow: hidden; }
.vb-bg { position: absolute; inset: 0; background: linear-gradient(rgba(10,26,63,.72), rgba(10,26,63,.85)), url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1920&q=70") center/cover fixed; }
.vb-inner { position: relative; z-index: 1; }
.video-band h2 { color: #fff; font-size: clamp(32px, 4.4vw, 58px); margin-bottom: 40px; }
.vb-play { width: 110px; height: 110px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue-grad); color: #fff; font-size: 30px; position: relative; box-shadow: 0 0 0 14px rgba(255,255,255,.12); }
.vb-play::before, .vb-play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: ring 2.4s infinite; }
.vb-play::after { animation-delay: 1.2s; }
.vb-play:hover { background: #fff; color: var(--blue); }
.mission { margin-top: -180px; position: relative; z-index: 2; padding-bottom: 40px; }
.mission-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 20px 50px 50px; max-width: 1100px; margin: 0 auto; }
.tab-head { display: flex; gap: 8px; border-bottom: 1px solid var(--silver-2); margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { position: relative; padding: 22px 26px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 18px; color: var(--steel); display: flex; gap: 10px; align-items: center; transition: .3s; }
.tab-btn i { color: var(--blue); }
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue-grad); transform: scaleX(0); transition: transform .4s var(--ease); }
.tab-btn.active { color: var(--heading); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-pane { display: none; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.tab-pane.active { display: grid; animation: tabIn .6s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.tp-text h3 { font-size: 30px; margin-bottom: 14px; }
.tp-text p { color: var(--steel); margin-bottom: 22px; }
.tp-img { border-radius: 20px 120px 20px 20px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow); }
.tp-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Values flip cards ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.flip { perspective: 1000px; height: 290px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.flip-front { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--silver-2); }
.flip-front i { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); font-size: 36px; margin-bottom: 22px; box-shadow: 0 0 0 10px rgba(21,70,192,.05); }
.flip-front span { position: absolute; top: 18px; right: 22px; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 44px; color: transparent; -webkit-text-stroke: 1.5px var(--silver); }
.flip-back { background: var(--blue-grad); color: #fff; transform: rotateY(180deg); }
.flip-back h3 { color: #fff; margin-bottom: 12px; font-size: 24px; }
.flip-back p { color: #dbe5ff; }

/* ---------- History / timeline ---------- */
.history { background: var(--navy); color: #fff; overflow: hidden; }
.history::before { content: ""; position: absolute; left: -200px; top: -150px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(30,90,230,.4), transparent 65%); }
.history-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.history-left { position: sticky; top: 130px; }
.history h2 { color: #fff; }
.history-left > p { color: #b9c6e3; margin-bottom: 30px; }
.award-badge { display: inline-flex; align-items: center; gap: 16px; padding: 16px 24px 16px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); margin-bottom: 30px; }
.award-badge img { width: 60px; animation: float 4s ease-in-out infinite; }
.award-badge b { display: block; font-family: 'Outfit', sans-serif; font-size: 20px; }
.award-badge small { color: #b9c6e3; }
.history-left .btn { display: flex; width: max-content; }
.timeline { position: relative; padding-left: 60px; }
.tl-line { position: absolute; left: 18px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
.tl-fill { width: 100%; height: 0; border-radius: 4px; background: linear-gradient(180deg, var(--sky), var(--silver)); transition: height .2s linear; }
.tl-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 28px 30px; margin-bottom: 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .4s, border-color .4s, opacity .8s var(--ease), transform .8s var(--ease); }
.tl-item.lit { background: rgba(255,255,255,.1); border-color: rgba(111,155,255,.5); }
.tl-dot { position: absolute; left: -50px; top: 36px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 4px solid rgba(255,255,255,.3); transition: .4s; }
.tl-item.lit .tl-dot { background: var(--sky); border-color: #fff; box-shadow: 0 0 0 8px rgba(111,155,255,.25); }
.tl-year { font-family: 'Outfit', sans-serif; font-size: 38px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.6); transition: .4s; }
.tl-item.lit .tl-year { color: #fff; -webkit-text-stroke: 0; }
.tl-item h3 { color: #fff; margin-bottom: 6px; }
.tl-item p { color: #b9c6e3; font-size: 15px; }

/* ---------- CTA spacing on inner pages ---------- */
.cta-spaced { padding-top: 110px; }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; z-index: 400; background: rgba(5,13,33,.85); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .35s; }
.video-modal.open { opacity: 1; visibility: visible; }
.vm-box { position: relative; width: 100%; max-width: 900px; transform: scale(.85); transition: transform .4s var(--ease); }
.video-modal.open .vm-box { transform: none; }
.vm-close { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; }
.vm-frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; display: block; }
.vm-soon { background: #fff; border-radius: 20px; padding: 60px 30px; text-align: center; }
.vm-soon img { width: 90px; margin: 0 auto 18px; }
.vm-soon h3 { font-size: 28px; margin-bottom: 8px; }
.vm-soon p { color: var(--steel); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .sc-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .welcome-grid, .history-grid { grid-template-columns: 1fr; }
  .welcome-media { max-width: 600px; width: 100%; margin: 0 auto; }
  .history-left { position: static; }
  .tab-pane { grid-template-columns: 1fr; }
  .tp-img { max-width: 520px; }
  .mission-card { padding: 10px 30px 36px; }
  .pb-shield { width: 90px; right: 4%; }
  .vb-bg { background-attachment: scroll; }
}
@media (max-width: 768px) {
  .page-banner { padding: 100px 0 170px; }
  .page-banner p { font-size: 16px; }
  .pb-shape.s1 { width: 160px; height: 160px; }
  .pb-shield { display: none; }
  .welcome-media { height: 460px; }
  .wl-award { width: 160px; padding: 18px 14px; }
  .wl-award b { font-size: 40px; }
  .wl-features { grid-template-columns: 1fr; }
  .sc-grid, .values-grid { grid-template-columns: 1fr; }
  .stat-cards { padding-bottom: 80px; }
  .video-band { padding: 100px 0 220px; }
  .vb-play { width: 86px; height: 86px; font-size: 24px; }
  .mission-card { padding: 6px 20px 30px; }
  .tab-btn { padding: 16px 12px; font-size: 15px; }
  .tab-head { justify-content: center; }
  .tp-text h3 { font-size: 24px; }
  .timeline { padding-left: 40px; }
  .tl-line { left: 8px; }
  .tl-dot { left: -40px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .tl-year { font-size: 32px; }
  .cta-spaced { padding-top: 70px; }
}
@media (max-width: 560px) {
  .welcome-media { height: 380px; }
  .wl-small { border-width: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .img-reveal img { clip-path: none; }
  .img-reveal img, .split-words .w > span { transform: none; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-banner .pb-bg {
  background: linear-gradient(110deg, rgba(7,19,49,.94) 0%, rgba(10,26,63,.86) 45%, rgba(21,70,192,.72) 100%),
              url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=70") center/cover;
}
.pb-icons i {
  position: absolute; z-index: 2; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  transition: transform .3s ease-out;
}
.pb-icons i:nth-child(1) { right: 9%; top: 24%; }
.pb-icons i:nth-child(2) { right: 18%; bottom: 34%; width: 56px; height: 56px; font-size: 20px; }
.pb-icons i:nth-child(3) { left: 12%; bottom: 32%; width: 60px; height: 60px; font-size: 22px; }
.pb-icons i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: ring 2.6s infinite; }

/* info cards */
.contact-cards { padding: 110px 0 40px; }
.cc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cc {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 24px 32px; border-radius: 20px;
  background: #fff; box-shadow: var(--shadow); overflow: hidden; z-index: 0; border-bottom: 4px solid var(--blue);
  transition: box-shadow .45s, opacity .8s var(--ease), transform .8s var(--ease);
}
.cc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-grad); clip-path: circle(0 at 85% 15%); transition: clip-path .7s var(--ease); }
.cc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--blue-light); z-index: -2; transition: .5s; }
.cc:hover::before { clip-path: circle(150% at 85% 15%); }
.cc.visible:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.cc-icon { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--blue-grad); margin-bottom: 24px; box-shadow: 0 12px 24px rgba(21,70,192,.3); transition: .5s; }
.cc:hover .cc-icon { background: #fff; color: var(--blue); transform: rotate(-10deg) scale(1.05); }
.cc:hover .cc-icon i { animation: wiggle .6s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-15deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
.cc h3 { font-size: 22px; margin-bottom: 8px; transition: .4s; }
.cc p { color: var(--steel); margin-bottom: 18px; transition: .4s; }
.cc-link { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--blue); transition: .4s; }
.cc-link.muted { color: var(--steel); }
.cc-wa .cc-icon { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 12px 24px rgba(37,211,102,.3); font-size: 34px; }
.cc-wa:hover .cc-icon { background: #fff; color: #25d366; }
.cc:hover h3, .cc:hover .cc-link { color: #fff; }
.cc:hover p { color: #dbe5ff; }
.cc:hover .cc-link i { transform: translateX(5px); }
.cc-link i { transition: .3s; }

/* form + info */
.contact-main { overflow: hidden; }
.contact-main .dots-pattern { left: auto; right: 0; top: 120px; }
.cm-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.cm-left > p { color: var(--steel); margin-bottom: 30px; }
.cm-info { display: grid; gap: 4px; margin-bottom: 30px; }
.cm-info li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--silver); }
.cm-info li > span { width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); font-size: 20px; transition: .4s; }
.cm-info li:hover > span { background: var(--blue-grad); color: #fff; transform: scale(1.08); }
.cm-info small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); font-weight: 600; }
.cm-info div { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 18px; color: var(--heading); line-height: 1.4; }
.cm-info a:hover { color: var(--blue); }
.cm-follow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cm-follow b { font-family: 'Outfit', sans-serif; color: var(--heading); }
.cm-follow .social.big a { background: var(--navy); }
.cm-follow .social.big a:hover { background: var(--blue); transform: translateY(-4px); }

.cm-form-wrap { position: relative; background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--blue); overflow: hidden; }
.cm-form-wrap::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(30,90,230,.12), transparent 70%); }
.cm-form-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; position: relative; }
.cm-form-head img { width: 56px; animation: float 4s ease-in-out infinite; }
.cm-form-head h3 { font-size: 26px; }
.cm-form-head p { color: var(--steel); font-size: 14px; }
.contact-form { display: grid; gap: 18px; position: relative; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 46px 10px 18px; border-radius: 12px; border: 1.5px solid var(--silver-2); background: var(--bg-soft);
  font: inherit; font-size: 15px; color: var(--heading); outline: none; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field label { position: absolute; left: 18px; top: 17px; color: var(--steel); font-size: 15px; pointer-events: none; transition: .25s var(--ease); }
.field > i { position: absolute; right: 18px; top: 20px; color: var(--silver); transition: .3s; pointer-events: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(21,70,192,.1); }
.field input:focus ~ i, .field select:focus ~ i, .field textarea:focus ~ i { color: var(--blue); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 7px; font-size: 12px; color: var(--blue); font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e04646; background: #fff6f6; animation: shake .4s; }
.field.invalid label { color: #e04646; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.contact-pref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 15px; color: var(--steel); }
.contact-pref span { font-weight: 600; color: var(--heading); }
.contact-pref label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.contact-pref input { accent-color: var(--blue); width: 17px; height: 17px; }
.send-btn { justify-self: start; min-width: 200px; justify-content: center; }
.send-btn .spin { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.send-btn.loading .txt { display: none; }
.send-btn.loading .spin { display: block; }
.send-btn:hover .fa-paper-plane { animation: fly .6s ease; }
@keyframes fly { 50% { transform: translate(6px, -6px); opacity: 0; } 51% { transform: translate(-6px, 6px); } 100% { transform: none; opacity: 1; } }
.cf-msg { color: #e04646; font-size: 14px; font-weight: 500; min-height: 1px; }
.cf-success { position: absolute; inset: 0; z-index: 5; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transform: scale(.95); transition: .5s var(--ease); }
.cf-success.show { opacity: 1; visibility: visible; transform: none; }
.cf-success svg { width: 110px; height: 110px; margin-bottom: 20px; }
.cf-success circle { fill: none; stroke: var(--blue); stroke-width: 4; stroke-dasharray: 230; stroke-dashoffset: 230; }
.cf-success path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.cf-success.show circle { animation: draw .8s var(--ease) forwards; }
.cf-success.show path { animation: draw .5s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cf-success h3 { font-size: 30px; margin-bottom: 8px; }
.cf-success p { color: var(--steel); max-width: 380px; margin-bottom: 26px; }

/* map + hours */
.map-section { position: relative; }
.map-wrap { height: 560px; filter: grayscale(.25) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-inner { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; }
.hours-card { pointer-events: auto; width: 380px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; padding-bottom: 28px; }
.hc-head { background: var(--blue-grad); color: #fff; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hc-head h3 { color: #fff; font-size: 22px; display: flex; gap: 10px; align-items: center; }
.hc-head h3 i { animation: tick 2s steps(2) infinite; }
@keyframes tick { 50% { transform: rotate(20deg); } }
.open-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.18); white-space: nowrap; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c3c9d3; }
.open-badge.open::before { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 1.6s infinite; }
.open-badge.closed::before { background: #ff6b6b; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hours-list { padding: 14px 28px 20px; }
.hours-list li { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px dashed var(--silver); font-size: 15px; }
.hours-list li span { color: var(--steel); }
.hours-list li b { font-family: 'Outfit', sans-serif; color: var(--heading); }
.hours-list li b.closed { color: #e04646; }
.hours-list li.today { margin: 0 -14px; padding: 14px; border-radius: 10px; background: var(--blue-light); border-bottom-color: transparent; }
.hours-list li.today span { color: var(--blue); font-weight: 600; }
.hours-card .btn { margin: 0 28px; width: calc(100% - 56px); }

/* quick help */
.qh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.qh-actions { display: grid; gap: 16px; margin-top: 26px; }
.qh { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--silver-2); transition: background .4s, box-shadow .4s, opacity .8s var(--ease), transform .8s var(--ease); }
.qh-icon { width: 58px; height: 58px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 22px; box-shadow: var(--shadow); transition: .5s; }
.qh h3 { font-size: 19px; margin-bottom: 2px; }
.qh p { color: var(--steel); font-size: 14px; }
.qh .go { margin-left: auto; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--silver); color: var(--blue); transition: .4s; }
.qh:hover { background: #fff; box-shadow: var(--shadow); }
.qh:hover .qh-icon { background: var(--blue-grad); color: #fff; transform: rotateY(360deg); }
.qh:hover .go { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-45deg); }
.qh-right .accordion { margin-top: 0; }

@media (max-width: 1320px) {
  .cc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .cm-grid, .qh-grid { grid-template-columns: 1fr; }
  .map-inner { position: static; display: block; margin-top: -120px; pointer-events: auto; }
  .hours-card { margin: 0 auto; position: relative; z-index: 2; }
  .map-wrap { height: 420px; }
}
@media (max-width: 768px) {
  .pb-icons { display: none; }
  .contact-cards { padding-top: 70px; }
  .cc-grid { grid-template-columns: 1fr; }
  .cm-form-wrap { padding: 28px 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hours-card { width: 100%; }
  .map-wrap { height: 340px; }
  .qh { padding: 18px; }
  .qh .go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-success circle, .cf-success path { stroke-dashoffset: 0; }
}

/* ---------- Blog list + single article ---------- */
.blog-page .blog-grid { row-gap: 60px; }
.post-banner { padding-bottom: 210px; }
.post-banner h1 { font-size: clamp(32px, 4.4vw, 56px); max-width: 900px; margin-left: auto; margin-right: auto; }
.article-wrap { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 24px; color: var(--steel); font-size: 15px; }
.article-meta i { color: var(--blue); margin-right: 4px; }
.article-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 36px; }
.article-body { font-size: 17px; line-height: 1.85; }
.article-body > * + * { margin-top: 18px; }
.article-body h2 { font-size: 30px; margin-top: 36px; }
.article-body h3 { font-size: 23px; margin-top: 30px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: 6px; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body img { border-radius: 14px; }
.article-body blockquote { border-left: 4px solid var(--blue); padding: 6px 0 6px 20px; color: var(--heading); font-style: italic; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 46px 0 26px; padding: 26px 30px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--silver-2); }
.article-cta b { display: block; font-family: 'Outfit', sans-serif; font-size: 20px; color: var(--heading); }
.article-cta span { color: var(--steel); }
.article-back { color: var(--blue); font-weight: 600; }
.article-back:hover { color: var(--navy); }
.more-posts { background: var(--bg-soft); }
@media (max-width: 768px) {
  .post-banner { padding-bottom: 150px; }
  .article-cta { padding: 22px; }
}
