@import "./variables.css";

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.page {
  background-color: var(--background);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
  padding: clamp(12px, 2.5vw, 24px) 0 clamp(32px, 5vw, 60px);
  overflow-x: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

/* =====================================================================
   MAIN CONTAINER
   ===================================================================== */
.page__container {
  width: min(86%, 1440px);
  margin: 0 auto;
  background-color: var(--background);
  border-left: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  position: relative;
  /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02); */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page__corner-cross {
  position: absolute;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-light);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.page__corner-cross--top-left {
  top: -6.5px;
  left: -6px;
}

.page__corner-cross--top-right {
  top: -6.5px;
  right: -6px;
}

.page__corner-cross--bottom-left {
  bottom: -6.5px;
  left: -6px;
}

.page__corner-cross--bottom-right {
  bottom: -6.5px;
  right: -6px;
}

/* =====================================================================
   HEADER / NAVIGATION
   ===================================================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid var(--hairline);
  background-color: var(--background);
  gap: 16px;
}

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

.header__brand-symbol {
  width: 24px;
  height: 24px;
  color: var(--text-main);
}

.header__brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-md);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.header__nav-link {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.header__nav-link:hover {
  color: var(--text-main);
}

.header__contact-wrap {
  display: flex;
  align-items: center;
}

.header__phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(6px, 1vw, 8px) clamp(12px, 1.5vw, 18px);
  border: 1px solid var(--hairline);
  background-color: var(--background);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.header__phone-btn:hover {
  border-color: var(--text-main);
  background-color: var(--background-subtle);
  transform: translateY(-1px);
}

.header__phone-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

/* =====================================================================
   HERO SECTION
   ===================================================================== */
.hero {
  padding: clamp(36px, 5.5vw, 68px) clamp(16px, 3.5vw, 48px) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hairline);
  background-color: var(--background);
  padding: 2px 10px 2px 2px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.hero__badge-tag {
  background-color: var(--secondary);
  color: var(--background);
  padding: 2px 7px;
  font-weight: 700;
  font-size: 9.5px;
  margin-right: 8px;
}

.hero__badge-text {
  color: var(--text-main);
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: clamp(14px, 2vw, 20px);
  max-width: min(880px, 100%);
}

.hero__title-gradient {
  background: linear-gradient(90deg, var(--primary) 35%, var(--primary) 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(224, 84, 45, 0.15);
}

.hero__description {
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: min(620px, 100%);
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 14px);
  margin-bottom: clamp(32px, 4.5vw, 48px);
  flex-wrap: wrap;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.2vw, 13px) clamp(20px, 2.5vw, 28px);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.hero__btn--primary {
  background-color: var(--secondary);
  color: var(--background);
}

.hero__btn--primary:hover {
  background-color: #222222;
  transform: translateY(-3px);
}

.hero__btn--secondary {
  background-color: var(--background);
  color: var(--text-main);
  border: 1px solid var(--hairline);
}

.hero__btn--secondary:hover {
  border-color: var(--text-main);
  background-color: var(--background-subtle);
  transform: translateY(-3px);
}

.hero__artwork {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero__lightning {
  width: 100%;
  max-width: 960px;
  height: auto;
  margin-bottom: -1px;
  display: block;
}

.hero__hatch {
  width: 100%;
  height: 14px;
  border-top: 1px solid var(--hairline);
}

/* =====================================================================
   VALUES BAR
   ===================================================================== */
.values {
  padding: clamp(24px, 3vw, 36px) clamp(16px, 3.5vw, 48px);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.values__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.values__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3.8vw, 56px);
}

.values__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.values__icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.values__icon path {
  color: var(--primary);
}

.values__bullet {
  font-size: 13px;
  color: var(--primary);
}

.values__name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

/* =====================================================================
   REUSABLE BADGE COMPONENT
   ===================================================================== */
.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--hairline);
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: clamp(12px, 1.8vw, 16px);
}

.badge__dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  flex-shrink: 0;
}

.badge__text {
  font-family: var(--font-mono);
}

/* =====================================================================
   SERVICES SECTION
   ===================================================================== */
.services {
  scroll-margin-top: clamp(20px, 3vw, 40px);
  padding: clamp(40px, 5.5vw, 72px) clamp(16px, 3.5vw, 48px);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.services__header {
  margin-bottom: clamp(28px, 3.8vw, 44px);
}

.services__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
}

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

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
  width: 100%;
  max-width: 100%;
}

/* =====================================================================
   SERVICE CARD BLOCK
   ===================================================================== */
.service-card {
  min-width: 0;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(22px, 2.2vw, 32px) clamp(16px, 1.8vw, 26px);
  background-color: var(--background);
  display: flex;
  flex-direction: column;
  transition: background-color var(--trans-fast);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.service-card:hover {
  background-color: var(--background-subtle);
}

.service-card--urgent {
  border-left: 2px solid var(--primary);
}

.service-card__header {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  align-items: flex-start;
  min-width: 0;
}

.service-card__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.service-card__meta {
  margin-bottom: 16px;
}

.service-card__tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-light);
  border: 1px solid var(--hairline);
  padding: 2px 7px;
  background-color: var(--background);
  display: inline-block;
}

