:root {
  --brand: #02b1c6;
  --brand-dark: #0299ab;
  --brand-deep: #017a89;
  --purple: #5b2d8e;
  --ink: #33373d;
  --muted: #6b7280;
  --white: #ffffff;
  --danger: #c62828;
  --danger-bg: #fdecea;
  --ok: #176b3a;
  --ok-bg: #e8f8ee;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  background: var(--brand);
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  width: min(1140px, 100%);
  margin: 0 auto;
  height: 96px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: 173px;
  height: 47px;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 767px) {
  .header-inner {
    height: 72px;
    padding: 0 15px;
  }

  .logo img {
    width: 140px;
    height: 38px;
  }
}

.hero {
  flex: 1;
  position: relative;
  color: var(--white);
  background: linear-gradient(125deg, var(--purple) 0%, #4a2a8a 30%, var(--brand) 72%, #01c4d8 100%);
  display: flex;
  flex-direction: column;
}

.hero-inner {
  width: min(520px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 2rem;
  text-align: center;
  animation: fadeUp 0.55s ease both;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: 0.95;
}

.selector-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0, 40, 60, 0.22);
  text-align: left;
}

.select-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 0.4rem;
}

select {
  width: 100%;
  appearance: none;
  background: #f7fcfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23017a89' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1.5px solid #cfe6ea;
  border-radius: 12px;
  padding: 0.9rem 2.4rem 0.9rem 0.95rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(2, 177, 198, 0.18);
}

.btn-submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(2, 177, 198, 0.32);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-submit:hover {
  background: var(--brand-dark);
}

.btn-submit:active {
  transform: translateY(1px);
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.msg {
  display: none;
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  text-align: center;
}

.msg.show {
  display: block;
}

.msg.error {
  background: var(--danger-bg);
  color: var(--danger);
}

.msg.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-line {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.contact-line a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wave {
  margin-top: auto;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

.site-footer {
  background: var(--white);
  padding: 1.1rem 0 1.4rem;
}

.footer-inner {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding-top: 2rem;
  }
}
