/* ============================================================
   NUMEN DIGITAL — Landing Page
   ============================================================ */

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

:root {
  --accent: #CDDE00;
  --dark: #0A0A0A;
  --dark-card: #141414;
  --dark-2: #1A1A1A;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --gray: #888888;
  --text-muted: #B0B0B0;

  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2rem);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Utilities -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.br-desktop {
  display: none;
}

@media (min-width: 768px) {
  .br-desktop {
    display: block;
  }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}

.btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--accent {
  background: var(--accent);
  color: var(--dark);
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border: 1.5px solid #333;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn--icon {
  padding: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .15);
}

.btn--icon:hover {
  background: rgba(255, 255, 255, .14);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 18px;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-head);
  font-size: 0.9rem;
}

.nav__logo-numen {
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
}

.nav__logo-digital {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.75rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: color .2s;
}

.nav__link:hover {
  color: var(--white);
}

.nav__cta {
  margin-left: 12px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s;
}

@media (max-width: 768px) {

  .nav__menu,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px var(--gutter) 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav__menu.is-open+.nav__cta {
    display: block;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*object-position: center right;*/
  opacity: 1;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
      rgba(10, 10, 10, .98) 0%,
      rgba(10, 10, 10, .80) 50%,
      rgba(10, 10, 10, .30) 80%);
  z-index: 1;
}

.hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(80px, 12vw, 140px);
}

.hero__content {
  max-width: 620px;
}

.hero__logo {
  width: min(100%, 180px);
  margin-bottom: clamp(60px, 5vw, 50px);
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__heading {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__heading--accent {
  display: block;
  color: var(--accent);
}

.hero__subtext {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: white;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--light);
  color: #AFBE00;
  padding-block: clamp(64px, 5vw, 120px);
}

.features__heading {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 700px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.features__icon {
  margin-bottom: 20px;
}

.features__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.features__text {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 10vw, 120px);
  background: #050505 url(/images/background-services.png) center center / cover no-repeat;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, .16) 0%, rgba(6, 6, 6, .30) 42%, rgba(0, 0, 0, .78) 100%),
    radial-gradient(circle at top left, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 32%);
  z-index: -1;
}

.services .container {
  position: relative;
  z-index: 1;
}


.services__header {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

@media (max-width: 640px) {
  .services__header {
    grid-template-columns: 1fr;
  }
}

.services__heading {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
}

.services__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .94);
  line-height: 1.75;
  max-width: 430px;
  text-wrap: balance;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.services__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 28px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 18%, rgba(8, 8, 8, .50) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 20px 45px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.services__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .58) 0%,
      rgba(255, 255, 255, .28) 38%,
      rgba(255, 255, 255, .10) 72%,
      rgba(255, 255, 255, .03) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.services__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    0 28px 50px rgba(0, 0, 0, .28);
}

.services__card:hover::before {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .72) 0%,
      rgba(255, 255, 255, .34) 38%,
      rgba(255, 255, 255, .12) 72%,
      rgba(255, 255, 255, .04) 100%);
}

.services__card-icon {
  margin-bottom: 20px;
  max-width: 130px;
}

.services__card-title {
  font-family: var(--font-head);
  color: #ECFF01;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.services__card-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 20px;
  line-height: 1.5;
}

.services__card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.services__card-list li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .95);
  padding-left: 14px;
  position: relative;
  line-height: 1.35;
}

.services__card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .services__card {
    background: rgba(20, 20, 20, .78);
  }
}

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .services__card {
    border-color: rgba(255, 255, 255, .22);
  }

  .services__card::before {
    display: none;
  }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  --process-step-gap: clamp(36px, 3vw, 54px);
  background: #CDDE00;
  padding-block: clamp(56px, 5vw, 110px);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.process__header {
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: 920px;
}

.process__label {
  display: inline-block;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 600;
  color: #101010;
  margin-bottom: 14px;
}

.process__heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: var(--process-step-gap);
}

.process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.process__step:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  top: 50%;
  left: calc(100% + (var(--process-step-gap) / 2));
  transform: translate(-50%, -50%);
  color: rgba(20, 20, 20, .58);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.process__step-card {
  min-height: 80px;
  padding: 18px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.05;
  border: 1px solid rgba(16, 16, 16, .08);
  box-shadow: 0 16px 24px rgba(35, 35, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.process__step:hover .process__step-card {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(35, 35, 0, .16);
}

.process__step--dark .process__step-card {
  background: #2A2A2A;
  color: var(--white);
}

.process__step--deep .process__step-card {
  background: #050505;
  color: var(--white);
}

.process__step--light .process__step-card {
  background: rgba(255, 255, 255, .94);
  color: #161616;
}

.process__step-title {
  display: block;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .process__header {
    margin-bottom: 28px;
  }

  .process__steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .process__step {
    width: 100%;
  }

  .process__step:not(:last-child) {
    margin-bottom: 34px;
  }

  .process__step:not(:last-child)::after {
    content: '\2193';
    top: auto;
    bottom: -28px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .process__step-card {
    min-height: 84px;
    justify-content: flex-start;
    text-align: left;
    padding: 20px 18px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background: #050505 url(/images/contacto_back.png) center center / cover no-repeat;
  padding-block: clamp(72px, 9vw, 132px);
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(22, 22, 22, .22) 0%,
      rgba(14, 14, 14, .42) 34%,
      rgba(5, 5, 5, .78) 58%,
      rgba(0, 0, 0, .94) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, .14) 0%,
      rgba(0, 0, 0, .52) 100%);
  z-index: -2;
}

.contact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent);
  z-index: -1;
}

