/* The Watchful Eye — brand-aligned theme */
:root {
  --green-deep: #1e4d2b;
  --green: #2d7a42;
  --green-bright: #3cb371;
  --green-glow: rgba(60, 179, 113, 0.35);
  --black: #0d0d0d;
  --gray-900: #1a1f1c;
  --gray-600: #4a5750;
  --gray-200: #e8eeea;
  --white: #fafcfb;
  --font-ar: "Cairo", system-ui, sans-serif;
  --font-en: "Outfit", "Cairo", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(13, 13, 13, 0.12);
  --header-h: 72px;
  --header-h-min: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-inline: env(safe-area-inset-left, 0px);
  --safe-inline-end: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
}

html[lang="ar"] .i18n-en-only {
  display: none !important;
}

html[lang="en"] .i18n-ar-only {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: clamp(1rem, 2.8vw, 1.05rem);
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  padding-inline-start: var(--safe-inline);
  padding-inline-end: var(--safe-inline-end);
}

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

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

html[dir="ltr"] body {
  font-family: var(--font-en);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(45, 122, 66, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 122, 66, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h-min);
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(250, 252, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(45, 122, 66, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 24px rgba(13, 13, 13, 0.06);
}

.nav-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: calc(var(--header-h) + var(--safe-top));
  z-index: 998;
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nav-backdrop.is-visible {
  display: block;
}

.container {
  width: min(1120px, 100% - clamp(1.25rem, 5vw, 2.5rem));
  margin-inline: auto;
  max-width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h-min);
  height: var(--header-h);
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo {
  flex-shrink: 0;
  width: clamp(40px, 11vw, 52px);
  height: clamp(40px, 11vw, 52px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px var(--green-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-line {
  display: block;
}

.brand-line-1 {
  font-weight: 800;
  font-size: clamp(0.82rem, 3.2vw, 1rem);
  color: var(--green-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}

.brand-line-2 {
  font-size: clamp(0.65rem, 2.4vw, 0.72rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}

html[dir="ltr"] .brand-line-1 {
  font-size: 0.85rem;
}

html[dir="ltr"] .brand-line-2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--green);
}

.nav a:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  border: 2px solid var(--green);
  overflow: hidden;
  background: rgba(45, 122, 66, 0.06);
}

.lang-chip {
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(0.72rem, 2.5vw, 0.8rem);
  padding: 0.45rem clamp(0.65rem, 2.5vw, 0.95rem);
  min-height: 40px;
  border: none;
  background: transparent;
  color: var(--green-deep);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-chip:hover {
  background: rgba(45, 122, 66, 0.12);
}

.lang-chip[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.lang-chip:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--gray-900);
  margin-inline: auto;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-logo-wrap {
  position: relative;
  z-index: 0;
  padding: 1.5rem;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--green-glow), transparent 55%);
  z-index: -1;
}

.hero-logo {
  width: min(220px, 55vw);
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

html[dir="ltr"] .eyebrow {
  letter-spacing: 0.06em;
}

.hero-sub {
  margin: 0 0 1.75rem;
  color: var(--gray-600);
  max-width: 36em;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
  box-shadow: 0 8px 28px var(--green-glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(60, 179, 113, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--green);
}

.btn-ghost:hover {
  background: rgba(45, 122, 66, 0.08);
}

.btn-block {
  width: 100%;
}

.hero-glow {
  position: absolute;
  width: 60%;
  max-width: 520px;
  height: 60%;
  max-height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  top: -10%;
  inset-inline-end: -15%;
  z-index: -1;
  opacity: 0.7;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--black);
}

.section-lead {
  margin: 0;
  color: var(--gray-600);
}

.services {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 122, 66, 0.04) 50%, transparent 100%);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(45, 122, 66, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(13, 13, 13, 0.04);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--green-bright);
  box-shadow: 0 16px 48px rgba(45, 122, 66, 0.12);
  transform: translateY(-3px);
}

.service-icon {
  display: block;
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
  overflow-wrap: break-word;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
}

.about-copy p {
  color: var(--gray-600);
  margin: 0 0 1rem;
}

.about-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-inline-start: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--green-deep);
}

.about-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 2px;
  box-shadow: 6px 6px 0 -2px var(--green);
}

.about-panel {
  position: relative;
  background: linear-gradient(145deg, var(--green-deep) 0%, #163d24 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  min-height: 220px;
  overflow: hidden;
}

.pixel-accent {
  position: absolute;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, transparent 50%, var(--green-bright) 50%),
    linear-gradient(135deg, var(--green-bright) 25%, transparent 25%),
    var(--green);
  opacity: 0.35;
  border-radius: 4px;
  transform: rotate(-8deg);
}

