/* =========================================================
   AT-Solutions
   style.css v1
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "IBM Plex Sans", sans-serif;

  background-color: #f4f3f1;
  color: #1f2529;

  line-height: 1.7;
  font-size: 18px;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3 {
  margin-top: 0;

  font-weight: 500;
  line-height: 1.2;

  color: #161b1e;
}

h1 {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 2rem;

  font-size: 2rem;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 1.2rem;

  font-size: 1.2rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.7rem;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.content-section {
  padding: 120px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  position: relative;

  font-size: 0.95rem;
  color: #4f5a61;

  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 100%;
  height: 1px;

  background-color: #40606f;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: #161b1e;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
  position: relative;

  padding: 120px 0 140px;

  background-color: #eef2f5;

  overflow: hidden;
}

.hero-section::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 43%;
  height: 100%;

  background-image: url("img/hero-texture.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  opacity: 0.05;

  filter: grayscale(100%) blur(1px) contrast(0.9);

  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  max-width: 860px;
}

.hero-intro {
  margin-top: 2rem;
  margin-bottom: 2rem;

  max-width: 700px;

  font-size: 1.2rem;
  color: #4b555c;
}

.hero-highlight {
  font-size: 1rem;
  font-style: italic;
  color: #66737a;
}

.hero-photo {
  display: flex;
  justify-content: flex-end;
}

.hero-photo img {
  width: 240px;

  border-radius: 4px;

  filter: grayscale(100%) contrast(1.02) brightness(0.98);
}


/* =========================================================
   ABOUT
   ========================================================= */

blockquote {
    margin-top: 5rem;
    padding-left: 1.5rem;

  border-left: 2px solid #6a8795;

  font-size: 1.4rem;
  line-height: 1.5;

  color: #1f2529;
}


/* =========================================================
   EXPERTISE
   ========================================================= */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;

  margin-top: 4rem;
}

.expertise-column {
  padding-right: 2rem;
}

.expertise-column:not(:last-child) {
  border-right: 1px solid #e3e3e3;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.highlights-section {
  background-color: #eceae7;
}

.highlights-list li {
  margin-bottom: 1rem;
}


/* =========================================================
   HELP SECTION
   ========================================================= */

.help-list {
  columns: 2;
  column-gap: 4rem;

  margin: 2.5rem 0;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  padding-bottom: 140px;
}

.contact-details {
  margin-top: 2rem;

  font-size: 1.1rem;
  line-height: 2;
}

.contact-note {
  margin-top: 3rem;

  font-style: italic;
  color: #66737a;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 40px 0;

  border-top: 1px solid #d8d8d8;
}

.site-footer p {
  margin: 0;

  font-size: 0.95rem;
  color: #66737a;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .hero-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-column {
    border-right: none !important;
    padding-right: 0;
  }

  .hero-photo {
    justify-content: flex-start;
  }

  .hero-photo img {
    width: 260px;
  }

  .help-list {
    columns: 1;
  }
}


@media (max-width: 720px) {

  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 40px, 1200px);
  }

  .content-section {
    padding: 90px 0;
  }

  .hero-section {
    padding: 80px 0 100px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .main-nav {
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  blockquote {
    font-size: 1.15rem;
  }
}