:root {
  --ink: #071938;
  --ink-soft: #274162;
  --brand: #0069ff;
  --brand-deep: #061b45;
  --cyan: #22c7e8;
  --green: #16b36a;
  --orange: #ff7a1a;
  --paper: #ffffff;
  --paper-soft: #f4f8fc;
  --line: #d9e5f1;
  --shadow: 0 22px 55px rgba(11, 37, 73, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

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

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--brand-deep);
  clip: auto;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 82px;
  padding: 14px max(22px, calc((100vw - var(--container)) / 2));
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header:focus-within {
  min-height: 70px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(6, 27, 69, 0.11);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 38px;
  border: 5px solid currentColor;
  border-top-color: transparent;
  border-radius: 22px 22px 16px 16px;
  color: var(--brand);
}

.site-header:not(.is-scrolled) .brand-mark {
  color: var(--paper);
}

.mark-dot {
  position: absolute;
  display: block;
  border: 5px solid currentColor;
  border-bottom-color: transparent;
  background: transparent;
  border-radius: 999px;
}

.mark-dot-one {
  width: 27px;
  height: 27px;
  left: 1px;
  top: -15px;
}

.mark-dot-two {
  width: 34px;
  height: 34px;
  left: 15px;
  top: -21px;
}

.mark-dot-three {
  width: 28px;
  height: 28px;
  right: -1px;
  top: -13px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 2rem;
  color: currentColor;
}

.brand-copy strong span {
  color: #1aa0ff;
}

.site-header:not(.is-scrolled) .brand-copy strong span {
  color: var(--paper);
}

.brand-copy small {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(0, 105, 255, 0.12);
  outline: none;
}

.site-nav .nav-pill {
  color: var(--paper);
  background: var(--orange);
  box-shadow: 0 10px 26px rgba(255, 122, 26, 0.24);
}

.site-nav .nav-pill:hover,
.site-nav .nav-pill:focus-visible {
  background: #e9660f;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 730px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: var(--brand-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(6, 27, 69, 0.96) 0%, rgba(6, 27, 69, 0.9) 35%, rgba(6, 27, 69, 0.42) 66%, rgba(6, 27, 69, 0.2) 100%),
    url("../images/cleansoft-tanitim.jpeg");
  background-position: center, center right;
  background-size: cover, cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(0deg, rgba(6, 27, 69, 0.72), rgba(6, 27, 69, 0));
}

.hero-content {
  padding-top: 92px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.sub-hero .eyebrow,
.portal-hero .eyebrow {
  color: #7fe3ff;
}

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

h1,
h2,
h3 {
  line-height: 1.06;
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: 4.1rem;
  font-weight: 900;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.24rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: var(--paper);
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(0, 105, 255, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0059dd;
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.button-light {
  color: var(--brand-deep);
  background: var(--paper);
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 170px));
  gap: 10px;
  max-width: 560px;
  margin: 38px 0 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-metrics dt {
  font-size: 1.5rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.trust-band {
  padding: 20px 0;
  background: var(--paper);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2);
}

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

.trust-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.trust-grid strong {
  font-size: 1.02rem;
}

.trust-grid p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.mini-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--brand);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-icon-green {
  background: var(--green);
}

.mini-icon-orange {
  background: var(--orange);
}

.mini-icon-cyan {
  background: var(--cyan);
}

.section {
  padding: 86px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(244, 248, 252, 0.82), rgba(255, 255, 255, 0.96)),
    var(--paper-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-heading h2,
.portal-copy h2,
.contact-copy h2,
.extension-layout h2,
.portal-module-head h2 {
  margin-bottom: 14px;
  font-size: 2.45rem;
  font-weight: 900;
  color: var(--brand-deep);
}

.section-heading p,
.split-heading p,
.portal-copy p,
.contact-copy p,
.extension-layout p,
.portal-intro p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.service-card,
.program-card,
.process-grid article,
.module-grid article,
.gallery-grid figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 35px rgba(11, 37, 73, 0.08);
}

.service-card {
  min-height: 210px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--cyan), var(--orange));
}

.service-card span,
.program-card span,
.module-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(0, 105, 255, 0.09);
  font-weight: 900;
  font-size: 0.8rem;
}

.service-card h3,
.process-grid h3,
.wide-report h3 {
  margin-bottom: 10px;
  color: var(--brand-deep);
  font-size: 1.25rem;
}

.service-card p,
.program-card p,
.process-grid p,
.wide-report p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 42px;
  align-items: center;
}

.portal-copy .check-list {
  margin: 26px 0;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.portal-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--brand-deep);
  box-shadow: var(--shadow);
}

.window-top {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.78);
  background: #09275f;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.window-top span:nth-child(2) {
  background: var(--cyan);
}

.window-top span:nth-child(3) {
  background: var(--green);
}

.window-top strong {
  margin-left: auto;
  font-size: 0.84rem;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 372px;
  color: var(--paper);
}

.dash-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 18px;
  background: rgba(0, 0, 0, 0.2);
}

.dash-side span {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.dash-main {
  padding: 26px;
}

.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dash-row div,
.dash-modules span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.dash-row b {
  display: block;
  font-size: 1.24rem;
}

.dash-row small {
  color: rgba(255, 255, 255, 0.7);
}

.chart-bars {
  height: 155px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 169, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.chart-bars span {
  flex: 1;
  min-width: 12px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--brand));
}

.dash-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-modules span {
  text-align: center;
  font-size: 0.86rem;
  font-weight: 800;
}

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

.text-link {
  color: var(--brand);
  font-weight: 900;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange);
  outline: none;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sector-grid a {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 25px rgba(11, 37, 73, 0.06);
  font-weight: 850;
}

