:root {
  --bg: #f5f1ea;
  --bg-soft: #fbf8f3;
  --surface: #ffffff;
  --surface-alt: #e8edf1;
  --ink: #0f172a;
  --ink-soft: #405164;
  --navy: #10233e;
  --navy-deep: #091321;
  --blue: #4d82b8;
  --blue-soft: #8fb3d2;
  --steel: #708090;
  --amber: #c88c43;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 18px 40px rgba(9, 19, 33, 0.08);
  --shadow-md: 0 22px 70px rgba(9, 19, 33, 0.12);
  --shadow-lg: 0 28px 90px rgba(9, 19, 33, 0.2);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 34px;
  --container: 1380px;
  --transition: 0.32s ease;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 179, 210, 0.16), transparent 32%),
    linear-gradient(180deg, #f7f4ee 0%, #f3f0e9 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

body.intro-lock {
  overflow: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-tight {
  padding-top: clamp(56px, 6vw, 80px);
  padding-bottom: clamp(56px, 6vw, 80px);
}

.surface-dark {
  background:
    linear-gradient(135deg, rgba(16, 35, 62, 0.98), rgba(11, 22, 37, 0.96)),
    radial-gradient(circle at right top, rgba(77, 130, 184, 0.2), transparent 32%);
  color: #ffffff;
}

.surface-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(232, 237, 241, 0.68));
}

.surface-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.4rem, 6vw, 6.2rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.surface-dark p,
.surface-dark li,
.surface-dark .meta-value,
.surface-dark .section-header p {
  color: rgba(255, 255, 255, 0.82);
}

.section-header,
.page-intro,
.content-header,
.cta-copy {
  max-width: 1180px;
}

.section-header h2,
.page-intro h2,
.content-header h2,
.cta-copy h2 {
  max-width: 1100px;
}

.section-header p,
.page-intro p,
.content-header p,
.cta-copy p {
  max-width: 1050px;
}

.button,
.button-secondary,
.button-ghost,
.floating-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
  will-change: transform;
}

.button {
  background: linear-gradient(135deg, var(--blue), #315f8c);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(49, 95, 140, 0.25);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.button-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.floating-call:hover,
.card:hover,
.service-card:hover,
.process-card:hover,
.info-card:hover,
.guide-card:hover,
.contact-card:hover,
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.media-frame,
.hero-visual-card,
.hero-aside-card,
.image-zoom,
.contact-visual {
  overflow: hidden;
}

.media-frame img,
.hero-visual-card img,
.hero-aside-card img,
.image-zoom img,
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.media-frame:hover img,
.hero-visual-card:hover img,
.hero-aside-card:hover img,
.image-zoom:hover img,
.contact-visual:hover img {
  transform: scale(1.04);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1;
}

.brand-main {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 850;
  letter-spacing: 0.16em;
  color: #0f172a;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #475569;
}

.brand-mark.on-dark .brand-main {
  color: #ffffff;
}

.brand-mark.on-dark .brand-sub {
  color: rgba(255, 255, 255, 0.72);
}

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(143, 179, 210, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(9, 19, 33, 0.96), rgba(9, 19, 33, 0.99));
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.brand-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-intro-mark {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  transform: scale(0.94);
  animation: introPulse 1.65s ease forwards;
}

.intro-bar {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--blue-soft), rgba(255, 255, 255, 0.2));
}

@keyframes introPulse {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  padding: 18px 0;
  transition: padding var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(245, 241, 234, 0.68);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 30px rgba(9, 19, 33, 0.08);
}

.header-shell {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
  border-radius: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.header-nav a {
  position: relative;
  font-weight: 650;
  color: var(--ink-soft);
}

.header-nav a.is-active,
.header-nav a:hover {
  color: var(--ink);
}

.header-nav a.is-active::after,
.header-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-weight: 750;
  color: var(--ink);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
  font-weight: 700;
}

.hero {
  padding: 22px 0 36px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    linear-gradient(135deg, rgba(16, 35, 62, 0.98), rgba(11, 22, 37, 0.95)),
    radial-gradient(circle at right top, rgba(77, 130, 184, 0.3), transparent 34%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.62));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
  padding: clamp(34px, 5vw, 54px);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  min-width: 0;
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
}

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

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

