:root {
  --bg: #08121d;
  --bg-2: #0f1f31;
  --surface: #13283c;
  --surface-soft: #f4f8fc;
  --text: #eaf2fa;
  --text-dark: #122033;
  --muted: #96a9bc;
  --line: #29435e;
  --line-soft: #d3deea;
  --accent: #ff7a2f;
  --accent-2: #17b890;
  --ok: #2ec4a5;
  --brand-logo-height-desktop: 70px;
  --brand-logo-height-mobile: 60px;
  --header-pad-y: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 95% -10%, rgba(23, 184, 144, 0.18), transparent 60%),
    radial-gradient(900px 420px at -15% 0%, rgba(255, 122, 47, 0.16), transparent 58%),
    linear-gradient(180deg, #060d15 0%, #08121d 40%, #0a1623 100%);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }
.container { width: min(1200px, 92vw); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(8, 18, 29, 0.78);
  border-bottom: 1px solid rgba(142, 166, 191, 0.2);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--brand-logo-height-desktop) + (var(--header-pad-y) * 2));
  padding-top: var(--header-pad-y);
  padding-bottom: var(--header-pad-y);
}
.site-notice {
  border-bottom: 1px solid rgba(236, 192, 96, 0.34);
  background: linear-gradient(180deg, rgba(114, 86, 24, 0.96), rgba(82, 61, 15, 0.96));
  box-shadow: inset 0 -1px 0 rgba(255, 231, 180, 0.1);
}
.site-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  padding: 0.72rem 0;
  text-align: center;
  color: #f8e7bf;
  font-size: 0.92rem;
  line-height: 1.5;
}
.site-notice strong {
  color: #fff7e3;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}
.site-notice a {
  color: #fff8ea;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.site-notice a:hover {
  color: #ffe0a1;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand span {
  display: inline-flex;
  align-items: baseline;
}
.brand small {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-left: 0.5rem;
}
.brand-logo {
  width: auto !important;
  height: var(--brand-logo-height-desktop) !important;
  max-width: none;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}
.nav {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.nav a {
  color: #d6e5f4;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: #fff; }
.nav a.active {
  color: #fff;
  background: linear-gradient(160deg, rgba(23, 184, 144, 0.28), rgba(23, 184, 144, 0.16));
  border: 1px solid rgba(46, 196, 165, 0.55);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  text-decoration: none;
}
.nav .cta {
  background: linear-gradient(160deg, var(--accent), #ffa55d);
  color: #fff;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
}
.nav .cta.active {
  box-shadow: 0 0 0 2px rgba(46, 196, 165, 0.6);
  text-decoration: none;
}

.hero {
  padding: 2rem 0 1.2rem;
}
.hero-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
  background: linear-gradient(130deg, #0b1826 0%, #12263a 48%, #104a52 100%);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  box-shadow: 0 22px 44px rgba(3, 8, 13, 0.35);
}
.tag {
  margin: 0;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9bfd4;
  font-weight: 700;
}
h1 {
  margin: 0.35rem 0 0.55rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.hero-title {
  margin: 0.35rem 0 0.55rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}
.lead { color: #c4d7ea; margin: 0; max-width: 64ch; }
.actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1rem;
}
.btn-main {
  background: linear-gradient(160deg, var(--accent), #ff9a59);
  color: #fff;
}
.btn-alt {
  border: 1px solid #4c667f;
  color: #d9e8f7;
  background: rgba(255, 255, 255, 0.04);
}
.hero-data {
  border: 1px solid #35516f;
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(6, 14, 22, 0.55);
}
.hero-shot {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #3d5a78;
  margin-bottom: 0.6rem;
}
.hero-data h3 { margin-top: 0; margin-bottom: 0.5rem; }
.hero-data ul { margin: 0; padding-left: 1rem; color: #c8dbed; }
.hero-data li { margin-bottom: 0.38rem; }
.hero-carousel { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-controls {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-nav {
  border: 1px solid #4c667f;
  color: #d9e8f7;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.hero-nav:hover { background: rgba(255, 255, 255, 0.14); }
.hero-dots { display: flex; gap: 0.45rem; }
.hero-dot {
  border: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5e7690;
  cursor: pointer;
}
.hero-dot.is-active { background: var(--accent); }

.section {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #112437, #152c42);
  padding: 1rem;
}
.section.light {
  background: var(--surface-soft);
  border-color: var(--line-soft);
  color: var(--text-dark);
}
.section h2 {
  margin: 0.2rem 0 0.75rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.03em;
  font-size: 2rem;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}
.light .card {
  border-color: var(--line-soft);
  background: #fff;
}
.card h3 { margin-top: 0; margin-bottom: 0.35rem; }
.card p { margin: 0; color: var(--muted); }
.light .card p { color: #405468; }
.service-matrix {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.level-card {
  border-width: 2px;
}
.level-basic { border-color: #69b92d !important; }
.level-optimized { border-color: #d0bf14 !important; }
.level-advanced { border-color: #d38318 !important; }
.level-performance { border-color: #c53b24 !important; }
.level-lead {
  margin-bottom: 0.55rem !important;
  font-weight: 600;
  color: #2e4358 !important;
}
.service-card {
  display: flex;
  flex-direction: column;
  border-width: 2px;
  border-color: #b7cce0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%) !important;
  box-shadow: 0 14px 28px rgba(18, 32, 51, 0.08);
}
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}
.service-card h3 a {
  color: #5f88a8;
  text-decoration: none;
}

.service-card h3 a:hover,
.service-card h3 a:focus {
  color: #ff7a2f;
}
.service-card p {
  color: #354b61 !important;
}
.service-card .btn {
  align-self: flex-start;
}
.service-price {
  margin-top: auto !important;
  padding-top: 0.8rem;
  color: #a44700 !important;
  font-weight: 800;
}
.feature-list {
  margin: 0;
  padding-left: 1rem;
}
.feature-list li {
  margin-bottom: 0.4rem;
  color: #c4d7ea;
}
.light .feature-list li { color: #405468; }
.card-pic {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #c8d7e5;
  margin-bottom: 0.55rem;
}
.card-pic-full-width {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
.card video,
.section video {
  display: block;
  width: 85%;
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  border: 1px solid #c8d7e5;
  margin: 0 auto 0.55rem;
  background: #000;
}
.process-steps {
  background: linear-gradient(180deg, #fffaf2, #f7eee0);
  border-color: #e7d3ba;
}
.process-steps .card {
  background: #fffdf8;
  border-color: #eddcc6;
}
.process-steps .card p {
  color: #5d4a35;
}
.process-steps .card-pic {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: none;
  max-height: none;
  border-color: #e5d0b4;
  filter: saturate(0.9) contrast(0.97) brightness(1.03);
}
.process-steps .grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price {
  margin-top: 0.5rem;
  display: inline-block;
  color: #ffe7d4;
  font-weight: 800;
}
.light .price { color: #a44700; }

.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.table th, .table td {
  border: 1px solid #32506d;
  padding: 0.58rem;
  text-align: left;
}
.light .table th, .light .table td {
  border-color: #c9d7e5;
}
.table th { background: rgba(255, 255, 255, 0.06); }
.light .table th { background: #e9f1f9; }
.table th:last-child,
.table td:last-child {
  white-space: nowrap;
  word-break: normal;
}
.win { color: var(--ok); font-weight: 700; }
.loss { color: #ff8a8a; font-weight: 700; }

.partner-logo {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  display: block;
  margin: 0 auto 0.55rem;
  filter: grayscale(10%);
}
.card h3 a:hover {
  color: var(--accent);
}
.partner-logo:hover {
  filter: grayscale(0%);
  transform: translateY(-1px);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.gallery {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery.dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 20px rgba(6, 16, 26, 0.12);
}
.rotating-gallery-item.is-hidden {
  display: none;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.55rem;
}
.faq-q {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.75rem;
  font-weight: 700;
  color: #193048;
  cursor: pointer;
}
.faq-a {
  padding: 0 0.75rem 0.75rem;
  color: #42596f;
  display: none;
}
.faq-item.open .faq-a { display: block; }

.contact-form {
  margin-top: 0.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  color: #1c3248;
  font-size: 0.92rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #c2d2e1;
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  font: inherit;
  background: #fff;
  color: #122033;
}
.contact-form textarea {
  resize: vertical;
  min-height: 92px;
}
.contact-form label:nth-child(7),
.contact-form label:nth-child(8),
.contact-form label:nth-child(10) {
  grid-column: 1 / -1;
}
.form-alert {
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin: 0 0 0.65rem;
  font-weight: 600;
}
.form-alert.success {
  background: #eafaf3;
  border: 1px solid #7fd3b8;
  color: #13624e;
}
.form-alert.error {
  background: #fff1f1;
  border: 1px solid #f0b0b0;
  color: #8f2a2a;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  border-top: 1px solid rgba(147, 171, 196, 0.24);
  margin-top: 1.3rem;
  padding: 1rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.footer-links {
  margin: 0 auto;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  text-align: center;
  line-height: 1.5;
}
.footer a {
  color: #dceaf8;
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover {
  color: #ffffff;
}
.footer-sep {
  color: rgba(147, 171, 196, 0.55);
}
.footer-meta {
  margin: 0.4rem auto 0;
  line-height: 1.6;
}

.feedback-popup {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 24px));
  background: #ffffff;
  color: #122033;
  border: 1px solid #c9d7e5;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(6, 16, 26, 0.24);
  padding: 0.85rem;
  z-index: 9999;
}
.feedback-trigger {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  border: 1px solid #1f8f7a;
  background: #2ec4a5;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(6, 16, 26, 0.24);
}
.feedback-popup h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}
.feedback-popup p {
  margin: 0 0 0.55rem;
  color: #42596f;
  font-size: 0.9rem;
}
.feedback-popup .feedback-row {
  margin-bottom: 0.55rem;
}
.feedback-popup label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #304861;
  margin-bottom: 0.25rem;
}
.feedback-popup select,
.feedback-popup textarea {
  width: 100%;
  border: 1px solid #c2d2e1;
  border-radius: 9px;
  font: inherit;
  padding: 0.45rem 0.55rem;
  background: #fff;
  color: #122033;
}
.feedback-popup textarea {
  min-height: 72px;
  resize: vertical;
}
.feedback-status {
  min-height: 1.2rem;
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: #2d4b65;
}
.feedback-popup .feedback-actions {
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
}
.feedback-popup button {
  border: 1px solid #b8cadb;
  background: #f3f7fb;
  color: #1e344a;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  font-weight: 700;
}
.feedback-popup .feedback-send {
  border-color: #1f8f7a;
  background: #2ec4a5;
  color: #fff;
}
.feedback-popup [data-feedback-disable] {
  border-color: #d6b6b6;
  background: #fff4f4;
  color: #7e2b2b;
}

@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --header-pad-y: 8px; }
  .topbar-inner {
    min-height: calc(var(--brand-logo-height-mobile) + (var(--header-pad-y) * 2));
  }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 64px;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0c1826;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav.open { display: flex; }
  .grid-4, .grid-3, .grid-2, .service-matrix, .gallery, .gallery.dense { grid-template-columns: 1fr; }
  .process-steps .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form label:nth-child(7),
  .contact-form label:nth-child(8),
  .contact-form label:nth-child(10) {
    grid-column: auto;
  }
  .table {
    min-width: 0;
  }
  .table th, .table td {
    padding: 0.45rem;
    font-size: 0.86rem;
    white-space: normal;
    word-break: break-word;
  }
  .table th:last-child,
  .table td:last-child {
    white-space: nowrap;
    word-break: normal;
  }
  .table-stack-mobile thead {
    display: none;
  }
  .table-stack-mobile,
  .table-stack-mobile tbody,
  .table-stack-mobile tr,
  .table-stack-mobile td {
    display: block;
    width: 100%;
  }
  .table-stack-mobile tr {
    margin-bottom: 0.65rem;
    border: 1px solid #32506d;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
  }
  .light .table-stack-mobile tr {
    border-color: #c9d7e5;
    background: #f7fbff;
  }
  .table-stack-mobile td {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    border: 0;
    border-bottom: 1px solid #32506d;
    padding: 0.5rem 0.65rem;
    text-align: right;
    white-space: normal;
    word-break: normal;
  }
  .light .table-stack-mobile td {
    border-bottom-color: #dbe6f0;
  }
  .table-stack-mobile td:last-child {
    border-bottom: 0;
  }
  .table-stack-mobile td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--muted);
    text-align: left;
    flex: 0 0 42%;
  }
  .brand { font-size: 1.6rem; }
  .brand-logo {
    width: auto !important;
    height: var(--brand-logo-height-mobile) !important;
  }
  .site-notice-inner {
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.65rem 0;
    font-size: 0.88rem;
  }
  .site-notice strong {
    font-size: 0.92rem;
  }
  .process-steps .card-pic { max-height: none; }
  .footer-links,
  .footer-meta { white-space: normal; }
  .hero-controls {
    justify-content: center;
    gap: 0.7rem;
  }
  .feedback-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
  .feedback-trigger {
    right: 12px;
    bottom: 12px;
  }
}
.award-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.award-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 1.4rem;

  background:
    radial-gradient(circle at top right, rgba(218, 165, 32, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(45, 34, 12, 0.96), rgba(17, 17, 17, 0.96));

  border: 1px solid rgba(218, 165, 32, 0.34);
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.award-content h2 {
  margin-top: 0.25rem;
}

.award-content p {
  max-width: 780px;
}

.award-note {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 0.9rem;
}

.award-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-badge {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  border-radius: 1.1rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.award-placeholder {
  width: 180px;
  min-height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 30px rgba(255,255,255,0.04);
}

.award-placeholder span {
  font-size: 0.85rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.award-placeholder strong {
  font-size: 1.35rem;
  margin-top: 0.25rem;
}

@media (max-width: 760px) {
  .award-card {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.4rem;
  }

  .award-media {
    justify-content: flex-start;
  }

  .award-badge,
  .award-placeholder {
    max-width: 150px;
  }

  .award-placeholder {
    width: 150px;
    min-height: 150px;
  }
}
.award-badge:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 22px 42px rgba(0,0,0,0.42);
  filter: brightness(1.05);
}
