/* ============================================================
   QuickFix Connect — styles.css
   ============================================================ */

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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
}

/* --- Layout ----------------------------------------------- */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utilities -------------------------------------------- */
.hidden {
  display: none !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  height: 56px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: #111827;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  padding: 0;
}

.nav-logo:hover {
  color: #2563eb;
}

.nav-logo .icon-blue {
  color: #2563eb;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 40px;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-primary-lg {
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-lg:hover {
  background: #1d4ed8;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  margin-bottom: 32px;
  padding: 0;
}

.btn-back:hover {
  color: #111827;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 56px;
  margin-top: 4px;
  width: 100%;
}

.btn-submit:hover {
  background: #1d4ed8;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile dark overlay */
.hero-overlay-mobile {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.85) 0%,
    rgba(17, 24, 39, 0.55) 50%,
    rgba(31, 41, 55, 0.3) 100%
  );
}

/* Desktop panels — hidden on mobile */
.hero-panel-left,
.hero-panel-right {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
  max-width: 1152px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 24px 40px;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.5);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 4px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-h1 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 560px;
}

.hero-h1 .accent {
  color: #93c5fd;
}

.hero-p {
  color: #e5e7eb;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-img-col {
  display: none;
}

@media (min-width: 1024px) {
  .hero-overlay-mobile {
    display: none;
  }

  .hero-panel-left {
    display: block;
    position: absolute;
    inset-block: 0;
    left: 0;
    width: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
  }

  .hero-panel-right {
    display: block;
    position: absolute;
    inset-block: 0;
    right: 0;
    width: 50%;
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.1);
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
  }

  .hero-copy {
    justify-content: center;
    padding: 64px 48px 64px 24px;
  }

  .hero-badge {
    color: #1d4ed8;
    border-color: #93c5fd;
    background: #eff6ff;
    backdrop-filter: none;
  }

  .hero-h1 {
    color: #111827;
  }

  .hero-h1 .accent {
    color: #2563eb;
  }

  .hero-p {
    color: #6b7280;
  }

  .hero-img-col {
    display: block;
    position: relative;
  }

  .hero-img-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 32px 0;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
}

@media (min-width: 640px) {
  .services {
    padding: 56px 0;
  }
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.section-h2 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

@media (min-width: 640px) {
  .section-h2 {
    font-size: 24px;
  }
}

.services-header {
  margin-bottom: 20px;
}

/* Mobile horizontal scroll */
.services-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 8px;
  scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
  display: none;
}

.svc-card-sm {
  flex: none;
  width: 144px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.svc-card-sm .svc-img {
  height: 96px;
  overflow: hidden;
}

.svc-card-sm .svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card-sm .svc-body {
  padding: 10px 12px;
}

.svc-card-sm .svc-name {
  font-weight: 600;
  font-size: 12px;
  color: #111827;
}

.svc-card-sm .svc-tag {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  line-height: 1.3;
}

.svc-more {
  flex: none;
  width: 112px;
  border-radius: 12px;
  border: 1px dashed #d1d5db;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
}

.svc-more p {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.3;
}

/* Desktop grid */
.services-grid {
  display: none;
}

@media (min-width: 1024px) {
  .services-scroll {
    display: none;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 24px;
  }

  .svc-card-lg {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #ffffff;
  }

  .svc-card-lg .svc-img {
    height: 176px;
    overflow: hidden;
  }

  .svc-card-lg .svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  .svc-card-lg:hover .svc-img img {
    transform: scale(1.05);
  }

  .svc-card-lg .svc-body {
    padding: 16px;
  }

  .svc-card-lg .svc-name {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    margin-bottom: 2px;
  }

  .svc-card-lg .svc-tag {
    font-size: 12px;
    color: #6b7280;
  }
}

.services-note {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 16px;
  padding: 0 24px;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 32px 0;
  border-bottom: 1px solid #f3f4f6;
  background: #ffffff;
}

@media (min-width: 640px) {
  .form-section {
    padding: 56px 0;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

.form-sidebar {
  /* stacks naturally on mobile */
}

@media (min-width: 1024px) {
  .form-sidebar {
    position: sticky;
    top: 72px;
  }
}

.form-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.form-h2 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .form-h2 {
    font-size: 30px;
  }
}

.form-desc {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .form-desc {
    font-size: 16px;
  }
}

/* Trust list */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  margin-top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  color: #2563eb;
}

.trust-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.trust-sub {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}

.sidebar-img {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar-img {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 208px;
  }

  .sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .contact-form {
    gap: 16px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
  appearance: auto;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px #2563eb;
}

.field textarea {
  resize: vertical;
}

.form-error {
  color: #ef4444;
  font-size: 14px;
}

/* Success state */
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 0;
  gap: 16px;
}

.success-state .success-icon {
  color: #22c55e;
}

.success-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.success-state p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
  max-width: 360px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hiw {
  padding: 32px 0;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
}

@media (min-width: 640px) {
  .hiw {
    padding: 56px 0;
  }
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .hiw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.hiw-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
}

@media (min-width: 640px) {
  .hiw-card {
    display: block;
    padding: 24px;
  }
}

.hiw-num {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
}

@media (min-width: 640px) {
  .hiw-num {
    margin-bottom: 16px;
  }
}

.hiw-title {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .hiw-title {
    font-size: 16px;
  }
}

.hiw-desc {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hiw-desc {
    font-size: 14px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111827;
  padding: 40px 0;
}

@media (min-width: 640px) {
  .footer {
    padding: 56px 0;
  }
}

.footer-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
  }
}

.footer-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 640px) {
  .footer-trust-item {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

.footer-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(30, 58, 138, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .footer-trust-icon {
    margin: 0 auto 12px;
  }
}

.footer-trust-icon svg {
  color: #60a5fa;
}

.footer-trust-label {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.footer-trust-sub {
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 2px;
  display: none;
}

@media (min-width: 640px) {
  .footer-trust-sub {
    display: block;
  }
}

.footer-bar {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.footer-logo svg {
  color: #60a5fa;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}

@media (min-width: 640px) {
  .footer-links {
    flex-direction: row;
    gap: 24px;
  }
}

.footer-privacy {
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
  text-align: left;
  padding: 0;
  font-family: inherit;
}

.footer-privacy:hover {
  color: #ffffff;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-content {
  max-width: 768px;
  margin: 0 auto;
  padding: 40px 24px;
}

@media (min-width: 640px) {
  .privacy-content {
    padding: 64px 24px;
  }
}

.privacy-h1 {
  font-size: 30px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.privacy-date {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .privacy-body {
    font-size: 16px;
  }
}

.privacy-body h2 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.privacy-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.privacy-body ul li {
  margin-bottom: 4px;
  color: #4b5563;
}

.privacy-body strong {
  font-weight: 600;
}
