/* =========================================================
   GURUMAA CARES & CURES
   Society Accounts & Audit Consultancy
   Main Stylesheet
========================================================= */


/* =========================================================
   LOCAL FONT
========================================================= */

@font-face {
  font-family: "PoppinsLocal";
  src: url("../fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PoppinsLocal";
  src: url("../fonts/poppins-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PoppinsLocal";
  src: url("../fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

  --blue: #075d87;
  --blue-dark: #063d59;
  --blue-deep: #082c3d;

  --cyan: #62c9ef;
  --cyan-soft: #e8f7fc;

  --ink: #12242d;
  --ink-soft: #304650;

  --muted: #63747d;
  --muted-light: #8ca0a8;

  --paper: #f5f8f8;
  --paper-dark: #edf3f4;

  --white: #ffffff;

  --line: #d9e4e7;
  --line-dark: #b9ccd3;

  --shadow-small:
    0 8px 25px rgba(7, 61, 87, 0.07);

  --shadow:
    0 18px 50px rgba(7, 61, 87, 0.11);

  --shadow-large:
    0 28px 70px rgba(7, 61, 87, 0.15);

  --radius-small: 9px;
  --radius: 14px;
  --radius-large: 20px;

  --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

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

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

body {
  margin: 0;

  color: var(--ink);
  background: var(--paper);

  font-family:
    "PoppinsLocal",
    "Segoe UI",
    Arial,
    sans-serif;

  font-size: 17px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}


/* =========================================================
   COMMON
========================================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 18px;

  color: var(--blue);

  font-size: 0.78rem;
  font-weight: 600;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 3px;

  flex: 0 0 auto;

  background: var(--cyan);
}

.eyebrow-light {
  color: var(--cyan);
}

.section h2,
.contact-section h2 {
  margin: 0;

  font-size:
    clamp(2.1rem, 4vw, 3.4rem);

  line-height: 1.12;

  letter-spacing: -0.045em;

  font-weight: 600;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
  position: fixed;

  left: 16px;
  top: -100px;

  z-index: 9999;

  padding: 12px 18px;

  border-radius: var(--radius-small);

  background: var(--ink);
  color: var(--white);

  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;

  z-index: 1000;

  background: rgba(255, 255, 255, 0.96);

  border-bottom:
    1px solid rgba(217, 228, 231, 0.9);

  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 13px;

  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 54px;

  object-fit: contain;
}

.brand-copy {
  display: grid;

  line-height: 1.25;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 600;

  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 4px;

  color: var(--muted);

  font-size: 0.76rem;
}


/* Navigation */

.primary-nav {
  display: flex;
  align-items: center;

  gap: 27px;
}

.primary-nav > a:not(.nav-cta) {
  color: var(--ink-soft);

  font-size: 0.92rem;
  font-weight: 500;

  text-decoration: none;

  transition:
    color 0.2s ease;
}

.primary-nav > a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 45px;

  padding: 10px 17px;

  border-radius: var(--radius-small);

  background: var(--blue);
  color: var(--white);

  text-decoration: none;

  font-size: 0.9rem;
  font-weight: 600;

  box-shadow:
    0 7px 18px rgba(7, 93, 135, 0.17);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue-dark);

  transform: translateY(-2px);

  box-shadow:
    0 10px 24px rgba(7, 93, 135, 0.23);
}


/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 48px;
  height: 44px;

  border:
    1px solid var(--line);

  border-radius: var(--radius-small);

  background: var(--white);
  color: var(--ink);

  cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #fbfdfd 0%,
      #eaf7fb 50%,
      #f5f9f8 100%
    );

  border-bottom:
    1px solid var(--line);
}

.ledger-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.45;

  background-image:
    linear-gradient(
      rgba(7, 93, 135, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(7, 93, 135, 0.055) 1px,
      transparent 1px
    );

  background-size: 44px 44px;

  pointer-events: none;
}

.hero-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(390px, 0.92fr);

  gap: 78px;

  align-items: center;

  min-height: 690px;

  padding-block: 82px;
}


/* Hero copy */

.hero-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 9px;

  margin-bottom: 20px;

  color: var(--blue);

  font-size: 0.76rem;
  font-weight: 600;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.kicker-line {
  width: 28px;
  height: 3px;

  background: var(--cyan);
}

.kicker-dot {
  color: #8ba3ad;
}

