/* Main styles converted from the original static CleanXpert website. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 999;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--deep);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

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

.section {
  padding: var(--space-4xl) 0;
}

.section-tight {
  padding: var(--space-3xl) 0;
}

.eyebrow {
  display: inline-flex;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-lg);
  color: var(--dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--turquoise);
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  color: var(--deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: var(--space-xl);
  font-size: clamp(2.5rem, 4.2vw, 3.5rem); /* max 56px */
  line-height: 1;
}

h2 {
  margin-bottom: var(--space-lg);
  font-size: clamp(2rem, 3.1vw, 3rem); /* max 48px */
  line-height: 1;
}

h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(1.35rem, 1.8vw, 1.5rem); /* max 24px */
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h4 {
  margin-bottom: var(--space-sm);
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.35vw, 1.125rem); /* calmer lead copy */
  line-height: 1.55;
  letter-spacing: -0.01em;
}

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

.text-center .lead,
.text-center .section-title {
  margin-inline: auto;
}

.section-title {
  max-width: 780px;
}

.highlight {
  color: var(--turquoise);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  color: var(--deep);
  background: var(--soft-strong);
  border: 1px solid rgba(12, 191, 197, .24);
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 48px;
  padding: var(--space-md) var(--space-xl);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  color: var(--deep);
  background: var(--turquoise);
  border-color: var(--turquoise);
}

.btn-lime {
  color: var(--deep);
  background: var(--lime);
  border-color: var(--lime);
}

.btn-secondary {
  color: var(--white);
  background: var(--deep);
  border-color: var(--deep);
}

.btn-ghost {
  color: var(--deep);
  background: rgba(254, 254, 254, .88);
  border-color: rgba(254, 254, 254, .72);
}

.btn-outline {
  color: var(--deep);
  background: var(--white);
  border-color: var(--deep);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.hero-single-cta {
  margin-top: var(--space-xl);
}

.testimonial-grid {
  margin-top: var(--space-2xl);
}

.testimonials-section .section-title {
  max-width: 700px;
}

.service-copy {
  max-width: 720px;
  margin: var(--space-xl) 0 var(--space-2xl);
  color: var(--muted);
  font-size: 18px;
  line-height: 27px;
}

.split-copy .service-copy {
  margin-top: var(--space-lg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(254, 254, 254, .94);
  border-bottom: 1px solid rgba(3, 64, 79, .10);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 184px;
}

.brand img {
  width: 190px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xs);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  padding: var(--space-sm) var(--space-lg);
  color: var(--deep);
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.nav-link:hover,
.nav-link:focus-visible,
.dropdown-toggle:hover,
.dropdown-toggle:focus-visible,
.nav-link.is-active {
  color: var(--dark);
  background: var(--soft-strong);
  outline: none;
}

.dropdown {
  position: relative;
}

.dropdown-icon {
  width: .62rem;
  height: .62rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  min-width: 320px;
  padding: var(--space-sm);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown.is-open .dropdown-icon,
.dropdown:hover .dropdown-icon {
  transform: rotate(225deg) translate(-2px, -1px);
}

.dropdown-menu a {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  color: var(--deep);
  font-weight: 600;
  line-height: 1.35;
}

.dropdown-menu a span {
  display: block;
  margin-top: var(--space-xs);
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--soft);
  outline: none;
}

.header-cta {
  margin-left: var(--space-sm);
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--deep);
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-toggle span::before {
  transform: translateY(-7px);
}

.mobile-toggle span::after {
  transform: translateY(5px);
}

.mobile-toggle.is-active span {
  background: transparent;
}

.mobile-toggle.is-active span::before {
  transform: rotate(45deg);
}

.mobile-toggle.is-active span::after {
  transform: rotate(-45deg) translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(12, 191, 197, .14), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(149, 189, 38, .13), transparent 34%),
    var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(3, 64, 79, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(3, 64, 79, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.62), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .88fr);
  gap: var(--space-3xl);
  align-items: center;
}

.hero-copy {
  max-width: 800px;
}

.hero-copy .badge {
  margin-bottom: var(--space-xl);
}

.hero-copy .lead {
  margin-bottom: var(--space-2xl);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(3, 64, 79, .60), rgba(4, 92, 108, .18) 55%, rgba(12, 191, 197, .16));
  pointer-events: none;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  right: var(--space-xl);
  bottom: var(--space-xl);
  z-index: 2;
  width: min(330px, 78%);
  padding: var(--space-xl);
  background: rgba(254, 254, 254, .94);
  border: 1px solid rgba(254, 254, 254, .72);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.floating-panel strong {
  display: block;
  color: var(--deep);
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.floating-panel p {
  margin: var(--space-sm) 0 0;
  font-size: 16px;
  line-height: 24px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.hero-stat {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(254, 254, 254, .86);
}

.hero-stat strong {
  display: block;
  color: var(--deep);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.hero-stat span {
  display: block;
  margin-top: var(--space-xs);
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

.card {
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(3, 64, 79, .04);
}

.card-elevated {
  box-shadow: var(--shadow-sm);
}

.icon-box {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--deep);
  background: var(--soft-strong);
  border-radius: var(--radius-md);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--space-4xl);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.split.reverse .split-media {
  order: 1;
}

.split.reverse .split-copy {
  order: 2;
}

.split-media {
  position: relative;
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.media-card img {
  width: 100%;
  height: auto;
}

.service-section {
  border-top: 1px solid rgba(3, 64, 79, .10);
}

.problem-solution {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-2xl);
}

.problem-solution .mini-card {
  padding: var(--space-xl);
  background: var(--soft);
  border: 1px solid rgba(12, 191, 197, .18);
  border-radius: var(--radius-md);
}

.problem-solution strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--deep);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.problem-solution p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.soft-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(12, 191, 197, .10), transparent 32%),
    radial-gradient(circle at 90% 90%, rgba(149, 189, 38, .10), transparent 32%),
    rgba(12, 191, 197, .045);
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 15%, rgba(12, 191, 197, .24), transparent 36%),
    radial-gradient(circle at 10% 90%, rgba(149, 189, 38, .18), transparent 32%),
    var(--deep);
}

