/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8C1515;
  --primary-dk: #6B0F0F;
  --accent: #c8982a;
  --accent-lt: #e8b84b;
  --text: #333333;
  --text-muted: #666666;
  --bg-light: #f4f4f4;
  --bg-dark: #3d3d3d;
  --white: #ffffff;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(140, 21, 21, .10);
  --shadow-md: 0 8px 40px rgba(140, 21, 21, .16);
  --transition: .25s ease;
  --max-w: 1200px;
}

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

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-sub {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 21, 21, .35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .7);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--white);
}

.btn--full {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
}

/* ===== LOGO TEXT ===== */
.header__logo-text,
.footer__logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .04em;
}

.logo-sub {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: box-shadow var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.header__logo img {
  height: 44px;
  width: auto;
}

.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: rgba(140, 21, 21, .08);
}

.nav__link--cta {
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--primary-dk);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-light);
  padding-top: 68px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero__content {}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== STATS ===== */
.stats {
  background: var(--white);
  padding: 60px 0 64px;
}

.stats__box {
  background: var(--primary);
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(140, 21, 21, .3);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats__item {
  padding: 44px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.stats__item:last-child {
  border-right: none;
}

.stats__number {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stats__unit {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

.stats__label {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
  margin-top: 6px;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
}

.service-card__icon {
  display: none;
}

.service-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.service-card__body {
  padding: 16px;
}

.service-card__body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card__body p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-card__link {
  display: none;
}

/* ===== INFO SPLIT (Philosophy + Responsibility) ===== */
.info-split {
  padding: 80px 0;
  background: var(--white);
}

.info-split__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
}

.info-split__left,
.info-split__right {}

.info-split__left h2,
.info-split__right h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.info-split__left p,
.info-split__right p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.info-split__center {
  width: 280px;
  flex-shrink: 0;
}

.info-split__center img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* ===== CASES ===== */
.cases {
  padding: 80px 0;
  background: var(--white);
}

.cases__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.cases__viewport {
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px;
  /* Thêm padding dọc để không cắt bóng đổ khi hover card */
}

.cases__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3);
  /* Mặc định 3 vụ án trên desktop */
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  width: 100%;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  margin: 12px 15px 24px 15px;
  /* Thêm khoảng cách ngang và dọc để không cắt bóng đổ */
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(140, 21, 21, 0.2);
}

.cases__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.cases__btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(140, 21, 21, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.cases__btn--prev {
  left: -23px;
}

.cases__btn--next {
  right: -23px;
}

.cases__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.cases__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140, 21, 21, .2);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.cases__dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.case-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-light);
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.case-card:hover .case-card__img img {
  transform: scale(1.06);
}

.case-card__icon-wrap {
  background: rgba(140, 21, 21, 0.06);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 32px 0 32px;
  font-size: 1.5rem;
  transition: background var(--transition), color var(--transition);
}

.case-card:hover .case-card__icon-wrap {
  background: var(--primary);
  color: var(--white);
}

.case-card__body {
  padding: 24px 32px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.badge--criminal {
  background: rgba(140, 21, 21, 0.1);
  color: var(--primary);
}

.badge--property {
  background: rgba(200, 152, 42, 0.1);
  color: #a47814;
}

.badge--corporate {
  background: rgba(10, 48, 96, 0.1);
  color: #0a3060;
}

.case-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.case-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-card__result {
  background: rgba(140, 21, 21, 0.03);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.result-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.result-text {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.case-card__more {
  margin-top: 18px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition), gap var(--transition);
}

.case-card__more i {
  font-size: 0.95rem;
  transition: transform var(--transition);
}

.case-card__more:hover {
  color: var(--accent);
  gap: 12px;
}

.case-card__more:hover i {
  transform: translateX(4px);
}

/* ===== TEAM ===== */
.team {
  padding: 80px 0;
  background: var(--bg-light);
}

.team__group-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.team__group-label:first-of-type {
  margin-top: 0;
}

.team__grid {
  display: grid;
  gap: 20px;
}

.team__grid--advisors {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.team__grid--management {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.team__grid--staff {
  grid-template-columns: repeat(6, 1fr);
}

.team-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .13);
}

.team-card--featured {
  border: 2px solid var(--primary);
}

.team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-light);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 14px 16px;
  background: var(--bg-light);
}