.service-card__tag--urgent {
  color: var(--primary);
  border-color: rgba(224, 84, 45, 0.4);
  background-color: rgba(224, 84, 45, 0.04);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: clamp(8px, 1vw, 12px);
  letter-spacing: -0.01em;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.service-card__description {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

/* =====================================================================
   CONTACT SECTION
   ===================================================================== */
.contact {
  scroll-margin-top: clamp(24px, 3.5vw, 48px);
  padding: 0 clamp(16px, 3.5vw, 48px) clamp(40px, 5.5vw, 70px);
}

.contact__grid {
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  background-color: var(--background);
}

.contact__info {
  padding: clamp(28px, 4vw, 50px) clamp(20px, 3.2vw, 42px);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: clamp(10px, 1.5vw, 14px);
}

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

.contact__lead {
  font-size: clamp(0.875rem, 0.82rem + 0.25vw, 0.975rem);
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.contact__direct-list {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
}

.contact__direct-item {
  display: flex;
  flex-direction: column;
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
  background-color: var(--background-subtle);
  transition: all var(--trans-fast);
  min-width: 0;
}

.contact__direct-item:hover {
  border-color: var(--text-main);
  background-color: var(--background);
  transform: translateX(3px);
}

.contact__direct-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact__direct-value {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: break-word;
  word-break: break-all;
}

.contact__form-wrapper {
  padding: clamp(28px, 4vw, 50px) clamp(20px, 3.2vw, 42px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* =====================================================================
   CONTACT FORM BLOCK
   ===================================================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.8vw, 18px);
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__label-row {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
}

.contact-form__label {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form__required {
  color: var(--primary);
  font-weight: 700;
}

.contact-form__hint,
.contact-form__counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background-color: var(--background-subtle);
  border: 1px solid var(--hairline);
  padding: clamp(9px, 1.2vw, 11px) clamp(12px, 1.5vw, 16px);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-main);
  border-radius: 4px;
  outline: none;
  transition:
    border-color var(--trans-fast),
    background-color var(--trans-fast),
    box-shadow var(--trans-fast);
  resize: none !important;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  background-color: var(--background);
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.05);
}

.contact-form__input.is-invalid,
.contact-form__textarea.is-invalid {
  border-color: var(--form-error) !important;
}

.contact-form__input.is-invalid:focus,
.contact-form__textarea.is-invalid:focus {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
  border-color: var(--form-error) !important;
}

.contact-form__textarea {
  resize: vertical;
  min-height: clamp(8rem, 14vw, 12rem);
  max-height: 24rem;
}

.contact-form__error {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  color: var(--form-error);
  font-weight: 500;
  line-height: 1.35;
  margin-top: 2px;
}

.contact-form__error.is-visible {
  display: flex;
  animation: fadeInError 0.2s ease-out;
}

.contact-form__error-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form__consent {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.contact-form__checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-form__checkbox-box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  background-color: var(--background-subtle);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.contact-form__checkbox-input:focus-visible ~ .contact-form__checkbox-box {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.contact-form__checkbox-input:checked ~ .contact-form__checkbox-box {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.contact-form__checkbox-input:checked ~ .contact-form__checkbox-box::after {
  content: "✓";
  color: var(--background);
  font-size: 11px;
  font-weight: 700;
}

.contact-form__checkbox-wrap.is-invalid .contact-form__checkbox-box {
  border-color: var(--form-error);
}

.contact-form__checkbox-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-form__submit-wrap {
  display: flex;
}

.contact-form__submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(11px, 1.3vw, 14px) clamp(24px, 3vw, 36px);
  background-color: var(--primary);
  color: var(--background);
  border: none;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.contact-form__submit-btn:hover:not(:disabled) {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.contact-form__submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-form__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--background);
  border-radius: 50%;
  animation: formSpin 0.6s linear infinite;
  display: inline-block;
}

@keyframes formSpin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form__alert {
  padding: 14px 18px;
  font-size: var(--text-sm);
  border-radius: 4px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
  animation: fadeInAlert 0.3s ease-out;
}

.contact-form__alert[hidden] {
  display: none !important;
}

.contact-form__alert--success {
  background-color: var(--alert-success-background);
  border: 1px solid var(--alert-success);
  color: var(--alert-success);
}

.contact-form__alert--success .contact-form__alert-title,
.contact-form__alert--success .contact-form__alert-desc {
  color: var(--alert-success);
}

.contact-form__alert--error {
  background-color: var(--alert-error-background);
  border: 1px solid var(--alert-error);
  color: var(--alert-error);
}

.contact-form__alert--error .contact-form__alert-title,
.contact-form__alert--error .contact-form__alert-desc {
  color: var(--alert-error);
}

.contact-form__alert-title {
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.contact-form__alert-desc {
  font-size: var(--text-xs);
}

@keyframes fadeInAlert {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form__checkbox-link {
  color: var(--secondary);
  text-decoration: underline;
  transition: color var(--trans-fast);
}

.contact-form__checkbox-link:visited {
  color: var(--secondary);
}

/* =====================================================================
   PRIVACY POLICY SECTION
   ===================================================================== */

.privacy-policy {
  padding: clamp(32px, 4.5vw, 64px) clamp(16px, 3.5vw, 48px);
  width: 100%;
  max-width: 100%;
  flex: 1;
}

.privacy-policy__container {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.privacy-policy__header {
  margin-bottom: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: clamp(20px, 2.5vw, 32px);
}

.privacy-policy__back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: clamp(14px, 2vw, 20px);
  transition:
    color var(--trans-fast),
    transform var(--trans-fast);
}

.privacy-policy__back-link svg {
  transition: transform var(--trans-fast);
}

.privacy-policy__back-link:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.privacy-policy__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.privacy-policy__lead {
  font-size: clamp(0.925rem, 0.88rem + 0.25vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: clamp(12px, 1.5vw, 16px);
}

.privacy-policy__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-light);
}

.privacy-policy__content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* Card / Block per section */
.privacy-policy__card {
  border: 1px solid var(--hairline);
  background-color: var(--background);
  border-radius: 4px;
  overflow: hidden;
  transition:
    border-color var(--trans-fast),
    box-shadow var(--trans-fast);
}

.privacy-policy__card:hover {
  border-color: #d1d5db;
}

.privacy-policy__card-header {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 14px);
  padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 24px);
  background-color: var(--background-subtle);
  border-bottom: 1px solid var(--hairline);
}

.privacy-policy__section-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  background-color: var(--background);
  border: 1px solid var(--hairline);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.privacy-policy__section-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.3;
}

.privacy-policy__card-body {
  padding: clamp(16px, 2.2vw, 24px);
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
}

.privacy-policy__card-body p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.privacy-policy__card-body p:last-child {
  margin-bottom: 0;
}

.privacy-policy__lead-text {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
}

.privacy-policy__list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-policy__list > li {
  line-height: 1.65;
  color: var(--text-muted);
}

.privacy-policy__sublist {
  margin-top: 8px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--hairline);
  padding: 6px 0 6px 14px;
  margin-left: 4px;
}

.privacy-policy__sublist > li {
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-policy strong {
  color: var(--text-main);
  font-weight: 600;
}

.privacy-policy__link {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
  transition: all var(--trans-fast);
}

.privacy-policy__link:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

/* Fallback styling for generic/raw HTML inside privacy-policy__text */
.privacy-policy__text {
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--text-muted);
  line-height: 1.65;
}

.privacy-policy__text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: clamp(24px, 3vw, 36px) 0 clamp(10px, 1.2vw, 14px);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}

