@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --brand: #0e5ba3;
  --brand-light: #66a3e0;
  --brand-dark: #0b3f72;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body.overflow-hidden {
  overflow: hidden;
}

main {
  flex: 1;
}

.container-grid {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-grid {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.section-title {
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1rem;
  color: #475569;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.35s ease, color 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background-image: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 50%, var(--brand) 100%);
  background-size: 200% auto;
  box-shadow: 0 18px 35px -18px rgba(14, 91, 163, 0.8);
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn-secondary:hover {
  background-color: var(--brand);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn-outline:hover {
  background-color: var(--brand);
  color: #fff;
}

.btn-light {
  border: none;
  background-color: #fff;
  color: var(--brand);
  box-shadow: 0 22px 38px -26px rgba(2, 6, 23, 0.8);
  padding-inline: 2.25rem;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 58px -30px rgba(2, 6, 23, 0.8);
}

.btn-ghost-light {
  border: none;
  padding-inline: 2.25rem;
  background-color: #fff;
  color: var(--brand);
  box-shadow: 0 20px 40px -25px rgba(2, 6, 23, 0.65);
}

.btn-ghost-light:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.btn-danger {
  border: 1px solid #f87171;
  color: #fca5a5;
}

.btn-danger:hover {
  background-color: #f87171;
  color: #fff;
}

.card-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .card-cta {
    justify-content: flex-start;
  }
}

.card {
  border-radius: 1.25rem;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px -24px rgba(15, 23, 42, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -32px rgba(15, 23, 42, 0.4);
}

.portfolio-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card {
  border-radius: 1.75rem;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 60px -40px rgba(15, 23, 42, 0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -45px rgba(15, 23, 42, 0.6);
}

body.bg-slate-950 {
  background-color: #020617;
  color: #e2e8f0;
}

.admin-login[hidden],
.admin-dashboard[hidden] {
  display: none !important;
}

.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, rgba(14, 91, 163, 0.25), transparent 70%);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.5rem, 3vw, 3rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
}

.admin-brand,
.admin-header__actions {
  flex: 1;
  min-width: 260px;
}

.admin-brand {
  justify-content: flex-start;
}

.admin-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 768px) {
  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-brand,
  .admin-header__actions {
    width: 100%;
  }

  .admin-header__actions {
    justify-content: flex-start;
  }
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.admin-user__avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.admin-user__email {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-user__role {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.admin-branding-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-branding-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: var(--brand);
  color: #fff;
}

.admin-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.admin-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.admin-main {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .admin-main {
    padding: 0.75rem;
  }
}

.admin-login {
  min-height: 55vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-dashboard {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.admin-console {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .admin-console {
    flex-direction: row;
    align-items: flex-start;
  }
}

.admin-menu {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.6);
  color: #e2e8f0;
}

@media (min-width: 1024px) {
  .admin-menu {
    position: sticky;
    top: 1.5rem;
    min-width: 260px;
  }
}

.admin-menu__header h2 {
  margin: 0.2rem 0 0;
  font-size: 1.35rem;
}

.admin-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.admin-menu__list button {
  border: none;
  background: rgba(148, 163, 184, 0.15);
  color: inherit;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  text-align: left;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-menu__list button small {
  font-size: 0.78rem;
  font-weight: 400;
  color: #94a3b8;
}

.admin-menu__list button.is-active {
  background: linear-gradient(120deg, var(--brand), #3b82f6);
  color: #fff;
  transform: translateX(4px);
}

.admin-menu__hint {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

@media (max-width: 1023px) {
  .admin-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(80vw, 320px);
    max-width: 360px;
    height: 100vh;
    padding: 1.5rem 1.25rem;
    transform: translateX(-110%);
    transition: transform 0.3s ease;
    z-index: 40;
    overflow-y: auto;
  }

  .admin-menu.is-open {
    transform: translateX(0);
  }

  .admin-menu__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .admin-menu__list button {
    min-width: auto;
  }

  .admin-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 30;
  }

  .admin-menu-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}

.admin-console__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

.admin-console__toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.85);
}

.admin-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(8, 47, 73, 0.5);
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}

.admin-menu-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-menu-toggle__bars span {
  display: block;
  width: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.admin-menu-toggle.is-active .admin-menu-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.admin-menu-toggle.is-active .admin-menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.admin-menu-toggle.is-active .admin-menu-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.admin-menu-overlay {
  display: none;
}

body.has-menu-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .admin-console__toolbar {
    display: flex;
  }

  .admin-menu-toggle {
    display: inline-flex;
  }
}

.admin-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 30px 60px -40px rgba(2, 6, 23, 0.8);
  padding: 1.75rem;
}

@media (max-width: 640px) {
  .admin-card {
    padding: 1.25rem;
  }
}

.admin-card--center {
  width: 100%;
  max-width: 26rem;
  text-align: left;
  margin: 0 auto;
}

.admin-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.admin-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--brand-light);
  margin: 0 0 0.5rem;
}