.team-card--featured .team-card__info {
  background: var(--primary);
}

.team-card__info h4 {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}

.team-card--featured .team-card__info h4 {
  color: var(--white);
}

.team-card__info span {
  font-size: .78rem;
  color: var(--text-muted);
  display: block;
}

.team-card--featured .team-card__info span {
  color: rgba(255, 255, 255, .8);
}

.team-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-lt);
}

/* ===== GALLERY CAROUSEL ===== */
.gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

.gallery__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.gallery__viewport {
  width: 100%;
  overflow: hidden;
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.gallery__item {
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--primary);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  cursor: zoom-in;
  border-radius: var(--radius);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.gallery__btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(140, 21, 21, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.gallery__btn--prev {
  left: -23px;
}

.gallery__btn--next {
  right: -23px;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 48, 96, .2);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.gallery__dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  height: 500px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact__form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  border: 1px solid var(--border);
}

.contact__form-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label span {
  color: #e53935;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(140, 21, 21, .1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53935;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: .78rem;
  color: #e53935;
  display: block;
  margin-top: 4px;
  min-height: 18px;
}

.contact__form-wrap .btn--full {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-top: 8px;
  font-size: 1rem;
}

.contact__form-wrap .btn--full:hover {
  background: var(--primary);
  color: var(--white);
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-error-msg {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  justify-items: center;
  text-align: center;
}

.footer__col h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer__col li {
  font-size: .88rem;
  color: rgba(255, 255, 255, .65);
}

.footer__col a {
  color: rgba(255, 255, 255, .65);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

/* ===== FLOAT CTAs ===== */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-cta__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 40px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  transition: all var(--transition);
}

.float-cta__btn:hover {
  transform: translateX(-4px);
}

.float-cta__btn--zalo {
  background: #0068ff;
}

.float-cta__btn--phone {
  background: #2e7d32;
}

.float-cta__btn i {
  font-size: 1rem;
}

/* ===== SCROLL REVEAL ===== */
.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__image img {
    height: 360px;
  }

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

  .info-split__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-split__center {
    width: 100%;
  }

  .info-split__center img {
    height: 280px;
  }

  .team__grid--advisors,
  .team__grid--management {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .team__grid--staff {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    padding: 12px 16px;
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero__inner {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero__image img {
    height: 280px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .stats__box {
    margin: 0 16px;
  }

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

  .stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  .stats__item:last-child {
    border-bottom: none;
  }

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

  .gallery__track {
    grid-auto-columns: 100%;
  }

  .gallery__btn {
    display: none;
  }

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

  .contact__map {
    height: 320px;
  }

  .contact__form-wrap {
    padding: 24px;
  }

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

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

  .cases__track {
    grid-auto-columns: 100%;
  }

  .cases__btn {
    display: flex;
    width: 38px;
    height: 38px;
    font-size: 14px;
    z-index: 15;
  }

  .cases__btn--prev {
    left: -10px;
  }

  .cases__btn--next {
    right: -10px;
  }

  .case-card__icon-wrap {
    margin: 24px 24px 0 24px;
  }

  .case-card__body {
    padding: 20px 24px 24px;
  }

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

  .float-cta {
    bottom: 20px;
    right: 16px;
  }

  .float-cta__btn span {
    display: none;
  }

  .float-cta__btn {
    padding: 14px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.7rem;
  }

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

  .team__grid--advisors,
  .team__grid--management {
    grid-template-columns: 1fr 1fr;
  }

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

  .case-card__title {
    font-size: 1.05rem;
  }

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