:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-alt: #eef2f8;
  --text: #1b2637;
  --muted: #4e5f79;
  --brand: #173a67;
  --brand-strong: #0f2d52;
  --accent: #c7a45b;
  --accent-strong: #a6843f;
  --border: #d8dfeb;
  --focus: #2f64b2;
  --shadow: 0 10px 28px rgba(15, 37, 69, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-strong);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--brand-strong);
}

h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.1rem;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.3rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.page-hero {
  padding-top: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.lead {
  color: var(--muted);
  max-width: 68ch;
  font-size: 1.06rem;
}

.single-line-lead {
  white-space: nowrap;
  max-width: none;
}

.full-width-lead {
  max-width: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(23, 58, 103, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  gap: 1.3rem;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 58px;
  height: 58px;
  background: rgba(17, 53, 98, 0.72);
  border: 2px solid #3f6cab;
  border-radius: 18px;
  padding: 0;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 0 3px rgba(63, 108, 171, 0.2);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  border: 1px solid rgba(194, 218, 248, 0.45);
}

.menu-toggle span {
  display: block;
  position: absolute;
  left: 14px;
  right: 14px;
  height: 3px;
  background: #eef4ff;
  border-radius: 99px;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-toggle span:nth-child(1) {
  top: 18px;
}

.menu-toggle span:nth-child(2) {
  top: 27px;
}

.menu-toggle span:nth-child(3) {
  top: 36px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 27px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 27px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding: 6.5rem 0;
  background:
    linear-gradient(rgba(16, 44, 84, 0.78), rgba(16, 44, 84, 0.78)),
    url("../img/sina-cover.png") center / cover no-repeat;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .check-list li,
.hero a {
  color: #fff;
}

.hero .lead {
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
  line-height: 1.72;
  max-width: 96ch;
}

.hero .check-list li::before {
  background: var(--accent);
}

.hero .hero-cover {
  display: none;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.page-cover {
  margin-top: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.45rem;
}

.page-cover img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.trust-bar {
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  padding: 1.1rem 0.8rem;
}

.section-head {
  max-width: 75ch;
  margin-bottom: 1.8rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-top: 4px solid var(--accent);
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c9d3e2;
  box-shadow: 0 14px 28px rgba(15, 37, 69, 0.16);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-alt .check-list {
  margin-top: 2rem;
  padding-left: 0.4rem;
}

.check-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.6rem;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.6rem;
}

.testimonial footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #efe2c9;
  color: #765720;
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-strip {
  background: linear-gradient(120deg, var(--brand-strong), var(--brand));
}

.cta-strip h2 {
  color: #fff;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.78rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-strong);
}

.btn-primary:hover {
  background: #d4b671;
  border-color: #d4b671;
  color: var(--brand-strong);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-secondary:hover {
  border-color: #fff;
}

main .btn-secondary {
  color: var(--brand-strong);
  border-color: #b6c3d8;
}

main .btn-secondary:hover {
  border-color: var(--brand);
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.hero .btn-secondary:hover {
  border-color: #fff;
}

.prose {
  max-width: 92ch;
}

.person-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.person-photo-placeholder {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 2px dashed #b9c8df;
  background: linear-gradient(145deg, #f6f9ff, #e9effa);
  margin: 0 auto 0.4rem;
}

.person-card h3 {
  margin-bottom: 0.2rem;
}

.legal-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.2rem;
}

.legal-list li {
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.contact-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.contact-left {
  display: grid;
  gap: 1.2rem;
}

.contact-phone-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.app-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.app-icons a {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
}

.app-icons a + a {
  margin-left: 0;
}

.app-icons img {
  width: 100%;
  height: 100%;
  display: block;
}

.app-icons a:hover {
  transform: translateY(-1px);
}

.contact-form {
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form h2,
.contact-form label {
  color: #fff;
}

.form-row {
  margin-bottom: 0.95rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d1df;
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.error-message {
  display: block;
  min-height: 1.1em;
  color: #ffd0d0;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  color: #e4ebf6;
}

.faq-wrap {
  max-width: 920px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-strong);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 180px;
  padding-bottom: 1rem;
}

.site-footer {
  background: #0d2340;
  color: #dce6f6;
  padding-top: 3rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #f3f7ff;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.socials svg {
  width: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.8rem;
  padding: 1rem 0 1.4rem;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .section-alt .check-list {
    margin-top: 1rem;
    padding-left: 0;
  }

  .single-line-lead {
    white-space: normal;
    max-width: 68ch;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #f7f8fa;
    border: 1px solid #d9deea;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: 0 10px 22px rgba(10, 23, 45, 0.14);
    width: 100%;
    padding: 0.35rem 0;
    display: none;
    overflow: hidden;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    color: #273140;
    border: 0;
    font-size: 1.45rem;
    line-height: 1.3;
    font-weight: 600;
    display: block;
    padding: 0.72rem 1.15rem;
    border-bottom: 1px solid #e6eaf1;
  }

  .main-nav li:last-child a {
    border-bottom: 0;
  }

  .main-nav a.active,
  .main-nav a:hover {
    background: #eef2f8;
    color: #1f3047;
    border: 0;
  }

  .trust-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .main-nav a {
    font-size: 1.2rem;
    padding: 0.66rem 1rem;
  }

  .hero .lead {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .legal-list li {
    font-size: 1rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-tag {
    font-size: 0.64rem;
  }

  .section,
  .hero,
  .page-hero {
    padding: 2.2rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .cards-2,
  .cards-3,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .btn,
  .socials,
  .cta-strip {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .card,
  .contact-form,
  .faq-item {
    box-shadow: none;
    border: 1px solid #999;
  }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #ccc;
  }

  .site-footer a {
    color: #000;
  }
}
