/* Shared site, page, and component rules */

:root {
  --ink: #172337;
  --ink-2: #22364d;
  --muted: #647083;
  --line: #d8e1e8;
  --pale: #d8f5fb;
  --pale-2: #eefaff;
  --blue: #3f7fd2;
  --blue-2: #5cc8ee;
  --dark: #080d15;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(12, 27, 45, .14);
  --radius: 8px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7fbfe;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.page-hero {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
  text-align: left;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 21, .92), rgba(8, 13, 21, .52) 42%, rgba(8, 13, 21, .18)),
    url("../cardeck-hero-corporate-care.png?v=20260712") right center / cover no-repeat;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  padding: 86px 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight:bold;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #d7e4ef;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.video-gallery {
  display: grid;
  gap: 18px;
}

.featured-video {
  padding: clamp(14px, 2vw, 24px);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
  color: var(--white);
}

.featured-video-frame {
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: var(--dark);
  aspect-ratio: 16 / 9;
}

.featured-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-video-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.featured-video-copy h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.featured-video-copy p {
  margin: 0;
  color: #aebdca;
  font-weight:bold;
}

.youtube-link {
  flex: 0 0 auto;
  background: var(--white);
  color: #000;
}

.video-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.video-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(12, 27, 45, .08);
}

.video-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 10px;
  align-items: flex-start;
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-thumb {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 230px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.video-thumb-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.video-thumb-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .84;
  transition: opacity .2s ease, transform .2s ease;
}

.video-thumb-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 0, 0, .92) 0 24px, transparent 25px);
}

.video-thumb-image::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--white);
  transform: translate(-38%, -50%);
}

.video-thumb-title {
  display: block;
  margin-top: 12px;
  font-weight:bold;
  line-height: 1.35;
}

.video-thumb:hover img,
.video-thumb:focus-visible img,
.video-thumb.active img {
  opacity: 1;
  transform: scale(1.03);
}

.video-thumb.active .video-thumb-image {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.photo-gallery {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-thumb {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--dark);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(12, 27, 45, .1);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .24s ease, opacity .24s ease;
}

.gallery-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 13, 21, .82));
  color: var(--white);
  font-size: 13px;
  font-weight:bold;
  text-align: left;
  text-transform: uppercase;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.04);
  opacity: .88;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 13, 21, .88);
}

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  width: min(1100px, 100%);
  color: var(--white);
}

.lightbox-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.lightbox-title {
  margin: 0;
  font-weight:bold;
  text-transform: uppercase;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.topbar.menu-open .menu-btn span:nth-child(1) {
  transform: rotate(45deg);
}

.topbar.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-btn span:nth-child(3) {
  transform: rotate(-45deg);
}

main {
  background: #f7fbfe;
}

.contact-hero {
  padding: clamp(72px, 9vw, 128px) 0;
  background: linear-gradient(120deg, rgba(8, 13, 21, .92), rgba(63, 127, 210, .82)),
    url("../about-us.webp") center / cover no-repeat;
  color: var(--white);
  text-align: left;
}

.contact-hero-grid {
  max-width: 880px;
}

.contact-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #d7e4ef;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

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

.hero-actions .btn.secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
}

.contact-info {
  background: var(--white);
}

