/* 

    * This file contains the actual site structures. They are complex
    * components designed to actually give the site it's appearance and 
    * functionality. 

*/
/* ##### ##### ##### ##### ##### */
/*  Main site grid */
/* ##### ##### ##### */
:root {
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  /* filter: invert(1); */
}

section[id] {
  /* padding-top: 21px; */

  scroll-margin-top: calc(var(--header-height) + 16px);
}
.zoff-grid {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows:
    min-content
    min-content
    min-content
    min-content
    min-content
    min-content;

  margin: 0px auto;

  max-width: 1450px;
  max-width: 1224px;
  /* max-width: 1545px; */
  height: auto;
  min-height: 100vh;

  padding: 25px;
  padding-top: 0px;
}

.site-grid {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;

  margin: 0px auto;

  max-width: 1100px;
  height: auto;
  min-height: 100vh;

  padding: 25px;
}
@media (max-width: 1024px) {
  .site-grid {
    padding: 12px;
  }
}
@media (max-width: 924px) {
  .site-grid {
    padding: 6px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .site-grid {
    grid-template-rows:
      0px
      90px
      min-content
      200px;
  }
}
/* ##### ##### ##### ##### ##### */

/* ##### ##### ##### ##### ##### */
/*  Header Area */
/* ##### ##### ##### */

/* ##### ##### ##### ##### ##### */
.box-shadow {
  box-shadow: 10px 10px 5px 0px var(--accent2);
  -webkit-box-shadow: 10px 10px 5px 0px var(--accent2);
  -moz-box-shadow: 10px 10px 5px 0px var(--accent2);
}
/* ##### ##### ##### ##### ##### */
/*  Nav Area */
/* ##### ##### ##### */
.logo {
  width: auto;
  /* text-align: center; */
  /* text-shadow: 2px 2px 4px var(--accent2); */
  color: var(--accent);
  align-self: center;
  margin-left: 21px;
}
nav {
  position: sticky;
  top: 0px;

  /* margin: 0px auto; */

  width: 100%;
  max-width: 2000px;
  height: 90px;
  margin: 0px auto;
  /* background: var(--bg); */

  display: flex;
  flex-direction: row;

  z-index: 5;

  background-color: var(--adminColor);
  border-bottom: 1px solid var(--accent);
  /* border: 1px solid red; */
  background-image:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(0, 89, 255, 0.1) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(0, 81, 255, 0.06) 0%,
      transparent 55%
    );
}
nav .nav-drawer {
  display: flex;
  flex-direction: row;

  align-self: center;
  margin-left: auto;
  /* background: var(--bg); */

  /* border: 1px solid blue; */
  position: relative;
}
nav .nav-drawer > a {
  height: 35px;
  min-width: 120px;

  color: var(--linkText);

  font-style: normal;
  font-family: "Nav", serif;
  font-weight: 0;
  font-size: clamp(0.5rem, 5vw, 1rem);
  /* line-height: 5.6; */
  letter-spacing: 2.6px;
  text-transform: uppercase;
  text-align: center;

  padding: 0px 14px;
  padding-top: 0px;

  margin: 0px 12px;

  /* border-radius: 5px; */
  /* margin: 0px 7px; */
}
nav .nav-drawer > a:hover {
  /* background-color: var(--primary); */
  color: white;
  text-decoration: none;
  color: var(--accent);
  border-bottom: 1px solid var(--accent2);
}
.nav-drawer .nav-active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent2);
}
/* .nav-link {
  color: inherit;
  text-decoration: none;
}
.nav-link.nav-active {
  color: crimson;
  font-weight: 700;
} */
nav button {
  width: auto;
  padding: 0px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;

  width: 50px;
  height: 45px;

  border: 1px solid var(--primary);
  border-radius: 5px;
  /* -webkit-box-shadow: 3px 3px 0px 0px var(--shadow);
  box-shadow: 3px 3px 0px 0px var(--shadow); */
  background-color: var(--bg);
  margin-left: auto;

  z-index: 16;
}
.slice {
  display: block;
  height: 3px;
  width: 35px;

  margin: 8px auto;

  background-color: var(--accent2);
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;

  border-radius: 7px;
}
/* Hamburger open (turn into X) */
.hamburger.open .slice:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open .slice:nth-child(2) {
  opacity: 0;
}
.hamburger.open .slice:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}
@media (max-width: 1224px) {
  nav {
    /* background: none; */
    /* border-bottom: none; */
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 21px;
    right: 21px;
  }
  nav .nav-drawer {
    flex-direction: column;
    position: absolute;
    width: 300px;

    width: 300px;
    max-width: 300px;
    height: 100vh;

    position: fixed;
    top: 0;
    left: -100%;

    flex-direction: column;
    background: var(--bg);

    transition: left 0.3s ease-in-out;
    /* -webkit-box-shadow: 3px 3px 0px 0px #000000;
    box-shadow: 3px 3px 0px 0px #000000; */
  }
  nav .nav-drawer a {
    height: 55px;
    padding-top: 14px;
  }
  nav .open {
    left: 0;
  }
}

/* ##### ##### ##### ##### ##### */

