:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: rgba(15, 23, 42, 0.85);
  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.2);
  --secondary: #6366f1;
  --accent: #0ea5e9;
  --accent-soft: rgba(14, 165, 233, 0.16);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.35);
  --card-radius: 20px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Navigation */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.94), rgba(5, 8, 22, 0.82), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 0%, #4f46e5, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.6);
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.logo__tagline {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav__link {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 0.45rem 0.3rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--transition-med);
}

.nav__link:hover {
  color: #f9fafb;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--primary {
  padding-inline: 0.9rem;
  padding-block: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.6);
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.22), transparent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  width: 60%;
  margin-inline: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Hero */

.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.55), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.5), transparent 60%),
    radial-gradient(circle at 30% 100%, rgba(79, 70, 229, 0.4), transparent 55%),
    #050816;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.pill--gradient {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.3), transparent 70%);
}

.hero__title {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  margin: 1rem 0 0.8rem;
}

.hero__title span {
  background: linear-gradient(120deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero__subtitle {
  max-width: 32rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    background var(--transition-med),
    transform var(--transition-fast),
    box-shadow var(--transition-med),
    color var(--transition-fast),
    border-color var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.55);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(79, 70, 229, 0.7);
}

.btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(129, 140, 248, 0.9);
  background: rgba(15, 23, 42, 0.95);
}

.btn--whatsapp {
  margin-top: 1.4rem;
  gap: 0.5rem;
  background: linear-gradient(120deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 16px 38px rgba(22, 163, 74, 0.6);
}

.btn--whatsapp:hover {
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2.1rem;
}

.stat {
  min-width: 7rem;
}

.stat__value {
  font-size: 1.3rem;
  font-weight: 600;
}

.stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero__visual {
  position: relative;
  display: grid;
  gap: 1.2rem;
  justify-items: flex-end;
}

.hero-card {
  width: min(100%, 340px);
  border-radius: 22px;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at 10% 0, rgba(79, 70, 229, 0.45), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
}

.hero-card--secondary {
  margin-right: 10%;
  background: radial-gradient(circle at 90% 0, rgba(14, 165, 233, 0.45), rgba(15, 23, 42, 0.98));
}

.hero-card__header {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot--red {
  background: #f97373;
}

.dot--yellow {
  background: #facc15;
}

.dot--green {
  background: #4ade80;
}

.hero-card__badge {
  display: inline-flex;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(15, 23, 42, 0.7);
}

.hero-card__badge--secondary {
  border-color: rgba(56, 189, 248, 0.8);
}

.hero-card__body h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.05rem;
}

.hero-card__body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-card__icon-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.4), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.5);
  position: relative;
}

.hero-card__icon.phone::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 14px;
  border: 2px solid rgba(248, 250, 252, 0.9);
}

.hero-card__icon.phone::after {
  content: "";
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.85);
}

.hero__glow {
  position: absolute;
  filter: blur(45px);
  opacity: 0.5;
  z-index: -1;
}

.hero__glow--one {
  width: 220px;
  height: 220px;
  top: -2rem;
  right: -3rem;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.9), transparent);
}

.hero__glow--two {
  width: 190px;
  height: 190px;
  bottom: -3rem;
  left: -4rem;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.9), transparent);
}

/* Global sections */

.section {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 0 100%, rgba(79, 70, 229, 0.28), transparent 55%);
}

.section--alt {
  background:
    radial-gradient(circle at 100% 0, rgba(14, 165, 233, 0.3), transparent 55%),
    #050816;
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 3.1rem;
  align-items: center;
}

.section__content {
  max-width: 32rem;
}

.section__header {
  max-width: 34rem;
}

.section__eyebrow {
  display: inline-flex;
  padding: 0.18rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.8);
}

.section__title {
  margin: 0.75rem 0 0.4rem;
  font-size: 1.7rem;
}

.section__text {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.about__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-card {
  border-radius: var(--card-radius);
  padding: 1.2rem 1.25rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.85);
}