.privacy-policy__text p {
  margin-bottom: 14px;
}

.privacy-policy__text ol {
  padding-left: 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-policy__text ol ol {
  margin-top: 8px;
  margin-bottom: 4px;
  padding-left: 18px;
  /* border-left: 2px solid var(--hairline); */
  padding-left: 14px;
}

/* Contact / Action Card at bottom */
.privacy-policy__contact-card {
  border: 1px solid var(--hairline);
  background-color: var(--background-subtle);
  border-radius: 4px;
  padding: clamp(20px, 2.8vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-policy__contact-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.privacy-policy__contact-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.privacy-policy__contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.privacy-policy__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(10px, 1.2vw, 13px) clamp(20px, 2.5vw, 28px);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--trans-fast);
  white-space: nowrap;
  background-color: var(--secondary);
  color: var(--background);
}

.privacy-policy__btn:hover {
  background-color: #222222;
  transform: translateY(-2px);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  padding: clamp(16px, 2vw, 24px) clamp(16px, 3.5vw, 48px);
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  gap: 12px;
  background-color: var(--background);
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__brand {
  font-weight: 700;
  color: var(--text-main);
}

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

.footer__right {
  display: flex;
}

.footer__year {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-main);
}

/* =====================================================================
   RESPONSIVENESS & MEDIA QUERIES
   ===================================================================== */

@media (max-width: 1140px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .page__container {
    width: min(92%, 1024px);
  }
}

@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact__info {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }
}

@media (max-width: 679px) {
  .page__container {
    width: 95%;
  }

  .header {
    flex-wrap: wrap;
  }

  .header__nav {
    gap: 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero__btn {
    width: 100%;
  }

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

  .hero__lightning {
    width: clamp(560px, 160vw, 760px);
    max-width: none;
    flex-shrink: 0;
  }

  .values__grid {
    gap: 16px 24px;
    justify-content: flex-start;
  }

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

  .contact-form__submit-btn {
    width: 100%;
  }

  .privacy-policy__contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-policy__contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .privacy-policy__contact-actions .hero__btn,
  .privacy-policy__btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
