/*
 * SenseDent — Saudi National Day 96
 * Visual values are sampled from the supplied SND-GUIDELINE and OfficeKit.
 */

:root {
  --snd-deep: #01333a;
  --snd-ink: #061f24;
  --snd-green: #01894b;
  --snd-bright-green: #5aba1b;
  --snd-blue: #0050af;
  --snd-magenta: #961a4c;
  --snd-olive: #607b4e;
  --snd-violet: #6565df;
  --snd-gold: #7b5d21;
  --snd-cream: #f2ead1;
  --brand-main: var(--snd-green);
  --brand-main-dark: #006c3b;
  --brand-secondary: var(--snd-deep);
  --bg-page: #f5f3eb;
  --bg-card: #fffdf8;
  --bg-soft: #eef1e7;
  --text-dark: #102f2c;
  --text-body: #34534d;
  --text-muted: #688079;
  --border-soft: rgba(1, 51, 58, .12);
  --border-strong: rgba(1, 51, 58, .23);
  --sd-radius-xl: 4px;
  --sd-radius-lg: 3px;
  --sd-radius-md: 2px;
  --sd-shadow: 0 28px 70px rgba(1, 51, 58, .14);
  --sd-shadow-soft: 0 12px 34px rgba(1, 51, 58, .09);
}

[data-theme="dark"] {
  --bg-page: #061f24;
  --bg-card: #0a2b30;
  --bg-soft: #0d3438;
  --text-dark: #f8f4e8;
  --text-body: #dbe6dd;
  --text-muted: #a8bbb3;
  --border-soft: rgba(255, 255, 255, .12);
  --border-strong: rgba(255, 255, 255, .22);
}

body {
  background-color: var(--bg-page);
  background-image:
    linear-gradient(rgba(1, 137, 75, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 137, 75, .025) 1px, transparent 1px),
    radial-gradient(circle at 8% 18%, rgba(90, 186, 27, .08), transparent 25rem),
    radial-gradient(circle at 90% 64%, rgba(150, 26, 76, .055), transparent 28rem);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

::selection { color: #fff; background: var(--snd-magenta); }

.topbar-vip {
  background: var(--snd-deep);
  border-bottom-color: rgba(90, 186, 27, .28);
}

.topbar-vip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--snd-blue) 0 14%, var(--snd-magenta) 14% 28%, var(--snd-bright-green) 28% 42%, var(--snd-green) 42% 58%, var(--snd-violet) 58% 72%, var(--snd-gold) 72% 86%, var(--snd-olive) 86%);
}

.snd-topbar-celebration {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline-end: 4px;
  color: rgba(255, 255, 255, .88);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.snd-topbar-celebration b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--snd-green);
  border: 1px solid rgba(255, 255, 255, .25);
}

.header-vip {
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid rgba(1, 51, 58, .12);
  box-shadow: 0 10px 34px rgba(1, 51, 58, .10);
  backdrop-filter: blur(16px);
}

[data-theme="dark"] .header-vip { background: rgba(6, 31, 36, .96); }

.header-vip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(34vw, 520px);
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--snd-green) 0 8px, transparent 8px 13px);
}

.logo img {
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(1, 137, 75, .09);
}

.nav-links a { color: #294943; }
[data-theme="dark"] .nav-links a { color: var(--text-body); }
.nav-links a:hover,
.nav-links .current-menu-item > a {
  color: var(--snd-deep);
  background: rgba(1, 137, 75, .09);
}

.btn-reserve-vip {
  border-radius: 2px;
  border-color: var(--snd-green);
  background: var(--snd-green);
  box-shadow: 5px 5px 0 rgba(1, 51, 58, .12);
}

.theme-btn,
.mobile-btn,
.btn-solid-vip,
.btn-outline-vip,
.btn-reserve-vip { border-radius: 2px; }

/* Campaign hero */
.snd-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 114px));
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--snd-deep);
}

