/* ================================================================
   equipo.css — Página "Únete al Equipo"
================================================================ */

/* ── Tipografía global — iguala a nosotros.html ─────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
}

/* ── Hero ───────────────────────────────────────────────────── */
.equipo-hero {
  min-height: 85vh;
  padding-top: 200px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 1439px) { .equipo-hero { padding-top: 160px; min-height: 75vh; } }
@media (max-width: 991px)  { .equipo-hero { padding-top: 130px; padding-bottom: 70px; } }

.equipo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.equipo-hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3) grayscale(0.25);
}

.equipo-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,16,13,0.55) 0%, rgba(13,16,13,0.85) 100%);
}

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

.equipo-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.equipo-hero-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--primary);
}

.equipo-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 28px;
}

.equipo-hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.equipo-hero .hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 48px;
}

.equipo-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Vacantes ───────────────────────────────────────────────── */
.section-vacantes {
  background: var(--surface);
  padding: 90px 0 110px;
}

.vacantes-header {
  margin-bottom: 56px;
}

.vacantes-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}

.vacantes-header h2 em {
  font-style: italic;
  color: var(--primary);
}

.vacantes-header .vacantes-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}

.vacantes-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.vacantes-filter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.filter-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(96,117,97,0.08);
}

/* Job cards */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.job-card:hover {
  background: rgba(96,117,97,0.06);
  border-color: rgba(96,117,97,0.25);
  transform: translateX(4px);
}

.job-card:hover::before {
  opacity: 1;
}

.job-card-main {
  flex: 1;
}

.job-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.job-card-tag .tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.job-card-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.job-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  max-width: 560px;
}

.job-card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

.job-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.job-card-action {
  flex-shrink: 0;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(96,117,97,0.4);
  padding: 10px 22px;
  border-radius: 2px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-apply:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  gap: 12px;
}

.jobs-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ── Jobs loader (logo pulsante) ──────────────────────────── */
.jobs-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  gap: 22px;
}
.jobs-loader-logo {
  width: 130px;
  filter: brightness(0) invert(1);
  opacity: 0.18;
  animation: jobs-logo-pulse 1.8s ease-in-out infinite;
}
.jobs-loader-msg {
  color: rgba(255,255,255,0.30);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}
@keyframes jobs-logo-pulse {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50%       { opacity: 0.42; transform: scale(1.05); }
}

/* Team blurb (right column) */
.equipo-blurb {
  background: rgba(96,117,97,0.08);
  border: 1px solid rgba(96,117,97,0.18);
  border-radius: 4px;
  padding: 40px 36px;
  position: sticky;
  top: 120px;
}

.equipo-blurb-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.equipo-blurb-num-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.equipo-blurb h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.equipo-blurb p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.equipo-blurb .blurb-divider {
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin: 24px 0;
}

@media (max-width: 991px) {
  .equipo-blurb { position: static; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .job-card-action { align-self: flex-start; }
}

@media (max-width: 575px) {
  .job-card { padding: 22px 20px; }
}

/* ── Stats ──────────────────────────────────────────────────── */
/* Reusa .section-nosotros-stats / .stats-fullwidth-row / .stat-fw-* de nosotros.css.
   Aquí solo se sobreescribe el wrapper de sección. */
.section-equipo-stats {
  border-top: 1px solid rgba(96, 117, 97, 0.2);
  border-bottom: 1px solid rgba(96, 117, 97, 0.2);
  background: rgba(96, 117, 97, 0.03);
  overflow: hidden;
}

/* ── ADN ────────────────────────────────────────────────────── */
.section-adn {
  padding: 100px 0;
  background: var(--black);
}

.adn-header {
  margin-bottom: 64px;
}

.adn-header .mini-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.adn-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}

.adn-header h2 em {
  font-style: italic;
  color: var(--primary);
}

.adn-header .adn-intro {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,0.52);
  max-width: 560px;
  margin-top: 20px;
}

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

.adn-value {
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: padding-left 0.3s ease;
}

.adn-value:hover {
  padding-left: 12px;
}

.adn-value-num {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  letter-spacing: 0.08em;
  min-width: 28px;
  margin-top: 4px;
}

.adn-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(96,117,97,0.1);
  border: 1px solid rgba(96,117,97,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.adn-value-content { flex: 1; }

.adn-value-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.adn-value-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.48);
}

.adn-img-wrap {
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.adn-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.5s ease;
}

.adn-img-wrap:hover img {
  filter: grayscale(0) brightness(1);
}

@media (max-width: 991px) {
  .adn-img-wrap { min-height: 260px; margin-top: 48px; }
}

/* ── Historia Timeline ──────────────────────────────────────── */
.section-historia {
  padding: 100px 0 110px;
  background: var(--surface);
}

.historia-header {
  text-align: center;
  margin-bottom: 72px;
}

.historia-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}

.historia-header h2 em {
  font-style: italic;
  color: var(--primary);
}

.historia-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.historia-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(96,117,97,0.3);
  z-index: 0;
}

.historia-item {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.historia-item:first-child { padding-left: 0; }
.historia-item:last-child  { padding-right: 0; }

.historia-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(96,117,97,0.4);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.historia-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.historia-item:hover .historia-dot {
  border-color: var(--primary);
  background: rgba(96,117,97,0.1);
}

.historia-item:hover .historia-dot::after {
  opacity: 1;
}

.historia-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.historia-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
}

