/* ==========================================================================
   Laboratorio Digital Torres — hoja de estilos principal
   Paleta y tipografía extraídas del diseño (Figma → PDF)
   ========================================================================== */

:root {
  --primary: #3B12D1;
  --primary-dark: #2C0DA0;
  --blue: #3E52F8;
  --badge-bg: #E4E6FC;
  --badge-text: #4155FE;
  --lime: #7BF70A;
  --lime-ink: #0C1801;
  --green: #4ADE5C;
  --cyan: #5CD6E5;
  --icon-blue: #3147FF;
  --dark: #15181B;
  --ink: #1F1F1F;
  --muted: #62666E;
  --line: #E7E8F0;
  --bg-light: #F7F7FC;
  --lavender: #DDD9F8;
  --grad-blue: linear-gradient(90deg, #3D6FFA 0%, #55C2EF 100%);
  --grad-lime: linear-gradient(90deg, #7BF714 0%, #5CD6E5 100%);
  --grad-header: linear-gradient(100deg, rgba(59, 18, 209, .92) 0%, rgba(62, 82, 248, .82) 55%, rgba(85, 194, 239, .55) 100%);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius: 14px;
  --container: 1140px;
  --shadow: 0 14px 40px rgba(21, 24, 27, .10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 90px 0; }
.section--light { background: var(--bg-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(59, 18, 209, .28); }
.btn svg { width: 13px; height: 13px; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }

.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { box-shadow: 0 10px 24px rgba(123, 247, 10, .35); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

.btn--block { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

/* --------------------------------------------------------------- topbar */
.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; opacity: .95; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__social a { opacity: .9; }
.topbar__social a:hover { opacity: 1; text-decoration: none; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }

/* --------------------------------------------------------------- navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 rgba(21, 24, 27, .06);
}
.navbar.is-scrolled { box-shadow: 0 6px 24px rgba(21, 24, 27, .08); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; }
.brand__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.brand__name span { display: block; font-weight: 400; font-size: 15px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}
.nav a:hover { color: var(--primary); }
.nav a.is-active { font-weight: 700; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 30, .45) 0%, rgba(10, 8, 30, .55) 100%);
}
.hero__slide.is-active { opacity: 1; }
.hero__content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 110px 0 130px;
}
.hero__content h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 600;
  max-width: 820px;
}
.hero__content p {
  max-width: 620px;
  margin: 18px auto 30px;
  font-size: 16px;
  color: rgba(255, 255, 255, .88);
}
.hero__nav {
  position: absolute;
  right: 40px;
  bottom: 36px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.circle-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background: transparent;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.circle-btn svg { width: 16px; height: 16px; }
.circle-btn:hover { transform: scale(1.06); }
.circle-btn--solid { background: var(--primary); border-color: var(--primary); }
.circle-btn--dark { background: var(--dark); border-color: var(--dark); }

/* --------------------------------------------------------------- statement */
.statement { padding: 90px 0 80px; text-align: center; }
.statement h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  max-width: 780px;
  margin: 0 auto;
}
.statement .hl { color: var(--green); }

/* --------------------------------------------------------------- media + text splits */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}
.split__media--offset::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -26px;
  bottom: -26px;
  width: 78%;
  height: 62%;
  background: var(--lavender);
  border-radius: var(--radius);
  opacity: .65;
}
.split__media--offset-r::before { left: auto; right: -26px; }

.split__body h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.split__body p { color: var(--muted); }
.split__body .lead-strong { color: var(--ink); font-weight: 600; }
.split__body .btn { margin-top: 26px; }

.checklist { list-style: none; margin: 22px 0 4px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 12px;
}
.checklist svg { width: 18px; height: 18px; flex: none; }

/* --------------------------------------------------------------- stats */
.stats { background: var(--blue); color: #fff; padding: 56px 0; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 16px;
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .35); }
.stats__icon {
  width: 52px; height: 52px;
  flex: none;
  color: #fff;
}
.stats__icon svg { width: 100%; height: 100%; }
.stats__num {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
}
.stats__label { font-size: 14px; opacity: .92; }

/* --------------------------------------------------------------- service cards / carousel */
.cards-carousel { overflow: hidden; }
.cards-track {
  display: flex;
  gap: 22px;
  transition: transform .55s cubic-bezier(.33, .8, .3, 1);
}
.service-card {
  position: relative;
  flex: 0 0 calc((100% - 44px) / 3);
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .68) 100%);
}
.service-card h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 0 22px 26px;
}
.service-card h3 small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  opacity: .92;
}

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: #C9CBDA;
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease, background .2s ease;
}
.dots button.is-active {
  background: var(--ink);
  transform: scale(1.35);
  outline: 3px solid #fff;
  box-shadow: 0 0 0 4px #C9CBDA;
}

