:root {
  --green: #00b050;
  --green-dark: #00863d;
  --green-soft: #e8f8ef;

  --orange: #f59e0b;
  --orange-dark: #d97706;
  --orange-soft: #fff3df;

  --blue: #123a63;
  --blue-dark: #0d2b4b;
  --blue-soft: #eaf4ff;

  --bg: #f6f8fb;
  --white: #ffffff;
  --text: #123a63;
  --muted: #5c6b7a;
  --border: #e6ecf2;

  --radius-md: 22px;
  --radius-lg: 34px;

  --shadow-sm: 0 10px 30px rgba(18, 58, 99, 0.06);
  --shadow-md: 0 20px 60px rgba(18, 58, 99, 0.10);
  --shadow-lg: 0 30px 90px rgba(18, 58, 99, 0.16);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

/* HERO */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 90px;
  background:
    radial-gradient(circle at 85% 5%, rgba(0, 176, 80, 0.16), transparent 32%),
    radial-gradient(circle at 10% 95%, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 70px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.faq-heading span,
.proof-box span,
.form-heading span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--blue);
}

.contact-hero p {
  margin: 30px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-badges {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.contact-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--orange));
}

.contact-hero-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.15;
}

.contact-hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div {
  padding: 16px 10px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  border: 1px solid var(--border);
}

.mini-stats span {
  display: block;
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.mini-stats small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

/* BUTTONS */

.btn-primary,
.btn-secondary,
.btn-login {
  text-decoration: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--green), #00c35a);
  color: white;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(0, 176, 80, 0.28);
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #009c46, var(--green));
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 176, 80, 0.34);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  transition: 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-md);
}

/* SECTION CONTACT */

.contact-section {
  padding: 90px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 70px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-info > p {
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-soft), var(--orange-soft));
  font-size: 22px;
}

.contact-card h3 {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card a {
  color: var(--orange-dark);
  text-decoration: none;
  font-weight: 900;
}

/* FORM */

.contact-form {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 15px;
}

.form-heading {
  margin-bottom: 8px;
  text-align: center;
}

.form-heading h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.contact-form textarea {
  resize: vertical;
  min-height: 135px;
}

.contact-form button {
  margin-top: 8px;
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* PROOF */

.contact-proof {
  padding: 80px 0;
  background: var(--bg);
}

.proof-box {
  padding: 52px 34px;
  border-radius: 36px;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.24), transparent 32%),
    radial-gradient(circle at 15% 90%, rgba(0, 176, 80, 0.22), transparent 30%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  box-shadow: var(--shadow-lg);
}

.proof-box h2 {
  max-width: 940px;
  margin: 0 auto 18px;
  color: white;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.proof-box p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #dbe7f3;
  font-size: 18px;
  line-height: 1.7;
}

.proof-box span {
  color: #fcd34d;
}

/* FAQ */

.contact-faq {
  padding: 80px 0 90px;
  background: white;
}

.faq-heading {
  text-align: center;
  margin-bottom: 38px;
}

.faq-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.faq-list {
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 58, 99, 0.04);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* TOAST */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--blue-dark);
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .contact-hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form {
    position: static;
  }

  .contact-hero-card {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 70px 0;
  }

  .contact-hero h1 {
    font-size: 48px;
  }

  .contact-hero p {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-badges {
    flex-direction: column;
  }

  .hero-badges div {
    width: 100%;
    text-align: center;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .contact-section,
  .contact-proof,
  .contact-faq {
    padding: 60px 0;
  }

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

  .contact-form {
    padding: 24px;
  }

  .proof-box {
    padding: 38px 22px;
    border-radius: 28px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