.about-card--accent {
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.35), rgba(15, 23, 42, 0.98));
}

.about-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-soft);
}

.about-card h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1rem;
}

.about-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Services */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.service-card {
  border-radius: var(--card-radius);
  padding: 1.35rem 1.35rem 1.25rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(99, 102, 241, 0.7);
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.7), rgba(15, 23, 42, 0.9));
}

.service-card__icon--mobile {
  border-color: rgba(14, 165, 233, 0.8);
}

.service-card__icon--ecommerce {
  border-color: rgba(34, 197, 94, 0.75);
}

.service-card__icon--uiux {
  border-color: rgba(244, 114, 182, 0.75);
}

.service-card__icon--maintenance {
  border-color: rgba(250, 204, 21, 0.8);
}

.service-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.service-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.service-card__list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.service-card__list li {
  margin-bottom: 0.25rem;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.4rem;
}

.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
}

.portfolio-card__image {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.portfolio-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 45%);
  opacity: 0.4;
}

.portfolio-card__image--web1 {
  background-image: url("https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.portfolio-card__image--mobile1 {
  background-image: url("https://images.pexels.com/photos/1181465/pexels-photo-1181465.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.portfolio-card__image--web2 {
  background-image: url("https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.portfolio-card__image--mobile2 {
  background-image: url("https://images.pexels.com/photos/7676334/pexels-photo-7676334.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.portfolio-card__body {
  padding: 0.95rem 1rem 1.05rem;
}

.badge {
  display: inline-flex;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(129, 140, 248, 0.8);
  color: var(--text-soft);
}

.badge--secondary {
  border-color: rgba(56, 189, 248, 0.9);
}

.portfolio-card__body h3 {
  margin: 0.55rem 0 0.3rem;
  font-size: 0.98rem;
}

.portfolio-card__body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Why Choose Us */

.list-check {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--secondary));
}

.list-check span {
  color: #e5e7eb;
  font-weight: 500;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.why-card {
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.why-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.why-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.testimonial-card {
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1.2rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.65);
}

.avatar--two {
  background: radial-gradient(circle at 0 0, rgba(14, 165, 233, 0.7), rgba(15, 23, 42, 0.9));
}

.avatar--three {
  background: radial-gradient(circle at 0 0, rgba(244, 114, 182, 0.7), rgba(15, 23, 42, 0.9));
}

.testimonial-card__meta h3 {
  margin: 0;
  font-size: 0.9rem;
}

.testimonial-card__meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Contact */

.contact__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.contact__item a {
  font-size: 0.88rem;
  color: #e5e7eb;
}

.contact__item a:hover {
  color: var(--accent);
}

.contact__form-wrap {
  border-radius: 20px;
  padding: 1.4rem 1.5rem 1.5rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

label {
  font-size: 0.82rem;
  color: var(--text-soft);
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text);
  font-size: 0.88rem;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

input:focus,
textarea:focus {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form__note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  min-height: 1.1rem;
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 50% 0, rgba(79, 70, 229, 0.25), rgba(5, 8, 22, 1));
  margin-top: 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 2.4rem;
  padding: 2.3rem 1.5rem 1.7rem;
}

.footer__text {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
  max-width: 24rem;
}

.footer__links h4,
.footer__social h4 {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
}

.footer__links a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.footer__links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-soft);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.social-links a:hover {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #f9fafb;
  transform: translateY(-1px);
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.75rem 0 1rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Scroll reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .section__inner--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding-inline: 1rem;
  }

  .nav {
    position: absolute;
    inset-inline: 1.2rem;
    top: 3.3rem;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    display: none;
    flex-direction: column;
    gap: 0.55rem;
  }

  .nav.nav--open {
    display: flex;
  }

  .nav__link--primary {
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .hero__stats {
    gap: 1rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .why__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero-card {
    margin-inline: auto;
  }

  .hero-card--secondary {
    margin-right: 0;
  }

  .contact__info {
    grid-template-columns: minmax(0, 1fr);
  }
}