.about-panel blockquote {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(45, 122, 66, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-form label span {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.contact-recaptcha {
  margin: 0.25rem 0 0.5rem;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.contact-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-alert-success {
  background: rgba(45, 122, 66, 0.12);
  border: 1px solid rgba(45, 122, 66, 0.35);
  color: var(--green-deep);
}

.contact-alert-error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgba(180, 60, 60, 0.3);
  color: #8b2c2c;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 122, 66, 0.12);
  background: rgba(255, 255, 255, 0.8);
}

.contact-card.highlight {
  background: linear-gradient(135deg, rgba(45, 122, 66, 0.1) 0%, rgba(30, 77, 43, 0.08) 100%);
  border-color: var(--green);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-deep);
}

.contact-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.contact-details-card .contact-info-list {
  margin-top: 0.25rem;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-info-link {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-info-link:hover {
  text-decoration: underline;
  color: var(--green);
}

.contact-info-text {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.contact-info-address {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.55;
  white-space: pre-line;
}

.contact-details-card .contact-info-address {
  margin-top: 0.75rem;
}

.site-footer {
  border-top: 1px solid rgba(45, 122, 66, 0.12);
  padding: 1.75rem 0;
  background: var(--gray-900);
  color: var(--gray-200);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem 1.5rem;
}

.footer-contact-slot {
  min-width: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
}

.footer-contact-title {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 252, 251, 0.55);
}

.footer-contact .contact-info-list {
  gap: 0.35rem;
}

.footer-contact .contact-info-link {
  color: var(--green-bright);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-contact .contact-info-link:hover {
  color: #7fdca8;
}

.footer-contact .contact-info-text {
  color: rgba(250, 252, 251, 0.65);
  font-size: 0.9rem;
}

.footer-contact .contact-info-address {
  margin: 0.35rem 0 0;
  color: rgba(250, 252, 251, 0.55);
  font-size: 0.82rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.footer-tag {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--green-bright);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.35rem;
  text-align: end;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(250, 252, 251, 0.65);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .hero-sub {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .about-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }

  .service-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .section-team .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

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

  .nav {
    position: fixed;
    inset-inline: 0;
    top: calc(var(--header-h) + var(--safe-top));
    z-index: 999;
    background: rgba(250, 252, 251, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0.75rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    gap: 0.25rem;
    border-bottom: 1px solid rgba(45, 122, 66, 0.12);
    box-shadow: 0 12px 40px rgba(13, 13, 13, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
    max-height: min(70vh, calc(100dvh - var(--header-h) - var(--safe-top)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.35rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(45, 122, 66, 0.08);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Clients & team (from database / admin) */
.section-clients {
  background: linear-gradient(180deg, rgba(45, 122, 66, 0.03) 0%, transparent 100%);
}

.clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.client-card {
  min-width: 0;
}

.client-card-inner,
.client-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 122, 66, 0.12);
  background: var(--white);
  min-height: 120px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(13, 13, 13, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-card-link:hover {
  border-color: var(--green-bright);
  box-shadow: 0 12px 32px rgba(45, 122, 66, 0.1);
}

.client-logo {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

.client-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  color: var(--gray-900);
}

.section-team .team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(45, 122, 66, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(13, 13, 13, 0.04);
  text-align: center;
}

.team-photo-wrap {
  margin-bottom: 1rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.team-photo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(45, 122, 66, 0.1);
  color: var(--green);
  font-size: 2rem;
}

.team-name {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}

.team-role {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-deep);
}

.team-role-en {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.team-bio,
.team-bio-en {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
  white-space: pre-line;
}

.team-linkedin {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.team-linkedin:hover {
  text-decoration: underline;
}

/* Standalone pages (Clients / Team) */
.page-hero-small {
  padding: clamp(2rem, 5vw, 3rem) 0 0;
}

.page-hero-small .section-head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--black);
}

.empty-state {
  margin: 0;
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact-slot {
    justify-self: center;
    max-width: 22rem;
  }

  .footer-contact .contact-info-list {
    align-items: center;
  }

  .footer-legal {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: clamp(2rem, 6vw, 3.5rem) 0;
  }

  .section-head h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

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

  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
  }

  .contact-form {
    padding: 1.35rem 1.15rem;
  }

  .about-panel {
    padding: 1.5rem;
    min-height: 0;
  }
}