.hero h1 {
  max-width: 790px;

  margin: 0;

  font-size:
    clamp(2.9rem, 5.4vw, 5.15rem);

  line-height: 1.04;

  letter-spacing: -0.06em;

  font-weight: 600;
}

.hero h1 span {
  display: block;

  color: var(--blue);
}

.hero-text {
  max-width: 700px;

  margin: 29px 0 0;

  color: #4f646e;

  font-size: 1.12rem;

  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 35px;
}


/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 55px;

  padding: 13px 21px;

  border-radius: 10px;

  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button-primary {
  background: var(--blue);
  color: var(--white);

  box-shadow:
    0 10px 25px rgba(7, 93, 135, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);

  box-shadow:
    0 14px 30px rgba(7, 93, 135, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);

  color: var(--ink);

  border:
    1px solid var(--line);
}

.button-secondary:hover {
  border-color: var(--blue);

  background: var(--white);
}


/* Hero trust */

.hero-trust {
  display: flex;
  flex-wrap: wrap;

  gap: 12px 22px;

  margin-top: 31px;

  color: #526770;

  font-size: 0.84rem;
}

.hero-trust i {
  margin-right: 5px;

  color: var(--blue);
}


/* =========================================================
   HERO AUDIT PANEL
========================================================= */

.audit-panel {
  position: relative;

  padding: 27px;

  background:
    rgba(255, 255, 255, 0.94);

  border:
    1px solid #cbdde3;

  border-radius: var(--radius-large);

  box-shadow: var(--shadow-large);

  overflow: hidden;
}

.audit-panel::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--cyan)
    );
}

.audit-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 20px;

  border-bottom:
    1px solid var(--line);
}

.audit-panel-header > div {
  display: grid;

  gap: 4px;
}

.panel-label {
  color: var(--muted-light);

  font-size: 0.68rem;
  font-weight: 600;

  letter-spacing: 0.12em;
}

.audit-panel-header strong {
  color: var(--ink);

  font-size: 0.98rem;
  font-weight: 600;
}

.panel-status {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 7px 9px;

  border:
    1px solid #d1e6ed;

  border-radius: 7px;

  background: var(--cyan-soft);

  color: var(--blue);

  font-size: 0.67rem;
  font-weight: 600;

  letter-spacing: 0.08em;
}

.audit-summary {
  padding-top: 23px;
}

.summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 4px;

  color: var(--ink);

  font-size: 1.05rem;
  font-weight: 600;
}

.summary-heading i {
  color: var(--blue);

  font-size: 1rem;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 17px 0;

  border-top:
    1px solid #e5edef;

  color: #4d616b;

  font-size: 0.91rem;
}

.summary-line strong {
  color: var(--blue);

  font-size: 0.79rem;
  font-weight: 600;

  white-space: nowrap;
}

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 12px;
  padding-top: 18px;

  border-top:
    2px solid var(--ink);

  color: #60737c;

  font-size: 0.76rem;
}

.panel-footer span {
  display: inline-flex;
  align-items: center;

  gap: 7px;
}

.panel-footer i {
  color: var(--blue);
}


/* =========================================================
   SERVICES
========================================================= */

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

.section-heading {
  display: grid;

  grid-template-columns:
    1.08fr
    0.92fr;

  gap: 70px;

  align-items: end;

  margin-bottom: 52px;
}

.section-heading > p {
  margin: 0;

  color: var(--muted);

  font-size: 1rem;
}


/* Service grid */

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 17px;
}


/* All cards intentionally same treatment */

.service-card {
  position: relative;

  grid-column: span 2;

  min-height: 300px;

  display: flex;
  flex-direction: column;

  padding: 29px;

  background: var(--white);

  border:
    1px solid var(--line);

  border-radius: var(--radius);

  box-shadow:
    0 5px 18px rgba(7, 61, 87, 0.025);

  overflow: hidden;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card:hover {
  transform: translateY(-5px);

  border-color:
    #b7d1da;

  box-shadow: var(--shadow);
}

.service-icon {
  width: 47px;
  height: 47px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--cyan-soft);

  color: var(--blue);

  font-size: 1.18rem;
}

.service-card-content {
  margin-top: 26px;
}

.service-label {
  color: #71848d;

  font-size: 0.68rem;
  font-weight: 600;

  letter-spacing: 0.1em;
}

.service-card h3 {
  max-width: 330px;

  margin: 9px 0 11px;

  color: var(--ink);

  font-size: 1.23rem;

  line-height: 1.34;

  font-weight: 600;
}

