/* ============================================================
   Vertex Studio — Styles
   Premium one-page corporate site
   Palette: dark blue (#0f1b2d) / light grey (#f4f6f8) / white
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #0f1b2d;
  --color-primary-light: #1a2d47;
  --color-primary-lighter: #243b5c;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f8;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-success: #059669;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;

  --container-max: 1120px;
  --section-py: 6rem;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 27, 45, 0.06);
  --shadow: 0 4px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 27, 45, 0.12);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-h);
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

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

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-py) 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--color-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__link--cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
}

.navbar__link--cta::after {
  display: none;
}

.navbar__link--cta:hover {
  background: var(--color-primary-light);
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1010;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

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

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--navbar-h) + 4rem);
  padding-bottom: var(--section-py);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: 680px;
  margin-right: auto;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.hero__trust svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--color-bg-alt);
}

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

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.package {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package--featured {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.package__badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
}

.package__label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.package__price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.25rem 0;
  letter-spacing: -0.02em;
}

.package__price span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.6;
}

.package__sub {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.package__desc {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.package__features {
  flex: 1;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.package__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.package__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.package--featured .package__features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.package--featured .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.package--featured .btn--primary:hover {
  background: var(--color-bg-alt);
}

.packages__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--color-bg-alt);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process__step {
  text-align: center;
  position: relative;
}

.process__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

/* Horizontal connector line between steps */
.process__connector {
  display: none;
}

.process__step:not(:last-child) .process__connector {
  display: block;
  position: absolute;
  top: 28px;
  left: calc(50% + 32px);
  width: calc(100% - 64px + 2rem);
  height: 2px;
  background: var(--color-border);
  z-index: 1;
}

.process__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.process__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.project__image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.project__image-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project__body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.project__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.project__type {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.project__highlights {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project__highlights li {
  font-size: 0.85rem;
  color: var(--color-text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}

.project__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.project__cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.project:hover .project__cta {
  gap: 0.5rem;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 45, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.modal__close:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.modal__screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mock {
  border-radius: var(--radius-sm);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock--wide {
  grid-column: 1 / -1;
  height: 180px;
}

.modal__description {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.modal__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.modal__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.modal__demo-btn {
  width: 100%;
}

.modal__back-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: center;
  transition: color var(--transition);
}
.modal__back-link:hover {
  color: var(--color-primary);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact__detail svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact__detail a {
  color: var(--color-primary);
  font-weight: 500;
  transition: color var(--transition);
}

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

.contact__book-btn {
  margin-top: 0.5rem;
  width: fit-content;
}

/* Form */
.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 27, 45, 0.08);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  color: var(--color-success);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form__success[hidden] {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.55);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 1.5rem 3rem;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 260px;
}

.footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.45rem;
  line-height: 1.5;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 900px) {
  :root {
    --section-py: 4.5rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .packages__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Process: vertical on mobile/tablet */
  .process__timeline {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 0;
  }

  .process__step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    padding-bottom: 2rem;
    position: relative;
  }

  .process__icon {
    margin: 0;
    grid-row: 1 / 3;
  }

  .process__step:not(:last-child) .process__connector {
    display: block;
    position: absolute;
    top: 56px;
    left: 28px;
    width: 2px;
    height: calc(100% - 56px);
    transform: none;
  }

  .process__text {
    margin: 0;
    max-width: none;
  }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --navbar-h: 64px;
    --section-py: 3.5rem;
  }

  /* Mobile nav */
  .navbar__hamburger {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-bg);
    padding: calc(var(--navbar-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
    box-shadow: var(--shadow-lg);
  }

  .navbar__nav.open {
    transform: translateX(0);
  }

  .navbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navbar__link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .navbar__link::after {
    display: none;
  }

  .navbar__link--cta {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-h) + 3rem);
    padding-bottom: 3rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Section headers */
  .section__header {
    margin-bottom: 2.5rem;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  /* Packages */
  .package {
    padding: 2rem 1.5rem;
  }

  /* Project image */
  .project__image {
    height: 180px;
  }

  .project__body {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  /* Modal */
  .modal__content {
    padding: 1.75rem;
  }

  .mock--wide {
    height: 140px;
  }

  .mock {
    height: 100px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .container {
    padding: 0 1rem;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .package__price {
    font-size: 1.65rem;
  }

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

  .mock--wide {
    grid-column: auto;
  }
}