.meta-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.meta-value {
  font-weight: 700;
  line-height: 1.4;
}

.hero-visual-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-visual-card {
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual-card.is-local {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.hero-visual-card.is-local img {
  min-height: 320px;
}

.card-caption {
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.84));
}

.card-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.card-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.mini-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
}

.mini-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

.hero-aside-card {
  min-height: 500px;
  border-radius: 32px;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}

.hero-dark-panel,
.page-banner {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(9, 19, 33, 0.95), rgba(16, 35, 62, 0.95)),
    radial-gradient(circle at top right, rgba(77, 130, 184, 0.28), transparent 34%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.page-banner {
  padding: clamp(34px, 5vw, 52px);
}

.page-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-stat-list,
.process-path,
.contact-list,
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-stat-list li,
.process-path li,
.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-list li:last-child,
.process-path li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -16px;
}

.info-card,
.service-card,
.process-card,
.guide-card,
.contact-card,
.card {
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card strong,
.service-card strong,
.process-card strong,
.guide-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.06rem;
}

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

.content-grid-2,
.trust-grid,
.map-grid,
.contact-grid,
.dual-layout,
.process-layout,
.guide-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

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

.media-frame,
.map-shell,
.contact-visual {
  min-height: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

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

.map-shell {
  min-height: 420px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.list-clean li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.process-track {
  display: grid;
  gap: 18px;
}

.process-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.step-index {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #ffffff;
  font-weight: 800;
}

.guide-card h3,
.process-step-card h3 {
  margin-bottom: 10px;
}

.cta-block {
  padding: clamp(30px, 4vw, 44px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(16, 35, 62, 0.98), rgba(11, 22, 37, 0.95)),
    radial-gradient(circle at top right, rgba(77, 130, 184, 0.24), transparent 34%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-block p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer {
  padding: 0 0 42px;
}

.footer-shell {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  border-radius: 36px;
  padding: clamp(32px, 4vw, 46px);
  background: #0d1828;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-list span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 450;
  background: rgba(9, 19, 33, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(9, 19, 33, 0.28);
}

html:not(.js-enabled) [data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 1;
}

html.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.js-enabled [data-reveal="left"] {
  transform: translateX(-22px);
}

html.js-enabled [data-reveal="right"] {
  transform: translateX(22px);
}

.hero-animate {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFade 0.72s ease forwards;
}

.hero-animate.delay-1 {
  animation-delay: 0.1s;
}

.hero-animate.delay-2 {
  animation-delay: 0.2s;
}

.hero-animate.delay-3 {
  animation-delay: 0.3s;
}

.hero-animate.delay-4 {
  animation-delay: 0.4s;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 650;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  padding: 14px 16px;
  color: var(--ink);
}

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

.muted-note {
  font-size: 0.95rem;
  color: var(--steel);
}

@media (max-width: 1120px) {
  .hero-grid,
  .hero-split,
  .page-banner-grid,
  .contact-grid,
  .map-grid,
  .trust-grid,
  .dual-layout,
  .guide-layout,
  .process-layout,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .content-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-strip,
  .content-grid-3,
  .services-grid,
  .process-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual-card {
    min-height: 460px;
  }

  .cta-layout {
    align-items: start;
  }
}

@media (max-width: 900px) {
  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(245, 241, 234, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
  }

  .header-nav.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .header-phone {
    display: none;
  }

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

  .container,
  .header-shell,
  .footer-shell {
    width: min(var(--container), calc(100% - 48px));
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
    max-width: 13ch;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .container,
  .header-shell,
  .footer-shell {
    width: min(var(--container), calc(100% - 36px));
  }

  .hero-grid,
  .page-banner,
  .cta-block {
    padding: 24px;
  }

  .hero-meta,
  .hero-mini-grid,
  .info-strip,
  .content-grid-3,
  .content-grid-4,
  .services-grid,
  .process-grid,
  .guide-grid,
  .form-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual-card {
    min-height: 380px;
  }

  .floating-call {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
