@charset "utf-8";
/* ==========================================================================
   "QUICK SIGNAL" redesign layer v4 (loaded last, overrides css/style.css)
   A bigger departure from the base template than the previous pass:
   - buttons are cut into an arrow/chevron shape (forward = fast results),
     solid teal by default, gradient sweep only on hover
   - product + info cards get a diagonal cut corner instead of a rounded
     rectangle, with a circular "seal" badge breaking out of the card
   - hero gets a two-tone diagonal split background instead of a flat navy
     panel, and the floating card becomes a rotated stamp
   Palette stays teal + navy (from the logo), amber as a spark accent.
   ========================================================================== */

:root {
  /* Re-declare the base template's own colour ramps to match the new
     "Your Rapid Care" logo (navy -> medical blue -> teal cross, green
     leaf). Every rule in style.css that reads var(--navy-900), var(--blue-600),
     var(--accent) etc. now resolves to these, site-wide. */
  --navy-900: #0d1b4c;
  --navy-800: #122868;
  --navy-700: #1a3a8a;
  --navy-600: #214aa6;

  --blue-100: #eaf4fd;
  --blue-200: #d2e9fb;
  --blue-300: #a3d2f6;
  --blue-400: #6fb8ef;
  --blue-500: #3d9de4;
  --blue-600: #1f84d6;

  --teal-100: #e7f7f4;
  --teal-300: #9de0d4;
  --teal-500: #22ab9c;
  --teal-600: #1b8c80;
  --teal-700: #156e64;

  --green-300: #a7d97a;
  --green-500: #5fb84c;
  --green-700: #3f8f36;
  --accent-amber: #5fb84c; /* leaf green replaces the old amber/gold accent */
  --amber: #5fb84c;

  --rd-grad: linear-gradient(100deg, var(--navy-800) 0%, var(--blue-600) 45%, var(--teal-500) 85%, var(--green-500) 130%);
  --rd-cut: 26px;      /* product / info card corner cut */
  --rd-cut-sm: 18px;   /* smaller card corner cut */
  --rd-arrow: 20px;    /* button arrow point depth */
  --rd-shadow-pop: 0 26px 48px -22px rgba(13, 27, 76, .4);
  --rd-shadow-glow: 0 14px 28px -12px rgba(34, 171, 156, .55);
}

/* lets clip-path actually animate smoothly when --rd-cut / --rd-arrow change
   on hover, instead of snapping instantly (unsupported browsers just snap,
   which still looks fine) */
@property --rd-cut { syntax: '<length>'; inherits: true; initial-value: 26px; }
@property --rd-cut-sm { syntax: '<length>'; inherits: true; initial-value: 18px; }
@property --rd-arrow { syntax: '<length>'; inherits: true; initial-value: 20px; }

html { scroll-behavior: smooth; }
::selection { background: var(--teal-300); color: var(--navy-900); }