.service-card p {
  margin: 0;

  color: #687a83;

  font-size: 0.92rem;

  line-height: 1.72;
}

.service-arrow {
  position: absolute;

  right: 25px;
  bottom: 25px;

  color: #a0b1b8;

  font-size: 0.8rem;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.service-card:hover .service-arrow {
  color: var(--blue);

  transform:
    translate(2px, -2px);
}


/* =========================================================
   APPROACH
========================================================= */

.approach-section {
  background:
    linear-gradient(
      135deg,
      #092d3d,
      #0a425c
    );

  color: var(--white);
}

.approach-grid {
  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  gap: 100px;

  align-items: start;
}

.approach-intro h2 {
  max-width: 610px;
}

.approach-intro > p:not(.eyebrow) {
  max-width: 620px;

  margin-top: 26px;

  color: #c3d2d8;
}

.text-link {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: 30px;

  color: var(--cyan);

  text-decoration: none;

  font-weight: 600;
}

.text-link:hover {
  color: var(--white);
}


/* Approach list */

.approach-list {
  border-top:
    1px solid rgba(255, 255, 255, 0.18);
}

.approach-list article {
  display: grid;

  grid-template-columns:
    54px
    1fr;

  gap: 20px;

  padding: 25px 0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.18);
}

.approach-icon {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(98, 201, 239, 0.28);

  border-radius: 9px;

  background:
    rgba(98, 201, 239, 0.08);

  color: var(--cyan);
}

.approach-list h3 {
  margin: 0 0 7px;

  font-size: 1.08rem;

  font-weight: 600;
}

.approach-list p {
  margin: 0;

  color: #b9ccd3;

  font-size: 0.91rem;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
  background: #f8faf9;
}

.about-grid {
  display: grid;

  grid-template-columns:
    0.82fr
    1.18fr;

  gap: 90px;

  align-items: center;
}


/* Modern accounting statement panel */

.about-statement {
  position: relative;

  min-height: 410px;

  display: flex;
  flex-direction: column;

  border:
    1px solid #cadde3;

  border-radius: var(--radius-large);

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #edf7fa
    );

  box-shadow: var(--shadow);

  overflow: hidden;
}

.about-statement::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--cyan)
    );
}

.statement-top {
  display: flex;
  align-items: center;

  gap: 13px;

  padding: 24px;

  border-bottom:
    1px solid var(--line);

  color: #657881;

  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.08em;
}

.statement-top > span {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border-radius: 8px;

  background: var(--cyan-soft);

  color: var(--blue);

  font-size: 1rem;
}

.statement-main {
  flex: 1;

  position: relative;

  padding: 42px 32px;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 42px,
      rgba(7, 93, 135, 0.045) 43px
    );
}

.statement-label {
  margin: 0 0 15px;

  color: var(--blue);

  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.11em;
}

.statement-main h3 {
  max-width: 430px;

  margin: 0;

  color: var(--ink);

  font-size:
    clamp(1.8rem, 3vw, 2.55rem);

  line-height: 1.2;

  letter-spacing: -0.045em;

  font-weight: 600;
}

.statement-lines {
  display: grid;

  gap: 9px;

  margin-top: 30px;

  max-width: 270px;
}

.statement-lines span {
  display: block;

  height: 5px;

  border-radius: 4px;

  background: #c4dbe2;
}

.statement-lines span:nth-child(2) {
  width: 76%;
}

.statement-lines span:nth-child(3) {
  width: 55%;
}

.statement-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 18px 24px;

  border-top:
    1px solid var(--line);

  color: #5e737d;

  font-size: 0.76rem;
}

.statement-bottom span {
  display: inline-flex;
  align-items: center;

  gap: 7px;
}

.statement-bottom i {
  color: var(--blue);
}


/* About copy */

.about-copy h2 {
  max-width: 720px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 720px;

  margin-top: 23px;

  color: var(--muted);

  font-size: 1rem;
}

.about-points {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 14px 28px;

  margin-top: 31px;
}

.about-points div {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  color: #40545d;

  font-size: 0.91rem;
}

.about-points i {
  flex: 0 0 auto;

  margin-top: 5px;

  color: var(--blue);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  padding: 100px 0;

  background:
    linear-gradient(
      135deg,
      var(--blue-dark),
      var(--blue)
    );

  color: var(--white);
}

