:root {
  --text: #14274b;
  --muted: #49658d;
  --line: #dbe7ff;
  --primary: #4f46e5;
  --accent: #7c3aed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
}

.banner .container,
.contact-form-section .container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-footer .container {
  width: min(1120px, 92%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 100%;
}

.topbar-wrap {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e5edff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.logo img {
  width: clamp(240px, 27vw, 360px);
  height: auto;
}

.link {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
}

.banner {
  padding: 1rem 0 0.75rem;
  width: 100%;
}

.banner-card {
  position: relative;
  background: #fff;
  border: 1px solid #dce8e7;
  border-radius: 0;
  box-shadow: none;
  padding: 1.45rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.banner-left {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.banner-kicker {
  margin: 0 0 0.42rem;
  color: #b56a52;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.banner-left h1 {
  margin: 0.3rem 0 0.45rem;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  color: #12383b;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
}

.banner-card p {
  margin: 0;
  color: #355a5e;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.banner-right {
  position: relative;
  z-index: 2;
  min-width: 220px;
  min-height: 130px;
  display: grid;
  place-items: center;
}

.mail-icon {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: #7a9895;
  stroke-width: 1.4;
}

.banner-card::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 48%;
  height: 130%;
  background: #e9f4f2;
  transform: skewX(-24deg);
  transform-origin: center;
}

.contact-form-section {
  padding: 0.25rem 0 2rem;
  width: 100%;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(20, 39, 75, 0.08);
  padding: 1rem;
  width: 100%;
  max-width: 100%;
}

.contact-meta {
  background: #f6f9ff;
  border: 1px solid #e2ebff;
  border-radius: 12px;
  padding: 1rem;
}

.contact-meta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.contact-meta p,
.contact-meta li {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-meta ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
}

.contact-form {
  width: 100%;
}

.contact-form label {
  display: block;
  margin: 0.65rem 0 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad9ff;
  border-radius: 10px;
  padding: 0.72rem;
  font-family: inherit;
  font-size: 0.96rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6d62ff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.contact-form button {
  width: 100%;
  border: none;
  border-radius: 10px;
  margin-top: 0.9rem;
  padding: 0.78rem 1rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

@media (max-width: 860px) {
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

@media (max-width: 620px) {
  .banner .container,
  .contact-form-section .container {
    width: 94%;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.95rem;
    gap: 0.6rem;
  }

  .banner-left {
    max-width: 100%;
  }

  .banner-right {
    min-width: 100%;
    min-height: 88px;
    justify-items: start;
  }

  .banner-card::after {
    width: 100%;
    height: 90px;
    right: auto;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
  }

  .form-wrap {
    padding: 0.85rem;
    border-radius: 12px;
  }

  .contact-meta,
  .contact-form {
    width: 100%;
  }

  .contact-meta {
    padding: 0.85rem;
  }

  .contact-meta h2 {
    font-size: 1.35rem;
  }
}
