:root {
  color-scheme: light;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f1f1f;
  background: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #6f1f3c;
  text-decoration: none;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #e21960;
  color: #fff;
  box-shadow: 0 18px 50px rgba(226, 33, 96, 0.18);
}

.button-primary:hover {
  background: #9a0a36;
}

.button-secondary {
  background: #fff;
  color: #6f1f3c;
  border: 1px solid rgba(154, 10, 54, 0.18);
}

.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top right, rgba(226, 33, 96, 0.22), transparent 36%),
    radial-gradient(circle at bottom left, rgba(154, 10, 54, 0.14), transparent 28%),
    #fff4f8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #e21960;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-header h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.hero-text {
  max-width: 55ch;
  margin: 2rem 0 1.5rem;
  color: #475569;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border: 3px solid rgba(226, 33, 96, 0.24);
  border-radius: 999px;
  background: #ffffff;
  overflow: visible;
}

.search-box:hover {
  border-color: rgba(226, 33, 96, 0.5);
}

.search-box:hover::after {
  background: linear-gradient(135deg, rgba(226, 33, 96, 0.1), rgba(255, 255, 255, 0.95));
}

.search-box:hover .search-input {
  box-shadow: 0 14px 45px rgba(2, 6, 23, 0.08);
}

.search-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(226, 33, 96, 0.95) 45%, rgba(226, 33, 96, 0.95) 55%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  background-position: 0 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: search-border 2.5s linear infinite;
  z-index: 0;
}

.search-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #ffffff;
  pointer-events: none;
  z-index: 1;
}

.search-input {
  position: relative;
  z-index: 2;
}

@keyframes search-border {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a0a36;
}

.search-input {
  width: 100%;
  padding: 0.9rem 3.5rem 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}

.search-input::placeholder {
  color: #94a3b8;
}

@media (min-width: 961px) {
  .search-box {
    max-width: 897px;
  }
  .search-input {
    height: 62px;
    padding: 0.9rem 3.5rem 0.9rem 1rem;
    /* keep pill appearance */
    border-radius: 999px;
    font-size: 1rem;
  }
}

.search-divider {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 15;
  margin-top: -32px;
}

.search-divider .container {
  display: flex;
  justify-content: center;
}

@media (max-width: 960px) {
  .search-divider { margin-top: 0; padding: 1rem 0; }
}

.hero-media img {
  width: 100%;
  border-radius: 1.75rem;
  box-shadow: 0 40px 120px rgba(15, 23, 42, 0.12);
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #0f172a;
}

.section-footer {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(226, 33, 96, 0.06);
  border: 1px solid rgba(226, 33, 96, 0.16);
}

.section-footer p {
  margin: 0;
  color: #6f1f3c;
  font-weight: 600;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  width: min(720px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2rem;
  position: relative;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.18);
}

.modal-close {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  border: none;
  background: transparent;
  color: #9a0a36;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal-header p {
  margin: 0.75rem 0 0;
  color: #475569;
}

body.modal-open {
  overflow: hidden;
}

.jobs-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card {
  background: #ffffff;
  border: 1px solid rgba(154, 10, 54, 0.14);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: 0 18px 50px rgba(154, 10, 54, 0.08);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.job-label {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(226, 33, 96, 0.08);
  color: #9a0a36;
  font-size: 0.95rem;
  font-weight: 700;
}

.job-type {
  color: #6f1f3c;
  font-size: 0.95rem;
}

.job-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #111827;
}

.job-card p {
  margin: 0 0 1.4rem;
  color: #64748b;
}

.job-button {
  color: #e21960;
  border: 1px solid rgba(226, 33, 96, 0.35);
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.job-button:hover {
  background: rgba(226, 33, 96, 0.08);
}

.jobs-footer {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.jobs-footer .button {
  min-width: 19rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(226, 33, 96, 0.12);
  border-radius: 1.3rem;
  padding: 1.35rem;
  box-shadow: 0 20px 45px rgba(154, 10, 54, 0.05);
}

.benefit-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  margin: 0;
  color: #475569;
}

.detail-summary .detail-card {
  background: #ffffff;
  padding: 1.8rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(154, 10, 54, 0.12);
  box-shadow: 0 24px 60px rgba(154, 10, 54, 0.06);
}

.detail-summary .detail-block {
  margin-top: 1.5rem;
}

.detail-summary .detail-block h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #111827;
}

.detail-summary .detail-card p,
.detail-summary .job-type,
.detail-summary #job-type-text,
.detail-summary #job-location {
  color: #475569;
}

.detail-list {
  margin: 0;
  padding-left: 1.25rem;
}

.detail-list li {
  margin-bottom: 0.75rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(226, 33, 96, 0.12), rgba(154, 10, 54, 0.03));
  border: 1px solid rgba(226, 33, 96, 0.12);
}

.contact-card h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  color: #0f172a;
}

.contact-card p {
  margin: 0;
  color: #475569;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.application-form {
  display: grid;
  gap: 1rem;
}

.application-form.hidden {
  display: none;
}

.contact-note {
  margin-top: 0.75rem;
  color: #6f1f3c;
  font-size: 0.98rem;
}

.application-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #0f172a;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="file"],
.application-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(154, 10, 54, 0.18);
  background: #fff;
  color: #1f1f1f;
  font: inherit;
}

.application-form textarea {
  resize: vertical;
  min-height: 120px;
}

.application-form input[type="file"] {
  padding: 0.75rem 1rem;
}

.application-form .contact-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.application-form .button {
  min-width: 12rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  background: #ffffff;
  border-top: 1px solid rgba(226, 33, 96, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: #475569;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #9a0a36;
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-card,
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 3rem;
  }
}