.historia-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 767px) {
  .historia-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 40px 0;
  }
  .historia-timeline::before { display: none; }
  .historia-item { padding: 0 16px; }
  .historia-item:nth-child(odd) { padding-left: 0; }
  .historia-item:nth-child(even) { padding-right: 0; }
}

@media (max-width: 479px) {
  .historia-timeline { grid-template-columns: 1fr; }
  .historia-item { padding: 0 !important; }
}

/* ── CTA Equipo ─────────────────────────────────────────────── */
.equipo-cta {
  background: var(--black);
  padding: 80px 0 100px;
  border-top: 1px solid rgba(96,117,97,0.15);
}

.equipo-cta h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.equipo-cta h3 em {
  font-style: italic;
  color: var(--primary);
}

/* ── Odoo badge ─────────────────────────────────────────────── */
.odoo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-top: 32px;
}

.odoo-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

/* ── Botón Más info (reemplaza btn-apply en tarjeta) ──────────── */
.btn-job-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid #607561;
  border-radius: 4px;
  color: #607561;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.btn-job-info:hover {
  background: #607561;
  color: #fff;
}

/* ================================================================
   MODAL DETALLE PUESTO
================================================================ */

.job-info-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,10,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.job-info-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.job-info-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  transform: translateY(18px);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.job-info-modal-overlay.open .job-info-modal {
  transform: translateY(0);
}

.job-info-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26,26,26,0.4);
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.job-info-modal-close:hover { color: #1a1a1a; }

.jim-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #607561;
  margin-bottom: 6px;
}
.job-info-modal h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.jim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ebe8;
}
.jim-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(0,0,0,0.5);
}
.jim-meta-item svg { color: #607561; flex-shrink: 0; }

.jim-desc {
  font-size: 14px;
  color: rgba(0,0,0,0.65);
  line-height: 1.75;
  white-space: pre-line;
  margin-bottom: 28px;
}

.jim-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid #e8ebe8;
}

@media (max-width: 600px) {
  .job-info-modal { padding: 28px 20px; }
}

/* ================================================================
   MODAL CANDIDATURA
================================================================ */

.apply-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.apply-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.apply-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  transform: translateY(18px);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.apply-modal-overlay.open .apply-modal {
  transform: translateY(0);
}

.apply-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26,26,26,0.45);
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.apply-modal-close:hover { color: #1a1a1a; }

.apply-modal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #607561;
  margin-bottom: 6px;
}
.apply-modal h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
}

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

.af-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.af-field {
  border: 1px solid #dde1dc;
  margin-top: -1px;
  margin-left: -1px;
  position: relative;
  transition: border-color 0.2s, z-index 0s;
}
.af-field:first-child { margin-left: 0; }
.af-row .af-field:first-child { margin-left: 0; }
.af-field:focus-within {
  border-color: #607561;
  z-index: 2;
}
.af-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
  padding: 13px 16px 0;
  font-weight: 600;
  transition: color 0.2s;
}
.af-field:focus-within label { color: #607561; }
.af-field input,
.af-field textarea,
.af-field select {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 6px 16px 12px;
  font-size: 14px;
  color: #1a1a1a;
  font-family: inherit;
  resize: none;
}
.af-field input::placeholder,
.af-field textarea::placeholder { color: rgba(0,0,0,0.25); }
.af-field textarea { min-height: 100px; line-height: 1.6; }

/* Campo CV — upload */
.af-field-cv {
  border: 1.5px dashed #c8ccc8;
  border-radius: 6px;
  margin-top: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.af-field-cv:hover { border-color: #607561; background: rgba(96,117,97,0.03); }
.af-field-cv label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  color: rgba(0,0,0,0.5);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.af-field-cv input[type=file] { display: none; }
.af-cv-filename {
  font-size: 12px;
  color: #607561;
  font-weight: 600;
  margin-left: auto;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.af-cv-error {
  font-size: 11px;
  color: #e53935;
  padding: 0 16px 8px;
}

/* GDPR */
.af-legal {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  line-height: 1.5;
}
.af-legal input[type=checkbox] { margin-top: 2px; accent-color: #607561; flex-shrink: 0; }
.af-legal a { color: #607561; text-decoration: underline; }

/* Botón enviar */
.af-submit-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.af-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: #607561;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.af-btn-submit:hover { background: #4d6050; transform: translateY(-1px); }
.af-btn-submit:disabled { opacity: 0.65; pointer-events: none; }
.af-btn-submit.loading { opacity: 0.7; pointer-events: none; }

/* Feedback */
.af-feedback {
  font-size: 13px;
  padding: 4px 0;
}
.af-feedback.success { color: #2e7d32; }
.af-feedback.error   { color: #c62828; }

/* Success state */
.apply-modal-success {
  text-align: center;
  padding: 20px 0 10px;
  animation: stepIn 0.4s cubic-bezier(0.22,1,0.36,1);
}
.apply-modal-success svg { color: #607561; margin-bottom: 16px; }
.apply-modal-success h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.apply-modal-success p { color: rgba(0,0,0,0.5); font-size: 14px; line-height: 1.6; }

@keyframes stepIn {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}

@media (max-width: 600px) {
  .apply-modal { padding: 32px 24px; }
  .af-row { grid-template-columns: 1fr; }
  .af-field { margin-left: 0; }
}
