:root { color-scheme: light; }
* { box-sizing: border-box; }
body { overflow-x: hidden; }

.nav-toggle { position: relative; }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: #07172c;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 1023px) {
  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 1.5rem;
    background: rgba(255,255,255,.98);
    padding: .75rem;
    box-shadow: 0 24px 80px rgba(7, 23, 44, .16);
  }
  .nav.open { display: flex; }
  .nav a { border-radius: 1rem; padding: .9rem 1rem; }
  .nav a:last-child { text-align: center; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

.service-card {
  min-height: 245px;
  border: 1px solid rgb(226 232 240);
  border-radius: 2rem;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 14px 40px rgba(7, 23, 44, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15,104,177,.35);
  box-shadow: 0 24px 70px rgba(7, 23, 44, .13);
}
.service-card img {
  height: 3.5rem;
  width: 3.5rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  color: #07172c;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -.02em;
}
.service-card p {
  margin-top: .7rem;
  color: #64748b;
  line-height: 1.6;
  font-size: .95rem;
}

.why-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.08);
  padding: 1.35rem;
  backdrop-filter: blur(12px);
}
.why-card strong { display: block; font-size: 1.15rem; font-weight: 900; }
.why-card p { margin-top: .55rem; color: #dbeafe; line-height: 1.6; }

.field {
  display: block;
  color: #07172c;
  font-size: .9rem;
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  margin-top: .5rem;
  width: 100%;
  min-width: 0;
  border: 1px solid rgb(203 213 225);
  border-radius: 1.1rem;
  background-color: #f8fafc;
  padding: .95rem 1rem;
  color: #0f172a;
  font-weight: 600;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input,
.field select {
  height: 3.55rem;
  line-height: 1.25rem;
}
.field select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2307172C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem 1.25rem;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #0f68b1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32,168,224,.16);
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status.ok { color: #047857; }
.form-status.err { color: #b91c1c; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
