:root {
  --blue: #007bff;
  --blue-deep: #005b95;
  --yellow: #ffcf02;
  --ink: #102033;
  --muted: #5e6c7d;
  --line: #d9e3ee;
  --paper: #ffffff;
  --soft: #f2f7fc;
  --night: #06162a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--blue);
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 91, 149, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.logo img {
  width: 100%;
  max-width: 240px;
  height: 52px;
  object-fit: contain;
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 8px;
  color: #06162a;
  background: var(--yellow);
  border: 2px solid var(--yellow);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(255, 207, 2, 0.28);
}

.header-cta:hover,
.primary-button:hover {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 22, 42, 0.88) 0%, rgba(0, 91, 149, 0.72) 42%, rgba(6, 22, 42, 0.32) 100%),
    url("assets/hero-betzino.png") center / cover no-repeat;
}

.hero-inner {
  padding: 82px 0 112px;
}

.hero-card {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 28px;
  max-width: 760px;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
  padding: 64px 0 84px;
}

.content {
  max-width: 920px;
  padding: 44px;
  background: #ffffff;
  border: 1px solid rgba(0, 91, 149, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(5, 33, 62, 0.08);
}

.content > *:first-child {
  margin-top: 0;
}

.content > *:last-child {
  margin-bottom: 0;
}

.content h2 {
  margin: 48px 0 18px;
  padding-top: 10px;
  color: var(--blue-deep);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: 0;
}

.content h3 {
  margin: 34px 0 12px;
  color: #18324f;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  letter-spacing: 0;
}

.content p {
  margin: 0 0 18px;
  font-size: 18px;
}

.article-image {
  width: 100%;
  height: auto;
  margin: 6px 0 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(5, 33, 62, 0.12);
}

.content strong {
  color: #0d2742;
  font-weight: 800;
}

.content em {
  color: var(--blue-deep);
  font-style: italic;
}

.content ul,
.content ol {
  margin: 18px 0 28px;
  padding-left: 26px;
}

.content li {
  margin: 10px 0;
  padding-left: 4px;
  font-size: 18px;
}

.content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 6px solid var(--yellow);
  background: #f8fbff;
  border-radius: 0 8px 8px 0;
}

.content blockquote p {
  margin: 0;
}

.content table {
  width: 100%;
  margin: 26px 0 34px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
}

.content tr:first-child td {
  color: #ffffff;
  background: var(--blue-deep);
}

.content tr:nth-child(even):not(:first-child) {
  background: #f6faff;
}

.content td {
  padding: 14px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.site-footer {
  color: #dcecff;
  background: var(--night);
}

.footer-top {
  min-height: 104px;
  padding: 28px 0;
}

.footer-logo {
  color: #ffffff;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 28px;
}

.footer-menu a {
  color: #dcecff;
  text-decoration: none;
  font-weight: 700;
}

.footer-menu a:hover {
  color: var(--yellow);
}

.footer-warning {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 91, 149, 0.22);
}

.footer-warning p,
.copyright p {
  margin: 0;
}

.footer-warning .wrap {
  padding: 22px 0;
}

.copyright {
  padding: 24px 0 28px;
  text-align: center;
  color: #a9bed3;
}

.simple-page {
  min-height: 58vh;
  padding: 68px 0 84px;
  background: var(--soft);
}

.simple-page .content h1 {
  margin: 0 0 22px;
  color: var(--blue-deep);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin: 30px 0 18px;
  padding: 28px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-form span {
  color: #18324f;
  font-size: 15px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7d7e8;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  line-height: 1.35;
  outline: none;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.14);
}

.contact-form button {
  justify-self: start;
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 123, 255, 0.22);
}

.contact-form button:hover {
  color: var(--night);
  background: var(--yellow);
  border-color: var(--yellow);
}

.form-note {
  color: var(--muted);
  font-size: 15px !important;
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner,
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding: 14px 0;
  }

  .header-cta {
    width: 100%;
  }

  .logo img {
    max-width: min(240px, calc(100vw - 24px));
  }

  .hero {
    min-height: 560px;
    background-position: 62% center;
  }

  .hero-inner {
    padding: 58px 0 72px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .content {
    padding: 28px 18px;
  }

  .content p,
  .content li {
    font-size: 16px;
  }

  .content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .contact-form {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form button {
    width: 100%;
  }

  .footer-menu {
    justify-content: flex-start;
  }
}
