/* ==========================================================================
   netnovate web concepts — shared stylesheet
   Palette sampled from the logo: cyan accent, cool grays, layered depth.
   ========================================================================== */

:root {
  --brand-blue: #28a9df;
  --brand-blue-dark: #168fc9;
  --brand-blue-light: #dff4fc;
  --hero-text: #272b30;
  --accent: #28a9df;
  --accent-dark: #168fc9;
  --accent-2: #38c6b0;
  --accent-soft: #dff4fc;
  --gray: #a6a6a6;
  --ink: #4a4c4e;
  --ink-soft: #6c6f72;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --radius: 16px;
  --maxw: 1280px;
  --maxw-services: 1600px;
  --header-height: 85px;
  --shadow-sm: 0 4px 14px rgba(30, 41, 59, 0.06);
  --shadow: 0 18px 40px rgba(23, 87, 124, 0.12);
  --shadow-lg: 0 28px 60px rgba(23, 87, 124, 0.16);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: #2f3234;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Accent underline echoing the "web concepts" rule under the logo */
.rule {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: 3px;
  margin: 0 0 26px;
}

.center .rule {
  margin-left: auto;
  margin-right: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav__logo img {
  height: 56px;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: 48px 0;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(40, 169, 223, 0.30) 0,
      rgba(40, 169, 223, 0.13) 22%,
      transparent 48%
    ),
    radial-gradient(
      circle at 7% 88%,
      rgba(40, 169, 223, 0.22) 0,
      rgba(40, 169, 223, 0.08) 25%,
      transparent 48%
    ),
    radial-gradient(
      circle at 58% 48%,
      rgba(255, 255, 255, 0.95) 0,
      rgba(255, 255, 255, 0.48) 35%,
      transparent 65%
    ),
    linear-gradient(
      115deg,
      #f8fcff 0%,
      #edf8fd 42%,
      #e2f4fc 72%,
      #d5effb 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -12%;
  right: -12%;
  bottom: -39%;
  height: 76%;
  background:
    linear-gradient(
      105deg,
      rgba(31, 168, 226, 0.88),
      rgba(90, 191, 235, 0.54) 42%,
      rgba(73, 177, 226, 0.24) 74%,
      rgba(35, 157, 216, 0.52)
    );
  border-radius: 47% 58% 0 0 / 42% 58% 0 0;
  transform: rotate(-3deg);
  filter: blur(0.2px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 740px;
  height: 740px;
  right: -70px;
  top: -120px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      transparent 0 25%,
      rgba(255, 255, 255, 0.18) 25.3% 25.8%,
      transparent 26.1% 35%,
      rgba(255, 255, 255, 0.20) 35.3% 35.8%,
      transparent 36.1% 46%,
      rgba(40, 169, 223, 0.12) 46.3% 46.8%,
      transparent 47.1% 100%
    );
  opacity: 0.9;
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  z-index: 0;
  width: 260px;
  height: 210px;
  right: 24%;
  bottom: 80px;
  opacity: 0.45;
  background-image:
    radial-gradient(
      circle,
      rgba(40, 169, 223, 0.65) 1.6px,
      transparent 1.8px
    );
  background-size: 16px 16px;
  mask-image:
    radial-gradient(
      ellipse at center,
      #000 20%,
      transparent 76%
    );
  -webkit-mask-image:
    radial-gradient(
      ellipse at center,
      #000 20%,
      transparent 76%
    );
  pointer-events: none;
}

.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

.hero__canvas-wrap canvas {
  display: block;
}

.hero > .container {
  width: 100%;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 680px;
  height: 500px;
  left: -180px;
  top: -120px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 0.94) 0,
      rgba(255, 255, 255, 0.62) 46%,
      transparent 74%
    );
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 700;
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--hero-text);
}

.hero h1 span {
  color: var(--accent);
}

.hero__intro {
  max-width: 520px;
  margin: 0 0 34px;
  padding: 20px 22px 18px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.05);
}

.hero__intro p {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero__intro p:last-of-type {
  margin-bottom: 18px;
}

.hero__intro .hero__actions {
  margin: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__actions .btn {
  padding: 9px 16px;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
}

.hero__actions .btn--ghost {
  color: var(--ink-soft);
  border-color: var(--line);
  background: transparent;
}

.hero__intro .hero__actions .btn--ghost {
  color: var(--hero-text);
  border-color: rgba(40, 169, 223, 0.32);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 4px rgba(22, 143, 201, 0.08);
}

.hero__actions .btn--ghost:hover {
  color: var(--accent-dark);
  border-color: rgba(40, 169, 223, 0.35);
  background: rgba(40, 169, 223, 0.06);
  transform: none;
}

.hero__intro .hero__actions .btn--ghost:hover {
  color: var(--accent-dark);
  border-color: rgba(40, 169, 223, 0.55);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(22, 143, 201, 0.12);
}

/* Decorative floating illustration made of "UI" cards */
.hero__art {
  position: relative;
  height: 420px;
  display: block;
  z-index: 2;
}

.floatcard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow:
    0 10px 36px rgba(40, 169, 223, 0.14),
    0 2px 10px rgba(30, 41, 59, 0.06);
  animation: float 6s ease-in-out infinite;
}

.floatcard__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--accent-soft);
}

