:root {
  --surface-line: rgba(110, 22, 48, 0.12);
  --text: #33131d;
  --text-soft: rgba(51, 19, 29, 0.72);
  --accent: #7f1735;
  --accent-strong: #e10e34;
  --accent-soft: rgba(127, 23, 53, 0.08);
  --shell-width: 1240px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(225, 14, 52, 0.1), transparent 28%),
    linear-gradient(180deg, #fbf7f7 0%, #f2eaec 100%);
}

body.has-auth-modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.page-shell {
  min-height: 100vh;
}

.section-shell {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  border-bottom: 1px solid rgba(127, 23, 53, 0.08);
  background: rgba(255, 248, 248, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(var(--shell-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 14px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-brand img {
  width: 224px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff9fb;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(225, 14, 52, 0.22);
}

.button--hero {
  color: #3d061b;
  background: #e3e4e5;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.button--deltacore {
  color: #f8f5f6;
  background: #85173a;
  box-shadow: 0 1rem 2rem rgba(133, 23, 58, 0.2);
}

.button--ghost {
  color: #404143;
  background: transparent;
  border: 1px solid rgba(64, 65, 67, 0.34);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle span {
  top: 23px;
}

.menu-toggle::before {
  top: 17px;
}

.menu-toggle::after {
  top: 29px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(var(--shell-width), calc(100% - 40px));
  margin: 0 auto 0;
  padding: 14px;
  border: 1px solid rgba(127, 23, 53, 0.1);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 252, 252, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(73, 18, 34, 0.08);
}

.mobile-nav nav {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.56);
}

.mobile-nav a.is-active {
  color: var(--text);
  background: rgba(127, 23, 53, 0.08);
}

.site-header.is-menu-open + .mobile-nav {
  display: block;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 12, 20, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 80px rgba(31, 12, 20, 0.28);
}

.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.auth-modal__close:hover,
.auth-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 23, 58, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.auth-modal__close span {
  font-size: 1.4rem;
  line-height: 1;
}

.auth-modal__header {
  display: grid;
  gap: 10px;
  padding-right: 56px;
}

.auth-modal__header h2 {
  margin: 0;
  color: #3d061b;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.auth-modal__header p {
  margin: 0;
  color: #404143;
  line-height: 1.7;
}

.auth-feedback {
  padding: 14px 16px;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-feedback.is-error {
  border-color: rgba(225, 14, 52, 0.22);
  background: rgba(225, 14, 52, 0.08);
  color: #7f1735;
}

.auth-feedback.is-success {
  border-color: rgba(42, 122, 82, 0.18);
  background: rgba(42, 122, 82, 0.09);
  color: #1f6b46;
}

.auth-feedback.is-info {
  border-color: rgba(61, 6, 27, 0.12);
  background: rgba(61, 6, 27, 0.05);
  color: #3d061b;
}

.auth-panel {
  display: grid;
  gap: 16px;
}

.auth-back-row {
  display: flex;
  justify-content: flex-start;
}

.auth-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #3d061b;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.auth-back-button:hover,
.auth-back-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 23, 58, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.auth-panel__help {
  margin: 0;
  color: #404143;
  line-height: 1.7;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  color: #404143;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(64, 65, 67, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #33131d;
  font: inherit;
}

.auth-field input:focus {
  outline: 2px solid rgba(133, 23, 58, 0.16);
  border-color: rgba(133, 23, 58, 0.34);
}

.auth-panel__meta {
  display: flex;
  justify-content: flex-end;
}

.auth-panel__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.auth-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #85173a;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-link-button:hover,
.auth-link-button:focus-visible {
  color: #3d061b;
}

.auth-submit[disabled],
.auth-back-button[disabled],
.auth-link-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.hero {
  padding: 132px 0 88px;
  background: #3d061b;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 48px;
}

.hero__content {
  padding: 64px 0;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  color: #e3e4e5;
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: #8f9192;
  font-size: 1.04rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__media {
  display: flex;
  justify-content: flex-end;
}

.hero__photo {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(227, 228, 229, 0.16);
  background:
    linear-gradient(180deg, rgba(227, 228, 229, 0.16), rgba(227, 228, 229, 0.04)),
    radial-gradient(circle at top, rgba(227, 228, 229, 0.2), transparent 34%),
    linear-gradient(135deg, #5b0f27 0%, #2b0715 100%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

.hero__photo::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 24px;
  border: 1px solid rgba(227, 228, 229, 0.12);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.section {
  padding: 72px 0;
}

.section--team {
  padding: 0;
}

.section--pillars {
  padding: 0;
}

.section--deltacore {
  padding: 0;
}

.section--plans {
  padding: 0;
}

.section--contact {
  padding: 0;
}

.deltacore-section {
  width: 100%;
  padding: 4.75rem 0;
  background: #f0f1f2;
}

.deltacore-section__shell {
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
}

.deltacore-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.deltacore-section__content {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-height: 100%;
  max-width: 34rem;
  margin: 0 auto;
}

.deltacore-section__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.deltacore-section__heading img {
  width: clamp(3.5rem, 6vw, 5rem);
  height: auto;
  flex: 0 0 auto;
}

.deltacore-section__content h2 {
  margin: 0;
  color: #3d061b;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.deltacore-section__subtitle {
  margin: 0;
  color: #404143;
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.deltacore-section__description {
  max-width: 32rem;
  margin: 0;
  color: #404143;
  font-size: 1.02rem;
  line-height: 1.8;
}

.deltacore-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.75rem;
}

.deltacore-panel {
  position: relative;
  display: grid;
  gap: 1.5rem;
  width: min(100%, 42rem);
  min-height: 21rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.22);
  box-shadow: 0 2rem 4rem rgba(61, 6, 27, 0.08);
  backdrop-filter: blur(2rem);
  -webkit-backdrop-filter: blur(2rem);
  overflow: hidden;
  justify-self: stretch;
  align-self: center;
}

.deltacore-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(133, 23, 58, 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 48%);
  pointer-events: none;
}

.deltacore-panel > * {
  position: relative;
  z-index: 1;
}

.deltacore-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.deltacore-panel__eyebrow,
.deltacore-panel__brand {
  color: #404143;
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deltacore-panel__brand {
  text-align: right;
}

.deltacore-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.deltacore-metric {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(1rem);
}

.deltacore-metric__label {
  color: rgba(64, 65, 67, 0.72);
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deltacore-metric strong {
  color: #3d061b;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.deltacore-metric small {
  color: #404143;
  font-size: 0.84rem;
  line-height: 1;
}

.deltacore-chart {
  min-height: 11rem;
  padding: 0.9rem 0.8rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(1.25rem);
}

.deltacore-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.deltacore-chart__grid line {
  stroke: rgba(64, 65, 67, 0.15);
  stroke-width: 1;
}

.deltacore-chart__line {
  fill: none;
  stroke: url(#deltacore-line);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deltacore-chart__dots circle {
  fill: #85173a;
  opacity: 0.95;
}

.deltacore-panel__footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.deltacore-readout {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-top: 1px solid rgba(64, 65, 67, 0.18);
}

.deltacore-readout__label {
  color: rgba(64, 65, 67, 0.76);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deltacore-readout strong {
  color: #3d061b;
  font-size: 1.15rem;
  line-height: 1.2;
}

.plans-section {
  width: 100%;
  padding: 4.75rem 0;
  background: #e3e4e5;
}

.plans-section__shell {
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
}

.plans-section__intro {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.plans-section__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(127, 23, 53, 0.08);
  color: #7f1735;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.service-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: start;
  gap: 0.9rem;
  min-height: 22rem;
  padding: 1.75rem;
  border: 1px solid rgba(64, 65, 67, 0.28);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(64, 65, 67, 0.12);
}

.service-card__icon svg {
  width: 2.8rem;
  height: 2.8rem;
  fill: none;
  stroke: #85173a;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__body h3 {
  margin: 0;
  color: #3d061b;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.service-card__body {
  min-width: 0;
}

.service-card__list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #404143;
  line-height: 1.8;
}

.service-card__list li::marker {
  color: #85173a;
}

.service-card__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-card__group {
  min-width: 0;
}

.service-card__group h4 {
  margin: 0;
  color: #3d061b;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card__group .service-card__list {
  margin-top: 0.7rem;
}

.contact-section {
  width: 100%;
  padding: 2.65rem 0;
  background: #f0f1f2;
}

.contact-section__shell {
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
}

.contact-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
  gap: 0.9rem;
  align-items: start;
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(64, 65, 67, 0.2);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
}

.contact-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(127, 23, 53, 0.08);
  color: #7f1735;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 0;
  color: #3d061b;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-feedback {
  padding: 14px 16px;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-feedback.is-error {
  border-color: rgba(225, 14, 52, 0.22);
  background: rgba(225, 14, 52, 0.08);
  color: #7f1735;
}

.contact-feedback.is-success {
  border-color: rgba(42, 122, 82, 0.18);
  background: rgba(42, 122, 82, 0.09);
  color: #1f6b46;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-field {
  display: grid;
  gap: 0.5rem;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-field span {
  color: #404143;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(64, 65, 67, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  color: #33131d;
  font: inherit;
}

.contact-field textarea {
  min-height: 5rem;
  resize: vertical;
}

.contact-submit[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(133, 23, 58, 0.18);
  border-color: rgba(133, 23, 58, 0.34);
}

.contact-location {
  display: grid;
  gap: 1rem;
}

.contact-location__body {
  display: grid;
  gap: 0.85rem;
}

.contact-location__map {
  overflow: hidden;
  min-height: 15rem;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at top right, rgba(133, 23, 58, 0.08), transparent 42%);
}

.contact-location__map iframe {
  display: block;
  width: 100%;
  min-height: 15rem;
  border: 0;
}

.contact-location__label,
.contact-socials__title {
  margin: 0;
  color: #404143;
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-location__text {
  margin: 0;
  color: #404143;
  line-height: 1.75;
}

.contact-location__link {
  width: fit-content;
  min-height: 2.8rem;
  padding: 0 1rem;
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(64, 65, 67, 0.12);
}

.contact-detail {
  display: grid;
  gap: 0.3rem;
}

.contact-detail__label {
  margin: 0;
  color: #404143;
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail__text {
  margin: 0;
  color: #3d061b;
  line-height: 1.7;
}

.contact-detail__text a {
  color: inherit;
}

.contact-detail__text--phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.contact-socials {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(64, 65, 67, 0.12);
  padding-top: 1rem;
}

.contact-socials[open] .contact-socials__toggle {
  transform: rotate(45deg);
}

.contact-socials__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}

.contact-socials__summary::-webkit-details-marker {
  display: none;
}

.contact-socials__floating-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-socials__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(64, 65, 67, 0.18);
  border-radius: 999px;
  color: #85173a;
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.72);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.contact-socials__summary:hover .contact-socials__toggle,
.contact-socials__summary:focus-visible .contact-socials__toggle {
  border-color: rgba(133, 23, 58, 0.38);
  background: rgba(255, 255, 255, 0.92);
}

.contact-socials__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(64, 65, 67, 0.18);
  border-radius: 999px;
  color: #3d061b;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.64);
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.contact-social:hover,
.contact-social:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 23, 58, 0.38);
  background: rgba(255, 255, 255, 0.94);
}

.contact-social svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-socials {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 160;
}

.floating-socials__summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  cursor: pointer;
}

.floating-socials__summary::-webkit-details-marker {
  display: none;
}

.floating-socials__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.floating-socials__list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  flex-wrap: nowrap;
  padding: 0.7rem;
  border: 1px solid rgba(64, 65, 67, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1rem 2rem rgba(61, 6, 27, 0.12);
}

.site-footer {
  background: #e3e4e5;
}

.site-footer__shell {
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0.85rem 0 0.7rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) minmax(11rem, 1fr) minmax(12rem, auto);
  gap: 0.9rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.35rem;
  align-self: start;
}

.footer-brand img {
  width: min(100%, 12.5rem);
  height: auto;
  margin-top: 0;
}

.footer-brand p {
  margin: 0;
  color: rgba(64, 65, 67, 0.82);
  font-size: 0.82rem;
  line-height: 1.35;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.footer-column--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.1rem;
}

.footer-column a {
  color: rgba(64, 65, 67, 0.86);
  font-size: 0.88rem;
  line-height: 1.35;
  transition: color var(--transition);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #33131d;
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(64, 65, 67, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: #85173a;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.footer-social:hover,
.footer-social:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 23, 58, 0.36);
  background: rgba(255, 255, 255, 0.88);
}

.footer-pixelia {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  justify-items: end;
  justify-self: end;
}

.footer-pixelia__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-pixelia__link img {
  width: min(100%, 8.5rem);
  height: auto;
}

.footer-pixelia__label {
  color: rgba(64, 65, 67, 0.72);
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-pixelia__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-pixelia__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #85173a 0%, #e10e34 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
}

.footer-pixelia__word {
  color: #3d061b;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pillars-section {
  width: 100%;
  padding: 4.5rem 0;
  background: #e3e4e5;
}

.pillars-section__shell {
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
}

.pillars-section__intro {
  margin-bottom: 2rem;
  text-align: center;
}

.pillars-section__intro h2 {
  margin: 0;
  color: #3d061b;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.pillars-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid transparent;
  border-radius: 1.75rem;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(133, 23, 58, 0.72)) border-box;
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.pillar-block {
  min-height: 20rem;
  padding: 1.75rem 1.35rem 1.5rem;
  border-right: 1px solid rgba(64, 65, 67, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pillar-block:last-child {
  border-right: 0;
}

.pillar-block__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.875rem;
}

.pillar-block__index {
  display: inline-flex;
  align-items: center;
  color: rgba(64, 65, 67, 0.68);
  font-family: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  min-height: 2.25rem;
}

.pillar-block h3 {
  margin: 0;
  color: #3d061b;
  font-size: 1.55rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.pillar-block p {
  margin: 1rem 0 0;
  color: #404143;
  line-height: 1.72;
}

.team-section {
  position: relative;
  display: grid;
  gap: 22px;
  width: 100%;
  margin-top: -1px;
  padding: 34px 0 52px;
  background: #f0f1f2;
  overflow: hidden;
}

.team-section__shell {
  position: relative;
  z-index: 1;
  width: min(1840px, calc(100% - 24px));
  margin: 0 auto;
}

.team-section__intro {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.team-section__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
  padding-top: 8px;
}

.team-card {
  position: relative;
  display: grid;
  grid-template-rows: 320px auto;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(64, 65, 67, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  backdrop-filter: blur(8px);
  cursor: pointer;
  justify-self: stretch;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.team-card:hover,
.team-card:focus-visible,
.team-card.is-open {
  transform: translateY(-4px);
  border-color: rgba(64, 65, 67, 0.26);
  box-shadow: 0 20px 48px rgba(64, 65, 67, 0.12);
  background: rgba(255, 255, 255, 0.42);
}

.team-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background:
    linear-gradient(180deg, rgba(227, 228, 229, 0.6), rgba(227, 228, 229, 0.2)),
    #d9dadd;
}

.team-card__caption {
  flex: 0 0 auto;
  padding: 18px 22px 24px;
}

.team-card__role {
  margin: 0;
  color: rgba(64, 65, 67, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card__caption h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.team-card__details {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(61, 6, 27, 0.08) 0%, rgba(61, 6, 27, 0.84) 58%, rgba(61, 6, 27, 0.94) 100%);
  backdrop-filter: blur(18px);
  color: #e3e4e5;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.team-card:hover .team-card__details,
.team-card:focus-visible .team-card__details,
.team-card.is-open .team-card__details {
  opacity: 1;
  visibility: visible;
}

.team-card__details p {
  margin: 0;
  line-height: 1.75;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .site-brand img {
    width: 198px;
  }
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .header-actions {
    justify-content: flex-end;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__media {
    justify-content: flex-start;
  }

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

  .deltacore-section__content {
    max-width: 40rem;
    margin: 0;
  }

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

  .contact-section__layout {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-section {
    padding: 28px 0 40px;
  }

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

  .pillars-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-block:nth-child(2n) {
    border-right: 0;
  }

  .pillar-block:nth-child(n + 3) {
    border-top: 1px solid rgba(64, 65, 67, 0.22);
  }
}

@media (max-width: 720px) {
  .auth-modal {
    padding: 16px;
  }

  .auth-modal__dialog {
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .auth-modal__header {
    padding-right: 42px;
  }

  .auth-panel__actions {
    justify-content: stretch;
  }

  .auth-panel__actions .button {
    width: 100%;
  }

  .site-header__inner {
    width: calc(100% - 24px);
    min-height: 88px;
    padding: 12px 0;
    gap: 10px;
  }

  .site-brand img {
    width: 156px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    width: calc(100% - 24px);
  }

  .deltacore-section {
    padding: 3.5rem 0;
  }

  .plans-section {
    padding: 3.5rem 0;
  }

  .deltacore-panel {
    width: 100%;
    min-height: auto;
    padding: 1.25rem;
    border-radius: 1.5rem;
    justify-self: stretch;
  }

  .deltacore-panel__header {
    display: grid;
  }

  .deltacore-panel__brand {
    text-align: left;
  }

  .deltacore-panel__metrics,
  .deltacore-panel__footer {
    grid-template-columns: 1fr;
  }

  .deltacore-chart {
    min-height: 14rem;
    padding: 0.9rem 0.8rem 0.4rem;
  }

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

  .service-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.3rem 1.1rem;
  }

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

  .contact-section {
    padding: 3.5rem 0;
  }

  .contact-panel {
    padding: 1.25rem;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-location__map {
    min-height: 13rem;
  }

  .contact-location__map iframe {
    min-height: 13rem;
  }

  .floating-socials {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .floating-socials__list {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 11rem;
    border-radius: 1.4rem;
  }

  .site-footer__shell {
    padding: 1.5rem 0 1.8rem;
  }

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

  .footer-pixelia {
    justify-items: start;
    justify-self: start;
  }

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

  .pillars-section {
    padding: 3.25rem 0;
  }

  .pillars-section__intro {
    margin-bottom: 1.5rem;
  }

  .pillars-panel {
    grid-template-columns: 1fr;
  }

  .pillar-block {
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(64, 65, 67, 0.22);
  }

  .pillar-block:first-child {
    border-top: 0;
  }

  .hero {
    padding-top: 112px;
  }

  .hero__content {
    padding: 28px 22px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .team-section__shell {
    width: calc(100% - 24px);
  }

  .team-card {
    grid-template-rows: 280px auto;
  }

  .team-card__photo {
    object-position: center 14%;
  }

  .team-card__caption {
    padding: 18px 18px 22px;
  }

  .hero__photo {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}