.contact-grid {
  display: grid;

  grid-template-columns:
    1fr
    0.95fr;

  gap: 90px;

  align-items: center;
}

.contact-section h2 {
  max-width: 700px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;

  margin: 25px 0 0;

  color: #d3e5ec;
}

.contact-note {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 27px;

  color: #a8d9e8;

  font-size: 0.84rem;
}

.contact-note i {
  color: var(--cyan);
}


/* Contact cards */

.contact-actions {
  display: grid;

  gap: 11px;
}

.contact-action {
  display: grid;

  grid-template-columns:
    48px
    1fr
    auto;

  align-items: center;

  gap: 15px;

  padding: 17px 18px;

  border:
    1px solid rgba(255, 255, 255, 0.19);

  border-radius: var(--radius);

  background:
    rgba(255, 255, 255, 0.08);

  color: var(--white);

  text-decoration: none;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.contact-action:hover {
  background:
    rgba(255, 255, 255, 0.13);

  border-color:
    rgba(255, 255, 255, 0.32);

  transform:
    translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background:
    rgba(255, 255, 255, 0.11);

  color: var(--cyan);

  font-size: 1.12rem;
}

.contact-details {
  display: grid;

  line-height: 1.35;
}

.contact-action strong {
  font-size: 0.96rem;
}

.contact-action small {
  margin-top: 3px;

  color: #c8dce4;

  font-size: 0.81rem;
}

.action-arrow {
  color: var(--cyan);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #061d28;

  color: #b8cbd2;
}

.footer-top {
  display: grid;

  grid-template-columns:
    1.45fr
    0.65fr
    0.9fr
    1fr;

  gap: 55px;

  padding-top: 65px;
  padding-bottom: 58px;
}


/* Footer brand */

.footer-brand {
  display: inline-flex;
  align-items: center;

  gap: 13px;

  color: var(--white);

  text-decoration: none;
}

.footer-logo-box {
  width: 54px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: rgba(255, 255, 255);
}

.footer-logo-box img {
  width: 46px;
  height: 43px;

  object-fit: contain;
}

.footer-brand > span:last-child {
  display: grid;

  line-height: 1.3;
}

.footer-brand strong {
  font-size: 1rem;
  font-weight: 600;
}

.footer-brand small {
  margin-top: 4px;

  color: #8fa7b0;

  font-size: 0.7rem;
}


/* Footer description */

.footer-description {
  max-width: 390px;

  margin: 21px 0 20px;

  color: #8fa7b0;

  font-size: 0.84rem;

  line-height: 1.7;
}


/* Small contact links */

.footer-contact-mini {
  display: grid;

  gap: 8px;
}

.footer-contact-mini a {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  width: fit-content;

  color: #b8cbd2;

  text-decoration: none;

  font-size: 0.79rem;
}

.footer-contact-mini a:hover {
  color: var(--cyan);
}

.footer-contact-mini i {
  width: 15px;

  color: var(--cyan);

  font-size: 0.72rem;
}


/* Footer columns */

.footer-column {
  display: grid;

  align-content: start;

  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 9px;

  color: var(--white);

  font-size: 0.82rem;
  font-weight: 600;

  letter-spacing: 0.04em;
}

.footer-column a {
  width: fit-content;

  color: #91a8b0;

  text-decoration: none;

  font-size: 0.79rem;
}

.footer-column a:hover {
  color: var(--cyan);
}


/* Footer CTA */

.footer-cta {
  padding: 23px;

  border:
    1px solid rgba(255, 255, 255, 0.11);

  border-radius: var(--radius);

  background:
    rgba(255, 255, 255, 0.045);
}

.footer-cta-label {
  display: block;

  margin-bottom: 9px;

  color: var(--cyan);

  font-size: 0.64rem;
  font-weight: 600;

  letter-spacing: 0.1em;
}

.footer-cta h3 {
  margin: 0 0 18px;

  color: var(--white);

  font-size: 1.25rem;

  line-height: 1.3;

  font-weight: 600;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 43px;

  padding: 10px 14px;

  border-radius: 8px;

  background: var(--cyan);

  color: #07384e;

  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-whatsapp:hover {
  background: #83d7f3;

  transform:
    translateY(-2px);
}


/* Footer bottom */

.footer-bottom {
  border-top:
    1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  min-height: 76px;
}

.footer-bottom p {
  margin: 0;

  color: #708991;

  font-size: 0.7rem;
}

.webfortify-credit {
  text-align: right;
}

.footer-bottom a {
  color: #a9ddec;

  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .primary-nav {
    gap: 17px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

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

  .audit-panel {
    max-width: 700px;
  }

  .section-heading,
  .approach-grid,
  .contact-grid {
    gap: 50px;
  }

  .about-grid {
    gap: 55px;
  }

  .footer-top {
    grid-template-columns:
      1.3fr
      0.7fr
      0.9fr;

    gap: 40px;
  }

  .footer-cta {
    grid-column: 1 / -1;
    max-width: 480px;
  }
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 820px) {

  body {
    font-size: 16px;
  }

  .container {
    width:
      min(
        calc(100% - 30px),
        var(--container)
      );
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-grid;

    place-items: center;
  }

  .primary-nav {
    position: absolute;

    left: 15px;
    right: 15px;

    top: calc(100% + 9px);

    display: grid;

    gap: 4px;

    padding: 10px;

    border:
      1px solid var(--line);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-7px);

    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .primary-nav.is-open {
    opacity: 1;

    visibility: visible;

    transform:
      translateY(0);
  }

  .primary-nav > a:not(.nav-cta) {
    padding: 12px;

    border-radius: 8px;
  }

  .primary-nav > a:not(.nav-cta):hover {
    background: var(--cyan-soft);
  }

  .nav-cta {
    margin-top: 4px;

    width: 100%;
  }


  /* Hero */

  .hero-grid {
    min-height: auto;

    padding-block: 65px 70px;
  }

  .hero h1 {
    font-size:
      clamp(2.55rem, 10vw, 4rem);
  }

  .hero-text {
    font-size: 1rem;
  }


  /* Sections */

  .section {
    padding: 82px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;

    gap: 22px;

    margin-bottom: 38px;
  }

  .section h2,
  .contact-section h2 {
    font-size:
      clamp(2rem, 8vw, 3rem);
  }


  /* Services */

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;

    min-height: 290px;
  }


  /* Approach */

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


  /* About */

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

  .about-statement {
    max-width: 650px;
  }


  /* Contact */

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


  /* Footer */

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

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

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

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

  .container {
    width:
      calc(100% - 28px);
  }

  .brand-copy small {
    display: none;
  }

  .brand img {
    width: 52px;
    height: 49px;
  }

  .hero-grid {
    padding-block: 52px 58px;
  }

  .hero-kicker {
    font-size: 0.68rem;

    line-height: 1.6;
  }

  .hero h1 {
    font-size:
      clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero-text {
    margin-top: 22px;

    font-size: 0.98rem;

    line-height: 1.75;
  }

  .hero-actions {
    display: grid;

    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;

    gap: 8px;

    font-size: 0.81rem;
  }


  /* Audit panel */

  .audit-panel {
    padding: 20px;

    border-radius: 15px;
  }

  .audit-panel-header {
    display: grid;

    gap: 13px;
  }

  .panel-status {
    width: fit-content;
  }

  .summary-line {
    align-items: flex-start;
  }

  .summary-line span {
    max-width: 70%;
  }

  .panel-footer {
    display: grid;

    justify-content: start;

    gap: 8px;
  }


  /* Services */

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    min-height: auto;
  }

  .service-card {
    padding: 25px;
  }


  /* Approach */

  .approach-list article {
    grid-template-columns:
      45px
      1fr;

    gap: 15px;
  }

  .approach-icon {
    width: 39px;
    height: 39px;
  }


  /* About */

  .about-statement {
    min-height: 370px;
  }

  .statement-main {
    padding: 32px 25px;
  }

  .statement-main h3 {
    font-size: 1.9rem;
  }

  .statement-bottom {
    display: grid;

    gap: 7px;
  }

  .about-points {
    grid-template-columns: 1fr;

    gap: 12px;
  }


  /* Contact */

  .contact-section {
    padding: 80px 0;
  }

  .contact-action {
    grid-template-columns:
      44px
      1fr
      auto;

    padding: 15px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }


  /* Footer */

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

    gap: 35px;

    padding-top: 50px;
    padding-bottom: 45px;
  }

  .footer-brand-area,
  .footer-cta {
    grid-column: auto;
  }

  .footer-cta {
    max-width: none;
  }

  .footer-bottom-inner {
    display: grid;

    gap: 9px;

    padding: 20px 0;
  }

  .webfortify-credit {
    text-align: left;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}