/* ##### ##### ##### ##### ##### */
/*  Header Area */
/* ##### ##### ##### */
header {
  display: flex;
  flex-direction: row;

  width: 100%;

  padding: 5px;
  padding-top: 25px;
  padding-bottom: 50px;

  margin-top: 50px;
  margin-bottom: 120px;

  justify-content: space-evenly;
}
header div:nth-child(1) {
  width: 55%;
  height: auto;
  color: #e5e9f0;
  padding-right: 14px;
}

.project-brief-form {
  width: 100%;
  /* max-width: 26rem; */
  max-width: 500px;

  /* margin: 0px auto; */

  padding: 1.75rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 0.625rem 1.875rem rgba(15, 23, 42, 0.06);
}

.form-field {
  margin-bottom: 1rem;
}

.project-brief-form label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}

.project-brief-form input,
.project-brief-form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 0.625rem;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.project-brief-form input::placeholder,
.project-brief-form textarea::placeholder {
  color: #94a3b8;
}

.project-brief-form input:focus,
.project-brief-form textarea:focus {
  border-color: #4f46e5;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.project-brief-form textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.button-primary {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #4f46e5;
  border: none;
  border-radius: 0.625rem;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.button-primary:hover {
  background-color: #4338ca;
}

.button-primary:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 2px;
}

.form-note {
  margin-top: 0.75rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}
@media (max-width: 1024px) {
  header {
    flex-direction: column;
  }
  header div:nth-child(1) {
    width: 100%;
  }
  .project-brief-form {
    width: 100%;
    margin: 0px auto;
    margin-top: 21px;
    padding: 1.5rem;
  }
}

/* .services-card {
  min-width: 0;
  min-height: 400px;

  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
} */
.services-card img {
  width: 120px;
  height: 120px;

  border-radius: 15px;
}
.p-header {
  color: black;

  font-family: "Paragraph", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1rem, 5vw, 1.8rem);

  font-weight: bold;
  /* line-height: 1.2; */

  letter-spacing: 0.6px;
}
.p-services {
  color: black;
  font-family: "Paragraph", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(0.7rem, 5vw, 1.5rem);

  font-weight: 400;
  line-height: 1.2;

  /* letter-spacing: 0.6px; */
  margin-top: 7px;
}
/* @media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
} */
/* @media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
} */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.services-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* .services-card:hover {
  border-color: #cbd5e1;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.05),
    0 16px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
} */

.services-card-icon {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  margin: 0px auto;
  margin-bottom: 1.25rem;
  color: #1e293b;
  background: #f1f5f9;
  border-radius: 0.75rem;
}

.services-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.services-card-title {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-family: "Paragraph", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

.services-card-text {
  margin: 0 0 1.5rem;
  color: #475569;
  font-family: "Paragraph", Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1px;
}

.services-card-link {
  margin-top: auto;
  align-self: flex-start;
  color: #0f172a;
  font-family: "Paragraph", Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 160ms ease;
}

.services-card-link:hover,
.services-card-link:focus-visible {
  color: #2563eb;
}

.services-card-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .services-card,
  .services-card-link {
    transition: none;
  }

  .services-card:hover {
    transform: none;
  }
}
@media (max-width: 1024px) {
  .services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 624px) {
  .services {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Section shell 

















*/
.zoff-grid section {
  /* padding-block: var(--space-5); */
  border-top: 1px solid var(--color-border);
  /* padding-bottom: 50px; */
  padding-top: 75px;
  padding-bottom: 75px;
}

/* Section heading */
.zoff-grid section > h2 {
  margin: 0 0 var(--space-6);
  /* font-family: var(--font-main); */
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  /* color: var(--color-text); */
}

/* Optional small section intro */
.section-intro {
  max-width: 44rem;
  margin: 0 0 var(--space-7);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-muted);
}

/* Shared card base */
.card {
  height: 100%;
  padding: var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--color-text);
}

.card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.how-it-works {
  display: flex;
  flex-direction: row;
}
.how-it-works article:nth-child(1) {
  display: flex;
  flex-direction: column;

  width: 50%;
}
.how-it-works article:nth-child(2) {
  display: flex;
  flex-direction: column;

  width: 50%;
  padding: 25px;

  justify-content: center;
}
.how-it-works article:nth-child(2) img {
  width: 100%;
  height: 100%;
  border-radius: 15px;

  max-width: 500px;
  max-height: 500px;

  justify-self: center;
  align-self: center;
}
@media (max-width: 764px) {
  .how-it-works {
    display: flex;
    flex-direction: column;
  }
  .how-it-works article:nth-child(1) {
    display: flex;
    flex-direction: column;

    width: 100%;
  }
  .how-it-works article:nth-child(2) {
    display: flex;
    flex-direction: column;

    width: 100%;
  }
}
/* .process-step {
  width: 100%;
  height: auto;

  background-color: var(--accent);

  border-radius: 10px;
  margin-top: 14px;
  padding: 14px;
} */
.process-step {
  margin-bottom: 14px;
}
.benefit {
  margin-bottom: 14px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--space-5);
}

.proof-label {
  margin: 0 0 var(--space-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.proof-card h3 {
  font-size: 1.25rem;
}

.proof-list {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.proof-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-accent);
  border-radius: 50%;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: var(--space-6) var(--space-7);
}

.faq-item {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.0625rem;
  font-weight: 650;
  color: var(--color-text);
}

.faq-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-muted);
}

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

  justify-items: center;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 300px;

  background-color: var(--adminColor);
}