.section-head h2 {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-head p {
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.info-card i {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--pale);
  color: var(--blue);
  font-size: 24px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.info-card a {
  color: var(--ink);
  font-weight:bold;
}

.map-head {
  padding: 72px 20px 34px;
  text-align: center;
}

.map-head h2 {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.map-head p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 13, 21, .9);
  background: linear-gradient(120deg, rgba(8, 13, 21, .95) 0%, rgba(63, 127, 210, .95) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: box-shadow .28s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: min-height .32s ease;
  padding-left: 2%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand img {
  width: clamp(10rem, 30vw, 15rem);
  height: auto;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navlinks a {
  padding: 10px 12px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 1px;
}

.navlinks a.active,
.navlinks a:hover {
  color: var(--blue-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  color: var(--ink);
  background: var(--white);
  height: 100%;
  min-height: 82px;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  border-radius: 0;
}

.icon-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  grid-area: 1 / 1;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform .28s ease, opacity .2s ease;
}

.menu-btn span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-btn span:nth-child(3) {
  transform: translateY(7px);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.35);
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-btn {
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  display: none;
}

.btn {
  border-radius: var(--radius);
  background: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  color: var(--ink);
  font-weight:bold;
  cursor: pointer;
}

.btn.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  min-height: 0;
  aspect-ratio: 16 / 6;
  display: grid;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  text-align: left;
}

.hero-slides {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform .65s ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  background-image: var(--hero-image);
  background-position: var(--hero-position, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 570px) 1fr;
  align-items: center;
  gap: 46px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
  transition: opacity .22s ease, transform .22s ease;
}

.hero-copy.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero-inner > *,
.intro-grid > *,
.service-layout > *,
.payment-grid > *,
.footer-grid > * {
  min-width: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 22px 0 0;
  color: #d7e4ef;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 245, 251, .36);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(8, 13, 21, .42);
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(92, 200, 238, .18);
  border-color: rgba(216, 245, 251, .7);
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
  transition: background .22s ease;
}

.hero-dot.active,
.hero-dot:hover,
.hero-dot:focus-visible {
  background: var(--blue-2);
}

.callout-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.callout-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(216, 245, 251, .16);
  color: #eaf9ff;
  font-weight: 700;
}

.callout-list span {
  color: var(--blue-2);
  font-weight:bold;
}

section {
  padding: 92px 0;
  text-align: center;
}

section h2 {
  color: var(--ink-2);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 36px;
  display: block;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--blue);
  font-weight:bold;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  margin: 0 0 10px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.intro-copy p,
.why-card p,
.service-detail p {
  color: var(--muted);
  line-height: 1.7;
}

#intro {
  padding: 0;
  background: var(--white);
}

.intro-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, calc(var(--max) / 2)) minmax(0, 50vw);
  align-items: stretch;
}

.intro-copy {
  grid-column: 2;
  align-self: center;
  max-width: none;
  padding: 4em 5%;
  text-align: left;
}

.intro-thumbnail {
  grid-column: 3;
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.intro-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cert-strip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.cert-strip img {
  height: auto;
  max-height: 125px;
  object-fit: contain;
}

.info-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 225, 232, .86);
}

.info-card h3 {
  color: var(--ink-2);
  margin: 0 0 8px;
  font-size: 23px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.contact-grid {
  flex-wrap: wrap;
  display: grid;
  gap: 2px;
}

.contact-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-chip b {
  margin-bottom: 0;
  display: inline;
  color: #2387b5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.contact-chip b::after {
  content: ":";
}

.contact-chip span {
  color: var(--ink);
  display: inline;
  margin-top: 0;
  font-weight:bold;
  overflow-wrap: anywhere;
}

.why {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-self: self-start;
  padding: 22px;
  overflow: hidden;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.icon {
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.icon i {
  font-size: 50px;
  line-height: 1;
  transition: font-size .24s ease;
}

.why-card h3,
.service-detail h3 {
  margin: 0;
  font-size: 25px;
  color: var(--ink-2);
}

.why-card h3 {
  transition: font-size .24s ease;
}

.why-card p {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height .3s ease, margin .24s ease, opacity .24s ease, transform .24s ease;
}

.why-card:hover,
.why-card:focus {
  border-color: rgba(63, 127, 210, .36);
  box-shadow: 0 18px 54px rgba(12, 27, 45, .12);
  transform: translateY(-3px);
}

.why-card:hover h3,
.why-card:focus h3 {
  font-size: 20px;
}

.why-card:hover .icon i,
.why-card:focus .icon i {
  font-size: 40px;
}

.why-card:hover p,
.why-card:focus p {
  max-height: 130px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: clamp(18px, 3vw, 38px);
  align-items: stretch;
}

.service-tabs {
  align-content: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tab {
  min-height: clamp(118px, 11vw, 170px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  text-align: center;
  font-weight:bold;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.service-tab-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 48px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.service-tab.active,
.service-tab:hover,
.service-tab:focus-visible {
  background: var(--pale);
  color: var(--ink);
  outline: 0;
}

.service-tab.active .service-tab-icon,
.service-tab:hover .service-tab-icon,
.service-tab:focus-visible .service-tab-icon {
  color: var(--ink-2);
  transform: scale(1.18);
}

.service-detail {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  position: relative;
}

.service-image {
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  transition: opacity .18s ease;
}

.service-copy {
  padding: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.service-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
}

.service-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
}

.promotion {
  background: #f7fbfe;
}

.promotion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.promotion-slide {
  flex: 0 0 calc((100% - 54px) / 4);
  display: block;
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline-offset: 4px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 27, 45, .1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.promotion-slide:hover,
.promotion-slide:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(12, 27, 45, .14);
  outline: 0;
}

.promotion-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-youtube {
  background: var(--white);
}

.home-video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: left;
}

.home-video-main {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.home-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #05080d;
}

.home-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-video-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.home-video-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.home-video-arrow:hover,
.home-video-arrow:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.home-video-track {
  --home-video-gap: 12px;
  --home-video-columns: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - ((var(--home-video-columns) - 1) * var(--home-video-gap))) / var(--home-video-columns));
  gap: var(--home-video-gap);
  overflow: hidden;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.home-video-track::-webkit-scrollbar {
  display: none;
}

.home-video-thumb {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
}

.home-video-thumb.active,
.home-video-thumb:hover,
.home-video-thumb:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(63, 127, 210, .12);
  outline: 0;
}

.home-video-thumb img {
  width: 92px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--dark);
}

.home-video-thumb span {
  color: var(--ink);
  font-size: 12px;
  font-weight:bold;
  line-height: 1.35;
}

.trusted-companies {
  background: #f7fbfe;
}

.trusted-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.trusted-arrow {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(12, 27, 45, .08);
}

.trusted-arrow:hover,
.trusted-arrow:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  outline: 0;
}

