:root {
  --ink: #1a1f2b;
  --bg: #ffffff;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(16, 24, 40, 0.12);
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --muted: #4b5563;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background-color: var(--bg);
  background:
    radial-gradient(circle at 8% 12%, #fecaca 0%, transparent 32%),
    radial-gradient(circle at 90% 82%, #fee2e2 0%, transparent 30%),
    linear-gradient(160deg, #ffffff 0%, #fff5f5 100%);
  padding: 1.2rem 1rem 3.4rem;
  overflow-x: hidden;
}

.wrap {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.35;
}

.bg-shape-1 {
  background: #fca5a5;
  top: -80px;
  right: -60px;
}

.bg-shape-2 {
  background: #ef4444;
  bottom: -90px;
  left: -90px;
}

.topbar {
  display: grid;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.3rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0 auto;
  background: #7f1d1d;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--accent-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.topnav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.topnav.is-open {
  display: flex;
}

.topnav a {
  text-decoration: none;
  color: #3f3f46;
  font-weight: 600;
}

.topnav a.active {
  color: var(--accent-dark);
}

.hero-section {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.hero-with-cover {
  border-radius: 18px;
  padding: 1.4rem;
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.62) 0%, rgba(17, 24, 39, 0.44) 55%, rgba(17, 24, 39, 0.58) 100%),
    url("Photo/hero maid.png") center/cover no-repeat;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-hero {
  margin-top: 0.5rem;
}

.page-hero.services-hero {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.42);
  background:
    #fffdfd url("Photo/design 1.png") center/contain no-repeat;
}

.page-hero.services-hero .eyebrow,
.page-hero.services-hero h1,
.page-hero.services-hero .hero-copy {
  color: #ffffff;
}

.hero-copy-block {
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding: 0.75rem;
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero-logo {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
  margin-bottom: 0.35rem;
}

.hero-panel {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.75rem;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  justify-content: center;
}

.hero-metrics {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics li {
  padding: 0.8rem 0 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.hero-metrics span {
  font-size: 0.83rem;
  color: var(--muted);
}

.hero-with-cover .eyebrow,
.hero-with-cover h1,
.hero-with-cover h2,
.hero-with-cover .hero-copy,
.hero-with-cover .hero-panel p,
.hero-with-cover .feature-list {
  color: #ffffff;
}

.hero-with-cover .hero-metrics strong {
  color: #ffffff;
}

.hero-with-cover .hero-metrics span {
  color: rgba(255, 255, 255, 0.78);
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  animation: rise 520ms ease both;
}

.form-wrap {
  animation-delay: 150ms;
}

.hero-panel p {
  margin: 0.8rem 0;
}

.feature-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
}

.section {
  margin-top: 1.35rem;
}

.section-head {
  margin-bottom: 0.9rem;
}

.section-head-centered {
  max-width: 44rem;
  margin: 0 auto 1.15rem;
  text-align: center;
}

.section-intro {
  margin: 0.8rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  gap: 0.8rem;
  max-width: 66rem;
  margin: 0 auto;
}

.cards-grid.three {
  grid-template-columns: 1fr;
}

.info-card,
.step-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.info-card h3,
.step-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
}

.info-card {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.info-card:hover,
.step-card:hover,
.apply-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(185, 28, 28, 0.14);
}

.role-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin-bottom: 0.95rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
  padding: 0.45rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.info-card p,
.step-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.step-card span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 247, 247, 0.85) 100%);
}

.step-card span {
  margin: 0 auto 0.85rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-dark);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.hero-copy,
.form-subtitle {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
}

.hero-with-cover .hero-copy-block h1 {
  max-width: 13ch;
}

.hero-with-cover .hero-copy-block .hero-copy {
  max-width: 42rem;
}

.hero-with-cover .hero-panel {
  align-self: start;
  max-width: 24rem;
  justify-self: center;
}

.hero-with-cover .hero-metrics {
  width: 100%;
  max-width: 38rem;
}

.hero-with-cover .feature-list {
  width: min(100%, 24rem);
  margin: 0 auto;
  text-align: left;
}

.callout p {
  color: var(--muted);
}

.callout-centered {
  text-align: center;
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 245, 245, 0.94) 100%);
}

.callout-centered h2 {
  max-width: 18ch;
  margin: 0 auto;
}

.callout-centered p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.callout-centered .button {
  margin-top: 0.25rem;
}

.apply-preview-grid {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  max-width: 66rem;
  margin-left: auto;
  margin-right: auto;
}

.apply-preview-card {
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.8rem;
  text-align: center;
}

.apply-preview-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}

.apply-preview-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7f7 0%, #ffffff 100%);
  padding: 0.4rem;
}

.position-showcase {
  padding-bottom: 1.1rem;
}

.position-showcase-head {
  margin-bottom: 1rem;
}

.contact-box p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.section-link {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.site-footer {
  margin-top: 2.1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-top: 3px solid rgba(185, 28, 28, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 247, 247, 0.96) 100%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 0.8rem;
}

.footer-brand {
  margin: 0;
  color: #7f1d1d;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 0.96rem;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  padding-top: 0.15rem;
}

.footer-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 120ms ease;
}

.footer-links a:hover {
  color: #991b1b;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 1px;
  background: rgba(153, 27, 27, 0.28);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 140ms ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

form {
  margin-top: 1rem;
}

.grid {
  display: grid;
  gap: 0.85rem;
}

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

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d0d7e2;
  padding: 0.74rem 0.85rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(220, 38, 38, 0.28);
  border-color: var(--accent);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.9rem 0 1.1rem;
  font-weight: 500;
}

.check-row input {
  width: auto;
  accent-color: var(--accent-dark);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  border: none;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid #fca5a5;
  color: #7f1d1d;
  background: #fff1f2;
}

.button.outline {
  border: 1px solid #fca5a5;
  color: #7f1d1d;
  background: #fff;
}

.status {
  min-height: 1.2rem;
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.status.error {
  color: #b42318;
}

.status.success {
  color: #027a48;
}

.hidden {
  display: none;
}

@keyframes rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

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

@media (min-width: 880px) {
  body {
    padding: 2.4rem 1.8rem 3.5rem;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: none;
  }

  .topnav {
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: center;
  }

  .hero-section {
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: center;
  }

  .hero-with-cover {
    padding: 1.8rem;
  }

  .card {
    padding: 1.6rem;
  }

  .cards-grid,
  .cards-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apply-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .site-footer {
    grid-template-columns: minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 0.9rem 1.5rem;
  }

  .footer-brand,
  .footer-copy {
    grid-column: 1;
  }

  .footer-links {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-content: flex-end;
    align-self: center;
  }
}

@media (max-width: 620px) {
  .hero-with-cover {
    background-position: center top;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topnav {
    grid-column: 1 / -1;
    gap: 0.8rem;
  }

  .topnav a {
    font-size: 0.98rem;
  }

  .topbar > .button.secondary {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 16rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }
}
