/* /public/assets/css/app.css */
:root {
  --navy: #061d2d;
  --navy-2: #0d2d3e;
  --navy-3: #123a4d;
  --teal: #1d8da7;
  --gold: #d6b36d;
  --gold-soft: #f1e4c0;
  --bg: #f3f5f7;
  --panel: #f8f8f8;
  --card: #ffffff;
  --muted: #6b727a;
  --text: #102a3d;
  --line: rgba(16, 42, 61, 0.1);
  --shadow: 0 14px 28px rgba(9, 23, 33, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(180deg, rgba(4,22,31,0.92) 0%, rgba(8,29,42,0.92) 100%);
  color: #fff;
}

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
  border-radius: 4px;
}

.brand-mark::after {
  inset: 6px;
}

.brand-text {
  font-size: 0.95rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.login-btn,
.signup-btn,
.primary-btn,
.ghost-btn,
.request-btn,
.provider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.login-btn {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  padding: 12px 20px;
}

.signup-btn,
.primary-btn,
.provider-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
  border: 1px solid rgba(214,179,109,0.8);
  color: #fff;
  padding: 12px 18px;
}

.hero {
  position: relative;
  min-height: 660px;
  background:
    linear-gradient(90deg, rgba(7,23,34,0.79) 10%, rgba(9,27,38,0.72) 42%, rgba(9,27,38,0.28) 60%, rgba(9,27,38,0.50) 100%),
    url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
  padding: 46px 0 0;
}

.hero-copy {
  max-width: 660px;
  padding-top: 26px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d7b56b;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 4vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: #fff;
  max-width: 660px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.request-btn,
.provider-btn {
  height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.primary-btn {
  background: rgba(255,255,255,0.12);
  border-color: rgba(214,179,109,0.85);
  color: #fff;
}

.ghost-btn {
  background: rgba(16, 42, 61, 0.55);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

#header-search-card {
  visibility: hidden;
}

.search-card {
  position: relative;
  margin: 26px auto 0;
  width: min(1200px, calc(100% - 30px));
  background: rgba(255,255,255,0.96);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.search-form {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr 1fr 1.6fr 0.9fr;
  gap: 0;
}

.search-field {
  padding: 18px 16px 16px;
  border-right: 1px solid var(--line);
  min-height: 88px;
}

.search-field:last-of-type { border-right: 0; }

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(16, 42, 61, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.field-label .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d3b26e, #a8843a);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
}

.form-select {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  padding: 0 22px 0 0;
  box-shadow: none;
  font-size: 0.95rem;
  height: auto;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-select:focus {
  border: 0;
  box-shadow: none;
}

.search-action {
  border: 0;
  background: linear-gradient(180deg, rgba(12,36,49,0.96), rgba(17,52,70,0.96));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  min-height: 88px;
}

.main {
  padding: 92px 0 80px;
}

.section-header {
  display: grid;
  grid-template-columns: 0.75fr 2.05fr 1.25fr;
  align-items: end;
  gap: 10px 22px;
  margin-bottom: 30px;
}

.section-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1e7f9d;
  font-weight: 800;
  margin: 0;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2.5rem, 2.4vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
  color: var(--text);
}

.section-header p {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  justify-self: end;
  font-size: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 18px;
}

.service-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(18, 52, 72, 0.08);
  border-radius: 18px;
  padding: 14px 14px 18px;
  box-shadow: 0 6px 18px rgba(31,47,60,0.04);
  min-height: 272px;
}

.service-card:nth-child(n+6) {
  margin-top: 6px;
}

.service-thumbnail {
  height: 170px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
}

.service-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.steps {
  margin-top: 84px;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step-item:nth-child(2) {
  margin-top: 8px;
}

.step-item:nth-child(3) {
  margin-top: 14px;
}

.step-item {
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(18, 52, 72, 0.08);
  border-radius: 18px;
  padding: 18px 18px 14px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(12,34,48,0.06);
  color: var(--text);
  font-weight: 800;
  margin-bottom: 18px;
}

.step-item h4 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.trust-bar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 18px;
}

.trust-item {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(18, 52, 72, 0.08);
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: center;
}

.trust-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  background: rgba(22, 64, 86, 0.08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1.15rem;
}

.trust-item h5 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.cta {
  margin-top: 90px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  border-radius: 22px;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  box-shadow: var(--shadow);
}

.cta-copy {
  padding: 32px 28px 20px;
}

.cta-copy h3 {
  font-size: clamp(2rem, 2vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 1.0;
  margin: 8px 0 18px;
}

.cta-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 28px;
}

.request-btn {
  background: linear-gradient(180deg, #0d2c3d, #113f56);
  border: 0;
  color: #fff;
}

.cta-visual {
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-visual::after {
  content: "SECURITY";
  position: absolute;
  left: 34px;
  bottom: 34px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
}

.testimonial-wrap {
  margin-top: 54px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
}

.testimonial {
  background: rgba(255,255,255,0.78);
  border-radius: 18px;
  padding: 22px 18px 18px;
  border: 1px solid rgba(18, 52, 72, 0.08);
}

.quote {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
  font-size: 0.96rem;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6b36d, #9d7c34);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.person strong {
  display: block;
  font-size: 0.98rem;
}

.person small {
  color: var(--muted);
}

.stars {
  color: #d9b76c;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  margin-top: 8px;
}

.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, rgba(9,27,38,0.98), rgba(7,18,27,0.98));
  color: rgba(255,255,255,0.86);
  padding: 22px 0 26px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .search-card {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .step-row,
  .trust-bar {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .cta-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 18px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-right {
    width: 100%;
    justify-content: center;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .search-card {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 18px;
  }

  .service-grid,
  .step-row,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
