:root {
  --color-primary: #0e3a8a;
  --color-primary-700: #0b2f70;
  --color-accent: #d62828;
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-text: #13233a;
  --color-muted: #5d6b82;
  --color-border: #e3e8f0;
  --shadow-soft: 0 10px 26px rgba(16, 36, 74, 0.1);
  --radius-card: 12px;
  --radius-input: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #f3f5f9 0%, #edf1f8 100%);
  line-height: 1.6;
}

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

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 20px rgba(20, 42, 82, 0.08);
}

header.site-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background: #28579b;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

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

.brand img {
  width: 280px;
  height: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

nav.primary-nav a {
  color: var(--color-primary-700);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: 220ms ease;
}

nav.primary-nav a:hover,
nav.primary-nav a.active {
  background: #eef3fb;
  color: #173f7b;
}

.header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 60, 115, 0.35);
  background: rgba(255, 255, 255, 0.9);
  color: #173f7b;
  border-radius: 999px;
  padding: 0.36rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: 220ms ease;
}

.header-login-btn:hover {
  background: #eef3fb;
  border-color: #9fb2d7;
}

.contact-chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  border-left: 1px solid var(--color-border);
  padding-left: 0.8rem;
  white-space: nowrap;
}

.language-switch {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-primary-700);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font: inherit;
  font-weight: 700;
}

main.site-main {
  padding-bottom: 5rem;
}

.hero {
  margin-top: 1.2rem;
  background:
    linear-gradient(110deg, rgba(241, 246, 255, 0.42) 8%, rgba(231, 239, 251, 0.28) 40%, rgba(240, 239, 245, 0.12) 100%),
    url("section-refs/02_hero.png") center / cover no-repeat;
  border-radius: 16px;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(24, 58, 112, 0.1) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 84px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 40, 79, 0.07) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.8rem;
  position: relative;
  z-index: 1;
  place-items: center;
  text-align: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.metric-value,
.admin-card h1 {
  font-family: "Montserrat", sans-serif;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0;
  color: #123f7e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-copy p {
  color: #29476f;
  max-width: 52ch;
  margin: 1rem auto 1.6rem;
  font-size: 1.03rem;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.btn {
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font: inherit;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-secondary {
  border-color: rgba(24, 60, 115, 0.35);
  background: rgba(255, 255, 255, 0.84);
  color: #173f7b;
}

.hero-side {
  display: grid;
  align-content: center;
  justify-items: end;
}

.hero-card {
  width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 1.1rem;
  border: 1px solid rgba(44, 78, 130, 0.18);
  box-shadow: 0 14px 36px rgba(10, 27, 55, 0.2);
}

.hero-card h3 {
  margin: 0;
  color: var(--color-primary-700);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.hero-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--color-muted);
  font-size: 0.94rem;
}

section.block {
  padding: clamp(2.8rem, 5vw, 5rem) 0 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.section-heading p {
  max-width: 62ch;
  margin: 0;
  color: var(--color-muted);
}

.about-snapshot {
  background: linear-gradient(120deg, #ffffff 0%, #f4f7fc 56%, #f9f9fc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.4rem;
  padding: 1.6rem;
}

.about-flag {
  border-radius: 12px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 36%),
    url("section-refs/03_about.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border: 1px solid #dbe4f2;
}

.about-flag::before,
.about-flag::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.about-flag::before {
  width: 160px;
  height: 160px;
  top: -50px;
  left: -32px;
  background: rgba(36, 80, 145, 0.25);
}

.about-flag::after {
  width: 110px;
  height: 110px;
  bottom: -30px;
  right: -16px;
  background: rgba(212, 49, 49, 0.24);
}

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

.card {
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border-radius: var(--radius-card);
  padding: 1.1rem;
  box-shadow: 0 8px 18px rgba(22, 46, 88, 0.08);
  transition: transform 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--color-primary-700);
  font-family: "Montserrat", sans-serif;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f1f6ff 0%, #e7eefc 70%, #eef2fa 100%);
  border: 1px solid #dbe5f7;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.badge-icon svg {
  width: 34px;
  height: 34px;
  stroke: #194b95;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: #f4f8ff;
}

.badge-icon svg .accent-stroke {
  stroke: #d62828;
}

.badge-icon svg .accent-shape {
  fill: #d62828;
  stroke: none;
}

.process-icon {
  position: relative;
}

.process-icon span {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: #d62828;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.step-card {
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 22px rgba(18, 42, 84, 0.09);
  padding: 1rem;
  position: relative;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.step-index {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f1f6ff 0%, #e4ecfb 100%);
  border: 1px solid #d7e3f9;
  color: #194b95;
}

.step-icon svg {
  width: 30px;
  height: 30px;
  stroke: #194b95;
  stroke-width: 1.45;
  fill: #f5f8ff;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon svg .accent-stroke {
  stroke: #d62828;
}

.step-icon svg .accent-shape {
  fill: #d62828;
  stroke: none;
}

.trust-strip {
  border-radius: 14px;
  padding: 2.2rem 1.6rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(17, 64, 137, 0.82) 0%, rgba(13, 51, 111, 0.84) 100%),
    url("section-refs/trust-banner-base.png") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 46%);
}

.trust-strip > * {
  position: relative;
  z-index: 1;
}

.trust-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.trust-pill {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 253, 0.88) 100%),
    url("section-refs/07_contact.png") center / cover no-repeat;
  border-radius: 14px;
  border: 1px solid #dbe2ef;
  padding: 1.1rem;
}