.snd-hero-media,
.snd-hero-overlay { position: absolute; inset: 0; }

.snd-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: sndHeroReveal 1.6s cubic-bezier(.2, .7, .1, 1) both;
}

.snd-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(1, 51, 58, .14) 0%, rgba(1, 51, 58, .12) 34%, rgba(1, 51, 58, .82) 70%, rgba(1, 31, 35, .98) 100%),
    linear-gradient(0deg, rgba(0, 19, 23, .54) 0%, transparent 45%);
}

.snd-hero-layout {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: 72px 138px;
}

.snd-hero-copy {
  width: min(620px, 55%);
  padding: 42px 0 34px;
  animation: sndRise .9s .16s cubic-bezier(.2, .7, .1, 1) both;
}

.snd-edition {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  padding: 7px 8px 7px 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(1, 51, 58, .62);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 850;
}

.snd-edition b {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--snd-green);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 1.05rem;
}

.snd-eyebrow {
  margin: 0 0 12px;
  color: #8ed570;
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.snd-hero h1 {
  max-width: 580px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.snd-hero h1::after {
  content: "";
  width: 94px;
  height: 8px;
  display: block;
  margin-top: 25px;
  background: repeating-linear-gradient(90deg, var(--snd-bright-green) 0 8px, transparent 8px 13px);
}

.snd-hero-lead {
  max-width: 585px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 2;
}

.snd-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 29px;
}

.snd-primary-action,
.snd-secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 25px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .34);
  font-size: .94rem;
  font-weight: 900;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.snd-primary-action {
  color: var(--snd-deep) !important;
  background: #fff;
  border-color: #fff;
  box-shadow: 7px 7px 0 var(--snd-green);
}

.snd-secondary-action { background: rgba(1, 51, 58, .54); backdrop-filter: blur(8px); }
.snd-primary-action:hover,
.snd-secondary-action:hover { transform: translateY(-3px); }
.snd-secondary-action:hover { background: var(--snd-green); border-color: var(--snd-green); }

.snd-values {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.snd-values span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 800;
}

.snd-values span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 4px;
  background: var(--snd-bright-green);
  transform: rotate(45deg);
}

.snd-official-lockup {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 54px;
  width: min(430px, 36vw);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
  animation: sndRise .9s .42s cubic-bezier(.2, .7, .1, 1) both;
}

.snd-official-lockup img {
  width: 100%;
  aspect-ratio: 2090 / 600;
  display: block;
  object-fit: cover;
}

.snd-color-thread {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
}

.snd-color-thread i:nth-child(1) { background: var(--snd-blue); }
.snd-color-thread i:nth-child(2) { background: var(--snd-magenta); }
.snd-color-thread i:nth-child(3) { background: var(--snd-bright-green); }
.snd-color-thread i:nth-child(4) { background: var(--snd-green); }
.snd-color-thread i:nth-child(5) { background: var(--snd-violet); }
.snd-color-thread i:nth-child(6) { background: var(--snd-gold); }
.snd-color-thread i:nth-child(7) { background: var(--snd-olive); }

.snd-scroll-cue {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
  font-weight: 800;
  transform: translateX(50%);
}

.snd-scroll-cue span {
  width: 19px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 20px;
}

.snd-scroll-cue span::after {
  content: "";
  width: 3px;
  height: 6px;
  display: block;
  margin: 5px auto;
  border-radius: 3px;
  background: #fff;
  animation: sndScroll 1.7s ease-in-out infinite;
}

/* Values bridge */
.snd-welcome {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 66px 0;
  color: #fff;
  background: var(--snd-deep);
  border-block: 1px solid rgba(90, 186, 27, .24);
}

.snd-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: url("../images/national-day/woven-elements.webp");
  background-size: 950px auto;
  background-position: left center;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
}

.snd-welcome::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--snd-green) 0 8px, transparent 8px 13px);
}