/* --------------------------------------------------------------- testimonials */
.testimonial-box {
  position: relative;
  background: var(--bg-light);
  border-radius: 18px;
  padding: 70px clamp(24px, 8vw, 110px);
  text-align: center;
}
.testimonial-box__quote { width: 46px; margin: 0 auto 24px; }
.t-slide { display: none; }
.t-slide.is-active { display: block; animation: fadeIn .5s ease; }
.t-slide blockquote {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 22px;
}
.t-slide .stars { color: #F5A623; font-size: 15px; letter-spacing: 3px; margin-bottom: 10px; }
.t-slide .t-name { font-weight: 700; font-size: 15px; }
.t-slide .t-role { font-size: 13px; color: var(--muted); }
.testimonial-box .circle-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.testimonial-box .circle-btn:hover { transform: translateY(-50%) scale(1.06); }
.testimonial-box .circle-btn--prev { left: 22px; }
.testimonial-box .circle-btn--next { right: 22px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------- FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
.faq-grid > img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  padding: 15px 18px;
}
.faq-item__q .chev {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.faq-item__q .chev svg { width: 11px; height: 11px; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item__a p { padding: 16px 18px; font-size: 14px; color: var(--muted); }
.faq-item.is-open .faq-item__q {
  background: var(--grad-blue);
  color: #fff;
}
.faq-item.is-open .faq-item__q .chev { transform: rotate(180deg); background: rgba(12, 16, 40, .55); }

/* --------------------------------------------------------------- contact info cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 38px 24px;
  background: #fff;
}
.info-card svg { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--cyan); display: block; }
.info-card h3 { font-size: 17px; margin-bottom: 6px; }
.info-card p { font-size: 14px; color: var(--muted); }
.info-card a:hover { color: var(--primary); }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  background: url("../assets/img/hero-2.jpg") center/cover no-repeat;
  text-align: center;
  color: #fff;
  padding: 90px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(62, 82, 248, .82);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* --------------------------------------------------------------- footer */
.footer {
  background: var(--dark);
  color: #C9CBD2;
  text-align: center;
  padding: 56px 0 28px;
}
.footer__logo { width: 62px; height: 62px; margin: 0 auto 24px; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
}
.footer__nav a { color: #E8E9ED; font-size: 14px; font-weight: 500; }
.footer__nav a:hover { color: var(--lime); }
.footer__social { display: flex; justify-content: center; gap: 18px; margin-bottom: 30px; }
.footer__social a { color: #B9BCC4; }
.footer__social a:hover { color: #fff; }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  font-size: 13px;
  color: #8E939C;
}

/* --------------------------------------------------------------- whatsapp float */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* --------------------------------------------------------------- interior page header */
.page-header {
  position: relative;
  background: url("../assets/img/header-bg.jpg") center 30%/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 96px 0 104px;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-header);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: clamp(34px, 4vw, 48px); margin-bottom: 12px; }
.breadcrumb { font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 10px; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 11px; height: 11px; }

/* --------------------------------------------------------------- nosotros */
.intro-heading h2 { font-size: clamp(28px, 3.4vw, 42px); }
.intro-heading .hl { color: var(--green); }

.marquee {
  background: var(--grad-lime);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  color: #fff;
  padding-right: 24px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.mv-item .mv-icon {
  width: 108px; height: 108px;
  margin: 0 auto 26px;
  border: 2px solid var(--icon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-blue);
}
.mv-item .mv-icon svg { width: 48px; height: 48px; }
.mv-item h3 { font-size: 24px; margin-bottom: 12px; }
.mv-item p { font-size: 14.5px; color: var(--muted); }

.team-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.team-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --------------------------------------------------------------- servicios */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  padding: 34px 0;
}
.service-row--flip { grid-template-columns: 1.4fr 1fr; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media img {
  border-radius: 10px;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}
.service-row h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; position: relative; padding-bottom: 14px; }
.service-row h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  border-radius: 4px;
  background: var(--grad-lime);
}
.service-row p { color: var(--muted); font-size: 15px; }

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trio-grid .service-card { flex: none; height: 300px; }

/* --------------------------------------------------------------- tarifario */
.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table__head {
  background: var(--primary);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 16px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.price-group { border-top: 1px solid var(--line); }
.price-group:first-of-type { border-top: none; }
.price-group__title {
  background: var(--bg-light);
  padding: 12px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--badge-text);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 28px;
  font-size: 14.5px;
  border-top: 1px solid var(--line);
}
.price-row:first-child { border-top: none; }
.price-row .price {
  font-weight: 600;
  color: var(--primary);
  font-size: 13.5px;
  background: var(--badge-bg);
  padding: 4px 12px;
  border-radius: 999px;
}
.price-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 22px;
}

/* --------------------------------------------------------------- contact form */
.contact-lead { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.contact-lead h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.contact-lead p { color: var(--muted); }
.contact-lead strong { color: var(--ink); }

.contact-form { max-width: 760px; margin: 0 auto; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 18px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.section--light .contact-form input,
.section--light .contact-form textarea { background: #fff; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 18, 209, .12);
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid { border-color: #E0455A; }
.contact-form .full { margin-bottom: 16px; }
.contact-form textarea { min-height: 190px; resize: vertical; }
.form-msg { text-align: center; font-size: 14px; margin-top: 14px; font-weight: 600; }
.form-msg.ok { color: #1B9E4B; }
.form-msg.error { color: #E0455A; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .service-card { flex-basis: calc((100% - 22px) / 2); }
  .split, .faq-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }

  .topbar a.topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { flex-wrap: wrap; justify-content: center; row-gap: 2px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    padding: 14px 24px 22px;
    box-shadow: 0 18px 30px rgba(21, 24, 27, .12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; font-size: 16px; width: 100%; }
  .nav .btn { margin-top: 8px; }
  .nav-toggle { display: block; }

  .split, .faq-grid, .mv-grid { grid-template-columns: 1fr; }
  .faq-grid > img { max-height: 340px; order: -1; }
  .split__media--offset::before { display: none; }

  .stats__grid { grid-template-columns: 1fr; gap: 20px; }
  .stats__item { justify-content: flex-start; }
  .stats__item + .stats__item { border-left: none; border-top: 1px solid rgba(255,255,255,.3); padding-top: 22px; }

  .service-row, .service-row--flip { grid-template-columns: 1fr; gap: 24px; }
  .service-row--flip .service-row__media { order: 0; }

  .trio-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .team-gallery { grid-template-columns: repeat(2, 1fr); }
  .team-gallery img { height: 220px; }
  .team-gallery img:last-child { grid-column: span 2; }

  .hero__nav { right: 24px; bottom: 24px; }
  .testimonial-box { padding: 60px 24px 70px; }
  .testimonial-box .circle-btn--prev { left: 12px; }
  .testimonial-box .circle-btn--next { right: 12px; }
}

@media (max-width: 640px) {
  .service-card { flex-basis: 100%; }
  .page-header { padding: 64px 0 72px; }
  .topbar__sep, .topbar__follow, .topbar__social { display: none; }
}