.contact .container {
  position: relative;
  z-index: 1;
  max-width: 1420px;
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(330px, .92fr) minmax(360px, 1fr);
  gap: clamp(24px, 2.4vw, 36px);
  align-items: stretch;
}

.contact__hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: clamp(28px, 2.8vw, 34px);
  padding-bottom: 0;
  min-height: 100%;
}

.contact .eyeContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #fff;
  border-radius: 85% 0;
  transform: rotate(45deg);
  width: 5.8rem;
  height: 5.8rem;
  margin-bottom: clamp(30px, 3vw, 36px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .18);
}

.contact .eyeContainer img.pupilaFormulario {
  width: 62px;
  display: block;
  will-change: transform;
}

.contact__heading {
  font-family: var(--font-head);
  font-size: clamp(3.1rem, 5.5vw, 5.45rem);
  font-weight: 600;
  line-height: .93;
  letter-spacing: -.02em;
  color: var(--white);
}

.contact__card {
  min-height: 100%;
  padding: clamp(28px, 2.8vw, 34px);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .22);
  color: #111;
}

.contact__card--info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__profile-img {
  width: min(100%, 234px);
  margin-inline: auto;
  margin-bottom: 50px;
}

.contact__cta-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.contact__cta-block + .contact__cta-block {
  margin-top: 38px;
}

.contact__card-copy {
  max-width: 23ch;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  font-weight: 600;
  line-height: 1.18;
  color: #111;
}

.contact__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 202px;
  min-height: 62px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  transition: transform .2s ease, opacity .2s ease;
}

.contact__action:hover {
  transform: translateY(-2px);
  opacity: .95;
}

.contact__action-logo {
  width: min(132px, 100%);
  filter: brightness(0) saturate(100%);
}

/* Form */
.contact__form-wrap {
  display: flex;
  flex-direction: column;
}

.contact__form-intro {
  max-width: 24ch;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 1.2vw, 2.15rem);
  font-weight: 700;
  color: #101010;
  line-height: 1.14;
  margin-bottom: 34px;
}

.form__row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group {
  margin-bottom: 18px;
}

.form__group--error .form__input {
  border-color: rgba(192, 24, 24, .45);
  background: #fff6f6;
}

.form__input {
  width: 100%;
  min-height: 56px;
  padding: 17px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--dark);
  background: #EAF0F3;
  transition: border-color .2s, background-color .2s;
  outline: none;
}

.form__input::placeholder {
  color: #666;
  font-style: italic;
}

.form__input:focus {
  border-color: rgba(0, 0, 0, .2);
  background: var(--white);
}

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

.form__error {
  min-height: 18px;
  margin-top: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #b3261e;
}

.contact__submit {
  display: flex;
  width: min(232px, 100%);
  justify-content: center;
  margin: 22px auto 26px;
  padding-block: 17px;
  border-radius: 999px;
  background: #000;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.contact__legal {
  max-width: 330px;
  font-size: 0.82rem;
  line-height: 1.42;
  color: #8A8A8A;
}

.contact__legal a {
  color: #A4B200;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__success {
  font-size: 0.82rem;
  color: #25a244;
  margin-top: 12px;
  text-align: left;
  min-height: 20px;
}

@media (max-width: 1180px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact__hero {
    grid-column: 1 / -1;
    padding-bottom: 4px;
  }

  .contact__heading {
    font-size: clamp(3rem, 6vw, 4.5rem);
  }
}

