:root {
  --blue-950: #0a1f45;
  --blue-850: #0e3270;
  --blue-700: #1d5fbf;
  --blue-500: #2c7ff0;
  --blue-100: #e9f2ff;
  --blue-50: #f5f9ff;
  --ink-900: #10213d;
  --ink-700: #354f7a;
  --white: #ffffff;
  --success: #1c7f47;
  --danger: #b62b2b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 28px rgba(9, 37, 85, 0.12);
  --shadow-strong: 0 20px 42px rgba(9, 37, 85, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mulish", sans-serif;
  color: var(--ink-900);
  line-height: 1.6;
  background:
    radial-gradient(circle at 90% -10%, rgba(44, 127, 240, 0.2) 0, rgba(44, 127, 240, 0) 46%),
    radial-gradient(circle at 5% 20%, rgba(18, 80, 162, 0.12) 0, rgba(18, 80, 162, 0) 42%),
    var(--blue-50);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.25;
  color: var(--blue-950);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-700);
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(233, 242, 255, 0.55), rgba(233, 242, 255, 0.85));
}

.section-head {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-950);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand span {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand small {
  color: var(--ink-700);
  font-size: 0.75rem;
}

.brand-logo-link {
  gap: 0;
}

.brand-full-logo {
  width: clamp(190px, 25vw, 340px);
  height: 66px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-fallback-text {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--ink-900);
}

.nav-links a.active {
  color: var(--blue-700);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(16, 33, 61, 0.2);
  background: var(--white);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
}

.hero {
  padding-top: 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 16ch;
  margin-bottom: 14px;
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  background: linear-gradient(155deg, var(--blue-950), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-strong);
}

.hero-panel h3,
.hero-panel p,
.hero-panel li {
  color: var(--white);
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-solid {
  background: linear-gradient(145deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  border-color: rgba(29, 95, 191, 0.35);
  color: var(--blue-850);
  background: var(--white);
}

.btn-ghost {
  border-color: rgba(16, 33, 61, 0.2);
  color: var(--ink-900);
  background: transparent;
}

.btn-small {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.testimonial-card,
.legal-card,
.contact-details article {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.service-card h3,
.testimonial-card h4 {
  margin-bottom: 10px;
}

.link-arrow {
  font-weight: 700;
}

.link-arrow::after {
  content: " ->";
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  font-weight: 600;
}

.check-list li::before {
  content: "✔";
  color: var(--blue-700);
  margin-right: 10px;
}

.quick-contact-wrap,
.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.contact-form label {
  display: block;
  margin-bottom: 13px;
  font-weight: 600;
  color: var(--ink-900);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-card textarea,
.admin-card input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(16, 33, 61, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form textarea,
.admin-card textarea {
  resize: vertical;
}

.form-status {
  margin-top: 10px;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.alert {
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.alert.success {
  background: rgba(28, 127, 71, 0.12);
  color: var(--success);
}

.alert.error {
  background: rgba(182, 43, 43, 0.1);
  color: var(--danger);
}

.contact-details {
  display: grid;
  gap: 12px;
}

.map-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  min-height: 350px;
  border: 0;
}

.legal-card ol {
  margin: 0;
  padding-left: 20px;
}

.legal-card li {
  margin-bottom: 12px;
  color: var(--ink-700);
}

.center-content {
  text-align: center;
}

.inner-hero {
  padding-top: 64px;
  padding-bottom: 34px;
}

.site-footer {
  background: linear-gradient(170deg, var(--blue-950), #153a78);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 48px;
  margin-top: 32px;
}

.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.94);
}

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

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  text-align: center;
  padding: 18px 0 24px;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(145deg, #20bb65, #129a4f);
  box-shadow: var(--shadow-strong);
  z-index: 60;
}

.whatsapp-float:hover {
  text-decoration: none;
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  box-shadow: 0 -8px 20px rgba(9, 37, 85, 0.18);
}

.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
  color: var(--white);
  font-weight: 700;
}

.mobile-cta-bar a:first-child {
  background: var(--blue-700);
}

.mobile-cta-bar a:last-child {
  background: #1ea75f;
}

.admin-body {
  background: linear-gradient(180deg, #f0f6ff, #f8fbff);
}

.admin-topbar {
  width: min(1160px, 92%);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-shell {
  width: min(1160px, 92%);
  margin: 18px auto 40px;
  display: grid;
  gap: 16px;
}

.admin-auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.admin-auth-wrap .admin-card {
  width: min(460px, 100%);
}

.lead-table-wrap {
  overflow-x: auto;
}

.lead-table {
  width: 100%;
  border-collapse: collapse;
}

.lead-table th,
.lead-table td {
  text-align: left;
  border-bottom: 1px solid rgba(16, 33, 61, 0.08);
  padding: 10px;
  vertical-align: top;
}

@media (max-width: 980px) {
  .hero-grid,
  .quick-contact-wrap,
  .contact-grid,
  .about-grid,
  .card-grid,
  .footer-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 860px) {
  .brand-full-logo {
    width: 184px;
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 14px 4%;
    background: var(--white);
    border-bottom: 1px solid rgba(16, 33, 61, 0.08);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .whatsapp-float {
    bottom: 76px;
  }

  .mobile-cta-bar {
    display: flex;
  }

  body {
    padding-bottom: 52px;
  }
}