/* ==========================================================================
   BUTTONS  -  cut into a forward-pointing arrow. Solid teal at rest,
   gradient sweep + sharper point on hover (not gradient all the time,
   which read muddy) -- the shape change IS the hover feedback.
   ========================================================================== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - var(--rd-arrow)) 0, 100% 50%, calc(100% - var(--rd-arrow)) 100%, 0 100%);
  padding-right: calc(24px + var(--rd-arrow) * .7) !important;
  transition: background .35s ease, clip-path .3s cubic-bezier(.2,.8,.2,1), transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, color .3s ease;
}
.btn::before {
  content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 55%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg); transition: transform .7s ease; pointer-events: none;
}
.btn:hover::before { transform: translateX(300%) skewX(-18deg); }
.btn > * { position: relative; z-index: 1; }

.btn--primary, .btn--secondary {
  background: var(--teal-600) !important;
  color: #fff !important; border: 0; box-shadow: var(--rd-shadow-glow);
}
.btn--primary:hover, .btn--secondary:hover {
  background: linear-gradient(100deg, var(--teal-500) 0%, var(--teal-700) 55%, var(--navy-900) 100%) !important;
  --rd-arrow: 30px;
  transform: translateX(3px) translateY(-3px);
  box-shadow: 0 22px 36px -16px rgba(13, 27, 76, .55), 0 0 0 5px rgba(34, 171, 156, .22);
}
.btn--light {
  background: #fff !important; color: var(--navy-900) !important; border: 2px solid var(--teal-500) !important;
  box-shadow: var(--rd-shadow-glow);
}
.btn--light:hover { background: var(--teal-500) !important; color: #fff !important; transform: translateX(3px) translateY(-3px); box-shadow: var(--rd-shadow-pop); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.hero .btn--secondary { animation: rdPulse 3s ease-in-out infinite; }
@keyframes rdPulse {
  0%, 100% { box-shadow: var(--rd-shadow-glow), 0 0 0 0 rgba(34,171,156,.55); }
  50% { box-shadow: var(--rd-shadow-glow), 0 0 0 11px rgba(34,171,156,0); }
}

.quick-add {
  border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  background: var(--navy-900) !important;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.quick-add:hover { background: linear-gradient(100deg, var(--teal-500), var(--navy-900)) !important; transform: translateX(2px) scale(1.04); box-shadow: var(--rd-shadow-glow); }

.yes-btn {
  background: var(--teal-600) !important; color: #fff !important;
  border: 0 !important; border-radius: 0 !important;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  box-shadow: var(--rd-shadow-glow);
  transition: background .3s ease, transform .3s ease;
}
.yes-btn:hover { background: linear-gradient(100deg, var(--teal-500), var(--navy-900)) !important; transform: translateX(2px); }
.no-btn { border-radius: 10px !important; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.top-sec { position: relative; }
.top-sec::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-300), var(--teal-600), var(--navy-900), var(--teal-600), var(--teal-300));
  background-size: 220% 100%; animation: rdFlow 10s linear infinite;
}
@keyframes rdFlow { to { background-position: 220% 0; } }

.menu-bar a { position: relative; transition: color .25s ease; }
.menu-bar a:hover, .menu-bar a.active { color: var(--teal-600); }
.menu-bar a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--rd-grad); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.menu-bar a:hover::after, .menu-bar a.active::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   HERO  -  a two-tone diagonal split instead of a flat navy panel, plus a
   rotated "verified result" stamp replacing the plain floating card.
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; min-height: 0;
  padding: clamp(64px, 9vw, 110px) 0 clamp(60px, 8vw, 100px);
  background:
    linear-gradient(125deg, var(--navy-900) 0%, var(--blue-600) 40%, var(--teal-600) 75%, var(--teal-500) 100%) !important;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.hero::before { width: 560px; height: 560px; left: -16%; top: -26%; background: radial-gradient(circle, rgba(63,157,228,.4), rgba(63,157,228,0) 68%); }
.hero::after { width: 480px; height: 480px; right: -12%; bottom: -26%; background: radial-gradient(circle, rgba(95,184,76,.3), rgba(95,184,76,0) 68%); }

.hero-inner {
  position: relative; z-index: 1; display: grid !important; grid-template-columns: 1.08fr .92fr !important;
  gap: clamp(32px, 5vw, 70px); align-items: center; padding: 0 !important;
}
.hero-copy { max-width: 560px; position: relative; }
.hero-copy::before {
  content: ""; position: absolute; left: -28px; top: -6px; width: 6px; height: calc(100% + 12px);
  background: linear-gradient(180deg, var(--teal-300), var(--amber)); border-radius: 3px; opacity: .85;
}
.eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  background: rgba(157, 224, 212, .14); border: 1px solid rgba(157, 224, 212, .4);
}
.hero .eyebrow { color: var(--teal-300); background: rgba(157, 224, 212, .14); border-color: rgba(157, 224, 212, .4); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(34,171,156,.25); }

.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--teal-300); position: relative; }
.hero p { color: rgba(255,255,255,.78); }
.hero-trust { border-top-color: rgba(255,255,255,.16); flex-wrap: nowrap !important; gap: 10px !important; }
.trust-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  transition: transform .3s ease, background .3s ease;
  white-space: nowrap; flex: 0 1 auto; font-size: .82rem;
}
.trust-item img { width: 18px !important; height: 18px !important; flex-shrink: 0; }

@media (max-width: 560px) {
  .hero-trust { flex-wrap: wrap !important; }
}
.trust-item:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }

.hero-media { position: relative; isolation: isolate; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; border-radius: 34px; background: var(--rd-grad);
}
.hero-media-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--rd-shadow-pop);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: grayscale(.1) contrast(1.02); display: block; }

.hero-float-card {
  position: absolute; left: -40px; bottom: -32px; z-index: 3; width: 226px;
  background: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
  box-shadow: var(--rd-shadow-pop); transform: rotate(-3deg);
  animation: rdFloat 4.5s ease-in-out infinite;
}
.hero-float-card img { width: 46px; height: auto; flex-shrink: 0; }
.hero-float-text { display: flex; flex-direction: column; gap: 2px; }
.hero-float-text strong { font-size: .88rem; color: var(--navy-900); font-weight: 700; }
.hero-float-text span { font-size: .72rem; color: var(--ink-500, #5b6b82); }
@keyframes rdFloat { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -10px; rotate: -1deg; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .hero-float-card { left: 50%; transform: translateX(-50%) rotate(-3deg); bottom: -24px; width: 200px; }
  .hero-copy::before { display: none; }
}

/* ==========================================================================
   STRIP MARQUEE
   ========================================================================== */
