:root {
  --blue: #0864ee;
  --blue-strong: #0053dd;
  --blue-deep: #073493;
  --navy: #07153d;
  --ink: #0a173c;
  --text: #34415f;
  --muted: #68738c;
  --line: #dce5f2;
  --soft-blue: #edf5ff;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(23, 55, 112, 0.1);
  --container: 1180px;
  --radius: 12px;
}

/* Detalle público de servicios */
.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 86px;
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 151, 255, .16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

.service-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 104, 238, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 104, 238, .08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.service-detail-hero .container { position: relative; z-index: 1; }
.service-detail-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(38px, 7vw, 90px); align-items: center; padding-top: 40px; }
.service-detail-hero-copy h1 { max-width: 680px; margin: 14px 0 20px; color: var(--navy); font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .94; letter-spacing: -.055em; }
.service-detail-hero-copy > p:not(.eyebrow) { max-width: 650px; color: #4d5f7e; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.7; }

.service-detail-visual {
  position: relative;
  min-height: 0;
  display: block;
}

.service-product-gallery { width: 100%; display: grid; gap: 13px; }
.service-product-main { position: relative; }
.service-detail-cover-button {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 9px solid #fff;
  border-radius: 28px;
  background: #dceaff;
  cursor: zoom-in;
  box-shadow: 0 32px 80px rgba(24, 60, 121, .2);
}
.service-detail-cover {
  width: 100%;
  height: 440px;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-detail-cover-button:hover .service-detail-cover { transform: scale(1.025); }
.service-detail-cover-button > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 99px;
  color: #fff;
  background: rgba(4, 20, 57, .74);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-style: normal;
  font-weight: 800;
}
.service-detail-cover-button > span em { font-style: normal; }
.service-detail-cover-button > i {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 99px;
  color: #fff;
  background: rgba(4, 20, 57, .72);
  backdrop-filter: blur(10px);
  font-size: .68rem;
  font-style: normal;
  font-weight: 850;
}
.service-gallery-autoplay {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 99px;
  color: #fff;
  background: rgba(4, 20, 57, .78);
  backdrop-filter: blur(10px);
  font: inherit;
  font-size: .68rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(2,15,45,.16);
  transition: background .2s ease, transform .2s ease;
}
.service-gallery-autoplay:hover { background: rgba(8,100,238,.9); transform: translateY(-1px); }
.service-gallery-autoplay b { min-width: 12px; font-size: .66rem; letter-spacing: -.15em; text-align: center; }
.service-gallery-progress {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 7px;
  left: 18px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.32);
  pointer-events: none;
}
.service-gallery-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: #fff; }
.service-gallery-progress i.is-running { animation: service-gallery-autoplay-progress var(--gallery-autoplay-duration, 5s) linear forwards; }
@keyframes service-gallery-autoplay-progress { from { width: 0; } to { width: 100%; } }

.service-detail-thumbnails {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding: 3px 2px 7px;
  scrollbar-width: thin;
  scrollbar-color: #a9c7ee transparent;
}
.service-detail-thumbnail {
  position: relative;
  flex: 0 0 88px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(16, 48, 99, .1);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-detail-thumbnail:hover { transform: translateY(-2px); }
.service-detail-thumbnail.is-active {
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(8,100,238,.24);
}
.service-detail-thumbnail img { width: 100%; height: 100%; display: block; border-radius: 8px; object-fit: cover; }
.service-detail-thumbnail span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-width: 24px;
  padding: 4px 5px;
  border-radius: 7px;
  color: #fff;
  background: rgba(2,15,45,.76);
  font-size: .57rem;
  font-weight: 900;
}