.admin-description {
  color: #94a3b8;
  margin: 0;
}

.admin-form {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .admin-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.admin-field span {
  font-weight: 500;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.9rem 1rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  width: 100%;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 91, 163, 0.2);
  outline: none;
}

.admin-field--file input[type='file'] {
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.4);
}

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

.admin-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.admin-hero-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(14, 91, 163, 0.65), rgba(8, 47, 73, 0.8));
}

@media (min-width: 768px) {
  .admin-hero-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

.admin-import-label {
  cursor: pointer;
  position: relative;
}

.admin-import-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.admin-tab {
  display: none;
}

.admin-tab.is-active {
  display: block;
}

.admin-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.admin-list[data-client-list],
.admin-list[data-team-list],
.admin-list[data-user-list] {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-list--single {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-item {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-item__preview {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.admin-item__preview img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  padding: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.admin-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-item__title {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.admin-item__link {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  word-break: break-word;
}

.admin-item__fields {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .admin-item__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-message-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
  .admin-message-layout {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  }
}

.admin-message-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.admin-message-item {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.5);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.admin-message-preview {
  margin: 0;
  font-size: 0.8rem;
  color: #cbd5f5;
  text-align: left;
}

.admin-message-item:hover,
.admin-message-item.is-active {
  border-color: rgba(102, 163, 224, 0.5);
  background: rgba(102, 163, 224, 0.12);
}

.admin-message-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.admin-message-detail {
  flex: 1;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  min-height: 220px;
  overflow-y: auto;
}

.admin-message-detail h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-message-detail p {
  margin: 0.35rem 0;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.admin-message-detail__body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.9rem;
  color: #e2e8f0;
  white-space: pre-line;
}

.form-status {
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.form-status[data-type='success'] {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.form-status[data-type='error'] {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-empty {
  text-align: center;
  padding: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  border-radius: 1rem;
  color: #a5b4fc;
  background: rgba(15, 23, 42, 0.4);
}

.admin-status {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.85);
}

.admin-status[data-type='success'] {
  border-color: rgba(34, 197, 94, 0.4);
  color: #bbf7d0;
}

.admin-status[data-type='error'] {
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.admin-status[data-type='info'] {
  border-color: rgba(125, 211, 252, 0.4);
  color: #bae6fd;
}

.project-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.project-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.project-card__client {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #94a3b8;
}

.project-card__btn {
  margin-top: auto;
}

.project-modal {
  position: fixed;
  inset: 0;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(6px);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  width: min(72rem, 100%);
  border-radius: 2rem;
  background-color: #fff;
  box-shadow: 0 60px 120px -45px rgba(15, 23, 42, 0.55);
  overflow: hidden;
}

.project-modal__content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .project-modal__content {
    flex-direction: row;
  }
}

.project-modal__gallery {
  flex: 1;
  background-color: #020617;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.project-modal__gallery-main {
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #fff;
  flex: 1;
  min-height: 18rem;
  display: flex;
}

.project-modal__gallery-main img {
  width: 100%;
  object-fit: cover;
}

.project-modal__thumbs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project-modal__thumbs button {
  border: 0;
  padding: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.project-modal__thumbs button[aria-pressed='true'] {
  border-color: var(--brand);
}

.project-modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal__info {
  flex: 1;
  padding: 2.25rem;
}

.project-modal__details {
  display: grid;
  gap: 1.25rem;
}

.project-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.project-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-modal__close:hover {
  background-color: rgba(15, 23, 42, 0.15);
  transform: scale(1.05);
}

.cta-panel {
  width: 100%;
  border-radius: 2.5rem;
  background: linear-gradient(125deg, #0f62b3, #0b3f72);
  padding: clamp(2.25rem, 4vw, 4rem);
  color: #fff;
  box-shadow: 0 45px 100px -45px rgba(15, 23, 42, 0.65);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cta-panel__content h2 {
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.cta-panel__content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}

.cta-panel__actions .btn-light,
.cta-panel__actions .btn-ghost-light {
  min-width: 11rem;
}

@media (min-width: 1024px) {
  .cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-panel__content {
    max-width: 32rem;
  }
}

@media (max-width: 768px) {
  .project-modal {
    padding: 1rem;
  }

  .project-modal__gallery {
    padding: 1rem;
  }

  .project-modal__info {
    padding: 1.5rem;
  }

  .project-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #0b1526;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.45));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-card {
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.7);
}

.hero-dots button {
  height: 0.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease;
}

.hero-dots button[aria-pressed='true'] {
  background-color: rgba(255, 255, 255, 0.9);
}

.hero-dots-section {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 0;
  margin-top: 1rem;
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.marquee {
  --marquee-duration: 24s;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee-slide var(--marquee-duration) linear infinite;
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  height: 7rem;
  min-width: 12rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.96);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 45px -28px rgba(2, 6, 23, 0.65);
}

.client-logo img {
  max-height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.contact-hero {
  margin-top: 5rem;
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at top right, rgba(14, 91, 163, 0.65), rgba(2, 6, 23, 0.92)),
    url('../images/hero/corporate-office.jpg') center/cover;
  color: #fff;
  position: relative;
}

.contact-card {
  border-radius: 1.75rem;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  padding: 2rem;
  box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.4);
}

.contact-hero .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 18px 35px -18px rgba(15, 23, 42, 0.65);
}

.contact-hero .btn-primary:hover {
  background-image: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
}

.contact-hero .btn-secondary--light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.contact-hero .btn-secondary--light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.whatsapp-badge {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  box-shadow: 0 18px 30px -20px rgba(15, 23, 42, 0.5);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 35px -22px rgba(15, 23, 42, 0.55);
}

.whatsapp-badge svg {
  width: 2rem;
  height: 2rem;
}

@media (max-width: 640px) {
  .site-header__inner {
    height: 4.25rem;
  }

  .site-logo__title {
    font-size: 0.95rem;
  }

  .site-logo__tagline {
    letter-spacing: 0.25em;
    font-size: 0.58rem;
  }

  .nav-toggle {
    height: 2.5rem;
    width: 2.5rem;
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-card {
    padding: 1.75rem;
    border-radius: 20px;
  }

  .hero-card h1 {
    font-size: 1.75rem;
  }

  .hero-dots button {
    width: 1.5rem;
  }

  .py-20 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .py-16 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .py-12 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .py-10 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .container-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .client-logo {
    min-width: 10rem;
    height: 5.5rem;
    padding: 0.9rem 1.25rem;
  }

  .client-logo img {
    max-height: 2.75rem;
  }

  .marquee {
    --marquee-duration: 18s;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-light,
  .btn-ghost-light {
    width: 100%;
    justify-content: center;
  }

  .cta-panel__actions {
    width: 100%;
  }

.leadership-photo {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  overflow: hidden;
}

.leadership-photo__img {
  border-radius: inherit;
}

@media (max-width: 640px) {
  .leadership-photo.circle-mobile {
    width: 13rem;
    height: 13rem;
    border-radius: 999px;
  }

  .leadership-photo.circle-mobile .leadership-photo__img {
    border-radius: 999px;
  }
}

.leadership-photo + div,
.leadership-photo + div .section-title,
.leadership-photo + div .text-base {
  text-align: center;
}

@media (min-width: 640px) {
  .leadership-photo + div,
  .leadership-photo + div .section-title,
  .leadership-photo + div .text-base {
    text-align: left;
  }
}

  .contact-hero {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate='true'] {
  opacity: 1;
  transform: translateY(0);
}

.text-brand {
  color: var(--brand);
}

.text-brand-light {
  color: var(--brand-light);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-logo__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo__initials {
  font-weight: inherit;
  font-size: inherit;
}

.site-logo__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-logo__tagline {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link.is-active {
  color: var(--brand);
}

.nav-toggle {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: #fff;
  color: #475569;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.site-header.is-solid {
  background-color: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  box-shadow: 0 25px 45px -30px rgba(15, 23, 42, 0.45);
  color: #0f172a;
}

.site-header.is-solid .site-logo__mark {
  background-color: var(--brand);
  color: #fff;
  box-shadow: 0 15px 25px -20px rgba(14, 91, 163, 0.8);
}

.site-header.is-solid .site-logo__tagline {
  color: #64748b;
}

.site-header.is-solid .nav-link {
  color: #475569;
}

.site-header.is-solid .nav-link:hover {
  color: var(--brand);
}

.site-header.is-solid .nav-toggle {
  border-color: #e2e8f0;
}

.site-header.is-transparent {
  background-color: transparent;
  color: #fff;
  box-shadow: none;
}

.site-header.is-transparent .site-logo__mark {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 35px -30px rgba(15, 23, 42, 0.8);
}

.site-header.is-transparent .site-logo__tagline {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.is-transparent .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.is-transparent .nav-link.is-active {
  color: #fff;
}

.site-header.is-transparent .nav-link:hover {
  color: rgba(255, 255, 255, 1);
}

.site-header.is-transparent .nav-toggle {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.bg-brand {
  background-color: var(--brand);
}

.border-brand {
  border-color: var(--brand);
}

.shadow-brand {
  box-shadow: 0 25px 60px -30px rgba(14, 91, 163, 0.7);
}

.mobile-nav-panel {
  display: none;
}

.mobile-nav-panel.open {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