.floatcard__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.8;
}

.floatcard strong {
  display: block;
  font-size: 0.9rem;
  color: #2f3234;
}

.floatcard span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.floatcard--a { top: 6%; left: 6%; animation-delay: 0s; }
.floatcard--b { top: 40%; left: 46%; animation-delay: 1.2s; box-shadow: 0 14px 42px rgba(40, 169, 223, 0.18), 0 4px 14px rgba(30, 41, 59, 0.08); }
.floatcard--c { top: 66%; left: 4%; animation-delay: 2.1s; }
.floatcard--d { top: 8%; left: 62%; animation-delay: 0.7s; }

.floatcard strong,
.floatcard span {
  white-space: nowrap;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.hero__blob--1 {
  width: 210px;
  height: 210px;
  right: 2%;
  top: 12%;
  background: radial-gradient(circle at 35% 35%, rgba(40, 169, 223, 0.22), transparent 70%);
  animation: floatSlow 9s ease-in-out infinite;
}

.hero__blob--2 {
  width: 150px;
  height: 150px;
  left: 10%;
  bottom: 4%;
  background: radial-gradient(circle at 35% 35%, rgba(56, 198, 176, 0.2), transparent 70%);
  animation: floatSlow 11s ease-in-out infinite reverse;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(41, 171, 226, 0.32);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(41, 171, 226, 0.4);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------- Sections */
.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section--alt {
  background: var(--bg-alt);
}

#about {
  padding-bottom: 48px;
}

#contact {
  padding-top: 48px;
}

.section__bg-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  filter: blur(4px);
  opacity: 0.5;
  pointer-events: none;
}

.section__bg-blob--right {
  width: 420px;
  height: 420px;
  right: -160px;
  top: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(41, 171, 226, 0.12), transparent 70%);
}

.section__bg-blob--left {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -140px;
  background: radial-gradient(circle at 35% 35%, rgba(56, 198, 176, 0.12), transparent 70%);
}

.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section__head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------- Services */
#services .container {
  max-width: var(--maxw-services);
}

#services .grid {
  grid-template-columns: repeat(auto-fit, minmax(max(240px, calc((100% - 78px) / 4)), 1fr));
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  position: relative;
  z-index: 1;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  border: 1px solid rgba(41, 171, 226, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.8;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.card:hover .card__link svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------- How we work */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.principle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.principle h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #3a3c3e;
}

.principle p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- About */
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about p {
  font-size: 1.05rem;
}

.about__panel {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, var(--accent-soft) 130%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about__panel::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.25), transparent 70%);
}

.about__panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.about__panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}

.about__panel-list li:last-child {
  border-bottom: 0;
}

.about__panel-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

/* --------------------------------------------------------------- Contact */
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-item__icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.8;
}

.contact-item__body {
  min-width: 0;
}

.contact-item h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.contact-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
}

.contact-item p a {
  display: inline-block;
  margin-top: 10px;
}

/* --------------------------------------------------------------- Footer */
.site-footer {
  background: #23272a;
  color: #b9bdc0;
  padding: 54px 0 30px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 171, 226, 0.16), transparent 70%);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.footer-brand img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #9a9ea1;
  max-width: 280px;
  font-size: 0.9rem;
  margin: 0;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: #b9bdc0;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #8b8f92;
}

.footer-bottom a {
  color: #8b8f92;
}

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

/* --------------------------------------------------------------- Legal pages */
.legal {
  padding: 70px 0 90px;
  position: relative;
}

.legal .container {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 40px 0 10px;
}

.legal ul {
  color: var(--ink-soft);
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal .card-address {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.legal .card-address p {
  margin: 0;
  color: var(--ink);
  line-height: 1.9;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-weight: 500;
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero h1,
  .hero__intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__art {
    display: none;
  }

  .hero__content::before {
    width: 100%;
    max-width: 520px;
    left: 50%;
    transform: translateX(-50%);
    top: -80px;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding: 40px 0 56px;
  }

  .hero::before {
    left: -35%;
    right: -35%;
    bottom: -20%;
    height: 48%;
  }

  .hero::after {
    width: 520px;
    height: 520px;
    right: -250px;
    top: 20px;
  }

  .hero__dots {
    right: -20px;
    bottom: 50px;
    opacity: 0.3;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 0 48px;
  }

  .hero::before {
    bottom: -10%;
    height: 36%;
  }

  .hero__dots {
    display: none;
  }
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    display: none;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav__links li:last-child a {
    border-bottom: 0;
  }

  .grid,
  #services .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
    padding: 18px 18px 16px;
  }

  .card:hover {
    transform: none;
  }

  .card__icon {
    grid-column: 1;
    grid-row: 1;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 10px;
  }

  .card__icon svg {
    width: 20px;
    height: 20px;
  }

  .card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 1.02rem;
    margin-bottom: 0;
  }

  .card p {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 10px;
  }

  .card p:last-child {
    margin-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  #about {
    padding-bottom: 32px;
  }

  #contact {
    padding-top: 32px;
  }

  .floatcard {
    padding: 10px 14px;
  }

  .floatcard span {
    display: none;
  }

  .btn--ghost {
    margin-left: 0;
  }
}
