﻿body {
  background:
    radial-gradient(circle at 10% 8%, rgba(37, 99, 235, .12), transparent 26rem),
    radial-gradient(circle at 92% 20%, rgba(16, 166, 166, .1), transparent 25rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #eef6ff 100%) !important;
}

main,
.section,
section {
  position: relative;
}

.card,
.service-card,
.specialty-card,
.resource-card,
.testimonial-card,
.fit-card,
.process-card,
.detail-card,
article[class*="card"],
a[class*="card"] {
  border-color: rgba(37, 99, 235, .16) !important;
  box-shadow: 0 14px 34px rgba(23, 32, 51, .08) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease !important;
}

.card:hover,
.service-card:hover,
.specialty-card:hover,
.resource-card:hover,
.testimonial-card:hover,
.fit-card:hover,
.process-card:hover,
.detail-card:hover,
article[class*="card"]:hover,
a[class*="card"]:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .34) !important;
  box-shadow: 0 24px 54px rgba(23, 32, 51, .13) !important;
}

a[class*="card"] {
  position: relative;
  overflow: hidden;
}

a[class*="card"]:not(.card-link)::after {
  content: "Learn more";
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: #1746aa;
  font-size: 13px;
  font-weight: 800;
}

.card-link {
  display: flex !important;
  min-height: 100% !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.card-link::after {
  content: "" !important;
  display: none !important;
}

.card-link .link-more {
  margin-top: auto !important;
  padding-top: 8px !important;
}

.content-grid,
.services-grid,
.resources-grid,
.specialties-grid,
.testimonials-grid,
.cards-grid {
  gap: clamp(16px, 2vw, 24px) !important;
}

h1,
h2,
h3 {
  letter-spacing: 0 !important;
}

.services-polish .page-hero,
body:has(.services-hero-art) .page-hero {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(260px, .66fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.services-hero-copy {
  max-width: 760px;
}

.services-hero-art {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 22px;
  background: #e8f4ff;
  box-shadow: 0 22px 54px rgba(23, 32, 51, .14);
}

.services-hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 820px) {
  .services-polish .page-hero,
  body:has(.services-hero-art) .page-hero {
    grid-template-columns: 1fr;
  }
}

.polish-showcase {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(28px, 5vw, 56px) auto;
}

.polish-visual,
.polish-copy {
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 44px rgba(23, 32, 51, .1);
  overflow: hidden;
}

.polish-visual {
  min-height: 270px;
  background: linear-gradient(135deg, #ddecff, #e9fbf6);
}

.polish-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polish-copy {
  padding: clamp(22px, 4vw, 34px);
}

.polish-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .1);
  color: #1746aa;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.polish-copy h2 {
  margin: 0 0 10px;
}

.polish-copy p {
  color: #66738a;
  line-height: 1.58;
}

.polish-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.polish-points b {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .13);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  color: #22314b;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .polish-showcase,
  .polish-points {
    grid-template-columns: 1fr;
  }
}

.contact-polish h1,
.contact-polish h2,
.contact-polish h3,
.contact-polish strong,
.contact-polish b,
.contact-polish label {
  font-weight: 720 !important;
}

.contact-polish h1 {
  max-width: 780px;
  color: #16233a;
}

.contact-polish form,
.contact-polish .form,
.contact-polish .contact-form,
.contact-polish [class*="form"] {
  border: 1px solid rgba(37, 99, 235, .16) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(244, 249, 255, .92)) !important;
  box-shadow: 0 20px 54px rgba(23, 32, 51, .11) !important;
}

.contact-polish input,
.contact-polish textarea,
.contact-polish select {
  border: 1px solid rgba(37, 99, 235, .18) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85) !important;
  color: #172033 !important;
  font: inherit !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.contact-polish input:focus,
.contact-polish textarea:focus,
.contact-polish select:focus {
  outline: none !important;
  border-color: rgba(37, 99, 235, .55) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12) !important;
}

.contact-polish button,
.contact-polish .button,
.contact-polish [class*="btn"] {
  border-radius: 999px !important;
  font-weight: 760 !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, .18) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.contact-polish button:hover,
.contact-polish .button:hover,
.contact-polish [class*="btn"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(37, 99, 235, .24) !important;
}

.about-polish h1,
.about-polish h2,
.about-polish h3,
.about-polish strong,
.about-polish b,
.about-polish label {
  font-weight: 690 !important;
}

.about-polish .card,
.about-polish .panel,
.about-polish aside,
.about-polish [class*="highlight"],
.about-polish [class*="experience"],
.about-polish [class*="process"] {
  border-color: rgba(37, 99, 235, .14) !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 16px 38px rgba(23, 32, 51, .08) !important;
}

.about-polish .mini-list span,
.about-polish li,
.about-polish [class*="tag"],
.about-polish [class*="pill"] {
  font-weight: 620 !important;
}