.dark-section h2,
.dark-section h3,
.dark-section .eyebrow {
  color: var(--white);
}

.dark-section p {
  color: rgba(254, 254, 254, .80);
}

.dark-section .eyebrow::before {
  background: var(--lime);
}

.testimonial-card {
  display: grid;
  min-height: 100%;
  gap: var(--space-lg);
}

.testimonial-top {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.testimonial-top img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.testimonial-top strong {
  color: var(--deep);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.testimonial-top p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 21px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.placeholder-note {
  display: none;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: var(--space-2xl);
  align-items: start;
  padding: var(--space-2xl);
  background: rgba(254, 254, 254, .94);
  border: 1px solid rgba(254, 254, 254, .62);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.dark-section .cta-box h2,
.dark-section .cta-box h3 {
  color: var(--deep);
}

.dark-section .cta-box p,
.dark-section .cta-box label,
.dark-section .cta-box .form-hint {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: var(--space-lg);
}

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

.form-field {
  display: grid;
  gap: var(--space-sm);
}

.form-field label {
  color: var(--deep);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: var(--space-md) var(--space-lg);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--deep);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 4px rgba(12, 191, 197, .13);
}

.form-hint {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}

.page-hero {
  padding: var(--space-4xl) 0 var(--space-3xl);
  background:
    radial-gradient(circle at 80% 20%, rgba(12, 191, 197, .14), transparent 36%),
    var(--white);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .46fr);
  gap: var(--space-3xl);
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
}

.breadcrumbs a {
  color: var(--dark);
  font-weight: 600;
}

.service-hero-img {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.check-list {
  display: grid;
  gap: var(--space-md);
  padding: 0;
  margin: var(--space-xl) 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.check-list li::before {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: .1rem;
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--deep);
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: var(--space-lg);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.info-list strong {
  display: block;
  color: var(--deep);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: var(--space-2xl);
  align-items: start;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.map-placeholder {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: var(--space-xl);
  text-align: center;
  background:
    linear-gradient(rgba(3, 64, 79, .72), rgba(4, 92, 108, .72)),
    radial-gradient(circle at 80% 20%, rgba(12, 191, 197, .65), transparent 36%),
    var(--deep);
  border-radius: var(--radius-md);
  color: var(--white);
}

.map-placeholder p {
  margin: var(--space-sm) 0 0;
  color: rgba(254, 254, 254, .78);
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: var(--space-2xl);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.legal-content h3 {
  margin-top: var(--space-xl);
  font-size: 20px;
  line-height: 25px;
}

.legal-box {
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--lime-soft);
  border: 1px dashed rgba(149, 189, 38, .55);
  border-radius: var(--radius-md);
}

.site-footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  color: rgba(254, 254, 254, .76);
  background: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, .7fr));
  gap: var(--space-2xl);
}

.footer-brand img {
  width: 210px;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
}

.footer-brand p,
.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(254, 254, 254, .76);
  font-size: 16px;
  line-height: 24px;
}

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

.footer-title {
  margin-bottom: var(--space-lg);
  color: var(--white);
  font-weight: 600;
}

.footer-links {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(254, 254, 254, .14);
  font-size: 14px;
  line-height: 21px;
}

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

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

