/* ==========================================================================
   TEST CRAFT TECHNOLOGIES LTD — style.css
   ========================================================================== */

/* --- Variables & Reset --------------------------------------------------- */

:root {
  --navy:      #0D2137;
  --teal:      #0DCFB4;
  --offwhite:  #F4F8FB;
  --steel:     #1E3A52;
  --lblue:     #C8E8F5;
  --dark:      #060E18;
  --gray:      #6B7E93;
  --font-head: 'Rubik', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius:    10px;
  --transition: 0.25s ease;
  --container: 1180px;
  --header-h:  72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* --- Container ----------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

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

.btn--teal {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}

.btn--teal:hover {
  background: #0fbfa7;
  border-color: #0fbfa7;
  box-shadow: 0 8px 24px rgba(13, 207, 180, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: rgba(244, 248, 251, 0.5);
}

.btn--ghost:hover {
  border-color: var(--offwhite);
  background: rgba(244, 248, 251, 0.07);
}

.btn--navy-full {
  width: 100%;
  background: var(--navy);
  color: var(--offwhite);
  border-color: var(--navy);
  padding: 14px 26px;
  font-size: 0.95rem;
}

.btn--navy-full:hover {
  background: #0b1c2d;
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(13, 207, 180, 0.2);
}

/* --- Section Utilities --------------------------------------------------- */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-label--teal { color: var(--teal); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}

.section-title--white { color: var(--offwhite); }
.section-title--navy  { color: var(--navy); }
.section-title--teal  { color: var(--teal); }

/* --- HEADER -------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 2px solid var(--teal);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 4px 32px rgba(6, 14, 24, 0.6);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-primary {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--offwhite);
  letter-spacing: 0.05em;
}

.logo-secondary {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.header__nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--lblue);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.header__nav a:hover { color: var(--teal); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__cta {
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(13, 207, 180, 0.18) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: calc(100vh - var(--header-h));
}

.hero__content {
  max-width: 640px;
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--offwhite);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: var(--lblue);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lblue);
  border: 1.5px solid rgba(13, 207, 180, 0.4);
  border-radius: 50px;
  padding: 6px 16px;
  letter-spacing: 0.03em;
  background: rgba(13, 207, 180, 0.06);
}

/* --- SERVICES ------------------------------------------------------------ */

.services {
  background: var(--steel);
  padding: 96px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--navy);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.service-card:hover {
  border-color: var(--teal);
  border-top-color: var(--teal);
  background: #102840;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 14, 24, 0.4);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 207, 180, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(13, 207, 180, 0.2);
}

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 12px;
}

.service-card__body {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--lblue);
  line-height: 1.7;
}

/* --- STACK --------------------------------------------------------------- */

.stack-section {
  background: var(--navy);
  padding: 88px 0;
  border-top: 1px solid rgba(13, 207, 180, 0.12);
  border-bottom: 1px solid rgba(13, 207, 180, 0.12);
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stack__group-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--lblue);
  background: rgba(30, 58, 82, 0.8);
  border: 1px solid rgba(200, 232, 245, 0.15);
  border-radius: 6px;
  padding: 5px 12px;
  transition: all var(--transition);
}

.stack-tag:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(13, 207, 180, 0.08);
}

/* --- ABOUT --------------------------------------------------------------- */

.about {
  background: var(--offwhite);
  padding: 96px 0;
}

.about .section-label { color: var(--steel); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.about-block {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(13, 33, 55, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13, 33, 55, 0.12);
}

.about-block__icon {
  width: 72px;
  height: 72px;
  background: rgba(13, 207, 180, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1.5px solid rgba(13, 207, 180, 0.25);
}

.about-block__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-block__body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.about__image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about__img-wrap:hover img {
  transform: scale(1.04);
}

.about__img-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--offwhite);
  background: rgba(13, 33, 55, 0.75);
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* --- PROCESS ------------------------------------------------------------- */

.process {
  background: var(--navy);
  padding: 96px 0;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 64px;
  position: relative;
}

.process-step {
  padding: 0 32px;
  position: relative;
}

.process-step__top {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.process-step__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: rgba(13, 207, 180, 0.1);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.process-step__line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--teal) 0,
    var(--teal) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.5;
  margin-left: 12px;
}

.process-step__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: 12px;
}

.process-step__body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--lblue);
  line-height: 1.7;
}

.process__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/8;
  border: 1px solid rgba(13, 207, 180, 0.15);
}

