*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #1c2942;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1150px, 92vw);
  margin-inline: auto;
}

/* Header */

.header {
  background: #e8edf7;
  padding: 0rem 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 120px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 100px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-top: -8px;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0b2740;
}

.brand-tagline {
  font-size: 0.85rem;
  color: #425477;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav-link {
  font-size: 0.95rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-link:hover {
  background: #ffffff;
  border: 1px solid #ea3a48;
  color: #0b2740;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, #ea3a48, #0b2740);
  padding: 3.5rem 0 3rem;
  color: #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.3vw, 2.8rem);
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  color: #f3f4ff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero-list {
  padding-left: 1.2rem;
  margin: 0 0 1.5rem;
}

.hero-list li {
  margin-bottom: 0.3rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #ea3a48;
  border-radius: 999px;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: #f15a67;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.hero-card {
  background: rgba(9, 22, 43, 0.92);
  padding: 1.8rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 28px 45px rgba(0, 0, 0, 0.35);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section h2 {
  color: #0b2740;
  margin-top: 0;
  font-size: 1.7rem;
}

.section-alt {
  background: #eef2f9;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.bullets {
  padding-left: 1.2rem;
  margin: 0;
}

.bullets li {
  margin-bottom: 0.4rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-box,
.contact-form {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.7rem 1.5rem;
  border: 1px solid #d6dbea;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

/* Form */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.95rem;
  transition: 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ea3a48;
  box-shadow: 0 0 0 2px rgba(234, 58, 72, 0.25);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.83rem;
  margin-bottom: 1rem;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0.2rem;
}

.checkbox-row small a {
  text-decoration: underline;
}

/* Footer */

.footer {
  background: #e8edf7;
  padding: 1.4rem 0;
  color: #425477;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-nav a:hover {
  color: #ea3a48;
}

/* Legal page */

.legal-page {
  padding: 2.5rem 0 2.75rem;
}

.legal-page h1 {
  margin-top: 0;
  margin-bottom: 1.75rem;
  color: #0b2740;
}

.legal-section {
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid #d0dbf0;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.legal-section h2 {
  margin-bottom: 0.5rem;
}

.legal-section h3 {
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}

.legal-section p,
.legal-section ul {
  font-size: 0.95rem;
}

.legal-section ul {
  padding-left: 1.1rem;
}

/* Responsive */

@media (max-width: 900px) {
  .logo {
    height: 120px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 1.5rem;
  }
}