.trusted-track {
  --trusted-gap: 16px;
  --trusted-columns: 5;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - ((var(--trusted-columns) - 1) * var(--trusted-gap))) / var(--trusted-columns));
  gap: var(--trusted-gap);
  overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.trusted-track::-webkit-scrollbar {
  display: none;
}

.trusted-logo {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(12, 27, 45, .08);
  scroll-snap-align: start;
}

.trusted-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.payment {
  background: linear-gradient(180deg, rgba(216, 245, 251, .66), rgba(247, 251, 254, 1));
}

.bank-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  --bank-columns: 5;
  justify-content: center;
}

.bank {
  flex: 0 0 calc((100% - (var(--bank-columns) - 1) * 16px) / var(--bank-columns));
  min-height: 104px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(12, 27, 45, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bank:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(63, 127, 210, .16);
}

.bank-logo {
  display: block;
  width: auto;
  height: 50px;
  object-fit: contain;
}

.map-section {
  padding: 0;
  background: var(--white);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  border: 0;
  filter: saturate(.92) contrast(.96);
}

.footer {
  padding: 48px 0;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 0.4fr 0.6fr;
  gap: 28px;
  align-items: start;
}

.footer p,
.footer span,
.footer a {
  color: #bed0dd;
  line-height: 1.7;
}

.footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-links,
.footer-social,
.footer-info {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.footer-info > p {
  margin: 0;
  margin-top: 0;
  max-width: 680px;
}

.footer .contact-chip {
  background: transparent;
  border-color: transparent;
}

.footer .contact-chip b {
  color: var(--blue-2);
}

.footer .contact-chip span {
  color: var(--white);
  overflow-wrap: anywhere;
  font-weight: normal;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.footer-menu {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.footer-menu a {
  font-weight:bold;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-size: 13px;
    font-weight: bold;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(92, 200, 238, .65);
  color: var(--white);
  background: rgba(92, 200, 238, .16);
}

.floating-actions {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 80;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.floating-action {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(8, 13, 21, .22);
  cursor: pointer;
  pointer-events: auto;
  transition: transform .22s ease, opacity .22s ease, visibility .22s ease, box-shadow .22s ease;
}

.floating-action i {
  font-size: 24px;
  line-height: 1;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(8, 13, 21, .28);
  outline: 0;
}

.floating-action-whatsapp {
  background: #25d366;
}

.floating-action-call {
  display: none;
  background: var(--blue);
}

.floating-action-top {
  background: var(--dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.floating-action-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.consent-banner {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  right: 112px;
  bottom: clamp(18px, 3vw, 30px);
  z-index: 82;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  max-width: 860px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  color: var(--dark);
  box-shadow: 0 18px 54px rgba(8, 13, 21, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.consent-copy {
  display: grid;
  gap: 4px;
}

.consent-copy strong {
  font-size: 13px;
  line-height: 1.2;
}

.consent-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.consent-actions .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  white-space: nowrap;
}

.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8ea5b8;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.copyright a {
  color: inherit;
  font-weight:bold;
  text-decoration: none;
}

.copyright a:hover,
.copyright a:focus-visible {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

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

.hero-copy.reveal.visible.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .hero-slides,
  .hero-copy,
  .promotion-slide {
    transition: none;
  }
}

/* Tablet and small desktop */

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

  .video-thumb {
    flex-basis: calc((100% - 14px) / 2);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 2em 3%;
  }

  .topbar.menu-open {
    box-shadow: 0 24px 70px rgba(8, 13, 21, .28);
  }

  .nav {
    flex-wrap: wrap;
    align-content: flex-start;
  }

  .brand {
    order: 1;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .navlinks {
    order: 3;
    width: 100%;
    max-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height .36s ease, opacity .24s ease, padding .32s ease, transform .32s ease;
  }

  .navlinks.open {
    max-height: 290px;
    opacity: 1;
    padding: 1em 0 0;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navlinks a {
    width: 100%;
    padding: 14px 4px;
    color: rgba(255, 255, 255, .9);
    border-top: 1px solid rgba(255, 255, 255, .16);
    transform: translateY(-4px);
    opacity: 0;
    transition: color .2s ease, opacity .25s ease, transform .25s ease;
  }

  .navlinks.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .navlinks.open a:nth-child(2) {
    transition-delay: .03s;
  }

  .navlinks.open a:nth-child(3) {
    transition-delay: .06s;
  }

  .navlinks.open a:nth-child(4) {
    transition-delay: .09s;
  }

  .navlinks.open a:nth-child(5) {
    transition-delay: .12s;
  }

  .navlinks.open a:nth-child(6) {
    transition-delay: .15s;
  }

  .menu-btn {
    display: inline-grid;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    aspect-ratio: 16 / 9;
  }

  .hero-inner,
  .payment-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-video-main {
    grid-template-columns: 1fr;
  }

  .home-video-track {
    --home-video-columns: 2;
  }

  .trusted-track {
    --trusted-columns: 3;
  }

  .promotion-slide {
    flex-basis: calc((100% - 18px) / 2);
  }

  .service-layout {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  }

  .bank-grid {
    --bank-columns: 3;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    grid-column: auto;
    margin: 0 auto;
  }

  .intro-thumbnail {
    grid-column: auto;
    min-height: 360px;
    aspect-ratio: 16 / 9;
  }

  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 3;
  }

  .service-detail {
    grid-row: auto;
    min-height: 0;
    order: 1;
  }

  .footer-links,
  .footer-social,
  .footer-info {
    padding-left: 0;
    border-left: 0;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet narrow */

@media (max-width: 768px) {
  .service-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .page-hero {
    min-height: 330px;
  }

  .section-head p {
    margin-top: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .featured-video-copy {
    display: block;
  }

  .youtube-link {
    margin-top: 16px;
  }

  .video-slider {
    grid-template-columns: 1fr;
  }

  .promotion-slide {
    flex-basis: 100%;
  }

  .video-arrow {
    display: none;
  }

  .video-thumb {
    flex-basis: 82%;
    min-width: 220px;
  }

  .gallery-thumb span {
    padding: 10px;
    font-size: 11px;
  }

  .footer-links,
  .footer-social,
  .footer-info {
    padding-left: 0;
    border-left: 0;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
    gap: 8px;
  }

  .floating-action {
    width: 48px;
    height: 48px;
  }

  .floating-action i {
    font-size: 21px;
  }

  .floating-action-call {
    display: grid;
  }

  .consent-banner {
    left: 14px;
    right: 14px;
    bottom: 78px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions .btn {
    flex: 1;
  }

  .contact-hero {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .shell,
  .hero-inner {
    width: min(100% - 28px, var(--max));
  }

  section {
    padding: 68px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .bank-grid {
    --bank-columns: 2;
  }

  .hero-slides {
    filter: brightness(0.5);
  }

  .hero-inner {
    width: calc(100vw - 28px);
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .hero-slide {
    background-position: right center;
  }

  .hero-controls {
    bottom: 28px;
    gap: 10px;
    left: calc(75% - 218px);
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-dot {
    width: 34px;
  }

  .hero-inner > .reveal {
    width: min(100%, 342px);
    max-width: 342px;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.04;
  }

  .hero p {
    display: none;
  }

  .intro-copy {
    width: calc(100vw - 28px);
  }

  .intro-thumbnail {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tab {
    min-height: 116px;
    padding: 14px 10px;
    font-size: 13px;
  }

  .service-tab-icon {
    width: 54px;
    height: 40px;
    font-size: 28px;
  }

  .home-video-slider {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
    padding: 12px;
  }

  .home-video-arrow {
    width: 38px;
    height: 38px;
  }

  .trusted-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .trusted-arrow {
    width: 38px;
    height: 38px;
  }

  .trusted-track {
    --trusted-gap: 10px;
    --trusted-columns: 2;
  }

  .trusted-logo {
    min-height: 94px;
    padding: 14px;
  }

  .trusted-logo img {
    max-height: 48px;
  }

  .home-video-track {
    --home-video-columns: 1;
  }

  .home-video-thumb {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .home-video-thumb img {
    width: 78px;
    height: 50px;
  }

  .callout-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section-head {
    display: block;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .cert-strip img {
    height: auto;
  }
}