.snd-welcome-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.snd-welcome-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline-end: 20px;
}

.snd-welcome-intro span {
  color: #8ed570;
  font-size: .82rem;
  font-weight: 900;
}

.snd-welcome-intro h2 {
  margin: 11px 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
}

.snd-value-card {
  position: relative;
  min-height: 205px;
  padding: 27px 22px 23px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
}

.snd-value-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 5px;
  background: var(--snd-bright-green);
}

.snd-value-card:nth-child(3)::after { background: var(--snd-magenta); }
.snd-value-card:nth-child(4)::after { background: var(--snd-blue); }
.snd-value-card > b {
  position: absolute;
  top: 15px;
  left: 16px;
  color: rgba(255, 255, 255, .16);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 2.5rem;
}
.snd-value-card i { color: #8ed570; font-size: 1.22rem; }
.snd-value-card h3 { margin: 17px 0 8px; color: #fff; font-size: 1.04rem; font-weight: 900; }
.snd-value-card p { margin: 0; color: rgba(255, 255, 255, .70); font-size: .83rem; line-height: 1.8; }

/* Bring the rest of the production theme into the campaign system. */
.hours-banner-vip {
  margin-top: 28px;
  border-radius: 2px;
  border: 1px solid rgba(1, 51, 58, .13);
  box-shadow: 7px 7px 0 rgba(1, 137, 75, .10);
}

.hours-icon { border-radius: 2px; background: rgba(1, 137, 75, .09); color: var(--snd-green); }
.vip-section,
.home-offers-wrapper,
.magic-reviews-section { padding-block: 92px; }

.section-kicker { color: var(--snd-green); }
.section-kicker::before {
  width: 35px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--snd-green) 0 5px, transparent 5px 8px);
}

.vip-heading { font-weight: 900; letter-spacing: -.035em; }
.vip-heading span,
.sd-archive-hero .vip-heading span {
  color: var(--snd-green);
  background-image: linear-gradient(to top, rgba(90, 186, 27, .22) 0, rgba(90, 186, 27, .22) 27%, transparent 27%);
}

.service-card-vip,
.home-offer-card,
.post-card,
.review-card,
.doctor-card,
.strict-img-box,
.sd-cta-card,
.map-card,
.sd-empty,
.sd-article {
  border-radius: 3px;
  border-color: rgba(1, 51, 58, .13);
}

.service-card-vip,
.post-card,
.review-card,
.doctor-card { box-shadow: 8px 8px 0 rgba(1, 51, 58, .055); }

.service-card-vip:hover,
.post-card:hover,
.doctor-card:hover {
  border-color: rgba(1, 137, 75, .45);
  box-shadow: 12px 12px 0 rgba(1, 137, 75, .11);
}

.home-offers-wrapper {
  background:
    linear-gradient(rgba(255, 253, 248, .96), rgba(255, 253, 248, .96)),
    url("../images/national-day/textile-ribbon.webp") center / cover;
}

[data-theme="dark"] .home-offers-wrapper {
  background: linear-gradient(rgba(10, 43, 48, .94), rgba(10, 43, 48, .94)), url("../images/national-day/textile-ribbon.webp") center / cover;
}

.home-offer-card { box-shadow: 8px 8px 0 rgba(1, 137, 75, .14); }
.home-offer-badge { border-radius: 0; color: var(--snd-deep); }

.installment-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--snd-deep);
}

.installment-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background: url("../images/national-day/office-backdrop.webp") center / cover;
  mix-blend-mode: screen;
}

.installment-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--snd-deep) 20%, rgba(1, 51, 58, .76), var(--snd-deep));
}

.partner-chip { border-radius: 2px; }

.sd-final-cta {
  position: relative;
  background:
    linear-gradient(90deg, rgba(1, 51, 58, .94), rgba(1, 51, 58, .68)),
    url("../images/national-day/identity-fabric.webp") center / cover;
}