.strip { background: linear-gradient(90deg, var(--navy-900), var(--teal-700), var(--navy-900)) !important; background-size: 200% 100%; animation: rdFlow 12s linear infinite; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section-head h2 {
  background: linear-gradient(100deg, var(--navy-900) 0%, var(--teal-700) 65%, var(--teal-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head .eyebrow { color: var(--teal-700); }

.section--alt {
  position: relative; overflow: hidden; z-index: 0;
  background: linear-gradient(180deg, #eef8f7 0%, #ffffff 75%) !important;
}
.section--alt::before {
  content: ""; position: absolute; z-index: -1; left: -140px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 171, 156, .22), rgba(34, 171, 156, 0) 70%);
}
.section--alt::after {
  content: ""; position: absolute; z-index: -1; right: -160px; bottom: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 27, 76, .1), rgba(13, 27, 76, 0) 70%);
}
.section--alt .container { position: relative; z-index: 1; }

section.section:not(.section--alt) {
  background-image: radial-gradient(rgba(26, 58, 138, .08) 1.4px, transparent 1.4px);
  background-size: 22px 22px; background-position: -10px -10px;
}
section.section:not(.section--alt) .container { position: relative; z-index: 1; }

/* ==========================================================================
   ANGLED SECTION SEAMS  -  a slanted cut between major blocks instead of a
   flat horizontal line everywhere, so the page doesn't read as a stack of
   identical boxes.
   ========================================================================== */
.strip { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); margin-top: -20px; position: relative; z-index: 2; }

/* ==========================================================================
   CATEGORY CARDS  -  all three aligned in a straight row, full product
   photo visible (no cropping), with a soft animated gradient glow ring.
   ========================================================================== */
@property --rd-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rdAngleSpin { to { --rd-angle: 360deg; } }

.cat-grid { align-items: stretch; }
.cat-card {
  position: relative; isolation: isolate;
  border-radius: 22px !important; border: 0 !important;
  overflow: visible !important; /* let the glow breathe past the edges */
  background: #fff;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.cat-card:hover { transform: translateY(-9px) !important; }

/* soft blurred halo behind the card */
.cat-card::after {
  content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 28px;
  background: conic-gradient(from var(--rd-angle, 0deg), var(--blue-600), var(--teal-500), var(--green-500), var(--blue-600));
  filter: blur(20px); opacity: .45;
  animation: rdAngleSpin 6s linear infinite;
  transition: opacity .35s ease;
  pointer-events: none;
}
.cat-card:hover::after { opacity: .75; }

/* crisp 2px gradient ring traced right on the edge */
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--rd-angle, 0deg), var(--blue-600), var(--teal-500), var(--green-500), var(--blue-600));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rdAngleSpin 6s linear infinite;
  pointer-events: none;
}

/* the image now shows in full -- taller frame, contain instead of crop,
   on a soft tinted plate so there's no awkward letterboxing */