.service-detail-placeholder {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #cfe0f7;
  border-radius: 32px;
  background:
    radial-gradient(circle, rgba(39, 132, 255, .18), transparent 42%),
    linear-gradient(135deg, #fff, #dfeeff);
  box-shadow: 0 32px 80px rgba(24, 60, 121, .16);
}
.service-detail-placeholder > img { width: 150px; }
.service-detail-placeholder > span { position: absolute; right: 9%; bottom: 8%; color: rgba(5, 81, 202, .15); font-size: 7rem; font-weight: 900; }
.service-detail-icon {
  position: absolute;
  left: -22px;
  top: 22px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 8px solid #fff;
  border-radius: 24px;
  background: #0867f2;
  box-shadow: 0 18px 38px rgba(8,103,242,.28);
}
.service-detail-icon img { width: 58px; max-height: 58px; object-fit: contain; }

.service-detail-body { padding: 82px 0; }
.service-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 7vw, 88px); align-items: start; }
.service-detail-content { color: #344461; font-size: 1.04rem; line-height: 1.82; }
.service-detail-content h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.04em; }
.service-detail-content h2:not(:first-child) { margin-top: 48px; }
.service-detail-content h3 { margin: 34px 0 10px; color: var(--navy); font-size: 1.4rem; }
.service-detail-content p { margin: 0 0 20px; }
.service-detail-content ul,
.service-detail-content ol { display: grid; gap: 10px; padding-left: 24px; }
.service-detail-content blockquote { margin: 30px 0; padding: 22px 24px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; color: #18325e; background: #eef6ff; font-weight: 650; }
.service-detail-content a { color: var(--blue); text-decoration: underline; }

.service-detail-sidebar {
  position: sticky;
  top: 105px;
  padding: 30px;
  border: 1px solid #d9e5f5;
  border-radius: 23px;
  background: linear-gradient(145deg, #fff, #f4f8ff);
  box-shadow: 0 20px 50px rgba(25, 56, 111, .09);
}
.service-detail-sidebar h2 { margin: 8px 0 20px; color: var(--navy); font-size: 1.55rem; }
.service-detail-sidebar ul { display: grid; gap: 13px; margin: 0 0 26px; padding: 0; list-style: none; }
.service-detail-sidebar li { display: grid; grid-template-columns: 27px 1fr; gap: 9px; align-items: start; color: #3d4d69; font-size: .9rem; }
.service-detail-sidebar li span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #0867f2; background: #e4f0ff; font-weight: 900; }
.service-detail-sidebar .button { width: 100%; }

.service-showcase-section {
  padding: 88px 0 96px;
  border-top: 1px solid #e3ecf8;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 136, 255, .09), transparent 28%),
    #fff;
}
.service-showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}
.service-showcase-heading h2 {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.service-showcase-heading > p { margin: 0; color: #687693; font-size: .94rem; line-height: 1.75; }
.service-showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-showcase-card {
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 49, 99, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-showcase-card:hover { transform: translateY(-5px); box-shadow: 0 25px 55px rgba(18, 49, 99, .14); }
.service-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: #fff;
  background: #dfe9f7;
  cursor: pointer;
}
.service-showcase-media::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(3, 17, 48, .84)); }
.service-showcase-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.service-showcase-card:hover .service-showcase-media img { transform: scale(1.045); }
.service-showcase-media span {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .7rem;
  font-weight: 850;
}
.service-showcase-media b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }
.service-showcase-copy { padding: 21px 21px 23px; }
.service-showcase-copy > small { color: var(--blue); font-size: .64rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.service-showcase-copy h3 { margin: 9px 0 8px; color: var(--navy); font-size: 1.17rem; line-height: 1.2; }
.service-showcase-copy > p { min-height: 58px; margin: 0; color: #687693; font-size: .79rem; line-height: 1.6; }
.service-showcase-copy > div { display: flex; flex-wrap: wrap; gap: 9px 15px; margin-top: 17px; }
.service-showcase-copy button,
.service-showcase-copy a { padding: 0; border: 0; color: var(--blue); background: transparent; font: inherit; font-size: .72rem; font-weight: 850; cursor: pointer; text-decoration: none; }
.service-showcase-copy a { color: #51617d; }

.service-showcase-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(2, 10, 31, .9);
  backdrop-filter: blur(16px);
}
.service-showcase-modal[hidden] { display: none; }
.service-showcase-modal-panel {
  width: min(1040px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 38px 100px rgba(0,0,0,.48);
}
.service-showcase-modal-close {
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 2rem;
  cursor: pointer;
}
.service-showcase-modal-detail { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 550px; }
.service-showcase-modal-detail > img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; }
.service-showcase-modal-detail > div { align-self: center; padding: clamp(30px, 5vw, 64px); }
.service-showcase-modal-detail h3 { margin: 10px 0 18px; color: var(--navy); font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.02; letter-spacing: -.04em; }
.service-showcase-modal-detail > div > p:not(.section-kicker) { margin: 0 0 28px; color: #53627c; font-size: .94rem; line-height: 1.78; }

.service-detail-gallery { padding: 78px 0 90px; background: linear-gradient(180deg, #f5f9ff, #eaf3ff); }
.service-gallery-showcase { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 17px; }
.service-gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  min-height: 255px;
  padding: 0;
  border: 7px solid #fff;
  border-radius: 22px;
  background: #dfe9f7;
  cursor: zoom-in;
  box-shadow: 0 18px 42px rgba(24, 52, 101, .13);
  isolation: isolate;
}
.service-gallery-card.is-featured { grid-column: span 8; grid-row: span 2; min-height: 527px; }
.service-gallery-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.service-gallery-card::after { content: ""; position: absolute; z-index: 1; inset: 45% 0 0; background: linear-gradient(transparent, rgba(2, 15, 46, .86)); }
.service-gallery-card:hover img { transform: scale(1.045); }
.service-gallery-card > span {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 15px;
  left: 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: #fff;
  text-align: left;
}
.service-gallery-card > span b { font-size: .72rem; letter-spacing: .08em; }
.service-gallery-card > span em { font-size: .69rem; font-style: normal; font-weight: 750; opacity: .9; }
.service-gallery-card > span i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-style: normal; }

.service-lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 62px 100px 42px;
  background: rgba(1, 8, 26, .94);
  backdrop-filter: blur(18px);
}
.service-lightbox[hidden] { display: none; }
.service-lightbox figure { max-width: min(1280px, 86vw); max-height: 88vh; display: grid; gap: 12px; margin: 0; }
.service-lightbox figure img { max-width: 100%; max-height: 78vh; justify-self: center; border: 7px solid rgba(255,255,255,.12); border-radius: 20px; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.service-lightbox figcaption { display: flex; justify-content: space-between; gap: 18px; color: #dce8ff; font-size: .75rem; }
.service-lightbox figcaption b { color: #72b2ff; white-space: nowrap; }
.service-lightbox-close,
.service-lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.service-lightbox-close:hover,
.service-lightbox-nav:hover { background: rgba(20,112,255,.72); transform: scale(1.05); }
.service-lightbox-close { top: 20px; right: 24px; font-size: 2rem; }
.service-lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
.service-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.service-lightbox-nav.is-previous { left: 28px; }
.service-lightbox-nav.is-next { right: 28px; }

.service-related { padding: 82px 0 96px; }
.service-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-related-grid article { padding: 27px; border: 1px solid #dce6f3; border-radius: 19px; background: #fff; box-shadow: 0 12px 30px rgba(20, 49, 98, .06); }
.service-related-grid article > img { width: 58px; height: 58px; object-fit: contain; }
.service-related-grid h3 { margin: 17px 0 8px; color: var(--navy); font-size: 1.18rem; }
.service-related-grid p { color: #687693; font-size: .84rem; }
.service-related-grid a { color: var(--blue); font-size: .78rem; font-weight: 850; }

@media (max-width: 900px) {
  .service-detail-hero-grid,
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-detail-hero-copy { text-align: center; }
  .service-detail-hero-copy > p { margin-inline: auto; }
  .service-detail-hero-copy .hero-actions { justify-content: center; }
  .service-detail-visual { min-height: 0; }
  .service-detail-cover { height: 390px; }
  .service-detail-icon { left: 15px; }
  .service-detail-sidebar { position: static; }
  .service-showcase-heading { grid-template-columns: 1fr; gap: 16px; }
  .service-showcase-grid { grid-template-columns: 1fr 1fr; }
  .service-showcase-modal-detail { grid-template-columns: 1fr; }
  .service-showcase-modal-detail > img { height: 360px; min-height: 0; }
  .service-related-grid { grid-template-columns: 1fr 1fr; }
  .service-gallery-card,
  .service-gallery-card.is-featured { grid-column: span 6; grid-row: auto; min-height: 330px; }
}

@media (max-width: 640px) {
  .service-detail-hero { padding-bottom: 58px; }
  .service-detail-hero-grid { padding-top: 24px; }
  .service-detail-hero-copy h1 { font-size: 2.6rem; }
  .service-detail-visual { min-height: 290px; }
  .service-detail-cover-button { border-width: 6px; border-radius: 22px; }
  .service-detail-cover { height: 300px; }
  .service-detail-cover-button > span { right: 12px; bottom: 12px; padding: 8px 10px; }
  .service-detail-cover-button > i { top: 11px; right: 11px; }
  .service-gallery-autoplay { left: 12px; bottom: 12px; min-height: 35px; padding: 7px 10px; }
  .service-gallery-progress { right: 12px; bottom: 5px; left: 12px; }
  .service-detail-thumbnail { flex-basis: 72px; border-radius: 11px; }
  .service-detail-placeholder { border-radius: 22px; }
  .service-detail-icon { width: 76px; height: 76px; border-width: 6px; border-radius: 19px; }
  .service-detail-icon img { width: 44px; max-height: 44px; }
  .service-detail-body { padding: 58px 0; }
  .service-showcase-section { padding: 62px 0 68px; }
  .service-showcase-grid { grid-template-columns: 1fr; }
  .service-showcase-copy > p { min-height: auto; }
  .service-showcase-modal { align-items: end; padding: 60px 10px 10px; }
  .service-showcase-modal-panel { width: 100%; max-height: 88vh; border-radius: 22px; }
  .service-showcase-modal-detail > img { height: 240px; }
  .service-showcase-modal-detail > div { padding: 27px 22px 32px; }
  .service-showcase-modal-close { top: 12px; right: 14px; width: 42px; height: 42px; }
  .service-gallery-showcase { grid-template-columns: 1fr; }
  .service-gallery-card,
  .service-gallery-card.is-featured { grid-column: 1; grid-row: auto; min-height: 260px; }
  .service-lightbox { padding: 70px 16px 24px; }
  .service-lightbox figure { max-width: 100%; }
  .service-lightbox figure img { max-height: 72vh; border-width: 4px; border-radius: 14px; }
  .service-lightbox-nav { top: auto; bottom: 18px; width: 42px; height: 42px; transform: none; }
  .service-lightbox-nav:hover { transform: scale(1.05); }
  .service-lightbox-nav.is-previous { left: 18px; }
  .service-lightbox-nav.is-next { right: 18px; }
  .service-lightbox figcaption { padding: 0 52px; }
  .service-related-grid { grid-template-columns: 1fr; }
}

/* PHP, formularios, artículos y administración */
.contact-form-section {
  padding: 72px 0;
  background: linear-gradient(135deg, #061e58 0%, #0755e8 100%);
}

.contact-form-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: center;
  color: #fff;
}

.contact-form-copy h2 {
  margin: 10px 0 16px;
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.contact-form-copy > p { max-width: 540px; color: #cfe0ff; }
.contact-direct { display: grid; gap: 10px; margin-top: 28px; }
.contact-direct a { color: #fff; font-weight: 750; }

.contact-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 26px;
  color: #07163e;
  background: rgba(255,255,255,.98);
  box-shadow: 0 26px 70px rgba(0,17,72,.26);
}

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

.contact-form label,
.admin-form label {
  display: grid;
  gap: 8px;
  font-size: .82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid #cfdaee;
  border-radius: 12px;
  padding: 13px 14px;
  color: #08183f;
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(0,94,255,.13);
  border-color: #075ff2;
}

.contact-form textarea,
.admin-form textarea { resize: vertical; }
.contact-form small { color: #60708d; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-flash {
  margin: 0 0 16px;
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 750;
}
.site-flash.success { color: #075b31; background: #dff8ea; border: 1px solid #9ee3bc; }
.site-flash.error { color: #971b2d; background: #fff0f2; border: 1px solid #ffc5cf; }

.article-hero { padding: 68px 0 80px; color: #fff; background-color: #082969; }
.article-hero-inner { max-width: 920px; }
.article-hero .breadcrumbs, .article-hero .breadcrumbs a { color: #d7e7ff; }
.article-hero h1 { margin: 12px 0 18px; max-width: 900px; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: .98; }
.article-hero-inner > p:not(.post-category) { max-width: 760px; color: #d7e7ff; font-size: 1.15rem; }
.article-hero .post-meta { margin-top: 26px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 72px; padding-bottom: 90px; }
.article-content { font-size: 1.07rem; line-height: 1.8; color: #27395f; }
.article-content h2 { margin: 38px 0 10px; color: #07163e; font-size: 1.8rem; }
.article-content h3 { margin-top: 28px; color: #07163e; }
.article-content a { color: #065cf0; text-decoration: underline; }
.article-cta { align-self: start; position: sticky; top: 100px; padding: 28px; border: 1px solid #d8e3f5; border-radius: 22px; background: #f5f9ff; }
.article-cta h2 { margin: 10px 0; font-size: 1.6rem; }
.not-found { min-height: 65vh; display: grid; align-items: center; padding: 80px 0; text-align: center; }
.not-found p { max-width: 560px; margin-inline: auto; }

.admin-body { min-height: 100vh; margin: 0; color: #0a183d; background: #f1f5fb; }
.admin-login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 10% 10%, #1d73ff 0, transparent 34%), #061842; }
.admin-login-card { width: min(100%, 480px); padding: 38px; border-radius: 26px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.admin-login-card h1 { margin: 12px 0 8px; font-size: 2.2rem; }
.admin-login-card .brand { margin-bottom: 34px; }
.admin-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 10px clamp(18px, 4vw, 56px); color: #fff; background: #061842; }
.admin-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.admin-header nav a { color: #d9e7ff; font-size: .9rem; font-weight: 750; }
.admin-main { width: min(1400px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 72px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-title h1 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.admin-stats article { display: grid; gap: 6px; padding: 24px; border: 1px solid #d9e3f3; border-radius: 18px; background: #fff; }
.admin-stats span, .admin-stats small { color: #657492; }
.admin-stats strong { font-size: 2.4rem; color: #075ff2; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 20px; }
.admin-panel { overflow: hidden; border: 1px solid #d9e3f3; border-radius: 20px; background: #fff; }
.admin-panel-title { padding: 22px 24px 8px; }
.admin-panel h2 { margin: 0; }
.admin-table-wrap { overflow-x: auto; }
.admin-panel table { width: 100%; border-collapse: collapse; }
.admin-panel th, .admin-panel td { padding: 15px 20px; border-bottom: 1px solid #edf1f7; text-align: left; vertical-align: top; }
.admin-panel th { color: #6b7892; background: #f8faff; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.admin-panel td small { display: block; margin-top: 5px; color: #75829a; }
.admin-status { display: inline-block; padding: 5px 9px; border-radius: 99px; color: #0751cc; background: #eaf2ff; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.admin-list { list-style: none; padding: 8px 22px 20px; margin: 0; }
.admin-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf1f7; }
.admin-list small { display: block; margin-top: 4px; color: #75829a; }
.admin-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.admin-actions a, .admin-actions button { border: 0; padding: 0; color: #075ff2; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.admin-actions button { color: #bd2540; }
.admin-editor { max-width: 1000px; }
.admin-editor-form { padding: clamp(22px, 4vw, 38px); border: 1px solid #d9e3f3; border-radius: 22px; background: #fff; }
.admin-options { display: flex; align-items: center; gap: 28px; }
.admin-options > label:first-child { width: 220px; }
.check-control { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.check-control input { width: auto; }

@media (max-width: 900px) {
  .contact-form-panel, .article-layout, .admin-grid { grid-template-columns: 1fr; }
  .article-cta { position: static; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-header, .admin-title { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-section { padding: 50px 0; }
  .admin-login-card { padding: 26px 20px; }
  .admin-main { width: min(100% - 24px, 1400px); }
  .admin-options { align-items: stretch; flex-direction: column; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

.container {
  width: min(87.3%, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 7px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 35px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: 180ms ease;
}

.button span {
  font-size: 16px;
  font-weight: 500;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.main-nav a:focus-visible,
.service-card a:focus-visible,
.popular-courses a:focus-visible,
.footer-column a:focus-visible,
.social-links a:focus-visible {
  outline: 3px solid rgba(34, 125, 255, 0.3);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0868f6, #0052df);
  border-color: #0052df;
  box-shadow: 0 6px 14px rgba(0, 86, 225, 0.18);
}

.button-primary:hover {
  background: linear-gradient(135deg, #005be4, #043eb0);
}

.button-outline {
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.9);
  border-color: #4a87f8;
}

.button-outline:hover {
  color: var(--white);
  background: var(--blue-strong);
}

.button-light {
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.button-light:hover {
  color: var(--blue-strong);
}

.button-compact {
  min-height: 34px;
  padding-inline: 17px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 82px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(218, 228, 243, 0.65);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 288px;
  color: var(--ink);
}

.brand-symbol {
  width: 55px;
  height: 53px;
  margin-right: 9px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-copy strong {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.brand-copy small {
  color: #63708b;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding-block: 11px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 1px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 99px;
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
  left: 0;
}

.button-header {
  min-width: 88px;
  min-height: 28px;
  margin-left: 36px;
  padding: 8px 15px;
  color: var(--white);
  background: linear-gradient(135deg, #0767ef, #0352d5);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(1, 85, 220, 0.2);
  font-size: 9px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px 7px;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 10px;
  transition: 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  background:
    radial-gradient(circle at 47% 96%, rgba(30, 137, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 348px;
}

.hero-copy {
  align-self: start;
  padding-top: 20px;
}

.eyebrow,
.section-kicker,
.panel-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  gap: 5px;
  padding: 5px 12px;
  background: var(--soft-blue);
  border-radius: 999px;
}

.eyebrow span {
  color: #66a2fc;
}

.hero h1 {
  max-width: 390px;
  margin: 12px 0 12px;
  color: var(--ink);
  font-size: clamp(31px, 3.7vw, 38px);
  font-weight: 900;
  letter-spacing: -1.55px;
  line-height: 1.03;
}

.hero h1 em {
  display: block;
  color: var(--blue-strong);
  font-style: normal;
}

.hero-description {
  max-width: 380px;
  margin: 0 0 17px;
  color: #4b5873;
  font-size: 11px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-actions .button {
  min-height: 35px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3f4a62;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-trust b {
  display: inline-grid;
  width: 22px;
  height: 22px;
  color: var(--blue);
  background: #f5f9ff;
  border: 1px solid #e4edfa;
  border-radius: 50%;
  font-size: 11px;
  place-items: center;
}

.hero-visual {
  position: relative;
  align-self: stretch;
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: -32px;
  width: 520px;
  max-width: none;
  filter: drop-shadow(0 17px 16px rgba(24, 79, 147, 0.12));
}

.hero-glow {
  position: absolute;
  top: 96px;
  right: -15px;
  width: 460px;
  height: 230px;
  background: radial-gradient(ellipse, rgba(31, 144, 255, 0.16), transparent 68%);
  filter: blur(4px);
}

.hero-circuit,
.circuit-section::before,
.circuit-section::after {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
}

.hero-circuit {
  z-index: 1;
  width: 235px;
  height: 180px;
  background:
    radial-gradient(circle, #82b9ff 0 1px, transparent 2px) 0 10px / 32px 32px,
    linear-gradient(90deg, transparent 0 18%, rgba(87, 157, 246, 0.2) 18% 19%, transparent 19% 100%),
    linear-gradient(0deg, transparent 0 57%, rgba(87, 157, 246, 0.18) 57% 58%, transparent 58% 100%);
}

.circuit-left {
  top: 65px;
  left: -150px;
  transform: rotate(12deg);
}

.circuit-right {
  top: 34px;
  right: -120px;
  transform: rotate(-10deg);
}

/* Shared section headings */
.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 4px 0 1px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.15;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.section-kicker {
  display: table;
  padding: 4px 10px;
  margin: 0 auto;
  background: #eef6ff;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.section-kicker.align-left {
  margin-left: 0;
}

/* Services */
.circuit-section {
  position: relative;
  overflow: hidden;
}

.circuit-section::before,
.circuit-section::after {
  z-index: 0;
  top: 80px;
  width: 150px;
  height: 190px;
  content: "";
  background:
    radial-gradient(circle, rgba(28, 119, 240, 0.3) 0 1px, transparent 2px) 15px 10px / 28px 28px,
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(24, 120, 243, 0.07) 24px 25px, transparent 25px 49px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(24, 120, 243, 0.06) 31px 32px, transparent 32px 63px);
}

.circuit-section::before {
  left: -72px;
  transform: skewY(22deg);
}

.circuit-section::after {
  right: -72px;
  transform: scaleX(-1) skewY(22deg);
}

.circuit-section > .container {
  position: relative;
  z-index: 2;
}

.services {
  min-height: 299px;
  padding: 13px 0 14px;
  background: #ffffff;
  border-top: 1px solid #f3f6fb;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 9px;
}

.service-card {
  display: flex;
  min-height: 208px;
  padding: 13px 11px 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce3ed;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(28, 54, 96, 0.06);
  transition: 180ms ease;
}

.service-card:hover {
  border-color: rgba(8, 100, 238, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  object-fit: contain;
  filter: drop-shadow(0 6px 5px rgba(0, 83, 221, 0.14));
}

.service-card h3 {
  display: flex;
  min-height: 34px;
  margin: 0 0 4px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.25px;
  line-height: 1.12;
}

.service-card p {
  margin: 0 0 5px;
  color: #414b61;
  font-size: 9px;
  line-height: 1.45;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--blue-strong);
  font-size: 9px;
  font-weight: 800;
}

.service-card a span {
  font-size: 13px;
}

/* Benefits */
.benefits {
  padding: 0;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.benefits-panel {
  display: grid;
  grid-template-columns: 31% 69%;
  min-height: 164px;
  padding: 21px 25px 17px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 40%, rgba(42, 137, 255, 0.3), transparent 23%),
    linear-gradient(112deg, #062c84 0%, #0645b9 49%, #0358d7 100%);
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(7, 66, 169, 0.16);
}

.benefits-intro {
  padding-right: 21px;
}

.panel-kicker {
  margin-bottom: 4px;
  color: #c4ddff;
  font-size: 7px;
}

.benefits-intro h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.65px;
  line-height: 1.07;
}

.benefits-intro > p:not(.panel-kicker) {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 8px;
  line-height: 1.5;
}

.benefits-intro .button {
  min-height: 26px;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 8px;
}

.benefits-intro .button span {
  font-size: 12px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit-item {
  position: relative;
  padding: 0 10px;
  text-align: center;
}

.benefit-item + .benefit-item {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.benefit-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 4px;
  overflow: hidden;
  background: rgba(5, 58, 143, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  place-items: center;
}

.benefit-icon img {
  width: 82px;
  max-width: none;
  filter: brightness(1.9);
}

.benefit-item h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
}

.benefit-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  line-height: 1.38;
}

/* Courses */
.courses {
  padding: 14px 0 12px;
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 134, 245, 0.05), transparent 40%),
    #ffffff;
}

.courses-grid {
  display: grid;
  grid-template-columns: 32% 46% 22%;
  min-height: 205px;
}

.course-photo {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  background: #0a2146;
  border-radius: 11px 0 0 11px;
}

.course-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

.floating-code {
  position: absolute;
  bottom: 13px;
  left: -8px;
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: linear-gradient(135deg, #0874ff, #0644cb);
  border-radius: 10px;
  box-shadow: 0 8px 14px rgba(0, 68, 203, 0.26);
  font-size: 21px;
  font-weight: 700;
  place-items: center;
}

.courses-copy {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.96);
}

.courses-copy h2,
.apps-copy h2 {
  margin: 5px 0 3px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.7px;
  line-height: 1.15;
}

.courses-copy > p:not(.section-kicker),
.apps-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.course-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 18px 0 15px;
}

.course-features span {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  color: #364056;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.35;
}

.course-features b {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--ink);
  background: #f6f8fc;
  border: 1px solid #d9e0eb;
  border-radius: 7px;
  font-size: 11px;
  place-items: center;
}

.popular-courses {
  padding: 12px 13px 9px;
  background: #ffffff;
  border: 1px solid #e4e9f1;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(30, 52, 90, 0.07);
}

.popular-courses h3 {
  margin: 0 0 5px;
  color: var(--blue-strong);
  font-size: 9px;
  font-weight: 800;
}

.popular-courses > a:not(.more-link) {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 33px;
  gap: 3px;
  border-radius: 6px;
  transition: background 160ms ease;
}

.popular-courses > a:not(.more-link):hover {
  background: #f4f8ff;
}

.popular-courses img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.popular-courses span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.popular-courses strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popular-courses small {
  color: var(--muted);
  font-size: 7px;
}

.popular-courses .more-link {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 4px;
  color: var(--blue);
  font-size: 7px;
  font-weight: 800;
}

/* Applications */
.applications {
  min-height: 218px;
  padding: 8px 0 10px;
  background:
    radial-gradient(circle at 25% 80%, rgba(38, 139, 255, 0.08), transparent 27%),
    #ffffff;
}

.apps-grid {
  display: grid;
  grid-template-columns: 36% 64%;
  align-items: center;
  min-height: 198px;
}

.phones-scene {
  position: relative;
  height: 196px;
}

.phones-scene > div {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  width: 106px;
  filter: drop-shadow(0 9px 7px rgba(8, 36, 87, 0.18));
  transform-origin: bottom center;
}

.phones-scene img {
  width: 100%;
}

.phone-a {
  left: 3px;
  transform: rotate(-4deg) scale(0.89);
}

.phone-b {
  left: 65px;
  transform: rotate(-1deg) scale(0.97);
}

.phone-c {
  left: 126px;
  transform: rotate(1deg) scale(1.06);
}

.phone-d {
  left: 193px;
  transform: rotate(5deg) scale(0.91);
}

.phones-shadow {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 0;
  left: 5px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(8, 70, 164, 0.2), transparent 70%);
  filter: blur(7px);
}

.apps-copy {
  padding-left: 17px;
}

.apps-copy > p:not(.section-kicker) {
  max-width: 500px;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 17px 0 13px;
}

.app-features article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 7px;
}

.round-icon {
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  background: #f3f7ff;
  border: 1px solid #9bc1ff;
  border-radius: 50%;
  place-items: center;
}

.round-icon img {
  width: 58px;
  max-width: none;
}

.app-features h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}

.app-features p {
  margin: 0;
  color: #59647a;
  font-size: 7px;
  line-height: 1.42;
}

/* Testimonials */
.testimonials {
  min-height: 206px;
  padding: 12px 0 9px;
  background:
    radial-gradient(circle at 10% 40%, rgba(26, 126, 245, 0.05), transparent 25%),
    linear-gradient(180deg, #fbfdff, #ffffff);
  border-top: 1px solid #f0f4fa;
}

.testimonials .section-heading h2 {
  font-size: 19px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.testimonial-card {
  min-height: 102px;
  padding: 10px 13px;
  background: #ffffff;
  border: 1px solid #e2e7ef;
  border-radius: 9px;
  box-shadow: 0 5px 16px rgba(27, 53, 97, 0.05);
  transition: border 160ms ease, transform 160ms ease;
}

.testimonial-card.highlight {
  border-color: #73a8fa;
  transform: translateY(-2px);
}

.testimonial-quote {
  position: relative;
  min-height: 50px;
  margin: 0;
  padding-left: 13px;
  color: #38445d;
  font-size: 7px;
  line-height: 1.55;
}

.testimonial-quote::before {
  position: absolute;
  top: -2px;
  left: 0;
  content: "“";
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.testimonial-card footer {
  display: grid;
  grid-template-columns: 23px 1fr auto;
  align-items: center;
  gap: 7px;
}

.avatar {
  display: grid;
  width: 23px;
  height: 23px;
  color: #ffffff;
  background: linear-gradient(145deg, #f0a660, #6e321c);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d8dfeb;
  font-size: 6px;
  font-weight: 800;
  place-items: center;
}

.avatar-two {
  background: linear-gradient(145deg, #7297d5, #152e5f);
}

.avatar-three {
  background: linear-gradient(145deg, #f08b71, #3a2232);
}

.testimonial-card footer > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.testimonial-card footer strong {
  color: var(--ink);
  font-size: 7px;
  font-weight: 800;
}

.testimonial-card footer small {
  color: var(--muted);
  font-size: 6px;
}

.client-logo {
  color: #204477;
  font-size: 9px;
  font-style: normal;
  letter-spacing: -0.3px;
}

.innova span {
  font-weight: 500;
}

.codelab {
  color: #1c3d6d;
  font-size: 10px;
}

.logistik {
  color: #1f56b6;
  font-size: 7px;
  letter-spacing: 0.7px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.slider-dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  background: #cfd8e7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: 160ms ease;
}

.slider-dots button.active {
  width: 7px;
  background: var(--blue);
}

/* Contact strip */
.contact-strip {
  color: var(--white);
  background: linear-gradient(110deg, #0a5be9 0%, #0344bf 55%, #0b2f8d 100%);
}

.contact-inner {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-strip h2 {
  margin: 0 0 1px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.55px;
  line-height: 1.1;
}

.contact-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 7px;
}

.contact-actions {
  display: flex;
  gap: 14px;
}

.contact-actions .button {
  min-width: 176px;
  min-height: 31px;
  padding: 8px 14px;
  font-size: 8px;
}

.button-whatsapp {
  color: var(--white);
  background: rgba(9, 50, 141, 0.25);
  border-color: rgba(255, 255, 255, 0.85);
}

.button-whatsapp:hover {
  background: #18a959;
  border-color: #18a959;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.77);
  background:
    radial-gradient(circle at 12% 0%, rgba(13, 103, 230, 0.25), transparent 29%),
    #071c4b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, 1fr);
  gap: 25px;
  padding: 12px 0 10px;
}

.footer-brand .brand {
  min-width: 0;
}

.footer-brand .brand-symbol {
  width: 35px;
  height: 35px;
  margin-right: 8px;
}

.brand-inverse .brand-copy strong {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: -0.25px;
}

.brand-inverse .brand-copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 6px;
  line-height: 1.3;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 9px;
}

.social-links a {
  display: grid;
  width: 18px;
  height: 18px;
  color: #65a8ff;
  background: rgba(5, 48, 123, 0.65);
  border: 1px solid rgba(81, 151, 244, 0.25);
  border-radius: 50%;
  font-size: 7px;
  font-weight: 800;
  place-items: center;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 8px;
  font-weight: 800;
}

.footer-column a,
.footer-column > span {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 6px;
  line-height: 1.25;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-contact a,
.footer-contact > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact span b,
.footer-contact a span {
  width: 10px;
  color: #ffffff;
  text-align: center;
}

.footer-bottom {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 6px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Responsive */
@media (min-width: 1180px) {
  .site-header {
    height: 88px;
  }

  .brand {
    min-width: 340px;
  }

  .brand-symbol {
    width: 62px;
    height: 59px;
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .main-nav a,
  .button-header {
    font-size: 11px;
  }

  .hero-grid {
    min-height: 455px;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 49px;
  }

  .hero-description {
    max-width: 500px;
    font-size: 14px;
  }

  .hero-visual img {
    top: 4px;
    right: -10px;
    width: 670px;
  }

  .hero-trust span {
    font-size: 10px;
  }

  .services {
    padding-block: 28px;
  }

  .service-card {
    min-height: 245px;
    padding: 18px 15px 14px;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 11px;
  }

  .service-card a {
    font-size: 10px;
  }

  .benefits {
    padding-top: 6px;
  }

  .benefits-panel {
    min-height: 195px;
    padding: 28px 34px 21px;
  }

  .benefits-intro h2 {
    font-size: 25px;
  }

  .benefits-intro > p:not(.panel-kicker) {
    font-size: 10px;
  }

  .benefit-item h3 {
    font-size: 11px;
  }

  .benefit-item p {
    font-size: 9px;
  }

  .courses,
  .applications {
    padding-block: 22px;
  }

  .courses-grid,
  .course-photo {
    min-height: 260px;
  }

  .courses-copy {
    padding: 21px 27px;
  }

  .courses-copy h2,
  .apps-copy h2 {
    font-size: 27px;
  }

  .courses-copy > p:not(.section-kicker),
  .apps-copy > p:not(.section-kicker) {
    font-size: 11px;
  }

  .course-features span,
  .app-features p {
    font-size: 9px;
  }

  .popular-courses {
    padding: 19px 18px;
  }

  .popular-courses h3,
  .app-features h3 {
    font-size: 11px;
  }

  .popular-courses strong {
    font-size: 10px;
  }

  .popular-courses small {
    font-size: 8px;
  }

  .apps-grid,
  .phones-scene {
    min-height: 245px;
  }

  .phones-scene > div {
    width: 133px;
  }

  .phone-b {
    left: 86px;
  }

  .phone-c {
    left: 172px;
  }

  .phone-d {
    left: 259px;
  }

  .testimonials {
    padding-block: 22px 14px;
  }

  .testimonial-card {
    min-height: 125px;
    padding: 14px 17px;
  }

  .testimonial-quote {
    min-height: 66px;
    font-size: 9px;
  }

  .testimonial-card footer strong {
    font-size: 9px;
  }

  .testimonial-card footer small {
    font-size: 7px;
  }

  .contact-inner {
    min-height: 66px;
  }

  .contact-strip h2 {
    font-size: 21px;
  }

  .contact-strip p {
    font-size: 9px;
  }

  .footer-grid {
    padding-block: 20px 15px;
  }

  .footer-column h3 {
    font-size: 10px;
  }

  .footer-column a,
  .footer-column > span {
    font-size: 8px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(92%, 760px);
  }

  .site-header {
    height: 72px;
  }

  .header-inner {
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand-symbol {
    width: 46px;
    height: 44px;
  }

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

  .brand-copy small {
    font-size: 7px;
  }

  .menu-toggle {
    z-index: 102;
    display: block;
    order: 3;
  }

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

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

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

  .button-header {
    margin-left: auto;
    margin-right: 12px;
  }

  .main-nav {
    position: fixed;
    z-index: 101;
    top: 72px;
    right: 0;
    left: 0;
    display: flex;
    padding: 18px 5% 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(15, 39, 82, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: 180ms ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 11px 6px;
    font-size: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 52% 48%;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 35px);
  }

  .hero-visual img {
    top: 37px;
    right: -88px;
    width: 480px;
  }

  .hero-trust {
    gap: 12px;
  }

  .hero-trust span {
    font-size: 7px;
  }

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

  .service-card {
    min-height: 198px;
  }

  .benefits-panel {
    grid-template-columns: 1fr;
  }

  .benefits-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 4px 16px;
    padding: 0 0 16px;
  }

  .benefits-intro .panel-kicker,
  .benefits-intro h2 {
    grid-column: 1;
  }

  .benefits-intro > p:not(.panel-kicker),
  .benefits-intro .button {
    grid-column: 2;
  }

  .benefits-intro > p:not(.panel-kicker) {
    grid-row: 1 / span 2;
    align-self: start;
  }

  .benefits-intro .button {
    justify-self: start;
  }

  .courses-grid {
    grid-template-columns: 34% 66%;
  }

  .popular-courses {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
  }

  .popular-courses h3,
  .popular-courses .more-link {
    grid-column: 1 / -1;
  }

  .popular-courses .more-link {
    justify-content: center;
  }

  .apps-grid {
    grid-template-columns: 40% 60%;
  }

  .phone-d {
    display: none;
  }

  .app-features {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-block: 10px;
  }

  .app-features article {
    grid-template-columns: 31px 1fr;
  }

  .round-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(91%, 560px);
  }

  .button-header {
    display: none;
  }

  .hero {
    padding-bottom: 25px;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .hero-copy {
    padding-top: 28px;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero h1,
  .hero-description {
    max-width: 520px;
    margin-inline: auto;
  }

  .hero h1 {
    margin-block: 16px 13px;
    font-size: clamp(32px, 9.8vw, 44px);
  }

  .hero-description {
    font-size: 12px;
  }

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

  .hero-trust {
    flex-wrap: wrap;
    margin-top: 23px;
  }

  .hero-visual {
    height: 295px;
  }

  .hero-visual img {
    top: -10px;
    right: 50%;
    width: min(560px, 122vw);
    transform: translateX(50%);
  }

  .services {
    padding-block: 30px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading > p:last-child {
    font-size: 11px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 20px;
  }

  .service-card {
    min-height: 236px;
    padding: 20px 16px;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 11px;
  }

  .service-card a {
    font-size: 10px;
  }

  .benefits {
    padding: 0 0 26px;
  }

  .benefits-panel {
    padding: 26px 21px;
  }

  .benefits-intro {
    display: block;
    padding-bottom: 23px;
    text-align: center;
  }

  .benefits-intro h2 {
    margin-block: 5px 10px;
    font-size: 26px;
  }

  .benefits-intro > p:not(.panel-kicker) {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .benefit-item:nth-child(3) {
    border-left: 0;
  }

  .benefit-item h3 {
    font-size: 11px;
  }

  .benefit-item p {
    font-size: 9px;
  }

  .courses {
    padding-block: 26px;
  }

  .courses-grid {
    display: flex;
    flex-direction: column;
  }

  .course-photo {
    min-height: 260px;
    border-radius: 12px 12px 0 0;
  }

  .courses-copy {
    padding: 23px 20px;
    text-align: center;
    border: 1px solid var(--line);
    border-top: 0;
  }

  .courses-copy .section-kicker,
  .apps-copy .section-kicker {
    margin-inline: auto;
  }

  .courses-copy h2,
  .apps-copy h2 {
    font-size: 27px;
  }

  .courses-copy > p:not(.section-kicker),
  .apps-copy > p:not(.section-kicker) {
    font-size: 11px;
  }

  .course-features {
    gap: 12px;
    margin-block: 22px;
  }

  .course-features span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
  }

  .popular-courses {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    border-radius: 0 0 12px 12px;
  }

  .applications {
    padding-block: 26px;
  }

  .apps-grid {
    display: flex;
    flex-direction: column;
  }

  .phones-scene {
    width: min(100%, 360px);
    height: 250px;
  }

  .phones-scene > div {
    width: 125px;
  }

  .phone-a {
    left: 3px;
  }

  .phone-b {
    left: 72px;
  }

  .phone-c {
    left: 147px;
  }

  .phone-d {
    left: 221px;
    display: block;
  }

  .apps-copy {
    padding: 0;
    text-align: center;
  }

  .app-features {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-block: 20px;
    text-align: left;
  }

  .app-features article {
    grid-template-columns: 42px 1fr;
  }

  .round-icon {
    width: 38px;
    height: 38px;
  }

  .app-features h3 {
    font-size: 11px;
  }

  .app-features p {
    font-size: 9px;
  }

  .testimonials {
    padding-block: 28px 18px;
  }

  .testimonial-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .testimonial-card {
    min-width: 100%;
    min-height: 150px;
    padding: 20px;
    scroll-snap-align: center;
  }

  .testimonial-quote {
    min-height: 82px;
    font-size: 11px;
  }

  .testimonial-card footer {
    grid-template-columns: 34px 1fr auto;
  }

  .avatar {
    width: 34px;
    height: 34px;
    font-size: 8px;
  }

  .testimonial-card footer strong {
    font-size: 9px;
  }

  .testimonial-card footer small {
    font-size: 8px;
  }

  .contact-inner {
    min-height: 0;
    padding-block: 24px;
    flex-direction: column;
    text-align: center;
  }

  .contact-strip h2 {
    font-size: 23px;
  }

  .contact-strip p {
    margin-top: 5px;
    font-size: 10px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
    gap: 9px;
  }

  .contact-actions .button {
    width: 100%;
    min-height: 42px;
    font-size: 10px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 20px;
    padding-block: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .brand-inverse .brand-copy small {
    font-size: 8px;
  }

  .footer-column h3 {
    font-size: 11px;
  }

  .footer-column a,
  .footer-column > span {
    margin-bottom: 6px;
    font-size: 9px;
  }

  .footer-bottom {
    min-height: 45px;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 8px;
  }
}

@media (max-width: 430px) {
  .brand-copy small {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 44px;
  }

  .hero-trust span {
    width: calc(50% - 8px);
    justify-content: center;
  }

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

  .service-card:last-child {
    grid-column: auto;
    width: 100%;
  }

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

  .benefit-item + .benefit-item {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .course-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .popular-courses {
    grid-template-columns: 1fr;
  }

  .phones-scene {
    transform: scale(0.86);
  }

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

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   INNER PAGES
   ========================================================== */
.inner-page {
  background: #fbfdff;
}

.inner-page main {
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 425px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 44%, rgba(40, 137, 255, 0.12), transparent 26%),
    radial-gradient(circle at 10% 90%, rgba(77, 158, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border-bottom: 1px solid #eaf0f8;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  width: 260px;
  height: 260px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.page-hero::before {
  top: 40px;
  left: -150px;
  background:
    radial-gradient(circle, rgba(26, 118, 240, 0.26) 0 1px, transparent 2px) 0 0 / 28px 28px,
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(26, 118, 240, 0.06) 34px 35px);
  transform: rotate(18deg);
}

.page-hero::after {
  right: -140px;
  bottom: -80px;
  background: repeating-radial-gradient(circle, rgba(20, 112, 238, 0.14) 0 1px, transparent 2px 18px);
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 425px;
  align-items: center;
}

.page-hero-copy {
  padding: 35px 30px 35px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #7a879d;
  font-size: 9px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs b {
  color: #38465f;
  font-weight: 700;
}

.page-hero h1 {
  max-width: 585px;
  margin: 15px 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 52px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.02;
}

.page-hero h1 em {
  color: var(--blue-strong);
  font-style: normal;
}

.page-hero-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 0;
  color: #58657c;
  font-size: 12px;
  line-height: 1.65;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.page-hero-actions .button {
  min-height: 39px;
  padding-inline: 20px;
}

.text-link {
  color: var(--blue-strong);
  font-size: 10px;
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.micro-stats {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}

.micro-stats span {
  display: flex;
  flex-direction: column;
  color: #748096;
  font-size: 7px;
}

.micro-stats b {
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.inner-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.inner-section-heading h2,
.center-heading h2,
.learning-grid h2,
.custom-app-panel h2,
.story-copy h2,
.culture-grid h2,
.blog-topics-section h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
}

.inner-section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.center-heading {
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: center;
}

.center-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.catalog-section {
  padding: 52px 0 60px;
  background: #ffffff;
}

.catalog-toolbar {
  margin-bottom: 24px;
}

.catalog-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 31px;
  padding: 7px 14px;
  color: #526078;
  background: #f5f8fc;
  border: 1px solid #dfe6f0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: 160ms ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  background: var(--blue-strong);
  border-color: var(--blue-strong);
  box-shadow: 0 5px 12px rgba(0, 83, 221, 0.18);
}

[data-catalog-item].is-hidden {
  display: none !important;
}

.catalog-empty {
  display: none;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  background: #f7faff;
  border: 1px dashed #cbd9ec;
  border-radius: 12px;
  font-size: 11px;
}

.catalog-empty.show {
  display: block;
}

.catalog-control-panel {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  background: #f7faff;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
}

.search-control {
  position: relative;
  display: flex;
  width: min(330px, 38%);
  align-items: center;
}

.search-control > span {
  position: absolute;
  left: 13px;
  color: #7990ad;
  font-size: 14px;
}

.search-control input,
.select-control select,
.newsletter-form input {
  width: 100%;
  height: 38px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  outline: 0;
  font: inherit;
  font-size: 10px;
}

.search-control input {
  padding: 0 14px 0 35px;
}

.search-control input:focus,
.select-control select:focus,
.newsletter-form input:focus {
  border-color: #5e9ef8;
  box-shadow: 0 0 0 3px rgba(26, 117, 240, 0.1);
}

.select-control {
  display: flex;
  width: 165px;
  flex-direction: column;
  gap: 4px;
  color: #657187;
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.select-control select {
  padding: 0 11px;
  text-transform: none;
}

.result-counter {
  margin: 0 0 9px auto;
  color: #6d7a91;
  font-size: 8px;
  white-space: nowrap;
}

.result-counter b {
  color: var(--blue-strong);
  font-size: 12px;
}

/* Services page */
.page-hero-services {
  background:
    radial-gradient(circle at 78% 48%, rgba(9, 105, 242, 0.16), transparent 25%),
    linear-gradient(180deg, #ffffff, #f6faff);
}

.service-orbit {
  position: relative;
  width: 380px;
  height: 360px;
  margin-left: auto;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(42, 128, 244, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 220px;
  height: 220px;
}

.ring-two {
  width: 330px;
  height: 330px;
  border-style: dashed;
}

.orbit-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  background: linear-gradient(145deg, #ffffff, #eaf4ff);
  border: 1px solid #cae0fc;
  border-radius: 28px;
  box-shadow: 0 24px 45px rgba(12, 82, 179, 0.16);
  transform: translate(-50%, -50%) rotate(-8deg);
  place-items: center;
}

.orbit-core::after {
  position: absolute;
  inset: -12px;
  z-index: -1;
  content: "";
  background: rgba(38, 136, 255, 0.09);
  border-radius: 34px;
}

.orbit-core img {
  width: 72px;
  transform: rotate(8deg);
}

.orbit-card {
  position: absolute;
  z-index: 4;
  display: flex;
  width: 94px;
  min-height: 43px;
  padding: 6px 10px;
  align-items: center;
  gap: 5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe8f8;
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(16, 60, 123, 0.12);
  font-size: 8px;
}

.orbit-card img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.orbit-a { top: 38px; left: 55px; }
.orbit-b { top: 64px; right: 20px; }
.orbit-c { right: 23px; bottom: 48px; }
.orbit-d { bottom: 30px; left: 30px; }

.extended-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.extended-service-card {
  position: relative;
  display: flex;
  min-height: 310px;
  padding: 21px 19px 17px;
  overflow: hidden;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  box-shadow: 0 8px 26px rgba(26, 54, 98, 0.055);
  transition: 180ms ease;
}

.extended-service-card:hover {
  border-color: #89b5f7;
  box-shadow: 0 18px 34px rgba(25, 78, 155, 0.11);
  transform: translateY(-5px);
}

.extended-service-card.featured {
  background: linear-gradient(145deg, #f8fbff, #edf5ff);
  border-color: #91baf4;
}

.extended-service-card > img {
  width: 53px;
  height: 53px;
  margin-bottom: 11px;
  object-fit: cover;
}

.extended-service-card .service-number {
  position: absolute;
  top: 17px;
  right: 18px;
  color: #dce9fa;
  font-size: 24px;
  font-weight: 900;
}

.card-label,
.post-category {
  margin: 0 0 4px;
  color: var(--blue-strong);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.extended-service-card h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.45px;
}

.extended-service-card > p:not(.card-label) {
  min-height: 48px;
  margin: 0;
  color: #657086;
  font-size: 9px;
  line-height: 1.55;
}

.extended-service-card ul,
.app-product-card ul {
  display: flex;
  margin: 12px 0 14px;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  list-style: none;
}

.extended-service-card li,
.app-product-card li {
  position: relative;
  padding-left: 14px;
  color: #47536a;
  font-size: 8px;
}

.extended-service-card li::before,
.app-product-card li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.extended-service-card > a {
  display: inline-flex;
  gap: 7px;
  margin-top: auto;
  color: var(--blue-strong);
  font-size: 9px;
  font-weight: 800;
}

.process-section {
  padding: 54px 0;
  background: #f5f9ff;
  border-block: 1px solid #e7eef8;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.process-grid::before {
  position: absolute;
  top: 26px;
  right: 11%;
  left: 11%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #a8c7f2 12%, #a8c7f2 88%, transparent);
}

.process-grid article {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  text-align: center;
}

.process-grid span {
  display: grid;
  width: 53px;
  height: 53px;
  margin: 0 auto 13px;
  color: var(--blue-strong);
  background: #ffffff;
  border: 1px solid #a9caf8;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(25, 88, 177, 0.09);
  font-size: 10px;
  font-weight: 900;
  place-items: center;
}

.process-grid h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.inner-cta {
  padding: 48px 0;
  background: #ffffff;
}

.cta-panel {
  display: flex;
  min-height: 148px;
  padding: 28px 35px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 83% 34%, rgba(61, 151, 255, 0.42), transparent 25%),
    linear-gradient(115deg, #062775, #0755d6);
  border-radius: 15px;
  box-shadow: 0 17px 35px rgba(4, 57, 148, 0.16);
}

.cta-panel h2 {
  margin: 5px 0 4px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.cta-panel > div > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 9px;
}

.cta-panel .button {
  min-width: 176px;
}

/* Courses page */
.course-page-hero {
  background:
    radial-gradient(circle at 82% 52%, rgba(0, 99, 238, 0.14), transparent 29%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
}

.course-hero-visual {
  position: relative;
  height: 360px;
}

.course-hero-photo {
  position: absolute;
  top: 18px;
  right: 0;
  width: 390px;
  height: 310px;
  overflow: hidden;
  background: #061b40;
  border: 7px solid #ffffff;
  border-radius: 32px 10px 32px 10px;
  box-shadow: 0 24px 55px rgba(6, 47, 108, 0.2);
  transform: rotate(2deg);
}

.course-hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 50%, rgba(5, 101, 234, 0.18));
}

.course-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.floating-course-card {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 170px;
  padding: 10px 12px;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce9fa;
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(10, 47, 101, 0.16);
}

.floating-course-card img {
  width: 37px;
  height: 37px;
  object-fit: cover;
}

.floating-course-card > span:not(.rating-stars) {
  display: flex;
  flex-direction: column;
}

.floating-course-card small {
  color: #718096;
  font-size: 7px;
}

.floating-course-card b {
  color: var(--ink);
  font-size: 9px;
}

.card-python {
  bottom: 8px;
  left: -20px;
}

.card-rating {
  top: 36px;
  right: -50px;
}

.rating-stars,
.course-rating span {
  color: #ffb326;
  font-size: 8px;
  letter-spacing: 1px;
}

.course-catalog {
  background: #ffffff;
}

.course-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.course-product-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(25, 55, 101, 0.055);
  transition: 180ms ease;
}

.course-product-card:hover {
  box-shadow: 0 17px 34px rgba(25, 75, 148, 0.12);
  transform: translateY(-5px);
}

.course-product-card.bestseller {
  border-color: #75abf7;
}

.course-cover {
  position: relative;
  display: flex;
  height: 138px;
  padding: 20px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b2b68, #0866ee);
}

.course-cover::before {
  position: absolute;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(48%, 32%);
}

.course-cover img {
  position: relative;
  z-index: 2;
  width: 87px;
  height: 66px;
  object-fit: cover;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12));
}

.course-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 11px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(3, 20, 57, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.cover-code {
  position: absolute;
  right: 15px;
  bottom: 9px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  font-weight: 900;
}

.cover-web { background: linear-gradient(135deg, #1d3774, #0a8fd8); }
.cover-react { background: linear-gradient(135deg, #111d3d, #123d83); }
.cover-node { background: linear-gradient(135deg, #173f31, #2d7955); }
.cover-n8n { background: linear-gradient(135deg, #2e1e64, #7356f3); }
.cover-data { background: linear-gradient(135deg, #062b70, #168df1); }
.cover-api { background: linear-gradient(135deg, #102448, #1e65bf); }
.cover-ui { background: linear-gradient(135deg, #4f1a6f, #d33ca2); }
.cover-ai { background: linear-gradient(135deg, #171a57, #334ed8); }

.course-card-body {
  padding: 15px 16px 14px;
}

.course-meta {
  margin: 0 0 5px;
  color: var(--blue-strong);
  font-size: 7px;
  font-weight: 700;
}

.course-card-body h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.course-card-body > p:not(.course-meta) {
  min-height: 40px;
  margin: 0;
  color: #667186;
  font-size: 8px;
  line-height: 1.5;
}

.course-rating {
  margin: 10px 0;
  color: #7a8597;
  font-size: 7px;
}

.course-rating small {
  color: #9aa3b1;
}

.course-card-body footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid #edf1f6;
}

.course-card-body footer strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.course-card-body footer del {
  color: #9ba5b5;
  font-size: 7px;
}

.course-card-body footer a {
  justify-self: end;
  color: var(--blue-strong);
  font-size: 8px;
  font-weight: 800;
}

.learning-method {
  padding: 58px 0;
  background: linear-gradient(180deg, #f5f9ff, #eef5ff);
  border-block: 1px solid #e3ebf7;
}

.learning-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  gap: 35px;
}

.learning-grid > div:first-child > p:not(.section-kicker) {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.method-cards article {
  display: grid;
  min-height: 105px;
  padding: 15px;
  grid-template-columns: 33px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  background: #ffffff;
  border: 1px solid #dfe8f4;
  border-radius: 11px;
}

.method-cards span {
  grid-row: 1 / 3;
  color: #95baf0;
  font-size: 16px;
  font-weight: 900;
}

.method-cards h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 11px;
}

.method-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

/* Applications page */
.app-store-hero {
  background:
    radial-gradient(circle at 80% 45%, rgba(32, 141, 255, 0.2), transparent 27%),
    linear-gradient(180deg, #ffffff, #f2f8ff);
}

.app-trust-row {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  color: #516079;
  font-size: 8px;
  font-weight: 700;
}

.app-trust-row span::first-letter {
  color: var(--blue);
}

.store-phones {
  position: relative;
  height: 370px;
}

.store-phone {
  position: absolute;
  z-index: 2;
  bottom: 7px;
  width: 150px;
  filter: drop-shadow(0 17px 13px rgba(4, 41, 94, 0.17));
  transform-origin: bottom center;
}

.phone-left { left: 12px; transform: rotate(-8deg) scale(0.84); }
.phone-main { z-index: 4; left: 126px; transform: scale(1.04); }
.phone-right { right: 0; transform: rotate(8deg) scale(0.84); }

.store-widget {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 130px;
  padding: 10px 12px;
  flex-direction: column;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e8fb;
  border-radius: 10px;
  box-shadow: 0 12px 27px rgba(7, 54, 121, 0.15);
}

.store-widget span,
.store-widget small {
  color: #748198;
  font-size: 6px;
}

.store-widget b {
  margin: 2px 0;
  color: var(--blue-deep);
  font-size: 13px;
}

.widget-one { top: 42px; left: -25px; }
.widget-two { right: -35px; bottom: 54px; }

.featured-app-section {
  padding: 20px 0;
  background: #ffffff;
}

.featured-app {
  display: grid;
  grid-template-columns: 90px 1fr 150px;
  min-height: 145px;
  padding: 22px 26px;
  align-items: center;
  gap: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 81% 38%, rgba(54, 162, 255, 0.44), transparent 27%),
    linear-gradient(115deg, #06266e, #075adf);
  border-radius: 15px;
  box-shadow: 0 13px 30px rgba(5, 66, 162, 0.15);
}

.featured-app-icon {
  display: grid;
  width: 82px;
  height: 82px;
  color: #ffffff;
  background: linear-gradient(145deg, #1593ff, #0750cc);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 23px rgba(0, 28, 91, 0.25);
  font-size: 19px;
  font-weight: 900;
  place-items: center;
}

.featured-app-copy h2 {
  margin: 4px 0 4px;
  font-size: 23px;
  font-weight: 900;
}

.featured-app-copy > p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 8px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.feature-pills span {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 6px;
}

.featured-app-price {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.featured-app-price small,
.featured-app-price span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.featured-app-price strong {
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
}

.featured-app-price .button {
  width: 100%;
  margin-top: 8px;
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue-deep);
}

.app-catalog {
  padding-top: 42px;
}

.app-controls {
  align-items: center;
}

.app-controls .search-control {
  width: 250px;
  flex-shrink: 0;
}

.app-controls .catalog-buttons {
  flex: 1;
}

.app-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.app-product-card {
  --app-color: #0d66e9;
  position: relative;
  display: flex;
  min-height: 306px;
  padding: 17px 16px 14px;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(25, 55, 101, 0.055);
  transition: 180ms ease;
}

.app-product-card::before {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 100px;
  height: 100px;
  content: "";
  background: color-mix(in srgb, var(--app-color) 12%, transparent);
  border-radius: 50%;
}

.app-product-card:hover {
  border-color: color-mix(in srgb, var(--app-color) 50%, #dfe6ef);
  box-shadow: 0 18px 33px rgba(19, 65, 133, 0.12);
  transform: translateY(-5px);
}

.app-green { --app-color: #15a563; }
.app-violet { --app-color: #7654d8; }
.app-orange { --app-color: #f28b32; }
.app-cyan { --app-color: #15a9c7; }
.app-red { --app-color: #e55468; }
.app-navy { --app-color: #283e88; }
.app-gold { --app-color: #d59b22; }

.app-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  margin-bottom: 13px;
  align-items: flex-start;
  justify-content: space-between;
}

.app-logo {
  display: grid;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--app-color) 74%, white), var(--app-color));
  border-radius: 13px;
  box-shadow: 0 8px 15px color-mix(in srgb, var(--app-color) 22%, transparent);
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.status-pill {
  padding: 4px 7px;
  color: var(--app-color);
  background: color-mix(in srgb, var(--app-color) 8%, white);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-product-card h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.app-product-card > p {
  min-height: 47px;
  margin: 0;
  color: #687287;
  font-size: 8px;
  line-height: 1.5;
}

.app-product-card ul {
  margin-block: 12px;
}

.app-product-card li::before {
  color: var(--app-color);
}

.app-product-card footer {
  display: flex;
  margin-top: auto;
  padding-top: 11px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #edf1f6;
}

.app-product-card footer > span {
  display: flex;
  flex-direction: column;
}

.app-product-card footer small {
  color: #8a95a7;
  font-size: 6px;
}

.app-product-card footer strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.app-product-card footer a {
  color: var(--app-color);
  font-size: 8px;
  font-weight: 800;
}

.custom-app-section {
  padding: 58px 0;
  background: #f3f8ff;
  border-block: 1px solid #e2ebf8;
}

.custom-app-panel {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  gap: 30px;
}

.custom-app-visual {
  position: relative;
  height: 270px;
}

.custom-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  height: 112px;
  background: #ffffff;
  border: 1px solid #bcd6f9;
  border-radius: 27px;
  box-shadow: 0 20px 35px rgba(8, 71, 163, 0.15);
  transform: translate(-50%, -50%);
  place-items: center;
}

.custom-core img {
  width: 70px;
}

.mini-window {
  position: absolute;
  display: grid;
  width: 115px;
  height: 75px;
  color: #ffffff;
  background: linear-gradient(145deg, #0b6def, #063c9e);
  border: 5px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(8, 55, 124, 0.13);
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.window-a { top: 13px; left: 31px; transform: rotate(-7deg); }
.window-b { top: 20px; right: 18px; transform: rotate(6deg); }
.window-c { right: 80px; bottom: 5px; transform: rotate(-2deg); }

.custom-app-panel > div:last-child > p:not(.section-kicker) {
  margin: 10px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.custom-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 17px 0 20px;
}

.custom-features span {
  color: #40506a;
  font-size: 8px;
  font-weight: 700;
}

/* About page */
.about-page-hero {
  background:
    radial-gradient(circle at 79% 49%, rgba(30, 127, 245, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
}

.about-hero-art {
  position: relative;
  height: 360px;
}

.about-grid-lines {
  position: absolute;
  inset: 35px 15px 12px;
  background:
    linear-gradient(rgba(40, 126, 240, 0.09) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(40, 126, 240, 0.09) 1px, transparent 1px) 0 0 / 34px 34px;
  border-radius: 38px;
  mask-image: radial-gradient(circle, #000 25%, transparent 72%);
}

.about-logo-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 260px;
  min-height: 105px;
  padding: 18px;
  align-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cfe0f7;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(5, 64, 149, 0.17);
  transform: translate(-50%, -50%);
}

.about-logo-core img {
  width: 71px;
  margin-right: 13px;
}

.about-logo-core > span {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.about-logo-core small {
  margin-top: 4px;
  color: #738096;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0;
}

.about-skill {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  color: var(--blue-deep);
  background: #ffffff;
  border: 1px solid #d7e5f7;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(16, 72, 146, 0.11);
  font-size: 8px;
  font-weight: 800;
}

.skill-a { top: 42px; left: 39px; }
.skill-b { top: 53px; right: 14px; }
.skill-c { right: 22px; bottom: 45px; }
.skill-d { bottom: 31px; left: 10px; }

.story-section {
  padding: 64px 0;
  background: #ffffff;
}

.story-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 48px;
}

.story-visual {
  position: relative;
  min-height: 360px;
}

.story-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 88%;
  height: 315px;
  overflow: hidden;
  border-radius: 18px 55px 18px 18px;
  box-shadow: 0 22px 42px rgba(4, 43, 102, 0.16);
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-quote {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 2px;
  display: flex;
  width: 220px;
  min-height: 106px;
  padding: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #0868ea, #063d9f);
  border: 5px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(4, 54, 132, 0.18);
}

.story-quote span {
  margin-right: 8px;
  font-family: Georgia, serif;
  font-size: 27px;
}

.story-quote p {
  margin: 7px 0 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
}

.story-dot-pattern {
  position: absolute;
  right: -12px;
  top: 5px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #85b8f8 1px, transparent 2px) 0 0 / 12px 12px;
}

.story-copy > p:not(.section-kicker) {
  margin: 11px 0 0;
  color: #626e83;
  font-size: 10px;
  line-height: 1.65;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.mission-vision article {
  display: grid;
  padding: 14px;
  grid-template-columns: 33px 1fr;
  gap: 8px;
  background: #f7faff;
  border: 1px solid #dfe9f5;
  border-radius: 10px;
}

.mission-vision article > span {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #bbd6f9;
  border-radius: 50%;
  font-size: 12px;
  place-items: center;
}

.mission-vision h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 10px;
}

.mission-vision p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.45;
}

.values-section {
  padding: 58px 0;
  background: #f5f9ff;
  border-block: 1px solid #e3ebf6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
}

.values-grid article {
  min-height: 176px;
  padding: 17px 14px;
  background: #ffffff;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(25, 55, 101, 0.05);
}

.value-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 15px;
  color: var(--blue-strong);
  background: #eef5ff;
  border: 1px solid #bfd7f8;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  place-items: center;
}

.values-grid h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 11px;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
}

.team-section {
  padding: 62px 0;
  background: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.team-card {
  position: relative;
  display: grid;
  min-height: 205px;
  padding: 18px;
  grid-template-columns: 78px 1fr;
  gap: 13px;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(25, 55, 101, 0.045);
}

.team-avatar {
  display: grid;
  width: 74px;
  height: 88px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.65) 0 10px, transparent 11px),
    linear-gradient(150deg, #6aa5f8, #0e397c);
  border-radius: 16px 16px 30px 30px;
  box-shadow: inset 0 -20px 25px rgba(3, 22, 61, 0.24);
  place-items: end center;
}

.team-avatar span {
  margin-bottom: 12px;
  font-size: 9px;
  font-weight: 900;
}

.person-two { background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.62) 0 10px, transparent 11px), linear-gradient(150deg,#7764cb,#26336f); }
.person-three { background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.62) 0 10px, transparent 11px), linear-gradient(150deg,#ef9b86,#7d354b); }
.person-four { background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.62) 0 10px, transparent 11px), linear-gradient(150deg,#56a7a1,#18505a); }
.person-five { background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.62) 0 10px, transparent 11px), linear-gradient(150deg,#dda85b,#743f29); }

.team-card > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.team-card > div:nth-child(2) > p {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.team-card > div:nth-child(2) > span {
  color: #55637a;
  font-size: 7px;
  font-weight: 700;
}

.team-card small {
  margin-top: 9px;
  color: #778297;
  font-size: 7px;
  line-height: 1.45;
}

.team-card > a {
  position: absolute;
  right: 14px;
  bottom: 13px;
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--blue);
  background: #eef5ff;
  border-radius: 50%;
  font-size: 7px;
  font-weight: 900;
  place-items: center;
}

.join-team {
  color: #ffffff;
  background: linear-gradient(135deg, #082e80, #0861de);
  border-color: transparent;
}

.join-icon {
  display: grid;
  width: 74px;
  height: 88px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  font-size: 29px;
  place-items: center;
}

.join-team h3,
.join-team > div:nth-child(2) > p {
  color: #ffffff;
}

.join-team > div:nth-child(2) > span,
.join-team small {
  color: rgba(255, 255, 255, 0.75);
}

.join-team > a {
  color: var(--blue-deep);
  background: #ffffff;
}

.culture-section {
  padding: 55px 0;
  background: #f4f8ff;
  border-block: 1px solid #e1eaf6;
}

.culture-grid {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  gap: 35px;
}

.culture-grid > div:first-child > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 9px;
}

.culture-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.culture-points span {
  display: flex;
  min-height: 48px;
  padding: 11px;
  align-items: center;
  gap: 8px;
  color: #40506a;
  background: #ffffff;
  border: 1px solid #dde7f3;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 700;
}

.culture-points b {
  color: #97b9e9;
  font-size: 9px;
}

/* Blog page */
.blog-hero {
  padding: 27px 0 43px;
  background:
    radial-gradient(circle at 13% 42%, rgba(29, 128, 244, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff, #f4f9ff);
  border-bottom: 1px solid #e5edf7;
}

.blog-hero .breadcrumbs {
  margin-bottom: 18px;
}

.blog-hero-heading {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: end;
  margin-bottom: 28px;
}

.blog-hero h1 {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.03;
}

.blog-hero h1 em {
  color: var(--blue-strong);
  font-style: normal;
}

.blog-hero-heading > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.featured-post {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 330px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e4f3;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(14, 64, 132, 0.12);
}

.featured-post-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 48%, rgba(27, 133, 255, 0.48), transparent 27%),
    linear-gradient(135deg, #061d51, #0759d4);
}

.post-art-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 35px 35px,
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px) 0 0 / 35px 35px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.automation-node {
  position: absolute;
  z-index: 3;
  display: grid;
  color: #ffffff;
  background: rgba(7, 52, 135, 0.86);
  border: 1px solid rgba(133, 192, 255, 0.65);
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
  font-size: 12px;
  font-weight: 900;
  place-items: center;
}

.node-one { top: 48px; left: 62px; width: 84px; height: 65px; }
.node-two { top: 119px; left: 214px; width: 96px; height: 82px; background: linear-gradient(145deg, #6c45db, #45269d); }
.node-three { bottom: 42px; left: 58px; width: 78px; height: 62px; background: linear-gradient(145deg, #19b269, #08723e); }
.node-four { right: 42px; bottom: 51px; width: 86px; height: 65px; }

.automation-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, rgba(86, 176, 255, 0.1), #68b4ff);
  transform-origin: left center;
}

.line-one { top: 92px; left: 132px; width: 116px; transform: rotate(26deg); }
.line-two { top: 174px; left: 126px; width: 96px; transform: rotate(-21deg); }
.line-three { top: 195px; left: 290px; width: 128px; transform: rotate(25deg); }

.featured-post-copy {
  display: flex;
  padding: 34px;
  flex-direction: column;
  justify-content: center;
}

.featured-post-copy h2 {
  margin: 5px 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.12;
}

.featured-post-copy > p:not(.post-category) {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  margin: 17px 0;
  align-items: center;
  gap: 9px;
}

.author-avatar {
  display: grid;
  width: 33px;
  height: 33px;
  color: #ffffff;
  background: linear-gradient(145deg, #7b8fd5, #243a7c);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
  place-items: center;
}

.post-meta > span:last-child {
  display: flex;
  flex-direction: column;
}

.post-meta b {
  color: var(--ink);
  font-size: 8px;
}

.post-meta small {
  color: #8a94a6;
  font-size: 7px;
}

.featured-post-copy .button {
  align-self: flex-start;
}

.blog-catalog {
  padding-bottom: 52px;
}

.blog-controls {
  align-items: center;
}

.blog-controls .search-control {
  width: 240px;
  flex-shrink: 0;
}

.blog-controls .catalog-buttons {
  flex: 1;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.blog-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(25, 55, 101, 0.05);
  transition: 180ms ease;
}

.blog-card:hover {
  box-shadow: 0 18px 33px rgba(22, 70, 139, 0.11);
  transform: translateY(-5px);
}

.blog-cover {
  position: relative;
  display: grid;
  height: 156px;
  padding: 17px;
  overflow: hidden;
  background: linear-gradient(135deg, #092b6f, #0768eb);
  place-items: center;
}

.blog-cover::after {
  position: absolute;
  right: -45px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.blog-topic {
  position: absolute;
  top: 12px;
  left: 13px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(4, 27, 75, 0.36);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 6px;
  font-weight: 700;
}

.blog-cover > b,
.blog-cover > img {
  position: relative;
  z-index: 2;
  width: 92px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
}

.cover-symbol {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: rgba(255,255,255,.4);
  font-size: 17px;
  font-weight: 900;
}

.blog-cover-python { background: linear-gradient(135deg, #13295a, #2371a9); }
.blog-cover-business { background: linear-gradient(135deg, #0c3c74, #17a0be); }
.blog-cover-design { background: linear-gradient(135deg, #532373, #b946b5); }
.blog-cover-security { background: linear-gradient(135deg, #122a5b, #235c9f); }
.blog-cover-app { background: linear-gradient(135deg, #233270, #5869de); }
.blog-cover-sms { background: linear-gradient(135deg, #0e3d91, #0c7ae7); }

.mock-window {
  display: flex;
  width: 115px;
  height: 78px;
  padding: 17px 11px 10px;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.mock-window i {
  display: block;
  height: 6px;
  background: #d9e7fb;
  border-radius: 4px;
}

.mock-window i:nth-child(2) { width: 76%; background: #78aefd; }
.mock-window i:nth-child(3) { width: 54%; }

.sms-bubbles {
  display: flex;
  width: 150px;
  flex-wrap: wrap;
  gap: 7px;
}

.sms-bubbles i {
  padding: 9px 12px;
  color: #0b4ea5;
  background: #ffffff;
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 8px 15px rgba(0,0,0,.15);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.blog-card-body {
  padding: 15px 16px 14px;
}

.blog-card-body h3 {
  min-height: 38px;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.25px;
  line-height: 1.3;
}

.blog-card-body > p:not(.post-category) {
  min-height: 40px;
  margin: 0;
  color: #687388;
  font-size: 8px;
  line-height: 1.5;
}

.blog-card-body footer {
  display: flex;
  margin-top: 14px;
  padding-top: 11px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf1f6;
}

.blog-card-body footer span {
  color: #8993a4;
  font-size: 7px;
}

.blog-card-body footer a {
  color: var(--blue-strong);
  font-size: 8px;
  font-weight: 800;
}

.newsletter-section {
  padding: 48px 0;
  background: #ffffff;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 100px 1fr 310px;
  min-height: 155px;
  padding: 26px 32px;
  align-items: center;
  gap: 25px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 28%, rgba(66, 163, 255, 0.38), transparent 27%),
    linear-gradient(115deg, #06266d, #075ad9);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(5, 58, 145, 0.17);
}

.newsletter-art {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  color: #ffffff;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  font-size: 30px;
  font-weight: 900;
  place-items: center;
}

.newsletter-art i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #7bbaff;
  border-radius: 50%;
}

.newsletter-art i:nth-child(2) { top: 8px; right: 7px; }
.newsletter-art i:nth-child(3) { right: 2px; bottom: 18px; }
.newsletter-art i:nth-child(4) { bottom: 3px; left: 18px; }

.newsletter-panel h2 {
  margin: 5px 0 4px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.newsletter-panel > div:nth-child(2) > p:last-child {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 8px;
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input {
  padding: 0 12px;
  border-color: rgba(255,255,255,.35);
}

.newsletter-form .button {
  min-height: 38px;
}

.form-message {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  margin: 0;
  color: #d8eaff;
  font-size: 7px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-topics-section {
  padding: 50px 0;
  background: #f4f8ff;
  border-top: 1px solid #e2eaf6;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: stretch;
  gap: 12px;
}

.topics-grid > a {
  display: grid;
  min-height: 110px;
  padding: 16px;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #dce6f3;
  border-radius: 11px;
  transition: 160ms ease;
}

.topics-grid > a:hover {
  border-color: #7baff6;
  transform: translateY(-3px);
}

.topics-grid > a > span {
  color: #a2bfe7;
  font-size: 12px;
  font-weight: 900;
}

.topics-grid h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 10px;
}

.topics-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
}

.topics-grid > a > b {
  color: var(--blue);
}

/* Inner pages responsive */
@media (min-width: 1180px) {
  .page-hero,
  .page-hero-grid {
    min-height: 520px;
  }

  .page-hero-copy {
    padding-right: 55px;
  }

  .page-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .breadcrumbs,
  .text-link {
    font-size: 11px;
  }

  .micro-stats span {
    font-size: 9px;
  }

  .micro-stats b {
    font-size: 16px;
  }

  .service-orbit,
  .course-hero-visual,
  .store-phones,
  .about-hero-art {
    transform: scale(1.18);
  }

  .inner-section-heading h2,
  .center-heading h2,
  .learning-grid h2,
  .custom-app-panel h2,
  .story-copy h2,
  .culture-grid h2,
  .blog-topics-section h2 {
    font-size: 35px;
  }

  .inner-section-heading > p,
  .center-heading > p:last-child {
    font-size: 12px;
  }

  .extended-service-card {
    min-height: 355px;
    padding: 26px 23px 20px;
  }

  .extended-service-card h3 {
    font-size: 19px;
  }

  .extended-service-card > p:not(.card-label),
  .extended-service-card li,
  .app-product-card > p,
  .app-product-card li,
  .course-card-body > p:not(.course-meta),
  .blog-card-body > p:not(.post-category) {
    font-size: 10px;
  }

  .course-cover,
  .blog-cover {
    height: 175px;
  }

  .course-card-body h3,
  .app-product-card h3,
  .blog-card-body h3 {
    font-size: 16px;
  }

  .app-product-card {
    min-height: 350px;
  }

  .team-card {
    min-height: 235px;
  }

  .blog-hero h1 {
    font-size: 54px;
  }

  .featured-post {
    min-height: 390px;
  }

  .featured-post-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 55% 45%;
  }

  .page-hero h1 {
    font-size: clamp(32px, 5.2vw, 42px);
  }

  .page-hero-copy {
    padding-right: 18px;
  }

  .service-orbit,
  .course-hero-visual,
  .store-phones,
  .about-hero-art {
    width: 360px;
    margin-left: -30px;
    transform: scale(0.84);
  }

  .extended-service-grid,
  .course-card-grid,
  .blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-control-panel {
    flex-wrap: wrap;
  }

  .search-control {
    width: 100%;
  }

  .result-counter {
    margin-left: auto;
  }

  .app-controls .search-control,
  .blog-controls .search-control {
    width: 100%;
  }

  .app-controls .catalog-buttons,
  .blog-controls .catalog-buttons {
    flex: 1 1 calc(100% - 80px);
  }

  .featured-app {
    grid-template-columns: 75px 1fr 130px;
  }

  .featured-app-icon {
    width: 70px;
    height: 70px;
  }

  .story-grid {
    grid-template-columns: 43% 57%;
    gap: 30px;
  }

  .story-quote {
    width: 180px;
  }

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

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

  .culture-grid {
    grid-template-columns: 30% 70%;
  }

  .culture-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-post {
    grid-template-columns: 50% 50%;
  }

  .newsletter-panel {
    grid-template-columns: 75px 1fr;
  }

  .newsletter-art {
    width: 70px;
    height: 70px;
  }

  .newsletter-form {
    grid-column: 1 / -1;
  }

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

  .topics-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 24px 0 32px;
  }

  .page-hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .page-hero-copy {
    padding: 0;
    text-align: center;
  }

  .breadcrumbs,
  .page-hero-copy .eyebrow,
  .page-hero-actions,
  .micro-stats,
  .app-trust-row {
    justify-content: center;
  }

  .page-hero-copy .eyebrow {
    display: inline-flex;
  }

  .page-hero h1 {
    margin-inline: auto;
    font-size: clamp(34px, 10vw, 47px);
  }

  .page-hero-copy > p:not(.eyebrow) {
    margin-inline: auto;
    font-size: 12px;
  }

  .page-hero-actions {
    flex-wrap: wrap;
  }

  .micro-stats {
    flex-wrap: wrap;
  }

  .service-orbit,
  .course-hero-visual,
  .store-phones,
  .about-hero-art {
    width: 380px;
    max-width: 100%;
    margin: 15px auto -20px;
    transform: scale(0.9);
  }

  .inner-section-heading {
    display: block;
    text-align: center;
  }

  .inner-section-heading .section-kicker {
    margin-inline: auto;
  }

  .inner-section-heading h2 {
    font-size: 29px;
  }

  .inner-section-heading > p {
    margin: 10px auto 0;
  }

  .catalog-section {
    padding-block: 40px;
  }

  .catalog-buttons {
    justify-content: center;
  }

  .extended-service-grid,
  .course-card-grid,
  .app-product-grid,
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .extended-service-card {
    min-height: 300px;
  }

  .catalog-control-panel {
    padding: 12px;
    align-items: stretch;
    flex-direction: column;
  }

  .select-control,
  .search-control,
  .app-controls .search-control,
  .blog-controls .search-control {
    width: 100%;
  }

  .result-counter {
    margin: 2px auto 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 10px;
  }

  .process-grid::before {
    display: none;
  }

  .cta-panel {
    padding: 28px 22px;
    flex-direction: column;
    text-align: center;
  }

  .cta-panel h2 {
    font-size: 25px;
  }

  .cta-panel .button {
    width: 100%;
  }

  .course-card-body > p:not(.course-meta),
  .blog-card-body > p:not(.post-category),
  .app-product-card > p {
    min-height: 0;
    font-size: 10px;
  }

  .learning-grid,
  .custom-app-panel,
  .story-grid,
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .learning-grid > div:first-child,
  .custom-app-panel > div:last-child,
  .story-copy,
  .culture-grid > div:first-child {
    text-align: center;
  }

  .learning-grid .section-kicker,
  .custom-app-panel .section-kicker,
  .story-copy .section-kicker,
  .culture-grid .section-kicker {
    margin-inline: auto;
  }

  .method-cards {
    grid-template-columns: 1fr;
  }

  .featured-app {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .featured-app-icon {
    margin-inline: auto;
  }

  .featured-app-copy .section-kicker {
    margin-inline: auto;
  }

  .feature-pills {
    justify-content: center;
  }

  .featured-app-price {
    max-width: 230px;
    margin-inline: auto;
  }

  .custom-app-panel {
    gap: 10px;
  }

  .custom-features {
    text-align: left;
  }

  .story-visual {
    min-height: 355px;
  }

  .story-photo {
    width: 95%;
  }

  .mission-vision {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid article {
    min-height: 150px;
  }

  .culture-points {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding-top: 24px;
  }

  .blog-hero-heading {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-hero .breadcrumbs,
  .blog-hero .eyebrow {
    justify-content: center;
  }

  .blog-hero h1 {
    font-size: clamp(35px, 10vw, 48px);
  }

  .blog-hero-heading > p {
    margin-top: 15px;
    font-size: 11px;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post-art {
    min-height: 260px;
  }

  .featured-post-copy {
    padding: 25px;
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-art {
    margin-inline: auto;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

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

  .topics-grid > div:first-child {
    grid-column: auto;
    text-align: center;
  }

  .topics-grid > div:first-child .section-kicker {
    margin-inline: auto;
  }
}

@media (max-width: 430px) {
  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .button {
    width: 100%;
    min-height: 44px;
  }

  .micro-stats {
    gap: 14px;
  }

  .service-orbit {
    margin-left: -22px;
  }

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

  .method-cards {
    grid-template-columns: 1fr;
  }

  .custom-features,
  .mission-vision {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 68px 1fr;
  }

  .team-avatar,
  .join-icon {
    width: 64px;
    height: 80px;
  }
}

/* Course detail and enrollment */
.course-cover.has-course-image { padding: 0; background: #dce9fb; }
.course-cover.has-course-image > img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: none; }
.course-cover.has-course-image::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(3, 20, 53, .58)); pointer-events: none; }
.course-cover.has-course-image .cover-code { z-index: 2; }
.course-detail-hero { padding: 30px 0 76px; background: radial-gradient(circle at 80% 20%, #d8eaff 0, transparent 32%), linear-gradient(135deg, #f8fbff, #edf5ff); }
.course-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 510px); gap: 70px; align-items: center; padding-top: 52px; }
.course-detail-copy h1 { max-width: 750px; margin: 15px 0 18px; color: #071a45; font-size: clamp(2.7rem, 5.2vw, 5.1rem); line-height: .98; letter-spacing: -.055em; }
.course-detail-lead { max-width: 680px; margin: 0; color: #587091; font-size: 1.05rem; line-height: 1.72; }
.course-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.course-detail-facts > span { display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; padding: 13px 14px; border: 1px solid #dce8f7; border-radius: 13px; background: rgba(255,255,255,.78); }
.course-detail-facts > span > b { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: #0867ed; }
.course-detail-facts small { color: #8493aa; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.course-detail-facts strong { margin-top: 3px; color: #14284d; font-size: .78rem; }
.course-schedule { margin: 18px 0 0; color: #587091; font-size: .84rem; }
.course-purchase-card { padding: 13px 13px 22px; border: 1px solid #dbe5f3; border-radius: 26px; background: #fff; box-shadow: 0 28px 70px rgba(25, 68, 136, .16); }
.course-purchase-card .service-detail-cover-button { border-width: 0; border-radius: 18px; box-shadow: none; }
.course-purchase-card .service-detail-cover { aspect-ratio: 16 / 10; }
.course-detail-gallery .service-gallery-thumbs { padding: 0 4px; }
.course-purchase-fallback { display: grid; place-items: center; height: 265px; border-radius: 18px; background: linear-gradient(135deg, #06235b, #0877f9); }
.course-purchase-fallback img { width: 90px; height: 90px; object-fit: contain; }
.course-purchase-fallback span { color: rgba(255,255,255,.75); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.course-price-row { display: flex; align-items: baseline; gap: 10px; padding: 20px 10px 5px; }
.course-price-row strong { color: #071a45; font-size: 2rem; letter-spacing: -.04em; }
.course-price-row del { color: #8b98aa; font-size: .92rem; }
.course-price-row span { padding: 5px 8px; border-radius: 7px; color: #087644; background: #e9faf2; font-size: .72rem; font-weight: 900; }
.course-purchase-card > p { margin: 6px 10px 14px; color: #6d7d94; font-size: .76rem; line-height: 1.5; }
.course-buy-button { display: flex; margin: 0 10px; justify-content: space-between; }
.course-purchase-card > ul { display: grid; gap: 8px; margin: 17px 10px 0; padding: 15px 0 0; border-top: 1px solid #edf1f7; list-style: none; }
.course-purchase-card > ul li { color: #53647d; font-size: .73rem; }
.course-purchase-card > ul li::before { content: "✓"; margin-right: 8px; color: #087644; font-weight: 900; }
.course-detail-content { padding: 80px 0; background: #fff; }
.course-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; align-items: start; }
.course-rich-content { color: #435775; font-size: .96rem; line-height: 1.8; }
.course-rich-content h2 { margin: 10px 0 14px; color: #071a45; font-size: 1.85rem; line-height: 1.15; letter-spacing: -.03em; }
.course-rich-content h3 { margin: 25px 0 10px; color: #102b5b; font-size: 1.2rem; }
.course-rich-content p { margin: 0 0 15px; }
.course-rich-content ul, .course-rich-content ol { display: grid; gap: 8px; padding-left: 22px; }
.course-rich-content blockquote { margin: 24px 0; padding: 16px 20px; border-left: 4px solid #0872f5; border-radius: 0 12px 12px 0; background: #f1f7ff; }
.course-instructor { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #e8edf4; }
.course-instructor > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #0873f6, #0b48bd); font-weight: 900; }
.course-instructor div { display: grid; gap: 3px; }
.course-instructor small { color: #8491a4; font-size: .65rem; text-transform: uppercase; font-weight: 800; }
.course-instructor strong { color: #14284d; }
.course-summary-card { position: sticky; top: 96px; padding: 25px; border: 1px solid #dce6f2; border-radius: 18px; background: #f8fbff; }
.course-summary-card h3 { margin: 0 0 17px; color: #0c214a; font-size: 1rem; }
.course-summary-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.course-summary-card li { color: #53647c; font-size: .78rem; line-height: 1.45; }
.course-summary-card li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; color: #0763d8; background: #e5f0ff; font-weight: 900; }
.course-syllabus-section { padding: 76px 0 88px; background: #f5f9ff; }
.course-syllabus-card { padding: 45px 52px; border: 1px solid #dfe8f4; border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(31, 70, 130, .06); }
.course-syllabus-card > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid #e7edf5; }
.course-syllabus-card > header h2 { margin: 7px 0 0; color: #071a45; font-size: 2rem; }
.course-syllabus-card > header > span { padding: 8px 12px; border-radius: 9px; color: #1461be; background: #edf5ff; font-size: .7rem; font-weight: 800; }
.course-rich-content.syllabus { padding-top: 25px; columns: 2; column-gap: 55px; }
.course-rich-content.syllabus h2 { break-after: avoid; font-size: 1.15rem; }
.course-rich-content.syllabus ul, .course-rich-content.syllabus ol { break-inside: avoid; margin-bottom: 26px; }
.checkout-page { min-height: 100vh; color: #0c2149; background: #f3f7fc; font-family: Inter, sans-serif; }
.checkout-header { border-bottom: 1px solid #e0e8f2; background: rgba(255,255,255,.92); }
.checkout-header .container { display: flex; min-height: 76px; align-items: center; justify-content: space-between; }
.checkout-header > .container > a:last-child { color: #365275; font-size: .78rem; font-weight: 800; text-decoration: none; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; padding-top: 48px; padding-bottom: 70px; }
.checkout-main { padding: 38px 42px; border: 1px solid #dfe7f1; border-radius: 22px; background: #fff; box-shadow: 0 15px 45px rgba(32, 64, 110, .055); }
.checkout-main h1 { max-width: 690px; margin: 12px 0; color: #081c46; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.045em; }
.checkout-intro { margin: 0 0 27px; color: #687991; line-height: 1.65; }
.checkout-errors { margin-bottom: 22px; padding: 15px 18px; border: 1px solid #ffc7c7; border-radius: 12px; color: #9f2525; background: #fff3f3; font-size: .78rem; }
.checkout-errors ul { margin-bottom: 0; padding-left: 20px; }
.checkout-form { display: grid; gap: 25px; }
.checkout-form fieldset { display: grid; gap: 18px; margin: 0; padding: 24px; border: 1px solid #e1e8f1; border-radius: 16px; }
.checkout-form legend { padding: 0 8px; color: #112a55; font-size: .88rem; font-weight: 900; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-form label { display: grid; gap: 7px; color: #2f4260; font-size: .72rem; font-weight: 800; }
.checkout-form input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid #cfd9e7; border-radius: 10px; color: #102449; background: #fff; font: inherit; outline: none; }
.checkout-form input:focus { border-color: #0873f6; box-shadow: 0 0 0 3px rgba(8,115,246,.1); }
.checkout-form label small { color: #8995a7; font-size: .61rem; font-weight: 500; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.payment-methods label { position: relative; }
.payment-methods input { position: absolute; opacity: 0; }
.payment-methods span { display: grid; gap: 3px; padding: 16px; border: 1px solid #d6e0ec; border-radius: 12px; cursor: pointer; }
.payment-methods span b { color: #132a53; }
.payment-methods span small { color: #8290a4; font-size: .64rem; font-weight: 600; }
.payment-methods input:checked + span { border-color: #0873f6; background: #eff6ff; box-shadow: 0 0 0 2px rgba(8,115,246,.1); }
.payment-help { padding: 15px 17px; border-radius: 12px; color: #4d617f; background: #f1f7ff; font-size: .72rem; line-height: 1.5; }
.payment-help p { margin: 4px 0 7px; }
.payment-help a { color: #075fce; font-weight: 850; }
.checkout-submit { width: 100%; justify-content: center; border: 0; }
.checkout-privacy { margin: -13px 0 0; color: #8b97a7; text-align: center; font-size: .65rem; }
.checkout-hp { position: absolute !important; left: -10000px; }
.checkout-summary { position: sticky; top: 24px; padding: 25px; border: 1px solid #dce5f0; border-radius: 20px; background: #fff; box-shadow: 0 15px 45px rgba(32, 64, 110, .055); }
.checkout-summary > p { margin: 0 0 18px; color: #7e8ca0; font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.checkout-course { display: flex; gap: 13px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #ebeff5; }
.checkout-course > span { display: grid; flex: 0 0 76px; place-items: center; height: 64px; overflow: hidden; border-radius: 11px; background: #e6f0ff; }
.checkout-course > span img { width: 100%; height: 100%; object-fit: cover; }
.checkout-course > div { display: grid; gap: 4px; }
.checkout-course small { color: #0870e7; font-size: .61rem; font-weight: 850; }
.checkout-course strong { color: #132b54; font-size: .82rem; line-height: 1.3; }
.checkout-course em { color: #8a96a7; font-size: .64rem; font-style: normal; }
.checkout-summary dl { margin: 18px 0; }
.checkout-summary dl > div { display: flex; justify-content: space-between; padding: 7px 0; color: #64738a; font-size: .74rem; }
.checkout-summary dl .discount dd { color: #087744; }
.checkout-summary dl .total { margin-top: 10px; padding-top: 17px; border-top: 1px solid #e6ebf2; color: #10274f; font-weight: 900; }
.checkout-summary dl .total dd { font-size: 1.35rem; }
.checkout-summary dd { margin: 0; }
.checkout-summary > ul { display: grid; gap: 9px; margin: 0; padding: 16px 0 0; border-top: 1px solid #ebeff5; list-style: none; }
.checkout-summary > ul li { color: #6d7b90; font-size: .68rem; }
.checkout-summary > ul li::before { content: "✓"; margin-right: 7px; color: #087744; font-weight: 900; }
.checkout-success { display: grid; justify-items: start; }
.checkout-success > span { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; color: #fff; background: #0a9a61; font-size: 1.8rem; font-weight: 900; }
.checkout-success > p:not(.eyebrow) { color: #5e708a; line-height: 1.7; }
.checkout-success > div { display: flex; gap: 10px; margin: 14px 0 23px; }
.checkout-success > small { max-width: 650px; color: #8a96a7; line-height: 1.55; }
@media (max-width: 900px) {
  .course-detail-grid, .course-content-grid, .checkout-grid { grid-template-columns: 1fr; }
  .course-purchase-card, .checkout-summary { position: static; }
  .course-detail-grid { gap: 38px; padding-top: 35px; }
  .course-rich-content.syllabus { columns: 1; }
}
@media (max-width: 620px) {
  .course-detail-hero { padding-bottom: 50px; }
  .course-detail-facts, .checkout-fields, .payment-methods { grid-template-columns: 1fr; }
  .course-syllabus-card, .checkout-main { padding: 25px 20px; }
  .course-syllabus-card > header { align-items: start; flex-direction: column; }
  .checkout-grid { padding-top: 22px; gap: 18px; }
  .checkout-form fieldset { padding: 18px 14px; }
  .checkout-header .brand-copy small { display: none; }
  .checkout-success > div { width: 100%; flex-direction: column; }
}

/* Public certificate and verification */
.certificate-page { min-height: 100vh; margin: 0; color: #14294d; background: radial-gradient(circle at 15% 10%, #deedff, transparent 24%), #f1f5fa; font-family: Inter, sans-serif; }
.certificate-topbar { display: flex; min-height: 76px; padding: 0 max(24px, calc((100% - 1180px) / 2)); align-items: center; justify-content: space-between; border-bottom: 1px solid #dce5ef; background: rgba(255,255,255,.92); }
.certificate-topbar > a { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.certificate-topbar img { width: 44px; height: 44px; object-fit: contain; }
.certificate-topbar > a span { display: grid; gap: 2px; }
.certificate-topbar strong { color: #071a43; font-size: .95rem; }
.certificate-topbar small { color: #7b899d; font-size: .6rem; }
.certificate-topbar > div { display: flex; gap: 9px; }
.certificate-topbar > div a, .certificate-topbar button { padding: 9px 12px; border: 1px solid #cbd8e8; border-radius: 8px; color: #315071; background: #fff; font: inherit; font-size: .66rem; font-weight: 850; cursor: pointer; text-decoration: none; }
.certificate-topbar button { border-color: #0870ef; color: #fff; background: #0870ef; }
.certificate-page main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 70px; }
.certificate-verified-banner { display: flex; gap: 12px; max-width: 1000px; margin: 0 auto 18px; align-items: center; padding: 12px 15px; border: 1px solid #b9dacd; border-radius: 12px; background: #f0faf5; }
.certificate-verified-banner > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: #0a9360; font-weight: 900; }
.certificate-verified-banner div { display: grid; gap: 2px; }
.certificate-verified-banner b { color: #155f43; font-size: .72rem; }
.certificate-verified-banner small { color: #5e7d71; font-size: .6rem; }
.certificate-verified-banner em { margin-left: auto; color: #27624d; font-size: .65rem; font-style: normal; font-weight: 900; }
.certificate-sheet { position: relative; width: min(1000px, 100%); aspect-ratio: 1.414 / 1; overflow: hidden; margin: 0 auto; padding: 58px 70px 42px; border: 11px solid #fff; outline: 1px solid #cad7e6; color: #172d50; background: linear-gradient(145deg, rgba(239,247,255,.7), transparent 40%), #fff; box-shadow: 0 28px 75px rgba(29, 61, 108, .14); }
.certificate-sheet::before { content: ""; position: absolute; inset: 15px; border: 2px solid #0d5ec8; pointer-events: none; }
.certificate-sheet::after { content: ""; position: absolute; inset: 22px; border: 1px solid #b8c9de; pointer-events: none; }
.certificate-corner { position: absolute; z-index: 2; width: 80px; height: 80px; border-color: #0870ef; }
.certificate-corner.top-left { top: 28px; left: 28px; border-top: 5px solid; border-left: 5px solid; }
.certificate-corner.top-right { top: 28px; right: 28px; border-top: 5px solid; border-right: 5px solid; }
.certificate-corner.bottom-left { bottom: 28px; left: 28px; border-bottom: 5px solid; border-left: 5px solid; }
.certificate-corner.bottom-right { right: 28px; bottom: 28px; border-right: 5px solid; border-bottom: 5px solid; }
.certificate-watermark { position: absolute; top: 50%; left: 50%; color: rgba(8,112,239,.035); font-size: 31rem; font-weight: 900; line-height: 1; transform: translate(-50%,-50%) rotate(-10deg); }
.certificate-sheet > header { position: relative; z-index: 2; display: flex; gap: 10px; align-items: center; }
.certificate-sheet > header img { width: 57px; height: 57px; object-fit: contain; }
.certificate-sheet > header div { display: grid; gap: 2px; }
.certificate-sheet > header strong { color: #071a43; font-size: 1.15rem; }
.certificate-sheet > header small { color: #738197; font-size: .58rem; }
.certificate-body { position: relative; z-index: 2; display: grid; justify-items: center; padding: 12px 0 4px; text-align: center; }
.certificate-body > p:first-child { margin: 0; color: #0870ef; font-size: .66rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.certificate-body h1 { margin: 7px 0 17px; color: #071a43; font-family: "Playfair Display", serif; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1; }
.certificate-body > span, .certificate-body > p:not(:first-child) { margin: 0; color: #718096; font-size: .72rem; }
.certificate-body h2 { margin: 7px 0 12px; padding: 0 25px 7px; border-bottom: 2px solid #b7cce6; color: #0a55b5; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; }
.certificate-body h3 { margin: 8px 0 7px; color: #142b51; font-size: clamp(1.05rem, 2vw, 1.55rem); }
.certificate-hours { font-size: .68rem !important; }
.certificate-sheet > footer { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 110px 1fr; gap: 30px; align-items: end; max-width: 680px; margin: 18px auto 0; text-align: center; }
.certificate-sheet > footer > div { display: grid; gap: 3px; }
.certificate-sheet > footer i { display: block; border-top: 1px solid #637590; }
.certificate-sheet > footer b { color: #263e61; font-size: .64rem; }
.certificate-sheet > footer small { color: #8491a4; font-size: .54rem; }
.certificate-seal { display: grid; place-items: center; width: 95px; height: 95px; margin: auto; border: 2px solid #0870ef; border-radius: 50%; color: #0870ef; background: #f1f7ff; }
.certificate-seal img { width: 45px; height: 45px; object-fit: contain; }
.certificate-seal b { font-size: .48rem; letter-spacing: .1em; }
.certificate-code { position: absolute; z-index: 2; right: 58px; bottom: 43px; display: grid; justify-items: end; gap: 2px; }
.certificate-code span, .certificate-code small { color: #8190a5; font-size: .48rem; }
.certificate-code b { color: #164f99; font-size: .58rem; letter-spacing: .07em; }
.certificate-verify-card { display: flex; max-width: 1000px; margin: 20px auto 0; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; border: 1px solid #d8e2ee; border-radius: 14px; background: #fff; }
.certificate-verify-card > div { display: flex; gap: 10px; align-items: center; }
.certificate-verify-card > div > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: #fff; background: #0a9360; }
.certificate-verify-card p { display: grid; gap: 2px; margin: 0; }
.certificate-verify-card p b { color: #143151; font-size: .72rem; }
.certificate-verify-card p small { color: #7c899d; font-size: .58rem; }
.certificate-verify-card form { display: flex; gap: 7px; align-items: end; }
.certificate-verify-card label { display: grid; gap: 5px; color: #687990; font-size: .57rem; font-weight: 800; }
.certificate-verify-card input { height: 35px; padding: 0 10px; border: 1px solid #ced9e7; border-radius: 7px; font: inherit; }
.certificate-verify-card button, .certificate-search button { height: 35px; padding: 0 12px; border: 0; border-radius: 7px; color: #fff; background: #0870ef; font: inherit; font-size: .62rem; font-weight: 900; cursor: pointer; }
.certificate-search { display: grid; max-width: 680px; margin: 55px auto; justify-items: center; padding: 55px; border: 1px solid #d8e2ee; border-radius: 24px; background: #fff; box-shadow: 0 24px 65px rgba(29, 61, 108, .1); text-align: center; }
.certificate-search > span { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 18px; color: #fff; background: #0870ef; font-size: 1.5rem; font-weight: 900; }
.certificate-search > span.is-invalid { background: #c14343; }
.certificate-search h1 { margin: 10px 0; color: #071a43; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.05em; }
.certificate-search > p:not(.eyebrow) { max-width: 520px; margin: 0; color: #6f7f95; font-size: .8rem; line-height: 1.65; }
.certificate-search form { display: flex; width: 100%; gap: 8px; margin-top: 25px; }
.certificate-search input { flex: 1; height: 46px; padding: 0 13px; border: 1px solid #cad6e5; border-radius: 9px; font: inherit; outline: none; }
.certificate-search button { height: 46px; }
.certificate-search > small { margin-top: 14px; color: #8b97a9; font-size: .6rem; }
@media (max-width: 720px) {
  .certificate-page main { width: calc(100% - 26px); padding-top: 20px; }
  .certificate-sheet { aspect-ratio: auto; min-height: 650px; padding: 48px 35px; }
  .certificate-body { padding-top: 40px; }
  .certificate-sheet > footer { grid-template-columns: 1fr 75px 1fr; gap: 12px; }
  .certificate-seal { width: 70px; height: 70px; }
  .certificate-seal img { width: 34px; height: 34px; }
  .certificate-code { right: 40px; bottom: 33px; }
  .certificate-verified-banner, .certificate-verify-card { align-items: stretch; flex-direction: column; }
  .certificate-verified-banner em { margin-left: 46px; }
  .certificate-verify-card form { width: 100%; }
  .certificate-verify-card label { flex: 1; }
  .certificate-search { margin-top: 20px; padding: 38px 22px; }
  .certificate-search form { flex-direction: column; }
  .certificate-topbar > div a { display: none; }
}
@media print {
  @page { size: A4 landscape; margin: 0; }
  .certificate-topbar, .certificate-verified-banner, .certificate-verify-card { display: none !important; }
  .certificate-page, .certificate-page main { width: 100%; margin: 0; padding: 0; background: #fff; }
  .certificate-sheet { width: 297mm; height: 210mm; margin: 0; border: 0; outline: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
