/* ============================================
   ASM Electronics — Stylesheet
   ============================================ */

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

:root {
  --bg-primary:       #09111E;
  --bg-nav:           rgba(9, 17, 30, 0.95);
  --blue-main:        #2563EB;
  --blue-light:       #60A5FA;
  --blue-pale:        #93C5FD;
  --text-primary:     #F0F4FF;
  --text-secondary:   rgba(148, 163, 184, 0.9);
  --text-muted:       rgba(148, 163, 184, 0.5);
  --border-subtle:    rgba(148, 163, 184, 0.1);
  --border-blue:      rgba(96, 165, 250, 0.35);
  --font-display:     'Barlow', sans-serif;
  --font-body:        'Inter', sans-serif;
  --font-mono:        'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }


/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 72px;
  background: var(--bg-nav);
  border-bottom: 0.5px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__logo {
  height: 58px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); }

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

.nav__client-access {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 0.5px solid var(--border-subtle);
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.03em;
}
.nav__client-access:hover {
  color: var(--text-secondary);
  border-color: rgba(148, 163, 184, 0.3);
}

.nav__cta {
  font-size: 13px;
  color: var(--blue-pale);
  padding: 8px 20px;
  border: 0.5px solid var(--border-blue);
  background: rgba(37, 99, 235, 0.12);
  transition: background 0.2s;
}
.nav__cta:hover { background: rgba(37, 99, 235, 0.25); }

/* Hamburger — mobile only */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
}


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px;
  overflow: hidden;
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 181, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 181, 246, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Glow */
.hero::after {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.hero__eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--blue-main);
  flex-shrink: 0;
}
.hero__eyebrow-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  text-transform: uppercase;
}

/* H1 */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.08s ease forwards;
}


/* Subtitle */
.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.6s 0.16s ease forwards;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeUp 0.6s 0.24s ease forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: rgba(37, 99, 235, 0.9);
  border: 0.5px solid rgba(96, 165, 250, 0.4);
  transition: background 0.2s;
  cursor: pointer;
}
.btn-primary:hover { background: #2563EB; }
.btn-primary svg { flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 0.5px solid rgba(148, 163, 184, 0.2);
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.5);
}

/* Stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 40px;
  border-top: 0.5px solid var(--border-subtle);
  opacity: 0;
  animation: fadeUp 0.6s 0.32s ease forwards;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}
.hero__stat + .hero__stat {
  padding-left: 40px;
  padding-right: 40px;
  border-left: 0.5px solid var(--border-subtle);
}
.hero__stat:last-child { padding-right: 0; }

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 11px;
  color: var(--blue-pale);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
  animation: bounce 2s infinite;
  z-index: 1;
}




.hero__title-outline {
  -webkit-text-stroke: 1.5px rgba(96, 165, 250, 0.6);
  color: transparent;
  display: inline;
}


/* Circuit background */
.hero__circuit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 62%;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, black 100%);
}

.hero__circuit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.18;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .hero__circuit {
    width: 100%;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 40%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 40%, black 100%);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }
  .nav__links,
  .nav__cta,
  .nav__actions {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .hero {
    padding: 100px 24px 80px;
  }
  .hero__stat + .hero__stat {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* ============================================
   SECCIÓN EYEBROW (compartido)
   ============================================ */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-eyebrow__line {
  width: 24px;
  height: 1px;
  background: var(--blue-main);
  flex-shrink: 0;
}
.section-eyebrow__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue-light);
  text-transform: uppercase;
}


/* ============================================
   PROBLEMA
   ============================================ */
.problem {
  background: #0D1623;
  padding: 100px 64px;
}

.problem__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.problem__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 680px;
}

.problem__intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 60px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.problem__card {
  padding: 32px 28px;
  border: 0.5px solid rgba(96, 165, 250, 0.15);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.problem__card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(37, 99, 235, 0.05);
}

.problem__card-icon {
  color: var(--blue-light);
  margin-bottom: 20px;
}

.problem__card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.problem__card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.problem__cta {
  border-top: 0.5px solid var(--border-subtle);
  padding-top: 40px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.problem__cta strong {
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .problem {
    padding: 72px 24px;
  }
  .problem__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   CAPACIDADES
   ============================================ */
.capabilities {
  background: #E8EDF5;
  padding: 100px 64px;
}

.capabilities__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.capabilities .section-eyebrow__line {
  background: var(--blue-main);
}

.capabilities .section-eyebrow__text {
  color: var(--blue-main);
}

.capabilities__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0D1623;
  margin-bottom: 16px;
  max-width: 680px;
}

.capabilities__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A5568;
  max-width: 580px;
  margin-bottom: 64px;
}

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: rgba(37, 99, 235, 0.08);
}

.capabilities__item {
  background: #E8EDF5;
  padding: 40px 36px;
  transition: background 0.2s;
}
.capabilities__item:hover {
  background: #fff;
}

.capabilities__item-number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue-main);
  opacity: 0.5;
  margin-bottom: 20px;
}

.capabilities__item-icon {
  color: var(--blue-main);
  margin-bottom: 16px;
}