@media (max-width: 768px) {
  .contact {
    background-position: left center;
    padding-block: 64px;
  }

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

  .contact__hero {
    grid-column: auto;
    padding-top: 24px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact .eyeContainer {
    width: 4rem;
    height: 4rem;
    margin-bottom: 24px;
  }

  .contact .eyeContainer img.pupilaFormulario {
    width: 42px;
  }

  .contact__heading {
    font-size: clamp(2.6rem, 6vw, 5rem);
    white-space: normal;
  }

  .contact__card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .contact__profile-img {
    width: min(100%, 200px);
    margin-bottom: 24px;
  }

  .contact__cta-block + .contact__cta-block {
    margin-top: 30px;
  }

  .contact__form-intro {
    max-width: 100%;
  }

  .form__row--two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact__submit {
    width: 100%;
  }

  .contact__legal {
    max-width: none;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: #232325;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(320px, .98fr) minmax(420px, 1fr);
  min-height: clamp(560px, 49vw, 760px);
  align-items: stretch;
}

.about__left {
  display: flex;
  align-items: center;
  background: #232325;
  padding: clamp(48px, 5vw, 80px) clamp(28px, 5vw, 72px);
}

.about__content {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
}

.about__heading {
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 4.1vw, 4.9rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  color: var(--white);
  text-wrap: balance;
}

.about__accent {
  color: #F1F77A;
}

.about__text {
  max-width: 18ch;
  font-size: clamp(1.15rem, 1.75vw, 1.42rem);
  color: rgba(255, 255, 255, .92);
  line-height: 1.45;
  margin-bottom: 42px;
}

.about__cta {
  min-width: 270px;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 1rem;
}

.about__media {
  overflow: hidden;
  min-height: 100%;
  background: #d6e2e9;
}

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

@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about__left {
    padding: 48px 24px 32px;
  }

  .about__content {
    max-width: none;
    margin-left: 0;
  }

  .about__text {
    max-width: 24ch;
  }

  .about__media {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .about__heading {
    font-size: clamp(2.8rem, 12vw, 4.25rem);
    margin-bottom: 28px;
  }

  .about__text {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .about__cta {
    width: 100%;
    min-width: 0;
  }

  .about__media {
    min-height: 300px;
  }
}

/* ============================================================
   BROCHURE MODAL
   ============================================================ */
.brochure-modal[hidden] {
  display: none !important;
}

.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .62);
  opacity: 0;
  transition: opacity .22s ease;
}

.brochure-modal.is-active {
  opacity: 1;
}

.brochure-sheet {
  position: relative;
  width: min(100%, 480px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
  transform: translateY(18px);
  transition: transform .22s ease;
}

.brochure-modal.is-active .brochure-sheet {
  transform: translateY(0);
}

.brochure-sheet__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
  cursor: pointer;
}

.brochure-sheet__close span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: #111;
}

.brochure-sheet__close span:first-child {
  transform: rotate(45deg);
}

.brochure-sheet__close span:last-child {
  transform: rotate(-45deg);
}

.brochure-sheet__content {
  padding: 70px 28px 28px;
}

.brochure-sheet__title {
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.brochure-sheet__field {
  margin-bottom: 16px;
}

.brochure-sheet__input {
  background: #edf2f5;
}

.brochure-sheet__error {
  min-height: 18px;
}

.brochure-sheet__submit {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  border-radius: 999px;
}

.has-overlay-open {
  overflow: hidden;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: min(92vw, 320px);
  max-width: min(92vw, 420px);
  padding: 14px 16px;
  border-radius: 16px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: #1f7a3f;
}

.toast--error {
  background: #ad2828;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #000;
  padding-block: clamp(56px, 6vw, 78px);
  color: #FFF;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.footer .container {
  max-width: 1520px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.28fr) minmax(240px, .92fr) minmax(220px, .7fr) minmax(260px, .86fr);
  gap: clamp(28px, 3vw, 54px);
  align-items: start;
}

.footer__brand-link {
  display: inline-block;
}

.footer__brand-image {
  width: min(100%, 292px);
  display: block;
}

.footer__col {
  padding-top: 14px;
}

.footer__col-title {
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 400;
}

.footer__address {
  font-size: inherit;
  color: rgba(255, 255, 255, .92);
  line-height: inherit;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__contact-list a {
  font-size: inherit;
  color: rgba(255, 255, 255, .92);
  transition: color .2s;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.footer__contact-list a[href^="mailto:"] {
  text-decoration-color: rgba(255, 255, 255, .92);
}

.footer__contact-list a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
}

.footer__legal-mark {
  flex-shrink: 0;
}

.footer__legal-mark img {
  width: 54px;
  height: 54px;
  display: block;
}

.footer__legal-copy {
  font-size: inherit;
  line-height: inherit;
  color: rgba(255, 255, 255, .92);
}

.footer__privacy-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  transition: color .2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__privacy-link:hover {
  color: #eef87f;
}

@media (max-width: 1180px) {
  .footer__inner {
    grid-template-columns: 1.1fr 1fr 1fr;
  }

  .footer__legal {
    grid-column: 2 / -1;
  }
}

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand-image {
    width: min(100%, 250px);
  }

  .footer__legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .brochure-modal {
    align-items: end;
    padding: 14px;
  }

  .brochure-sheet {
    width: 100%;
    border-radius: 24px 24px 0 0;
  }

  .brochure-sheet__content {
    padding: 62px 20px 24px;
  }

  .toast-stack {
    left: 14px;
    right: 14px;
    bottom: 18px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }

  .footer {
    padding-block: 44px 88px;
  }

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

  .footer__brand,
  .footer__legal {
    grid-column: auto;
  }

  .footer__col,
  .footer__legal {
    padding-top: 0;
  }

  .footer__legal {
    gap: 18px;
    align-items: flex-start;
  }

  .footer__legal-mark {
    width: 64px;
    height: 64px;
  }

  .footer__legal-mark img {
    width: 64px;
    height: 64px;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