.cat-card .media {
  position: relative; z-index: 1; overflow: hidden; border-radius: 22px 22px 0 0;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--teal-100, #e7f7f4) 0%, var(--blue-100, #eaf4fd) 100%);
  display: flex; align-items: center; justify-content: center;
}
.cat-card .media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,27,76,.5) 100%);
  opacity: 0; transition: opacity .35s ease;
}
.cat-card:hover .media::after { opacity: 1; }
.cat-card .media img { width: 100%; height: 100%; object-fit: contain !important; transition: transform .6s var(--ease); }
.cat-card:hover .media img { transform: scale(1.05); }
.cat-card .body { position: relative; z-index: 1; background: #fff; border-radius: 0 0 22px 22px; }

@media (prefers-reduced-motion: reduce) {
  .cat-card::before, .cat-card::after { animation: none; }
}

/* ==========================================================================
   PRODUCT CARDS  -  horizontal "ticket" layout (image left, details right,
   dashed perforation between them like a boarding-pass stub) instead of
   the generic stacked image-on-top product tile every template uses.
   ========================================================================== */
.product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 26px !important; }
.card {
  position: relative; display: flex !important; flex-direction: row !important; align-items: stretch;
  border-radius: 22px !important; border: 1.5px solid var(--teal-100, #e8f6f5) !important; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.card:hover { transform: translateY(-8px) rotate(-.3deg); box-shadow: var(--rd-shadow-pop); border-color: var(--teal-300) !important; }

.card-media {
  width: 40%; flex: 0 0 40%; position: relative; isolation: isolate;
  background: linear-gradient(160deg, var(--teal-100, #e8f6f5) 0%, var(--teal-300, #9fd9d4) 100%) !important;
  padding: 18px; display: flex; align-items: center; justify-content: center;
}
.card-media::after {
  content: ""; position: absolute; right: 0; top: 8%; bottom: 8%; width: 0;
  border-right: 2px dashed rgba(13, 27, 76, .22);
}
.card-media::before {
  content: ""; position: absolute; right: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; z-index: 2;
}
.card-media img {
  object-fit: contain !important; max-height: 86%; filter: drop-shadow(0 16px 18px rgba(13,27,76,.22));
  transition: transform .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.07) rotate(-2deg) !important; }

.card-body { flex: 1; display: flex !important; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 24px !important; }
.card-tag { top: 12px; left: 12px; }
.card-tag.tag-new { background: var(--rd-grad) !important; color: #fff !important; border-radius: 999px !important; }
.card-cat { color: var(--teal-700); font-weight: 700; }
.price {
  background: linear-gradient(90deg, var(--teal-700), var(--navy-800)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700;
}
.card-title a:hover { color: var(--teal-700); }
.card-foot { border-top: 0; padding-top: 6px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; }

@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr !important; }
  .card { flex-direction: column !important; }
  .card-media { width: 100%; flex-basis: auto; }
  .card-media::after { right: 8%; left: 8%; top: auto; bottom: 0; width: auto; height: 0; border-right: 0; border-bottom: 2px dashed rgba(13,27,76,.22); }
}

/* ==========================================================================
   WHY US  -  an oversized, faint number behind each card for an editorial
   feel, instead of four identical icon-boxes.
   ========================================================================== */
.why-grid { position: relative; }
.why-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 20px !important; border: 1.5px solid var(--teal-100, #e8f6f5) !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.why-card:hover { transform: translateY(-7px); border-color: var(--teal-300) !important; box-shadow: var(--rd-shadow-pop); }
.why-card::after {
  position: absolute; right: 2px; bottom: -22px; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1;
  color: var(--teal-700); opacity: .07;
}
.why-card:nth-of-type(1)::after { content: "01"; }
.why-card:nth-of-type(2)::after { content: "02"; }
.why-card:nth-of-type(3)::after { content: "03"; }
.why-card:nth-of-type(4)::after { content: "04"; }
.why-card h3, .why-card p, .why-ic { position: relative; z-index: 1; }
.why-ic {
  width: 56px !important; height: 56px !important;
  background: var(--rd-grad) !important; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--rd-shadow-glow); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.why-ic img { filter: brightness(0) invert(1); }
.why-card:hover .why-ic { transform: rotate(-8deg) scale(1.08); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-media { isolation: isolate; position: relative; }
.about-media::before {
  content: ""; position: absolute; z-index: -1; inset: 20px -20px -20px 20px; border-radius: 30px;
  background: linear-gradient(135deg, var(--teal-300) 0%, var(--teal-600) 55%, var(--navy-900) 100%);
}
.about-media .img { border-radius: 24px !important; }
.about-list .tick {
  background: var(--rd-grad) !important; color: #fff !important; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--rd-shadow-glow);
}

/* ==========================================================================
   FAQ  -  two columns instead of one long centered list, so the section
   doesn't run on forever down the page.
   ========================================================================== */
.faq-wrap {
  max-width: 1060px !important;
  display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 16px 24px;
  align-items: start;
}
.faq-item {
  border: 1.5px solid var(--teal-100, #e8f6f5) !important; border-radius: 16px !important; margin-bottom: 0 !important;
  background: #fff; transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item:hover { border-color: var(--teal-300) !important; box-shadow: var(--sh-1, 0 6px 16px rgba(13,27,76,.08)); }
.faq-item.open { border-color: var(--teal-500) !important; }
.faq-q { padding: 18px 20px !important; }
.faq-a-inner { padding: 0 20px 20px !important; }
.faq-item.open .faq-q .pm { background: var(--rd-grad) !important; border-color: transparent !important; }
.faq-q:hover { color: var(--teal-700); }

@media (max-width: 760px) {
  .faq-wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-300), var(--teal-600), var(--navy-900), var(--teal-600), var(--teal-300));
  background-size: 220% 100%; animation: rdFlow 10s linear infinite;
}
.pay-chip { border-radius: 6px !important; border: 1px solid rgba(255,255,255,.2); transition: transform .25s ease, border-color .25s ease; }
.pay-chip:hover { transform: translateY(-2px); border-color: var(--teal-500); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
