/* ==========================================================================
   Poorvika Scrap — shared design system
   ========================================================================== */

:root {
  --green-900: #0e4a2f;
  --green-700: #146c43;
  --green-500: #21a366;
  --lime: #b7e36a;
  --navy-900: #0a1f55;
  --navy-700: #12307a;
  --navy-500: #1f4fb0;
  --bg: #f4f8fd;
  --card: #ffffff;
  --text: #202820;
  --muted: #667268;
  --border: #e3eae3;
  --danger: #b3261e;
  --danger-bg: #fdecea;
  --whatsapp: #1fa855;

  --grad-primary: linear-gradient(135deg, #146c43 0%, #21a366 100%);
  --shadow-sm: 0 2px 8px rgba(20, 60, 40, 0.07);
  --shadow-md: 0 10px 30px rgba(20, 60, 40, 0.1);
  --shadow-lg: 0 20px 50px rgba(14, 74, 47, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 124px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.6rem; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tint { background: linear-gradient(180deg, #eaf2fb 0%, #eef7ee 100%); }
.section--dark { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; margin: 12px auto 0;
  background: linear-gradient(90deg, var(--navy-700), var(--green-500));
}
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-500); margin-bottom: 10px;
}
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 8px 20px rgba(20, 108, 67, 0.3); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(20, 108, 67, 0.4); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-light { background: #fff; color: var(--green-700); }
.btn-light:hover { background: var(--lime); color: var(--green-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost-light:hover { background: #fff; color: var(--green-700); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178a45; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--navy-700), var(--green-500), var(--lime)) 1;
  transition: box-shadow 0.3s, height 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 60, 40, 0.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); }
.logo:hover { color: var(--text); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad-primary);
  display: grid; place-items: center; color: var(--lime); font-size: 1.2rem; flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.12rem; color: var(--green-700); letter-spacing: -0.01em; }
.logo-text small { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.logo-img { height: 84px; width: auto; }
.site-footer .logo-img { height: 110px; background: #fff; border-radius: 16px; padding: 6px; }
@media (max-width: 640px) { .logo-img { height: 64px; } }
.home-banner { background: #fff; line-height: 0; }
.home-banner img { display: block; width: 100%; height: auto; }

/* Top info bar */
.topbar { background: linear-gradient(90deg, var(--navy-900), var(--navy-700) 60%, var(--green-700)); color: #fff; font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--lime); }
.topbar i { color: var(--lime); margin-right: 6px; }
.topbar-links { display: inline-flex; gap: 22px; }
@media (max-width: 639px) { .topbar-mail { display: none; } }

.topbar-social { display: inline-flex; gap: 8px; }
.topbar-social a, .topbar-social span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.85rem;
  animation: socialBlink 1.8s ease-in-out infinite;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.topbar-social > *:nth-child(2) { animation-delay: 0.25s; }
.topbar-social > *:nth-child(3) { animation-delay: 0.5s; }
.topbar-social > *:nth-child(4) { animation-delay: 0.75s; }
.topbar-social i { margin: 0; color: inherit; }
.topbar-social a:hover { background: var(--lime); color: var(--navy-900); transform: scale(1.4) translateY(-2px); animation-play-state: paused; }
@keyframes socialBlink {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(183, 227, 106, 0.6); opacity: 1; }
  50% { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(183, 227, 106, 0); opacity: 0.75; }
}

/* Header quick actions (mobile) */
.header-quick { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.quick-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-size: 1.1rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease);
}
.quick-btn:hover { color: #fff; transform: translateY(-2px) scale(1.06); }
.quick-btn--call { background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); }
.quick-btn--wa { background: linear-gradient(135deg, #1fa855, #25d366); font-size: 1.3rem; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--green-700); font-size: 1.15rem;
}
.main-nav {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  padding: 8px 20px 20px; display: none; flex-direction: column;
  opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s;
}
.main-nav.is-open { display: flex; opacity: 1; transform: none; }
.nav-links a {
  display: block; padding: 14px 4px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border); position: relative;
}
.nav-links a:hover { color: var(--green-500); }
.nav-links a[aria-current="page"] { color: var(--green-700); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 4px; bottom: -1px; width: 40px; height: 3px; border-radius: 3px; background: var(--green-500);
}
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: 600px; color: #fff; overflow: hidden; background: var(--green-900); }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center; isolation: isolate;
  opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-bg, .hero-bg.media { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-slide.is-active .hero-bg img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 48, 30, 0.93) 0%, rgba(14, 74, 47, 0.78) 55%, rgba(14, 74, 47, 0.45) 100%);
}
.hero-circle {
  position: absolute; border-radius: 50%; border: 2px solid rgba(183, 227, 106, 0.25); pointer-events: none; z-index: -1;
}
.hero-circle--1 { width: 380px; height: 380px; right: -90px; top: -90px; }
.hero-circle--2 { width: 220px; height: 220px; right: 12%; bottom: -70px; background: rgba(183, 227, 106, 0.07); }
.hero-content { padding: 56px 0 96px; max-width: 700px; }
.hero-content .eyebrow { color: var(--lime); }
.hero h1, .hero h2.hero-title { color: #fff; font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero h1 span, .hero-title span { color: var(--lime); }
.hero p.lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.88); max-width: 580px; }
.hero .btn-row { margin: 26px 0 22px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-actions a {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.25s;
}
.quick-actions a:hover { background: rgba(255, 255, 255, 0.25); color: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row i { color: var(--lime); }

/* entrance animation for active slide content */
.hero-slide.is-active .hero-content > * { animation: fadeUp 0.7s var(--ease) both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: 0.08s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: 0.16s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: 0.24s; }
.hero-slide.is-active .hero-content > *:nth-child(5) { animation-delay: 0.32s; }
.hero-slide.is-active .hero-content > *:nth-child(6) { animation-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.slider-controls {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 22px;
}
.slider-controls .container { display: flex; align-items: center; justify-content: space-between; }
.slider-dots { display: flex; gap: 10px; }
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0;
  transition: background 0.25s, width 0.25s;
}
.slider-dot[aria-current="true"] { background: var(--lime); border-color: var(--lime); width: 32px; border-radius: 8px; }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12);
  color: #fff; cursor: pointer; transition: background 0.25s, color 0.25s;
}
.slider-arrow:hover { background: #fff; color: var(--green-700); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; padding: 64px 0 56px; background: var(--navy-900); overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 31, 85, 0.94), rgba(18, 48, 122, 0.78) 60%, rgba(20, 108, 67, 0.7));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255, 255, 255, 0.88); max-width: 620px; margin: 0; font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; margin-bottom: 16px; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: var(--lime); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* ---------- Cards: shared ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #cfe8d7, #e9f3df); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .media img, .zoom:hover img { transform: scale(1.07); }
.media.img-failed::after {
  content: "\f1b8"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 2.2rem; color: var(--green-500); opacity: 0.55;
}
.media img.is-broken { visibility: hidden; }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  background: #e5f4ea; color: var(--green-700);
}
.badge--warn { background: #fff4d6; color: #7a5600; }

/* Feature (trust highlights) */
.feature { padding: 28px 24px; text-align: center; }
.icon-circle {
  width: 64px; height: 64px; border-radius: 18px; background: #e3ecfa; color: var(--navy-700);
  display: inline-grid; place-items: center; font-size: 1.55rem; margin-bottom: 16px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.feature:hover .icon-circle, .cat-card:hover .icon-circle { background: var(--grad-primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.feature p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Unique animated trust cards */
.feature { --a1: #146c43; --a2: #21a366; --tint: #e5f4ea; position: relative; overflow: hidden; isolation: isolate;
  border-top: 4px solid var(--a1); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.feature--rate   { --a1: #d97706; --a2: #fbbf24; --tint: #fff4d6; }
.feature--weigh  { --a1: #1f4fb0; --a2: #38bdf8; --tint: #e3ecfa; }
.feature--pickup { --a1: #146c43; --a2: #4ade80; --tint: #e5f4ea; }
.feature--steps  { --a1: #7c3aed; --a2: #f472b6; --tint: #f1e8ff; }
.feature::before { /* soft glow blob */
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; top: -70px; right: -70px; z-index: -1;
  background: radial-gradient(circle, var(--tint), transparent 70%); transition: transform 0.6s var(--ease);
}
.feature::after { /* gradient fill sweeping up on hover */
  content: ""; position: absolute; inset: auto 0 0 0; height: 0; z-index: -1;
  background: linear-gradient(180deg, transparent, var(--tint)); transition: height 0.45s var(--ease);
}
.feature:hover { transform: translateY(-10px); box-shadow: 0 22px 44px -12px color-mix(in srgb, var(--a1) 45%, transparent); }
.feature:hover::before { transform: scale(2.2); }
.feature:hover::after { height: 100%; }
.feature .icon-circle { background: var(--tint); color: var(--a1); position: relative; animation: iconFloat 3.2s ease-in-out infinite; }
.feature .icon-circle::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 2px solid var(--a1); opacity: 0; transform: scale(0.8); }
.feature:hover .icon-circle { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #fff; transform: rotate(-8deg) scale(1.12); animation-play-state: paused; }
.feature:hover .icon-circle::after { animation: ringPulse 1.1s ease-out infinite; }
.feature h3 { transition: color 0.3s; }
.feature:hover h3 { color: var(--a1); }
.feature--rate:hover .icon-circle i   { animation: coinSpin 0.9s var(--ease); }
.feature--weigh:hover .icon-circle i  { animation: tilt 0.9s ease-in-out infinite; }
.feature--pickup:hover .icon-circle i { animation: drive 0.8s ease-in-out infinite; }
.feature--steps:hover .icon-circle i  { animation: popTick 0.8s ease-in-out infinite; }
@keyframes iconFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes ringPulse { 0% { opacity: 0.8; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes coinSpin { to { transform: rotateY(360deg); } }
@keyframes tilt { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
@keyframes drive { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
@keyframes popTick { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) {
  .feature .icon-circle, .feature .icon-circle i, .feature:hover .icon-circle::after { animation: none !important; }
}
.fineprint { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* Item card */
.item-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.item-card .media { aspect-ratio: 16 / 10; }
.item-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.item-top h3 { margin: 0; }
.rate { font-family: var(--font-head); font-size: 1.85rem; font-weight: 700; color: var(--green-700); line-height: 1.1; }
.rate small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.rate--call { font-size: 1.2rem; color: #7a5600; }
.item-note { font-size: 0.8rem; color: var(--muted); margin: 0; min-height: 1.2em; }
.item-body .btn { margin-top: auto; }

/* Category cards */
.cat-card { overflow: hidden; display: flex; flex-direction: column; color: inherit; height: 100%; }
.cat-card:hover { color: inherit; }
.cat-card .media { aspect-ratio: 16 / 10; }
.cat-body { padding: 0 22px 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.cat-body .icon-circle { margin-top: -32px; margin-bottom: 12px; border: 4px solid #fff; box-shadow: var(--shadow-sm); width: 64px; height: 64px; }
.cat-body p { color: var(--muted); font-size: 0.93rem; }
.cat-link { margin-top: auto; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: var(--green-700); }
.cat-card:hover .cat-link i { transform: translateX(5px); }
.cat-link i { transition: transform 0.25s; }

/* Not accepted */
.not-accepted {
  border: 2px dashed #e7b4ae; background: var(--danger-bg); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px;
}
.not-accepted h2 { color: var(--danger); font-size: clamp(1.4rem, 3.5vw, 2rem); }
.na-items { display: flex; flex-wrap: wrap; gap: 14px; }
.na-item {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #f0c8c3; border-radius: 14px;
  padding: 14px 22px; font-weight: 600; font-family: var(--font-head);
}
.na-item i { color: var(--danger); font-size: 1.4rem; }
.na-item .x { color: var(--danger); font-size: 1rem; }

/* Steps */
.step { padding: 32px 26px; position: relative; text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin: 0 auto 16px; box-shadow: 0 8px 18px rgba(20, 108, 67, 0.3);
}
.step p { color: var(--muted); margin: 0; }

/* Split section */
.split { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
.split-media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; position: relative; }
.split-media.media img { height: 100%; }
.check-list { display: grid; gap: 14px; margin: 20px 0 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: #e5f4ea; color: var(--green-700);
  display: grid; place-items: center; font-size: 0.78rem; margin-top: 2px;
}
.check-list strong { display: block; font-family: var(--font-head); }
.check-list span { color: var(--muted); font-size: 0.93rem; }

/* Blog card */
.blog-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.blog-card .media { aspect-ratio: 16 / 10; }
.blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--muted); }
.blog-body h3 { font-size: 1.1rem; margin: 0; }
.blog-body p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.read-more {
  margin-top: auto; padding: 0; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--green-700);
  display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-head); font-size: 0.92rem;
}
.read-more:hover { color: var(--green-500); }
.demo-tag { display: inline-block; font-size: 0.7rem; padding: 2px 8px; border-radius: 6px; background: #fff4d6; color: #7a5600; font-weight: 600; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--green-700) 100%); color: #fff; border-radius: 28px; padding: 48px 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(183, 227, 106, 0.14);
}
.cta-band::before { width: 260px; height: 260px; right: -70px; top: -90px; }
.cta-band::after { width: 180px; height: 180px; left: -50px; bottom: -70px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Filters / toolbar ---------- */
.toolbar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
  display: grid; gap: 14px; margin-bottom: 18px;
}
.search-box { position: relative; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input, .select, .textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box .input { padding-left: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(33, 163, 102, 0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; transition: all 0.2s;
}
.chip:hover { border-color: var(--green-500); }
.chip[aria-pressed="true"] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.result-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 20px; color: var(--muted); font-size: 0.93rem; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--green-700); font-weight: 600; text-decoration: underline; }
.empty-state { text-align: center; padding: 48px 20px; border: 2px dashed var(--border); border-radius: var(--radius); background: #fff; grid-column: 1 / -1; }
.empty-state i { font-size: 2.2rem; color: var(--green-500); margin-bottom: 10px; }
.notice {
  display: flex; gap: 14px; background: #eef7f0; border: 1px solid #cfe6d6; border-left: 5px solid var(--green-500);
  border-radius: 12px; padding: 16px 18px; font-size: 0.92rem; color: #2c4a38; margin: 26px 0;
}
.notice i { color: var(--green-700); margin-top: 3px; }
.notice--warn { background: #fff8e3; border-color: #f1dfa4; border-left-color: #e0a800; color: #5c4500; }
.notice--warn i { color: #b88700; }

/* Calculator */
.calc { padding: 28px; display: grid; gap: 22px; }
.calc-form { display: grid; gap: 16px; }
.calc-result {
  background: linear-gradient(135deg, #0e4a2f, #146c43); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: center;
}
.calc-result .amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--lime); line-height: 1.1; }
.calc-result small { color: rgba(255, 255, 255, 0.8); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--danger); }
.field .hint { font-size: 0.78rem; color: var(--muted); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); background: #fffafa; }
.error-msg { color: var(--danger); font-size: 0.82rem; min-height: 1.1em; display: none; }
.field.has-error .error-msg { display: block; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form-card { padding: 28px 22px; }
.form-result { display: none; margin-top: 20px; }
.form-result.is-visible { display: block; animation: fadeUp 0.5s var(--ease); }
.success-box { background: #eef7f0; border: 1px solid #b9dfc6; border-radius: 16px; padding: 24px; }
.success-box h3 { color: var(--green-700); display: flex; gap: 10px; align-items: center; }

/* Contact cards */
.contact-card { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon-circle { margin: 0; width: 54px; height: 54px; flex: none; font-size: 1.3rem; }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: 0.95rem; word-break: break-word; }
.contact-card a { color: var(--green-700); font-weight: 600; }
.placeholder-text { font-style: italic; color: #8a6d00 !important; }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: #e9f3df; min-height: 320px; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-placeholder { display: grid; place-items: center; text-align: center; padding: 40px 24px; min-height: 320px; color: var(--muted); }
.map-placeholder i { font-size: 2.4rem; color: var(--green-500); margin-bottom: 12px; }

/* About helpers */
.info-card { padding: 28px 24px; height: 100%; }
.info-card p { color: var(--muted); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; display: inline-flex; gap: 8px; align-items: center; }
.tag i { color: var(--green-500); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(8, 30, 20, 0.7); backdrop-filter: blur(3px); animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-dialog {
  position: relative; background: #fff; border-radius: 22px; max-width: 760px; width: 100%; margin: 24px auto; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: fadeUp 0.35s var(--ease);
}
.modal-media { aspect-ratio: 16 / 8; }
.modal-body { padding: 26px 24px 30px; }
.modal-body h2 { font-size: 1.6rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.95); color: var(--text); font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.article-text p { color: #3a463d; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.share-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--green-700);
  display: inline-grid; place-items: center; font-size: 1.05rem; transition: all 0.2s;
}
.share-btn:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.share-status { font-size: 0.85rem; color: var(--green-700); font-weight: 600; }
body.modal-open { overflow: hidden; }

/* Featured blog */
.featured { display: grid; overflow: hidden; margin-bottom: 36px; }
.featured .media { aspect-ratio: 16 / 10; }
.featured-body { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-start; }
.featured-body p { color: var(--muted); }
.newsletter { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--navy-900), #071640); border-top: 4px solid var(--green-500); color: rgba(255, 255, 255, 0.82); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--lime); border-radius: 2px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); }
.site-footer a:hover { color: var(--lime); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: rgba(255, 255, 255, 0.6); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; }
.footer-links a i { font-size: 0.7rem; color: var(--lime); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.93rem; }
.footer-contact i { color: var(--lime); margin-top: 5px; width: 16px; flex: none; }
.footer-contact .placeholder-text { color: #e8d98a !important; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a, .socials span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1);
  transition: background 0.25s, transform 0.25s; color: #fff;
}
.socials a:hover { background: var(--lime); color: var(--green-900); transform: translateY(-3px); }
.socials span { opacity: 0.45; cursor: not-allowed; }

/* Original brand colours for social icons (header bar + footer) */
.soc--facebook  { --brand: #1877f2; }
.soc--instagram { --brand: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.soc--youtube   { --brand: #ff0000; }
.soc--x         { --brand: #000000; }
.topbar-social .soc, .socials .soc { background: var(--brand) !important; color: #fff !important; opacity: 1; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.topbar-social a.soc:hover, .socials a.soc:hover { background: var(--brand) !important; color: #fff !important; transform: translateY(-3px) scale(1.2) rotate(-6deg); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 0 2px #fff; }
.socials span.soc { opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; font-size: 0.86rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25); border: 0; cursor: pointer; transition: transform 0.25s var(--ease);
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab--call { background: var(--green-700); }
.fab--wa { background: var(--whatsapp); }
.fab--top { background: #fff; color: var(--green-700); border: 1px solid var(--border); width: 44px; height: 44px; font-size: 1rem; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top:hover { color: var(--green-700); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .toolbar .chips-wrap, .toolbar .toolbar-full { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--reverse .split-media { order: 2; }
  .featured { grid-template-columns: 1.1fr 1fr; }
  .featured .media { aspect-ratio: auto; min-height: 340px; }
  .calc { grid-template-columns: 1.2fr 1fr; padding: 36px; }
  .not-accepted { grid-template-columns: 1fr auto; align-items: center; padding: 34px 40px; }
  .form-card { padding: 40px; }
  .contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
  .hero { min-height: 620px; }
  .hero-content { padding: 90px 0 110px; }
  .page-hero { padding: 84px 0 72px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 58px; right: -22px; width: 22px; height: 2px; background: var(--green-500); opacity: 0.4;
  }
  .modal-body { padding: 34px 40px 40px; }
}

@media (min-width: 1024px) {
  .header-quick { display: none; }
  .nav-links {
    background: #eef3fb; padding: 5px; border-radius: 999px; border: 1px solid #dbe5f5;
  }
  .nav-links a { border-radius: 999px !important; padding: 9px 18px !important; font-size: 0.93rem; color: var(--navy-900); }
  .nav-links a:hover { background: #fff !important; color: var(--navy-700); box-shadow: var(--shadow-sm); }
  .nav-links a[aria-current="page"] {
    background: linear-gradient(135deg, var(--navy-700), var(--green-700)); color: #fff; box-shadow: 0 6px 14px rgba(18, 48, 122, 0.3);
  }
  .nav-links a[aria-current="page"]::after { display: none; }
  .main-nav {
    margin-left: auto;
    position: static; display: flex; flex-direction: row; align-items: center; gap: 22px; opacity: 1; transform: none;
    border: 0; box-shadow: none; padding: 0; background: transparent;
  }
  .nav-links { display: flex; gap: 6px; }
  .nav-links a { border: 0; padding: 10px 14px; border-radius: 10px; }
  .nav-links a:hover { background: #eef7f0; }
  .nav-links a[aria-current="page"]::after { left: 14px; bottom: 2px; width: calc(100% - 28px); }
  .nav-actions { flex-direction: row; margin: 0; }
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr; }
}

/* ---------- Clean header (text links + glowing CTA) ---------- */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #1a4a8f, #2f80f0); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(47, 128, 240, 0.45); transition: transform 0.3s var(--ease), box-shadow 0.3s; animation: ctaGlow 2.6s ease-in-out infinite;
}
.nav-cta:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(47, 128, 240, 0.6); }
@keyframes ctaGlow { 50% { box-shadow: 0 8px 36px rgba(47, 128, 240, 0.7); } }
.site-header { background: #fff; }
@media (min-width: 1024px) {
  .nav-links, .nav-links a:hover { background: transparent; border: 0; padding: 0; box-shadow: none; }
  .nav-links { gap: 48px; }
  .nav-links a { position: relative; padding: 8px 0 !important; border-radius: 0 !important; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #1b2a41; transition: color 0.25s; }
  .nav-links a:hover { background: transparent !important; color: #2f80f0; box-shadow: none; }
  .nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #1a4a8f, #2f80f0); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { background: transparent !important; color: #2f80f0; box-shadow: none; }
  .nav-links a[aria-current="page"]::after { display: block; left: 0; bottom: 0; width: 100%; transform: scaleX(1); }
  .main-nav { gap: 48px; flex: 1; margin-left: 0; justify-content: space-between; }
  .nav-links { margin: 0 auto; }
}

/* ---------- Round floating call / WhatsApp buttons ---------- */
.float-actions .fab--call, .float-actions .fab--wa { display: grid !important; width: 62px; height: 62px; font-size: 1.6rem; position: relative; }
.fab--call { background: linear-gradient(135deg, #1a4a8f, #2f80f0); box-shadow: 0 8px 26px rgba(47, 128, 240, 0.55); }
.fab--wa { background: #25d366; box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55); }
.fab--call::before, .fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: fabPulse 2s ease-out infinite; }
.fab--wa::before { animation-delay: 1s; }
.fab--call i { animation: ringShake 2.4s ease-in-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ringShake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-16deg); } 70%, 80%, 90% { transform: rotate(16deg); } }
.fab:hover { transform: scale(1.12) translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .fab--call::before, .fab--wa::before, .fab--call i, .nav-cta { animation: none; } }

@media (max-width: 1023px) {
  .main-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

@media (max-width: 599px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; }
  .hero-content { padding-bottom: 120px; }
  .slider-arrows { display: none; }
  .logo-text small { display: none; }
  .calc-result .amount { font-size: 2rem; }
}

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

/* .media sets position:relative; keep absolutely-positioned backgrounds absolute */
.hero-bg.media, .page-hero-bg.media { position: absolute; }

[hidden] { display: none !important; }

ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Home page extras: ticker, stats, flip cards, FAQ, global effects
   ========================================================================== */
.ticker { overflow: hidden; background: linear-gradient(90deg, var(--navy-900), var(--navy-700), var(--green-700)); color: #fff; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; gap: 14px; animation: tickerMove 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; transition: background 0.3s, color 0.3s, transform 0.3s; }
.ticker span:hover { background: var(--lime); color: var(--navy-900); transform: scale(1.08); }
.ticker i { color: var(--lime); margin-right: 8px; transition: color 0.3s; }
.ticker span:hover i { color: var(--navy-900); }
@keyframes tickerMove { to { transform: translateX(calc(-50% - 7px)); } }

.stats { position: relative; overflow: hidden; padding: 56px 0; color: #fff; background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 55%, var(--green-700)); }
.stats .blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.35; animation: blobDrift 9s ease-in-out infinite alternate; }
.blob--1 { width: 280px; height: 280px; background: var(--lime); top: -90px; left: -60px; }
.blob--2 { width: 240px; height: 240px; background: #38bdf8; bottom: -90px; right: -40px; animation-delay: -4s; }
@keyframes blobDrift { to { transform: translate(40px, 30px) scale(1.2); } }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); transition: transform 0.35s var(--ease), background 0.35s; }
.stat:hover { transform: translateY(-8px) scale(1.03); background: rgba(255, 255, 255, 0.16); }
.stat i { display: block; font-size: 1.5rem; color: var(--lime); margin-bottom: 8px; transition: transform 0.4s var(--ease); }
.stat:hover i { transform: rotate(-12deg) scale(1.3); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.1; }
.stat b::after { content: "+"; color: var(--lime); }
.stat span { font-size: 0.9rem; opacity: 0.85; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.flip { perspective: 1000px; height: 230px; outline: none; }
.flip-in { position: relative; width: 100%; height: 100%; transition: transform 0.7s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-in, .flip:focus .flip-in, .flip.is-flipped .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; box-shadow: var(--shadow-md); }
.flip-front { color: #fff; }
.flip-front i { font-size: 2.6rem; margin-bottom: 12px; animation: iconFloat 3s ease-in-out infinite; }
.flip-front h3 { color: #fff; margin: 0 0 4px; }
.flip-front span { font-size: 0.78rem; opacity: 0.85; letter-spacing: 0.08em; text-transform: uppercase; }
.flip--paper { background: linear-gradient(135deg, #d97706, #fbbf24); }
.flip--metal { background: linear-gradient(135deg, #1f4fb0, #38bdf8); }
.flip--elec  { background: linear-gradient(135deg, #7c3aed, #f472b6); }
.flip-back { background: #fff; border: 2px solid var(--border); transform: rotateY(180deg); }
.flip-back p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.faq-wrap { max-width: 780px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.faq:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.faq[open] { border-color: var(--green-500); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-head); font-weight: 600; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--green-500); transition: transform 0.35s var(--ease); }
.faq[open] summary i { transform: rotate(135deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* Global polish: staggered reveals, shimmering buttons, richer hovers */
.grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.3s; }
.eyebrow { position: relative; display: inline-block; }
.eyebrow::after { content: ""; display: block; height: 3px; width: 0; margin: 4px auto 0; border-radius: 3px; background: var(--grad-primary); transition: width 0.8s var(--ease) 0.3s; }
.is-visible .eyebrow::after, .eyebrow:hover::after { width: 100%; }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); }
.btn:hover::after { left: 130%; transition: left 0.7s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.step:hover .step-num { transform: scale(1.15) rotate(-8deg); }
.step-num { transition: transform 0.35s var(--ease); }
.check-list li { transition: transform 0.3s var(--ease); }
.check-list li:hover { transform: translateX(8px); }
.check-list li:hover .tick { transform: scale(1.2) rotate(360deg); }
.check-list .tick { transition: transform 0.6s var(--ease); }
.cta-band::before, .cta-band::after { animation: blobDrift 8s ease-in-out infinite alternate; }
.home-banner img { animation: bannerIn 1.2s var(--ease) both; }
@keyframes bannerIn { from { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .stats .blob, .flip-front i, .cta-band::before, .cta-band::after, .home-banner img { animation: none !important; }
  .flip-in { transition: none; }
}

/* ---------- Scrap journey infographic ---------- */
.journey { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 36px 20px 30px;
  background: linear-gradient(180deg, #5fb4f5 0%, #bfe3fb 45%, #e8f1f7 46%, #cfd6dc 100%); }
.journey::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, #8f9aa3, #6d7881); }
.journey::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50%; height: 34%; background: linear-gradient(180deg, #1f9d55, #146c43); opacity: 0.9; clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.j-sun { position: absolute; top: 24px; left: 8%; width: 70px; height: 70px; border-radius: 50%; background: #fff6b0; box-shadow: 0 0 0 14px rgba(255, 246, 176, 0.35), 0 0 60px 20px rgba(255, 240, 150, 0.6); animation: sunPulse 4s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: scale(1.1); } }
.j-cloud { position: absolute; height: 26px; width: 90px; border-radius: 30px; background: rgba(255, 255, 255, 0.9); box-shadow: 24px -10px 0 6px rgba(255,255,255,0.9), 50px 0 0 0 rgba(255,255,255,0.9); animation: cloudMove 26s linear infinite; }
.j-cloud--1 { top: 50px; left: -120px; }
.j-cloud--2 { top: 100px; left: -300px; animation-duration: 38s; animation-delay: -12s; opacity: 0.8; }
@keyframes cloudMove { to { transform: translateX(1400px); } }
.j-recycle { position: absolute; top: 18px; right: 4%; font-size: 3rem; color: #1fa855; animation: spinSlow 12s linear infinite; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.j-path { display: none; position: absolute; inset: 70px 0 20px; width: 100%; height: calc(100% - 90px); z-index: 1; }
.j-path path { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 10 12; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: dashFlow 1.2s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -22; } }
.j-steps { position: relative; z-index: 2; display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 70px; }
.j-step { text-align: center; position: relative; }
.j-scene { position: relative; width: 150px; height: 150px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 3.6rem; color: #fff;
  background: radial-gradient(circle at 30% 25%, #4ade80, #146c43); border: 5px solid #fff; box-shadow: 0 14px 30px rgba(10, 31, 85, 0.3); transition: transform 0.4s var(--ease); animation: iconFloat 3.5s ease-in-out infinite; }
.j-step--2 .j-scene { background: radial-gradient(circle at 30% 25%, #60a5fa, #12307a); animation-delay: -0.8s; }
.j-step--3 .j-scene { background: radial-gradient(circle at 30% 25%, #fbbf24, #c2410c); animation-delay: -1.6s; }
.j-step--4 .j-scene { background: radial-gradient(circle at 30% 25%, #c084fc, #6d28d9); animation-delay: -2.4s; }
.j-step:hover .j-scene { transform: scale(1.1) rotate(-4deg); }
.j-step--3 .j-scene > i:first-child, .j-step--2 .j-scene > i:first-child { animation: drive 1.6s ease-in-out infinite; }
.j-step--4 .j-scene > i:first-child { animation: spinSlow 8s linear infinite; }
.j-sub { position: absolute; right: -6px; bottom: 4px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.j-num { position: absolute; top: -6px; left: calc(50% - 88px); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; border: 3px solid #fff; }
.j-label { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(10, 31, 85, 0.82); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; backdrop-filter: blur(4px); transition: background 0.3s, transform 0.3s; }
.j-step:hover .j-label { background: var(--green-700); transform: translateY(-3px); }
@media (min-width: 900px) {
  .journey { padding: 40px 30px 50px; min-height: 480px; }
  .j-path { display: block; }
  .j-steps { grid-template-columns: repeat(4, 1fr); margin-top: 40px; align-items: start; }
  .j-step--1 { margin-top: 150px; } .j-step--2 { margin-top: 70px; } .j-step--3 { margin-top: 0; } .j-step--4 { margin-top: 130px; }
}
@media (prefers-reduced-motion: reduce) { .j-sun, .j-cloud, .j-recycle, .j-path path, .j-scene, .j-scene > i { animation: none !important; } }

/* ---------- Illustrated scrap item pictures ---------- */
.media--art { display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; isolation: isolate; }
.media--art::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background: radial-gradient(circle at 20% 20%, #fff 0 2px, transparent 3px) 0 0 / 26px 26px; }
.art-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); z-index: -1; transition: transform 0.7s var(--ease); }
.art-ring--1 { width: 70%; aspect-ratio: 1; }
.art-ring--2 { width: 105%; aspect-ratio: 1; border-color: rgba(255, 255, 255, 0.18); }
.art-icon { font-size: clamp(3.4rem, 9vw, 4.6rem); filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3)); animation: iconFloat 3.4s ease-in-out infinite; transition: transform 0.5s var(--ease); }
.art-name { position: absolute; left: 12px; bottom: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(4px); font-family: var(--font-head); font-size: 0.78rem; font-weight: 500; }
.card:hover .art-icon { transform: scale(1.2) rotate(-8deg); }
.card:hover .art-ring--1 { transform: scale(1.25); }
.card:hover .art-ring--2 { transform: scale(0.88); }
@media (prefers-reduced-motion: reduce) { .art-icon { animation: none; } }

/* ---------- Stats tiles v2: unique accents, badges, sheen ---------- */
.stat { --s1: #4ade80; --s2: #16a34a; position: relative; overflow: hidden; padding: 30px 16px 26px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat--green { --s1: #86efac; --s2: #16a34a; }
.stat--amber { --s1: #fde047; --s2: #f59e0b; }
.stat--sky   { --s1: #7dd3fc; --s2: #2563eb; }
.stat--pink  { --s1: #f9a8d4; --s2: #c026d3; }
.stat-badge { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--s1), var(--s2)); box-shadow: 0 10px 22px -6px var(--s2); transform: rotate(-6deg); animation: iconFloat 3.4s ease-in-out infinite; transition: transform 0.4s var(--ease); }
.stat:hover .stat-badge { transform: rotate(6deg) scale(1.15); }
.stat .stat-badge i { margin: 0; color: #fff; font-size: inherit; display: inline; transform: none; }
.stat:hover i { transform: none; }
.stat b { font-size: clamp(2.2rem, 5vw, 3rem); background: linear-gradient(180deg, #fff, var(--s1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b::after { content: none; }
.stat strong { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.stat .stat-sub { font-size: 0.82rem; opacity: 0.75; }
.stat-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 36%; background: linear-gradient(90deg, var(--s1), var(--s2)); border-radius: 0 4px 0 0; transition: width 0.6s var(--ease); }
.stat:hover .stat-bar { width: 100%; }
.stat::after { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent); transform: skewX(-20deg); }
.stat:hover::after { left: 130%; transition: left 0.8s var(--ease); }
.stat:hover { box-shadow: 0 18px 40px -14px var(--s2); border-color: var(--s1); }
.stat .stat-badge { opacity: 1; font-size: 1.5rem; }

/* ---------- Tips flip cards v2 ---------- */
.flip { --f1: #d97706; --f2: #fbbf24; height: 320px; transition: transform 0.4s var(--ease), filter 0.4s; }
.flip--paper { --f1: #d97706; --f2: #fbbf24; }
.flip--metal { --f1: #1f4fb0; --f2: #38bdf8; }
.flip--elec  { --f1: #7c3aed; --f2: #f472b6; }
.flip:hover { transform: translateY(-8px); filter: drop-shadow(0 20px 28px color-mix(in srgb, var(--f1) 45%, transparent)); }
.flip .flip-front { background: linear-gradient(160deg, color-mix(in srgb, var(--f1) 82%, transparent), color-mix(in srgb, var(--f2) 70%, #000 8%)), var(--photo) center / cover; overflow: hidden; }
.flip .flip-front::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255, 255, 255, 0.45); border-radius: calc(var(--radius) - 6px); }
.flip .flip-front::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -90px; right: -80px; background: rgba(255, 255, 255, 0.16); animation: blobDrift 7s ease-in-out infinite alternate; }
.flip-no { position: absolute; top: 22px; left: 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.1em; opacity: 0.9; }
.flip-ico { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; margin-bottom: 14px; position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.22); border: 2px solid rgba(255, 255, 255, 0.7); backdrop-filter: blur(6px); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12); animation: iconFloat 3s ease-in-out infinite; }
.flip .flip-front i { margin: 0; animation: none; font-size: inherit; }
.flip .flip-front h3 { font-size: 1.35rem; position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.flip-hint { margin-top: 12px; padding: 5px 14px; border-radius: 999px; background: rgba(0, 0, 0, 0.28); font-size: 0.74rem !important; text-transform: none !important; letter-spacing: 0.03em !important; position: relative; z-index: 1; }
.flip-hint i { font-size: 0.8rem !important; margin-right: 4px !important; animation: spinSlow 4s linear infinite !important; display: inline-block; }
.flip .flip-back { background: #fff; border: 0; justify-content: flex-start; padding: 54px 24px 20px; text-align: left; align-items: stretch; overflow: visible; box-shadow: var(--shadow-md); border-top: 6px solid var(--f1); }
.flip-badge { position: absolute; top: -30px; left: 50%; margin-left: -28px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.3rem; background: linear-gradient(135deg, var(--f1), var(--f2)); border: 4px solid #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--f1) 45%, transparent); }
.flip-back h3 { text-align: center; color: var(--f1); margin-bottom: 14px; font-size: 1.25rem; }
.flip-back ul { display: grid; gap: 10px; }
.flip-back li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--f2) 12%, #fff); transition: transform 0.3s var(--ease); }
.flip-back li i { color: var(--f1); margin-top: 4px; }
.flip:hover .flip-back li { animation: faqIn 0.5s var(--ease) both; }
.flip:hover .flip-back li:nth-child(2) { animation-delay: 0.1s; }
.flip:hover .flip-back li:nth-child(3) { animation-delay: 0.2s; }
.flip-back li:hover { transform: translateX(6px); }
.flip .flip-back, .flip .flip-front { backface-visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .flip-ico, .flip .flip-front::after, .flip-hint i { animation: none !important; } }
.flip .flip-front .flip-ico { font-size: 2.4rem; opacity: 1; letter-spacing: 0; text-transform: none; }
.flip .flip-front .flip-no { font-size: 1.1rem; letter-spacing: 0.1em; opacity: 0.9; }
.flip .flip-front .flip-hint { opacity: 1; }

/* ---------- Scrap-to-cash trail ---------- */
.trail-sec { background: radial-gradient(circle at 10% 0%, #e3f3ea 0, transparent 45%), radial-gradient(circle at 90% 100%, #e3ecfa 0, transparent 45%); }
.trail-road { display: none; position: relative; height: 40px; margin: 0 6% -18px; }
.trail-line { position: absolute; left: 0; right: 34px; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: repeating-linear-gradient(90deg, #12307a 0 18px, transparent 18px 32px); opacity: 0.35; }
.trail-truck { position: absolute; top: 2px; left: 0; font-size: 1.7rem; color: var(--green-700); animation: truckRun 7s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2)); }
.trail-flag { position: absolute; right: 0; top: 4px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-size: 0.9rem; animation: iconFloat 2.4s ease-in-out infinite; }
@keyframes truckRun { 0% { left: 0; } 85%, 100% { left: calc(100% - 70px); } }
.trail { display: grid; gap: 28px; grid-template-columns: 1fr; position: relative; z-index: 1; }
.trail-card { position: relative; background: #fff; border-radius: 22px; overflow: visible; box-shadow: var(--shadow-md); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.trail-photo { height: 170px; border-radius: 22px 22px 0 0; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.trail-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--t1) 75%, #000)); transition: opacity 0.4s; }
.trail-card:hover .trail-photo { background-size: 112%; }
.trail-photo { transition: background-size 0.7s var(--ease); }
.trail-no { position: absolute; left: 16px; bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: rgba(255, 255, 255, 0.92); text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35); z-index: 1; }
.trail-ico { position: absolute; right: 20px; top: 138px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.3rem; z-index: 2;
  background: linear-gradient(135deg, var(--t1), var(--t2)); border: 4px solid #fff; box-shadow: 0 10px 20px color-mix(in srgb, var(--t1) 45%, transparent); transition: transform 0.45s var(--ease); }
.trail-card:hover .trail-ico { transform: rotate(-12deg) scale(1.18); }
.trail-body { padding: 22px 22px 26px; position: relative; }
.trail-body::after { content: ""; position: absolute; left: 22px; bottom: 0; width: 40px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--t1), var(--t2)); transition: width 0.5s var(--ease); }
.trail-card:hover .trail-body::after { width: calc(100% - 44px); }
.trail-body h3 { color: var(--navy-900); margin-bottom: 6px; }
.trail-body p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.trail-card:hover { transform: translateY(-10px); box-shadow: 0 26px 50px -16px color-mix(in srgb, var(--t1) 55%, transparent); }
@media (min-width: 640px) { .trail { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .trail { grid-template-columns: repeat(4, 1fr); }
  .trail-road { display: block; }
  .trail-card:nth-child(even) { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .trail-truck, .trail-flag { animation: none; } }
.rate-note { margin: 0 0 6px; font-size: 0.76rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.rate-note i { color: #d97706; }

/* ---------- Enquiry result popup ---------- */
.enq-pop { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 30, 20, 0.65); backdrop-filter: blur(3px); animation: fade 0.25s; }
.enq-pop-card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 34px 28px 28px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); animation: fadeUp 0.35s var(--ease); }
.enq-pop-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--green-500), var(--green-700)); box-shadow: 0 10px 24px rgba(30, 150, 80, 0.35); }
.enq-pop-card.is-warn .enq-pop-icon { background: linear-gradient(135deg, #f5a623, #d9822b); box-shadow: 0 10px 24px rgba(217, 130, 43, 0.35); }
.enq-pop-card h3 { color: var(--green-700); margin-bottom: 8px; }
.enq-pop-card p { color: var(--muted); margin: 0 0 20px; line-height: 1.6; }
.enq-pop-card .btn-row { justify-content: center; }
.enq-pop-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef3ef; color: #33433a; font-size: 1.1rem; cursor: pointer; }
.enq-pop-close:hover { background: #dfe9e2; }

/* ===== Contact page redesign ===== */
.cx-quick { position: relative; z-index: 3; margin-top: -44px; }
.cx-quick-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cx-tile { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.cx-tile h3 { margin: 0 0 2px; font-size: 1rem; }
.cx-tile p, .cx-tile a { margin: 0; color: var(--muted); font-size: 0.95rem; word-break: break-word; }
.cx-tile a { color: var(--green-700); font-weight: 600; }
.cx-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--grad-primary); }
.cx-ico--wa { background: linear-gradient(135deg, #1fa855, #25d366); }
.cx-ico--mail { background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); }
.cx-ico--sm { width: 42px; height: 42px; border-radius: 12px; font-size: 1.05rem; }
.cx-main { padding-top: 48px; }
.cx-main .contact-layout { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.cx-form { border-top: 4px solid var(--green-500); }
.cx-form:hover { transform: none; box-shadow: var(--shadow-sm); }
.cx-side { display: flex; flex-direction: column; gap: 18px; }
.cx-info { background: var(--grad-primary); color: #fff; border-radius: 20px; padding: 24px; display: grid; gap: 20px; box-shadow: var(--shadow-lg); }
.cx-info .cx-ico { background: rgba(255, 255, 255, 0.16); }
.cx-row { display: flex; gap: 14px; align-items: flex-start; }
.cx-row h3 { color: #fff; margin: 0 0 4px; font-size: 1rem; }
.cx-row p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; line-height: 1.55; }
.cx-row .placeholder-text { color: #f3e7a0 !important; }
.cx-side .map-wrap { min-height: 300px; }
.cx-side .btn-row { margin: 0; }
@media (min-width: 640px) { .cx-quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) {
  .cx-main .contact-layout { grid-template-columns: 1.2fr 1fr; }
  .cx-side { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* ---------- Trail: attractive + blinking ---------- */
.trail-card { border: 2px solid transparent; animation: trailSpot 8s ease-in-out infinite; }
.trail-card:nth-child(1) { animation-delay: 0s; }
.trail-card:nth-child(2) { animation-delay: 2s; }
.trail-card:nth-child(3) { animation-delay: 4s; }
.trail-card:nth-child(4) { animation-delay: 6s; }
@keyframes trailSpot {
  0%, 30%, 100% { border-color: transparent; box-shadow: var(--shadow-md); }
  8%, 20% { border-color: var(--t1); box-shadow: 0 0 0 5px color-mix(in srgb, var(--t1) 22%, transparent), 0 26px 50px -14px color-mix(in srgb, var(--t1) 70%, transparent); }
}
.trail-ico::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid var(--t1); opacity: 0; animation: trailRing 2s ease-out infinite; }
.trail-card:nth-child(2) .trail-ico::before { animation-delay: 0.5s; }
.trail-card:nth-child(3) .trail-ico::before { animation-delay: 1s; }
.trail-card:nth-child(4) .trail-ico::before { animation-delay: 1.5s; }
@keyframes trailRing { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.trail-ico i { animation: trailBlink 1.4s ease-in-out infinite; }
@keyframes trailBlink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(1.18); } }
.trail-no { animation: trailNo 2.4s ease-in-out infinite; }
@keyframes trailNo { 0%, 100% { opacity: 1; text-shadow: 0 3px 10px rgba(0,0,0,.35); } 50% { opacity: 0.55; text-shadow: 0 0 18px #fff, 0 0 30px var(--t2); } }
.trail-body::after { animation: trailBar 2.4s ease-in-out infinite; }
@keyframes trailBar { 0%, 100% { width: 40px; } 50% { width: 90px; } }
.trail-photo::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); animation: trailShine 4s ease-in-out infinite; }
.trail-card:nth-child(2) .trail-photo::after { animation-delay: 1s; }
.trail-card:nth-child(3) .trail-photo::after { animation-delay: 2s; }
.trail-card:nth-child(4) .trail-photo::after { animation-delay: 3s; }
@keyframes trailShine { 0% { left: -60%; } 40%, 100% { left: 140%; } }
.trail-line { opacity: 0.55; background-size: 32px 100%; animation: trailDash 1s linear infinite; }
@keyframes trailDash { to { background-position: 32px 0; } }
.trail-flag { animation: iconFloat 2.4s ease-in-out infinite, trailFlag 1.2s ease-in-out infinite; }
@keyframes trailFlag { 0%, 100% { box-shadow: 0 0 0 0 rgba(33,163,102,.7); } 50% { box-shadow: 0 0 0 12px rgba(33,163,102,0); } }
@media (prefers-reduced-motion: reduce) {
  .trail-card, .trail-ico::before, .trail-ico i, .trail-no, .trail-body::after, .trail-photo::after, .trail-line, .trail-flag { animation: none !important; }
}

/* ---------- Flip cards: keep front text visible (mobile 3D/backdrop-filter fix) ---------- */
.flip-ico { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.28); }
.flip .flip-front { transform: translateZ(1px); }
.flip .flip-back { transform: rotateY(180deg) translateZ(1px); }
.flip .flip-front h3, .flip .flip-front .flip-hint, .flip .flip-front .flip-no { color: #fff; -webkit-text-fill-color: #fff; opacity: 1; visibility: visible; z-index: 2; }
.flip .flip-front h3 { display: block; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
.flip .flip-front .flip-hint { display: inline-block; background: rgba(0, 0, 0, 0.38); }

/* ---------- Trail v2: truck-synced pop + blink, cards in one line ---------- */
.trail-road { margin: 0 0 14px; }
.trail-truck { animation: truckRun 10s linear infinite; }
@keyframes truckRun { 0% { left: 0; opacity: 1; } 92% { left: calc(100% - 70px); opacity: 1; } 98%, 100% { left: calc(100% - 70px); opacity: 0; } }
.trail-card:nth-child(even) { margin-top: 0 !important; }
.trail-card { animation: trailPop 10s ease-in-out infinite; }
.trail-card:nth-child(1) { animation-delay: 0.75s; }
.trail-card:nth-child(2) { animation-delay: 3.05s; }
.trail-card:nth-child(3) { animation-delay: 5.35s; }
.trail-card:nth-child(4) { animation-delay: 7.65s; }
@keyframes trailPop {
  0%, 12%, 100% { transform: none; border-color: transparent; box-shadow: var(--shadow-md); }
  1.5%, 4.5%, 7.5%, 10% { transform: translateY(-16px) scale(1.06); border-color: var(--t1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--t1) 30%, transparent), 0 0 38px 8px color-mix(in srgb, var(--t1) 70%, transparent), 0 30px 50px -14px color-mix(in srgb, var(--t1) 70%, transparent); }
  3%, 6%, 9% { transform: translateY(-16px) scale(1.06); border-color: color-mix(in srgb, var(--t1) 40%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t1) 10%, transparent), 0 20px 36px -16px color-mix(in srgb, var(--t1) 40%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .trail-card, .trail-truck { animation: none !important; } }

/* ---------- Trail v3: stronger blink + vehicle on mobile/tablet ---------- */
@keyframes trailPop {
  0%, 12%, 100% { transform: none; border-color: transparent; box-shadow: var(--shadow-md); }
  1.5%, 4%, 6.5%, 9% { transform: translateY(-14px) scale(1.06); border-color: var(--t1); box-shadow: 0 0 0 8px color-mix(in srgb, var(--t1) 38%, transparent), 0 0 46px 14px color-mix(in srgb, var(--t1) 80%, transparent), 0 30px 50px -14px color-mix(in srgb, var(--t1) 70%, transparent); }
  2.75%, 5.25%, 7.75%, 10.25% { transform: translateY(-8px) scale(1.03); border-color: transparent; box-shadow: var(--shadow-md); }
}
@media (max-width: 1023px) {
  .trail { grid-template-columns: 1fr; padding-left: 58px; gap: 34px; }
  .trail::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 6px; border-radius: 6px; opacity: 0.45;
    background: repeating-linear-gradient(180deg, #12307a 0 16px, transparent 16px 28px); background-size: 100% 28px; animation: trailDashV 1s linear infinite; }
  .trail::after { content: "\f48b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 8px; top: 0; z-index: 3; width: 34px; text-align: center; font-size: 1.7rem; line-height: 1; color: var(--green-700);
    background: var(--bg); border-radius: 8px; padding: 4px 0; transform: rotate(90deg); filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); animation: truckDown 10s linear infinite; }
  .trail-card { animation-name: trailPopM; }
}
@keyframes trailDashV { to { background-position: 0 28px; } }
@keyframes truckDown { 0% { top: 0; opacity: 1; } 92% { top: calc(100% - 40px); opacity: 1; } 98%, 100% { top: calc(100% - 40px); opacity: 0; } }
@keyframes trailPopM {
  0%, 12%, 100% { transform: none; border-color: transparent; box-shadow: var(--shadow-md); }
  1.5%, 4%, 6.5%, 9% { transform: translateX(6px) scale(1.03); border-color: var(--t1); box-shadow: 0 0 0 6px color-mix(in srgb, var(--t1) 38%, transparent), 0 0 34px 10px color-mix(in srgb, var(--t1) 80%, transparent); }
  2.75%, 5.25%, 7.75%, 10.25% { transform: translateX(3px); border-color: transparent; box-shadow: var(--shadow-md); }
}
@media (prefers-reduced-motion: reduce) { .trail::before, .trail::after { animation: none !important; } }

/* ---------- Trail v4: softer glow, gentler blink ---------- */
@keyframes trailPop {
  0%, 12%, 100% { transform: none; border-color: transparent; box-shadow: var(--shadow-md); }
  2%, 10% { transform: translateY(-12px) scale(1.04); border-color: var(--t1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t1) 18%, transparent), 0 0 20px 2px color-mix(in srgb, var(--t1) 35%, transparent), 0 24px 40px -16px color-mix(in srgb, var(--t1) 50%, transparent); }
  4%, 8% { transform: translateY(-12px) scale(1.04); border-color: var(--t1); box-shadow: 0 0 0 2px color-mix(in srgb, var(--t1) 10%, transparent), 0 0 10px 0 color-mix(in srgb, var(--t1) 20%, transparent), 0 20px 36px -16px color-mix(in srgb, var(--t1) 40%, transparent); }
  6% { transform: translateY(-12px) scale(1.04); border-color: var(--t1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t1) 18%, transparent), 0 0 20px 2px color-mix(in srgb, var(--t1) 35%, transparent), 0 24px 40px -16px color-mix(in srgb, var(--t1) 50%, transparent); }
}
@keyframes trailPopM {
  0%, 12%, 100% { transform: none; border-color: transparent; box-shadow: var(--shadow-md); }
  2%, 6%, 10% { transform: translateX(5px) scale(1.02); border-color: var(--t1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t1) 18%, transparent), 0 0 16px 2px color-mix(in srgb, var(--t1) 35%, transparent); }
  4%, 8% { transform: translateX(5px) scale(1.02); border-color: var(--t1); box-shadow: 0 0 0 1px color-mix(in srgb, var(--t1) 10%, transparent), 0 0 8px 0 color-mix(in srgb, var(--t1) 20%, transparent); }
}

/* ---------- Trail v5: tidy mobile vehicle badge ---------- */
@media (max-width: 1023px) {
  .trail::after { content: "\f48b"; left: 3px; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; line-height: 1;
    background: #fff; border: 3px solid var(--green-700); color: var(--green-700); transform: none; box-shadow: 0 6px 14px rgba(20, 108, 67, 0.3); filter: none; }
  @keyframes truckDown { 0% { top: 0; opacity: 1; } 92% { top: calc(100% - 44px); opacity: 1; } 98%, 100% { top: calc(100% - 44px); opacity: 0; } }
}
