:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --card: #ffffff;
  --text: #12213c;
  --text-light: #eff4ff;
  --muted: #5e6f8d;
  --primary: #173d76;
  --primary-soft: #2a67b1;
  --accent: #f2a13a;
  --accent-soft: #ffe2b7;
  --line: rgba(18, 33, 60, 0.08);
  --line-strong: rgba(18, 33, 60, 0.14);
  --shadow: 0 24px 64px rgba(10, 24, 48, 0.08);
  --shadow-soft: 0 12px 30px rgba(10, 24, 48, 0.05);
  --radius: 30px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 161, 58, 0.10), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(42, 103, 177, 0.12), transparent 20%),
    linear-gradient(180deg, #fbfcff 0%, #f5f7fb 42%, #eef2f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(23, 61, 118, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 61, 118, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.20), transparent 78%);
}

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

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

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(42, 103, 177, 0.10), transparent 68%);
}

.site-shell::after {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 460px;
  background: radial-gradient(circle, rgba(242, 161, 58, 0.08), transparent 70%);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(18, 33, 60, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(10, 24, 48, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

.nav a {
  color: #314562;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: #edf3fb;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #19345e;
  border-radius: 999px;
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

main > section {
  position: relative;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 34px;
  align-items: stretch;
  padding-top: 78px;
  min-height: calc(100vh - 184px);
}

.hero > *,
.split-section > *,
.cards-grid > *,
.highlight-grid > *,
.contact-layout > * {
  min-width: 0;
}

.hero-copy {
  padding: 28px 0 10px;
}

.page-hero {
  padding-top: 74px;
  padding-bottom: 20px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 264px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 30%, rgba(242, 161, 58, 0.12), transparent 18%),
    radial-gradient(circle at 84% 25%, rgba(42, 103, 177, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(18, 33, 60, 0.06);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(23, 61, 118, 0.07);
  color: var(--primary);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 18px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  color: #102444;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.1rem);
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 15ch;
  margin-inline: auto;
}

h2 {
  font-size: clamp(2.05rem, 3vw, 3rem);
}

.service-card h3,
.highlight-card h3,
.timeline article h3,
.process-box strong,
.detail-card h2,
.info-card h2,
.form-card h2,
.glass-card h2 {
  text-wrap: balance;
}

.detail-card h2,
.info-card h2,
.form-card h2 {
  font-size: clamp(1.65rem, 2.1vw, 2.15rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.14rem;
  color: #11284a;
}

p {
  margin: 0;
  line-height: 1.72;
}

.lead {
  font-size: 1.08rem;
  color: #445473;
  max-width: 60ch;
}

.lead.narrow {
  margin-inline: auto;
  max-width: 48rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: white;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px rgba(23, 61, 118, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 61, 118, 0.18);
}

.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: #18355e;
  border-color: rgba(24, 53, 94, 0.12);
  box-shadow: none;
}

.btn.btn-sm {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.95rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.hero-points li,
.bullet-list li,
.detail-card li,
.contact-list li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before,
.bullet-list li::before,
.detail-card li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-soft) 100%);
}

.glass-card,
.service-card,
.detail-card,
.highlight-card,
.info-card,
.form-card,
.process-box,
.timeline article,
.cta-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
}

.glass-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: var(--text-light);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 85% 15%, rgba(242, 161, 58, 0.22), transparent 24%),
    linear-gradient(160deg, #0f2244 0%, #173d76 56%, #102949 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  min-height: 100%;
}

.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-card::before {
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: -120px;
}

.glass-card::after {
  width: 220px;
  height: 220px;
  right: 40px;
  top: -90px;
}

.card-kicker {
  color: var(--accent-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.glass-card h2 {
  color: white;
  font-size: clamp(1.9rem, 2.5vw, 2.5rem);
  margin-top: 14px;
  max-width: 12ch;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.metric-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.metric-grid strong,
.process-box strong,
.contact-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.section-heading {
  max-width: 940px;
  margin-bottom: 30px;
}

.center-heading {
  margin-inline: auto;
  text-align: center;
  padding: 40px 28px 0;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.detail-card,
.highlight-card,
.info-card,
.form-card,
.process-box,
.timeline article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 36, 68, 0.08);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card,
.detail-card,
.highlight-card,
.timeline article,
.process-box,
.info-card {
  display: flex;
  flex-direction: column;
}

.service-card::before,
.detail-card::before,
.highlight-card::before,
.info-card::before,
.form-card::before,
.timeline article::before,
.process-box::before,
.cta-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0.95;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(242, 161, 58, 0.14), rgba(42, 103, 177, 0.14));
  color: #17355f;
  font-weight: 800;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 61, 118, 0.08);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.split-copy {
  padding: 18px 8px 0 0;
}

.timeline,
.process-box {
  display: grid;
  gap: 18px;
}

.process-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 251, 255, 0.96));
}