.info-card,
.form-card,
.admin-card,
.admin-shell {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.info-card,
.form-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-card,
.info-card {
  border-color: #d8e0ef;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-700);
  font-weight: 700;
  border-bottom: 1px solid #dce4f1;
  padding: 0.25rem 0 0.7rem;
}

.info-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.86rem;
  color: var(--color-muted);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #6a95da;
  box-shadow: 0 0 0 3px rgba(25, 78, 169, 0.16);
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-message.error {
  color: #b12626;
}

.form-message.success {
  color: #18613d;
}

.page-hero {
  margin-top: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d4f99 0%, #123f7f 56%, #2f66ba 100%);
  color: #fff;
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.page-hero p {
  margin: 0;
  max-width: 62ch;
  color: #e8f0ff;
}

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

footer.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
  padding: 2.1rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.footer-links a {
  color: var(--color-primary-700);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(18, 82, 50, 0.3);
  transition: transform 240ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Admin */
.admin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.admin-shell {
  width: min(1100px, 100%);
  padding: 1rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.admin-nav {
  display: flex;
  gap: 0.5rem;
}

.admin-nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-primary-700);
  font-weight: 700;
}

.admin-nav a.active {
  background: #e8effc;
}

.admin-card {
  padding: 1.2rem;
}

.admin-login {
  width: min(460px, 100%);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.metric {
  border: 1px solid var(--color-border);
  border-radius: 11px;
  padding: 0.7rem;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 700;
}

.metric-value {
  font-size: 1.6rem;
  color: var(--color-primary);
  line-height: 1.1;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  font-size: 0.9rem;
  text-align: left;
  padding: 0.6rem;
  border-bottom: 1px solid #ecf0f6;
  white-space: nowrap;
}

th {
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status {
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-block;
}

.status.New {
  background: #edf4ff;
  color: #19438a;
}

.status.In-Progress {
  background: #fff4e6;
  color: #996209;
}

.status.Contacted {
  background: #e9f8f1;
  color: #1f7448;
}

.status.Closed {
  background: #f2f2f4;
  color: #5e6066;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 210px auto;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.empty {
  text-align: center;
  color: var(--color-muted);
  padding: 1.8rem 1rem;
}

@media (max-width: 1000px) {
  .hero-grid,
  .about-snapshot,
  .contact-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .filters {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  .nav-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .header-tools {
    gap: 0.55rem;
  }

  nav.primary-nav {
    overflow: auto;
  }

  .hero-grid {
    padding: 2rem 1.2rem;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 224px;
  }

  .grid-cards,
  .timeline,
  .trust-grid,
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 1.85rem;
  }

  nav.primary-nav a {
    font-size: 0.9rem;
  }

  .header-login-btn {
    padding: 0.34rem 0.78rem;
    font-size: 0.84rem;
  }

  .contact-chip {
    display: none;
  }
}