.sector-grid a:nth-child(3n + 2) {
  border-left-color: var(--green);
}

.sector-grid a:nth-child(3n) {
  border-left-color: var(--orange);
}

.sector-grid a:hover,
.sector-grid a:focus-visible {
  transform: translateY(-1px);
  color: var(--brand);
  outline: none;
}

.process-section {
  background: var(--brand-deep);
  color: var(--paper);
}

.process-section .eyebrow {
  color: #7fe3ff;
}

.process-section h2,
.process-section h3 {
  color: var(--paper);
}

.process-section p {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-grid article {
  min-height: 190px;
  padding: 22px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
}

.process-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--orange);
  font-weight: 900;
}

.gallery-section {
  background: var(--paper-soft);
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(6, 27, 69, 0.94), rgba(6, 27, 69, 0.86)),
    url("../images/cleansoft-cozumler.jpeg") center / cover;
  color: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-copy h2,
.contact-copy p {
  color: var(--paper);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.contact-form,
.login-panel,
.slug-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(0, 105, 255, 0.14);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--brand-deep);
  background: rgba(0, 105, 255, 0.08);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #04132f;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand-footer {
  color: var(--paper);
}

.brand-footer .brand-copy strong span {
  color: #1aa0ff;
}

.footer-grid p {
  margin: 0;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  gap: 8px;
}

.floating-contact a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 12px 26px rgba(22, 179, 106, 0.26);
  font-size: 0.88rem;
  font-weight: 900;
}

.floating-contact a:first-child {
  background: var(--brand);
}

.sub-hero,
.portal-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding-top: 88px;
  color: var(--paper);
  overflow: hidden;
  background: var(--brand-deep);
}

.sub-hero::before,
.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 27, 69, 0.96), rgba(6, 27, 69, 0.72), rgba(6, 27, 69, 0.34)),
    url("../images/cleansoft-cozumler.jpeg") center right / cover;
}

.sub-hero-content,
.portal-app-layout {
  position: relative;
  z-index: 1;
}

.sub-hero h1,
.portal-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 3.3rem;
  font-weight: 900;
}

.sub-hero p,
.portal-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.program-tools {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.search-box {
  padding: 0;
}

.slug-preview,
.slug-form output {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

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

.program-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.program-card h2 {
  margin-bottom: 12px;
  color: var(--brand-deep);
  font-size: 1.35rem;
}

.program-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 900;
}

.program-card[hidden] {
  display: none;
}

.extension-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 32px;
  align-items: center;
}

.slug-form {
  background: var(--paper);
}

.portal-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 36px;
  align-items: center;
}

.portal-status {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
}

.portal-status span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
}

.login-panel h2 {
  margin-bottom: 4px;
  color: var(--brand-deep);
}

.login-panel p {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.portal-modules {
  scroll-margin-top: 90px;
}

.portal-module-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

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

.module-grid article {
  min-height: 164px;
  padding: 22px;
}

.module-grid strong {
  display: block;
  color: var(--ink-soft);
}

.module-grid b {
  display: block;
  margin-top: 14px;
  color: var(--brand-deep);
  font-size: 1.65rem;
}

.wide-report {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border-radius: 8px;
  background: var(--brand-deep);
  color: var(--paper);
}

.wide-report h3 {
  color: var(--paper);
}

.wide-report p {
  color: rgba(255, 255, 255, 0.74);
}

.chart-bars-large {
  height: 190px;
  margin: 0;
}

@media (max-width: 1060px) {
  .site-header {
    padding-inline: 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .site-header:not(.is-scrolled) .site-nav .nav-pill {
    color: var(--paper);
  }

  .trust-grid,
  .service-grid,
  .sector-grid,
  .program-grid,
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-layout,
  .contact-layout,
  .extension-layout,
  .portal-app-layout,
  .wide-report {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-grid img {
    height: auto;
  }

  .program-tools {
    grid-template-columns: 1fr;
  }
}

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

  .site-header {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 32px;
    border-width: 4px;
  }

  .mark-dot {
    border-width: 4px;
  }

  .mark-dot-one {
    width: 23px;
    height: 23px;
    top: -13px;
  }

  .mark-dot-two {
    width: 29px;
    height: 29px;
    left: 12px;
    top: -18px;
  }

  .mark-dot-three {
    width: 24px;
    height: 24px;
    top: -12px;
  }

  .brand-copy strong {
    font-size: 1.55rem;
  }

  .brand-copy small {
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .hero {
    min-height: 620px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(6, 27, 69, 0.96) 0%, rgba(6, 27, 69, 0.88) 48%, rgba(6, 27, 69, 0.42) 100%),
      url("../images/cleansoft-tanitim.jpeg");
    background-position: center, center bottom;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-lead,
  .sub-hero p,
  .portal-hero p {
    font-size: 1rem;
  }

  .hero-metrics,
  .trust-grid,
  .service-grid,
  .sector-grid,
  .process-grid,
  .program-grid,
  .module-grid,
  .dash-row,
  .dash-modules {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .split-heading h2,
  .portal-copy h2,
  .contact-copy h2,
  .extension-layout h2,
  .portal-module-head h2 {
    font-size: 2rem;
  }

  .split-heading,
  .portal-module-head,
  .footer-grid {
    display: grid;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .dash-side {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
  }

  .sub-hero,
  .portal-hero {
    min-height: 520px;
  }

  .sub-hero h1,
  .portal-hero h1 {
    font-size: 2.35rem;
  }

  .contact-form,
  .login-panel,
  .slug-form {
    padding: 20px;
  }

  .floating-contact {
    left: 14px;
    right: 14px;
  }

  .floating-contact a {
    flex: 1;
  }
}

