:root {
  --bg-deep: #08131f;
  --bg-mid: #133357;
  --bg-light: #f3f8fb;
  --text-main: #102033;
  --text-soft: #4d5f76;
  --brand: #0f8ea8;
  --accent: #f39b40;
  --accent-soft: #ffd9a8;
  --card: #ffffff;
  --border: #d2e1ee;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 142, 168, 0.11), transparent 28%),
    radial-gradient(circle at 90% 75%, rgba(243, 155, 64, 0.13), transparent 28%),
    linear-gradient(120deg, #f8fbff 0%, #edf5ff 52%, #fff9ef 100%);
}

.language-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(27, 138, 155, 0.2), transparent 30%),
    radial-gradient(circle at 80% 85%, rgba(240, 160, 75, 0.24), transparent 34%),
    linear-gradient(150deg, #f4fbff 0%, #eef5ff 45%, #fff9f0 100%);
}

.gate-wrap {
  width: min(680px, 92vw);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(4, 26, 42, 0.12);
}

.gate-actions {
  margin-top: 1rem;
  display: inline-flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.language-gate .btn-secondary {
  background: #ffffff;
  border-color: #99b7cf;
  color: #1c3a56;
}

.language-gate .btn-secondary:hover {
  background: #f4faff;
}

.gate-logo {
  width: 110px;
  height: 110px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

.site-header {
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 160, 75, 0.28), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(15, 142, 168, 0.32), transparent 32%),
    linear-gradient(132deg, var(--bg-deep), var(--bg-mid));
  color: #f2f8ff;
  padding: 1.2rem 1rem 3.6rem;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto -10% -60px -10%;
  height: 120px;
  background: #ffffff;
  border-radius: 60% 60% 0 0;
}

.site-header::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.9;
}

.topbar,
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand strong {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #e8f3ff;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.hero p {
  color: #d4e8ff;
  max-width: 56ch;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 14px 28px rgba(1, 16, 30, 0.2);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #e5f4ff;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a130c;
  box-shadow: 0 10px 20px rgba(240, 160, 75, 0.32);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #f8fcff;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

section {
  margin: 2.2rem 0;
}

.section-head p {
  color: var(--text-soft);
  max-width: 80ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(11, 34, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 34, 55, 0.12);
}

.services .card {
  border-top: 4px solid var(--brand);
}

.service-portfolio {
  display: grid;
  gap: 0.75rem;
}

.service-exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}

.service-exec-card {
  border: 1px solid #cfe0ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 16px rgba(10, 35, 56, 0.06);
  padding: 1rem;
  border-top: 4px solid #0f8ea8;
}

.service-exec-card h3 {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #1f4462;
}

.service-exec-card h3 span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #0f4e76;
  background: #e6f3fb;
  border: 1px solid #c7dff1;
}

.service-exec-card p {
  margin: 0;
  color: #38536e;
  line-height: 1.5;
}

.service-layout {
  display: grid;
  gap: 1rem;
}

.service-block {
  border: 1px solid #d5e5f1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(10, 35, 56, 0.06);
}

.service-subtitle {
  margin: 0 0 0.8rem;
  color: #1f4462;
  font-size: 1.05rem;
}

.service-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.service-top-card {
  border: 1px solid #d4e4f1;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.9rem;
  border-top: 4px solid #0f8ea8;
}

.service-top-card h4 {
  margin: 0 0 0.45rem;
  color: #1d415f;
}

.service-top-card p {
  margin: 0;
  color: #3d5972;
  line-height: 1.45;
}

.service-catalog {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem 0.9rem;
}

.service-catalog li {
  border: 1px solid #dbe8f3;
  border-radius: 9px;
  padding: 0.5rem 0.65rem;
  color: #31506b;
  background: #fbfdff;
}

.service-catalog li strong {
  color: #1f4462;
  margin-right: 0.3rem;
}

.category-toggle {
  border: 0;
  padding: 0;
}

.category-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.92rem;
  border: 1px solid #c7dff1;
  border-radius: 999px;
  background: #e8f4fc;
  color: #1f4462;
  font-weight: 700;
}

.category-toggle > summary::-webkit-details-marker {
  display: none;
}

.category-toggle > summary::before {
  content: "+";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid #bfd8ec;
}

.category-toggle[open] > summary::before {
  content: "-";
}

.service-all-grid {
  margin-top: 0.9rem;
}

.service-catalog-accordion {
  display: grid;
  gap: 0.55rem;
}

.catalog-item {
  border: 1px solid #dbe8f3;
  border-radius: 10px;
  background: #fbfdff;
}

.catalog-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.65rem 0.75rem;
  color: #31506b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.catalog-item summary::-webkit-details-marker {
  display: none;
}

.catalog-item summary::after {
  content: "+";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #c7dff1;
  background: #e6f3fb;
  color: #1f4462;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.catalog-item[open] summary::after {
  content: "-";
}

.catalog-item ul {
  margin: 0;
  padding: 0 0.95rem 0.85rem 1.75rem;
  color: #3d5972;
}

.catalog-item li {
  margin: 0.25rem 0;
}

.service-item {
  border: 1px solid #cfe0ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 16px rgba(10, 35, 56, 0.06);
}

.service-item[open] {
  border-color: #9fc5df;
  box-shadow: 0 10px 22px rgba(10, 35, 56, 0.1);
}

.service-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #1f4462;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.service-item summary::-webkit-details-marker {
  display: none;
}

.service-item summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e8f3fb;
  border: 1px solid #c7dff1;
  color: #305a7c;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.service-item[open] summary::after {
  content: "-";
}

.service-item ul {
  margin: 0;
  padding: 0 1rem 1rem 2rem;
  color: #38536e;
}

.service-item li {
  margin: 0.3rem 0;
}

.card h3 {
  font-size: 1.05rem;
}

.mission-box {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.client-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fcfeff;
}

.logo-wall {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
}

.logo-card {
  border: 1px solid #d5e6f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 0.9rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(16, 43, 67, 0.08);
  display: grid;
  gap: 0.55rem;
  align-content: center;
  min-height: 120px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(140deg, #0f8ea8, #255c84);
  box-shadow: 0 6px 14px rgba(17, 77, 118, 0.24);
}

.logo-card p {
  margin: 0;
  font-weight: 700;
  color: #274866;
  font-size: 0.95rem;
}

.sector {
  display: inline-block;
  margin: 0 auto;
  font-size: 0.75rem;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #3d617f;
  background: #eaf3fb;
  border: 1px solid #d1e3f2;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.note {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9dbea;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 2px solid rgba(15, 142, 168, 0.16);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  padding: 1rem 0 2rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-bottom: 3rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