.sd-final-cta .sd-cta-card {
  color: #fff;
  background: rgba(1, 51, 58, .62);
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(11px);
}

.sd-final-cta .vip-heading { color: #fff; }
.sd-final-cta .sd-cta-card p { color: rgba(255, 255, 255, .75); }
.sd-final-cta .btn-solid-vip { color: var(--snd-deep) !important; background: #fff; border-color: #fff; }

.sd-conversion-card,
.footer-vip { background-color: var(--snd-deep); }
.sd-conversion-card { border-radius: 3px; box-shadow: 10px 10px 0 rgba(90, 186, 27, .16); }
.sd-conversion-title span { color: #a5df73; }
.footer-vip { color: rgba(255, 255, 255, .64); border-top-color: rgba(255, 255, 255, .12); }
.footer-vip .footer-title,
.footer-vip .sd-hours-copy strong { color: #fff; }
.footer-vip .footer-nav a,
.footer-vip .footer-contact li,
.footer-vip .sd-hours-item,
.footer-vip .sd-footer-about { color: rgba(255, 255, 255, .64); }
.footer-vip .sd-trust-chip,
.footer-vip .footer-contact i,
.footer-vip .sd-hours-icon {
  color: #dff4d1;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .13);
}
.footer-vip .footer-bottom { border-top-color: rgba(255, 255, 255, .12); }

@keyframes sndHeroReveal {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes sndScroll {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 1100px) {
  .snd-hero { min-height: 690px; }
  .snd-hero-copy { width: min(610px, 65%); }
  .snd-official-lockup { width: min(360px, 34vw); }
  .snd-welcome-grid { grid-template-columns: repeat(3, 1fr); }
  .snd-welcome-intro { grid-column: 1 / -1; padding: 0 0 14px; }
  .snd-welcome-intro h2 { max-width: 620px; }
}

@media (max-width: 780px) {
  .snd-hero {
    min-height: 760px;
    text-align: center;
  }
  .snd-hero-media img { object-position: 45% center; }
  .snd-hero-overlay {
    background: linear-gradient(0deg, rgba(1, 31, 35, .99) 0%, rgba(1, 51, 58, .88) 47%, rgba(1, 51, 58, .22) 100%);
  }
  .snd-hero-layout { align-items: flex-end; justify-content: center; padding-block: 240px 118px; }
  .snd-hero-copy { width: 100%; padding: 0; }
  .snd-edition { margin-inline: auto; }
  .snd-hero h1 { margin-inline: auto; font-size: clamp(2.55rem, 11vw, 4rem); }
  .snd-hero h1::after { margin-inline: auto; }
  .snd-hero-lead { margin-inline: auto; }
  .snd-hero-actions,
  .snd-values { justify-content: center; }
  .snd-official-lockup {
    top: 22px;
    right: 50%;
    bottom: auto;
    left: auto;
    width: min(410px, calc(100% - 44px));
    transform: translateX(50%);
    animation: none;
  }
  .snd-scroll-cue { display: none; }
  .snd-welcome-grid { grid-template-columns: 1fr; }
  .snd-welcome-intro { grid-column: auto; text-align: center; }
  .snd-value-card { min-height: 175px; }
}

@media (max-width: 520px) {
  .snd-hero { min-height: 780px; }
  .snd-hero-layout { padding-block: 225px 60px; }
  .snd-hero h1 { font-size: 2.55rem; }
  .snd-hero-lead { font-size: .95rem; line-height: 1.85; }
  .snd-primary-action,
  .snd-secondary-action { width: 100%; }
  .snd-values { gap: 3px; }
  .snd-welcome { padding: 52px 0; }
  .snd-color-thread { width: 5px; }
  .vip-section,
  .home-offers-wrapper,
  .magic-reviews-section { padding-block: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .snd-hero-media img,
  .snd-hero-copy,
  .snd-official-lockup,
  .snd-scroll-cue span::after { animation: none !important; }
}