.timeline article span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  font-weight: 700;
  color: var(--primary);
}

.highlight-section {
  padding-top: 36px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.highlight-card p,
.service-card p,
.detail-card p,
.timeline article p,
.process-box p,
.info-card p {
  color: #50617e;
}

.detail-card ul,
.bullet-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.detail-card ul {
  margin-top: 18px;
}

.cta-section {
  padding-top: 52px;
  padding-bottom: 100px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 40px;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 161, 58, 0.26), transparent 18%),
    linear-gradient(135deg, #112445 0%, #173d76 100%);
  color: white;
}

.cta-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-card h2 {
  color: white;
  max-width: 14ch;
}

.footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto 36px;
  padding: 30px 16px 0;
  border-top: 1px solid rgba(17, 40, 74, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer p {
  margin-top: 12px;
  font-weight: 700;
}

.footer-logo {
  width: 150px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #3f5477;
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #1f355b;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(19, 35, 63, 0.10);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(246, 248, 252, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8a97af;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(23, 61, 118, 0.32);
  box-shadow: 0 0 0 4px rgba(23, 61, 118, 0.08);
  background: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn {
  margin-top: 4px;
  width: fit-content;
}

#form-status {
  display: none;
  margin-top: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(39, 174, 96, 0.18);
  background: rgba(39, 174, 96, 0.08);
  color: #1f6b43;
  font-weight: 600;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}


.hero-visual-shell {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16, 36, 68, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 161, 58, 0.10), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 254, 0.92));
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-visual {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(16, 36, 68, 0.06);
  background: #fff;
}

.floating-note {
  position: absolute;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 36, 68, 0.08);
  box-shadow: 0 18px 34px rgba(10, 24, 48, 0.10);
  backdrop-filter: blur(10px);
}

.floating-note strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 6px;
}

.floating-note span {
  display: block;
  color: #52627f;
  line-height: 1.58;
  font-size: 0.94rem;
}

.note-top {
  top: 34px;
  right: 34px;
}

.note-bottom {
  left: 34px;
  bottom: 34px;
}

.showcase-section {
  padding-top: 18px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card,
.media-panel,
.contact-visual-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 36, 68, 0.08);
  box-shadow: var(--shadow-soft);
}

.showcase-media,
.media-frame,
.contact-visual-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 68, 0.08);
  background: linear-gradient(180deg, #ffffff, #f5f8fd);
}

.showcase-media img,
.media-frame img,
.contact-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-copy,
.media-copy {
  display: grid;
  gap: 10px;
}

.showcase-copy h3,
.media-copy h2 {
  margin: 0;
}

.showcase-copy p,
.media-copy p {
  color: #50617e;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 8px;
  padding-bottom: 12px;
}

.media-panel {
  height: 100%;
}

.media-frame {
  min-height: 260px;
}

.contact-visual-card {
  gap: 16px;
}

.contact-visual-card p {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.22s;
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .cta-card h2,
  .glass-card h2 {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-layout,
  .cards-grid-3,
  .cards-grid-2,
  .highlight-grid,
  .showcase-grid,
  .service-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    max-width: none;
  }

  .hero-card {
    order: 2;
  }

  .note-top,
  .note-bottom {
    position: static;
    max-width: none;
  }

  .hero-visual-shell {
    display: grid;
    gap: 16px;
  }

  .hero-copy {
    order: 1;
  }

  .cta-card,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    border: 1px solid rgba(19, 35, 63, 0.08);
    box-shadow: 0 20px 40px rgba(12, 26, 50, 0.12);
  }

  .topbar.nav-open .nav {
    display: flex;
  }

  .field-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .btn,
  .cta-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .showcase-card,
  .media-panel,
  .contact-visual-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .topbar {
    width: min(calc(100% - 20px), var(--max-width));
    padding: 12px 14px;
    top: 10px;
  }

  main,
  .footer {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .center-heading {
    padding-inline: 14px;
  }

  .service-card,
  .detail-card,
  .highlight-card,
  .info-card,
  .form-card,
  .timeline article,
  .process-box,
  .cta-card,
  .glass-card {
    padding: 22px;
  }

  .brand-logo {
    width: 132px;
  }
}
