@font-face {
  font-family: "CormorantLocal";
  src: url("assets/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CormorantLocal";
  src: url("assets/cormorant-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f3e8;
  --ink: #0d2237;
  --brand: #b4832e;
  --brand-2: #214a6a;
  --card: #ffffff;
  --muted: #4a6179;
  --line: #d4dbe4;
  --soft: #eef3f8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, #ecd9ad 0, rgba(236, 217, 173, 0) 36%),
    radial-gradient(circle at 88% 16%, #cedeed 0, rgba(206, 222, 237, 0) 34%),
    var(--bg);
  font-family: "CormorantLocal", Georgia, serif;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #0d2237;
  color: #fff;
  padding: 0.5rem 0.75rem;
  z-index: 99;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.bg-shape {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.5;
}

.bg-shape-1 {
  width: 280px;
  height: 280px;
  background: #d9b778;
  top: -80px;
  left: -80px;
}

.bg-shape-2 {
  width: 340px;
  height: 340px;
  background: #a8bfd9;
  right: -120px;
  top: 18vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(246, 243, 232, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.brand-text {
  display: block;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
  transition: color .18s ease, border-color .18s ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
  border-color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.5rem 0.6rem;
  font-family: "CormorantLocal", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  background: var(--card);
  cursor: pointer;
}

.install-btn,
.cta {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
}

.install-btn {
  background: linear-gradient(120deg, #102945, #355878);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 34, 55, 0.24);
}

.app {
  max-width: 1060px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3.5rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 26px rgba(13, 34, 55, 0.1);
  animation: rise .45s ease both;
}

.hero {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  object-fit: cover;
  max-height: 480px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid #d0b372;
  border-radius: 999px;
  background: #f8f1e2;
  color: #3a4e63;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.58rem;
}

h1, h2 {
  margin: 0 0 0.7rem;
  line-height: 1.1;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.25rem, 2.8vw, 2rem); }

p { margin: 0.45rem 0; color: #22384f; }

.lead {
  font-size: 1.12rem;
  line-height: 1.45;
}

.actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.58rem 1rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(120deg, #0f2b49, #214f76);
  color: #fff;
}

.btn-ghost {
  border-color: #b9c7d7;
  color: #1d3650;
  background: #f8fbff;
}

.list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.list li { margin: 0.35rem 0; }

.grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdfd;
  padding: 0.9rem;
}

.kpi .num,
.card .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.kpi {
  border-top: 3px solid #d6ae64;
}

.alt-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process {
  display: grid;
  gap: 0.65rem;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.65rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  background: #f9fcff;
}

.step-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(145deg, #123151, #2f628e);
  color: #fff;
}

.team-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-photo {
  margin: 0.85rem 0 1rem;
  padding: 0.7rem;
}

.team-photo picture {
  display: block;
  width: 92.4%;
  margin: 0 auto;
}

.team-photo img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: 72% 28%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.team-photo figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
}

.member {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.member h3 {
  margin: 0;
  font-size: 1.2rem;
}

.pill-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid #c9d3df;
  border-radius: 999px;
  padding: 0.22rem 0.56rem;
  font-size: 0.84rem;
  color: #35506a;
  background: #f6f9fc;
}

.contact-wrap {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr 1.05fr;
}

.contact-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 0.5rem 0;
}

form {
  display: grid;
  gap: 0.7rem;
}

input, textarea {
  width: 100%;
  border: 1px solid #c3cfde;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fcfeff;
}

textarea { min-height: 120px; resize: vertical; }

.cta {
  justify-self: start;
  background: linear-gradient(120deg, #0e2741, #2f608a);
  color: #fff;
  box-shadow: 0 10px 22px rgba(12, 34, 56, 0.22);
}

.notice {
  margin-top: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #b8d6bd;
  color: #1f4a2a;
  background: #edf8ef;
}

.floating-cta {
  position: fixed;
  right: 0.95rem;
  bottom: 1rem;
  z-index: 9;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.66rem 1.02rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #0f2945, #b4832e);
  box-shadow: 0 12px 22px rgba(15, 41, 69, 0.28);
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.2rem 1rem 2rem;
  color: var(--muted);
}

@keyframes rise {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
  }

  .hero,
  .grid,
  .alt-grid,
  .team-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .team-photo picture {
    width: 100%;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 0.45rem;
  }

  .brand-sub {
    display: none;
  }

  .install-btn {
    width: 100%;
  }

  .floating-cta {
    width: calc(100% - 1.8rem);
    text-align: center;
  }
}