.process__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.process__image-overlay {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: rgba(6, 14, 24, 0.7);
  padding: 6px 14px;
  border-radius: 4px;
  border-left: 2px solid var(--teal);
  backdrop-filter: blur(4px);
}

/* --- TESTIMONIALS -------------------------------------------------------- */

.testimonials {
  background: var(--offwhite);
  padding: 96px 0;
}

.testimonials .section-label { color: var(--steel); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 16px rgba(13, 33, 55, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13, 33, 55, 0.13);
}

.testimonial-card__quote {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  font-weight: 700;
}

.testimonial-card__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #4a5a6a;
  line-height: 1.75;
  flex: 1;
}

.testimonial-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(13, 33, 55, 0.07);
  padding-top: 16px;
  margin-top: auto;
}

.testimonial-card__name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-card__role {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--gray);
}

.testimonial-card__stack {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(13, 207, 180, 0.08);
  border: 1px solid rgba(13, 207, 180, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* --- CONTACT ------------------------------------------------------------- */

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

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.contact__left {
  background: var(--navy);
  padding: 80px 60px 80px 40px;
}

.contact__left .container { padding: 0; }

.contact__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1.15;
}

.contact__sub {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--lblue);
  margin-bottom: 32px;
  line-height: 1.65;
  opacity: 0.85;
}

.contact__projects {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact__projects li {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--lblue);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.contact__projects li::before {
  content: '·';
  position: absolute;
  left: 6px;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--lblue);
  transition: color var(--transition);
  line-height: 1.5;
}

a.contact__detail:hover { color: var(--teal); }

.contact__detail svg { flex-shrink: 0; }

.contact__right {
  background: var(--offwhite);
  padding: 80px 40px 80px 60px;
}

/* --- FORM ---------------------------------------------------------------- */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row--2 {
  flex-direction: row;
  gap: 16px;
}

.form-row--2 .form-group { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.required { color: #e05a5a; }
.optional { color: var(--gray); font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid rgba(13, 33, 55, 0.18);
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D2137' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0b0bf;
  font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 207, 180, 0.15);
}

.form-group textarea {
  resize: vertical;
  line-height: 1.6;
}

/* --- FOOTER -------------------------------------------------------------- */

.footer {
  background: var(--dark);
}

.footer__top-line {
  height: 2px;
  background: var(--teal);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
  align-items: start;
}

.footer__logo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: opacity var(--transition);
}

.footer__logo:hover { opacity: 0.85; }

.footer__brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--offwhite);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer__brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(200, 232, 245, 0.55);
  letter-spacing: 0.02em;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200, 232, 245, 0.4);
  margin-bottom: 18px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--lblue);
  opacity: 0.75;
  transition: color var(--transition), opacity var(--transition);
}

.footer__nav a:hover {
  color: var(--teal);
  opacity: 1;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__address a,
.footer__address span {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--lblue);
  opacity: 0.75;
  line-height: 1.55;
  transition: color var(--transition), opacity var(--transition);
}

.footer__address a:hover {
  color: var(--teal);
  opacity: 1;
}

.footer__bar {
  border-top: 1px solid rgba(200, 232, 245, 0.08);
  padding: 18px 0;
}

.footer__bar p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(200, 232, 245, 0.35);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .services__grid,
  .about__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-step__line { display: none; }

  .about__image-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__image-row .about__img-wrap:last-child {
    grid-column: span 2;
  }

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

  .footer__col--brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 28px;
    gap: 0;
    border-bottom: 2px solid var(--teal);
    box-shadow: 0 16px 40px rgba(6, 14, 24, 0.6);
  }

  .header__nav.header__nav--open { display: flex; }

  .header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(200, 232, 245, 0.08);
    font-size: 1rem;
  }

  .header__nav a::after { display: none; }

  .header__cta { display: none; }

  .nav-toggle { display: flex; }

  .hero__inner {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero__content { max-width: 100%; }

  .hero__h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }

  .services,
  .stack-section,
  .about,
  .process,
  .testimonials {
    padding: 64px 0;
  }

  .section-header { margin-bottom: 40px; }

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

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

  .about__image-row {
    grid-template-columns: 1fr;
  }

  .about__image-row .about__img-wrap:last-child {
    grid-column: span 1;
  }

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

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

  .contact__left {
    padding: 56px 28px;
  }

  .contact__right {
    padding: 56px 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .footer__col--brand { grid-column: auto; }

  .form-row--2 {
    flex-direction: column;
  }

  .process__image {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .hero__chips { gap: 8px; }
  .chip { font-size: 0.72rem; padding: 5px 12px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

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