.capabilities__item-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: #0D1623;
  margin-bottom: 10px;
}

.capabilities__item-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4A5568;
}

@media (max-width: 768px) {
  .capabilities {
    padding: 72px 24px;
  }
  .capabilities__grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}


/* ============================================
   CÓMO TRABAJAMOS
   ============================================ */
.how {
  background: #09111E;
  padding: 100px 64px;
}

.how__inner {
  max-width: 780px;
  margin: 0 auto;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.how__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 64px;
}

.how__phases {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Phase label */
.how__phase-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.how__phase-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(96, 165, 250, 0.1);
  border: 0.5px solid rgba(96, 165, 250, 0.25);
  padding: 4px 10px;
}

.how__phase-tag--production {
  color: #6EE7B7;
  background: rgba(110, 231, 183, 0.08);
  border-color: rgba(110, 231, 183, 0.2);
}

.how__phase-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Steps */
.how__steps {
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.how__step {
  display: flex;
  gap: 28px;
}

.how__step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.how__step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-main);
  border: 2px solid var(--blue-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.how__step-dot--production {
  background: #059669;
  border-color: #6EE7B7;
}

.how__step-line {
  width: 1.5px;
  flex: 1;
  background: rgba(96, 165, 250, 0.2);
  margin: 6px 0;
  min-height: 32px;
}

.how__step-content {
  padding-bottom: 36px;
}

.how__step--last .how__step-content {
  padding-bottom: 0;
}

.how__step-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.how__step-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Transition between phases */
.how__transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 0;
  margin-left: 8px;
}

.how__transition-line {
  width: 1.5px;
  height: 24px;
  background: rgba(96, 165, 250, 0.15);
}

.how__transition-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.how__transition-arrow {
  color: rgba(96, 165, 250, 0.4);
}

@media (max-width: 768px) {
  .how {
    padding: 72px 24px;
  }
}


/* ============================================
   APLICACIONES
   ============================================ */
.applications {
  background: #E8EDF5;
  padding: 100px 64px;
}

.applications__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.applications .section-eyebrow__line {
  background: var(--blue-main);
}
.applications .section-eyebrow__text {
  color: var(--blue-main);
}

.applications__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0D1623;
  margin-bottom: 16px;
  max-width: 680px;
}

.applications__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A5568;
  max-width: 580px;
  margin-bottom: 56px;
}

.applications__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.applications__item {
  background: #fff;
  padding: 28px 28px 32px;
  border: 0.5px solid rgba(37, 99, 235, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.applications__item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.06);
}

.applications__item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--blue-main);
}

.applications__item-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #0D1623;
}

.applications__item-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #4A5568;
}

@media (max-width: 768px) {
  .applications {
    padding: 72px 24px;
  }
  .applications__grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   EMPRESA
   ============================================ */
.company {
  background: #09111E;
  padding: 100px 64px;
}

.company__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.company__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.company__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.company__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.company__text:last-child {
  margin-bottom: 0;
}

.company__principles {
  padding: 40px;
  border: 0.5px solid rgba(96, 165, 250, 0.15);
  background: rgba(255, 255, 255, 0.02);
  align-self: center;
}

.company__principles-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.company__principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company__principles-list li {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.company__principles-dash {
  color: var(--blue-light);
  flex-shrink: 0;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .company {
    padding: 72px 24px;
  }
  .company__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* ============================================
   CONTACTO
   ============================================ */
.contact {
  background: #0D1623;
  padding: 100px 64px;
  border-top: 0.5px solid var(--border-subtle);
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact__subtitle {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a.contact__info-item:hover {
  color: var(--text-primary);
}

.contact__info-item svg {
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact__form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.contact__form-input::placeholder {
  color: var(--text-muted);
}
.contact__form-input:focus {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.contact__form-textarea {
  resize: vertical;
  min-height: 130px;
}

.contact__form-btn {
  align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #060D18;
  padding: 32px 64px;
  border-top: 0.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-pale);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}
.footer__social svg {
  color: var(--blue-light);
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.5));
}
.footer__social:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(96, 165, 250, 0.7);
}
.footer__social:hover svg {
  filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.8));
}

@media (max-width: 768px) {
  .contact {
    padding: 72px 24px;
  }
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================
   MOBILE MENU
   ============================================ */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #09111E;
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 0.5px solid var(--border-subtle);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

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

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 24px;
}

.nav__mobile-links a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 0.5px solid var(--border-subtle);
  transition: color 0.2s;
}
.nav__mobile-links a:hover { color: var(--text-primary); }

.nav__mobile-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.nav__mobile-client {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 24px;
  border: 0.5px solid var(--border-subtle);
  transition: color 0.2s;
}
.nav__mobile-client:hover { color: var(--text-secondary); }

/* Hamburger animation */
.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav__hamburger span {
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* ============================================
   FORM FEEDBACK
   ============================================ */
.contact__form-feedback {
  font-size: 0.9rem;
  line-height: 1.5;
  min-height: 20px;
}
.contact__form-feedback--success {
  color: #6EE7B7;
}
.contact__form-feedback--error {
  color: #FCA5A5;
}
