:root {
  --navy: #112447;
  --blue: #2563eb;
  --blue-dark: #1746a2;
  --sky: #eaf2ff;
  --ink: #152033;
  --muted: #667085;
  --line: #dbe3ef;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --soft: #f5f8fc;
  --shadow: 0 24px 70px rgba(17, 36, 71, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 227, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: white;
  overflow: hidden;
  border-radius: 17px;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.36), transparent 18%),
    linear-gradient(135deg, #0f2a58 0%, #2058d6 100%);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.brand-mark svg {
  width: 42px;
  height: 42px;
}

.skyline-sun {
  fill: rgba(255, 255, 255, 0.46);
}

.skyline-hill {
  fill: rgba(255, 255, 255, 0.16);
}

.skyline-city,
.skyline-line {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.nav {
  display: flex;
  gap: 24px;
  color: #3e4b61;
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
}

.header-cta,
.button.primary,
.contact-form button {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.button.secondary {
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  min-height: 720px;
  padding: clamp(80px, 10vw, 132px) clamp(22px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 24%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(135deg, var(--cream), #ffffff 54%, #eef5ff);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.hero-text {
  max-width: 650px;
  color: #46546a;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  color: #3f4e64;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.5)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 42%);
  box-shadow: var(--shadow);
}

.consultant-card {
  position: relative;
  min-height: 360px;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 28px;
  background: #d7dce5;
  box-shadow: 0 18px 42px rgba(17, 36, 71, 0.14);
}

.consultant-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 32%;
}

.consultant-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, rgba(17, 36, 71, 0), rgba(17, 36, 71, 0.82));
}

.consultant-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  color: white;
}

.consultant-card figcaption span {
  display: block;
  margin-bottom: 4px;
  color: #cfe1ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consultant-card figcaption strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
}

.panel-card {
  padding: 34px;
  border-radius: 28px;
  background: var(--navy);
  color: white;
}

.panel-card h2 {
  margin-bottom: 14px;
  color: white;
  font-size: 38px;
}

.panel-card p {
  color: #d9e4f7;
}

.card-label {
  display: inline-block;
  margin-bottom: 26px;
  padding: 7px 12px;
  color: #cfe1ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.metric-grid div {
  padding: 22px;
  border-radius: 24px;
  background: white;
}

.metric-grid strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 700;
}

.intro,
.services,
.structure,
.process,
.faq,
.cta {
  padding: clamp(70px, 9vw, 112px) clamp(22px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  background: white;
}

.feature-grid,
.service-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.service-card,
.timeline div,
.structure-list div,
.faq details {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
}

.feature-grid article {
  padding: 28px;
}

.icon,
.service-number,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: white;
  border-radius: 14px;
  background: var(--blue);
  font-weight: 850;
}

.services {
  background: var(--soft);
}

.services > h2 {
  max-width: 840px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.service-card {
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 18px 48px rgba(17, 36, 71, 0.08);
}

.service-card.accent {
  color: white;
  border-color: transparent;
  background:
    radial-gradient(circle at top right, rgba(78, 136, 255, 0.45), transparent 36%),
    linear-gradient(145deg, var(--navy), #172f61);
}

.service-card.accent h3,
.service-card.accent p,
.service-card.accent li,
.service-card.accent .text-link {
  color: white;
}

.service-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-top .service-number {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.service-card p,
.structure-copy p,
.timeline p,
.feature-grid p,
.faq p,
.cta p,
.site-footer p {
  color: var(--muted);
}

.service-card.accent p,
.service-card.accent li {
  color: #dfe9fb;
}

ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-left: 20px;
}

li::marker {
  color: var(--blue);
}

.text-link {
  color: var(--blue-dark);
  font-weight: 850;
}

.structure {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.structure-list {
  display: grid;
  gap: 16px;
}

.structure-list div {
  padding: 28px;
}

.process {
  background: var(--navy);
}

.process .eyebrow,
.process h2 {
  color: white;
}

.timeline {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.timeline div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.timeline h3 {
  color: white;
}

.timeline p {
  color: #c8d4e8;
}

.faq {
  max-width: 1060px;
  margin: 0 auto;
}

.faq details {
  margin-top: 14px;
  padding: 24px 28px;
}

.faq summary {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.faq p {
  margin: 16px 0 0;
}

.cta {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
  background: linear-gradient(135deg, #edf5ff, #ffffff);
}

.cta-copy {
  display: grid;
  gap: 18px;
}

.whatsapp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 42px rgba(17, 36, 71, 0.08);
}

.whatsapp-card .card-label {
  margin-bottom: 14px;
  color: var(--blue);
  border-color: var(--line);
}

.whatsapp-card p {
  margin-bottom: 0;
}

.whatsapp-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  font: inherit;
}

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

.contact-form button {
  justify-self: start;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  color: white;
  background: #071326;
}

.site-footer p {
  max-width: 470px;
  margin: 8px 0 0;
  color: #aebbd0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #dbe7ff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .intro,
  .structure,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .whatsapp-card {
    grid-template-columns: 1fr;
  }

  .whatsapp-card img {
    max-width: 260px;
  }
}

.admin-page {
  background: var(--soft);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  background: white;
  border-bottom: 1px solid var(--line);
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  padding: 28px clamp(22px, 5vw, 72px) 72px;
}

.admin-help,
.admin-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 34px rgba(17, 36, 71, 0.06);
}

.admin-help {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
}

.admin-help h2,
.admin-section h2 {
  font-size: 24px;
  letter-spacing: 0;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-section {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.admin-section textarea {
  min-height: 94px;
}

.file-drop {
  padding: 16px;
  border: 1px dashed #b9c6d8;
  border-radius: 8px;
  background: #fbfdff;
}

.admin-preview {
  display: block;
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3fa;
}

.repeat-grid {
  display: grid;
  gap: 14px;
}

.repeat-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.repeat-card h3 {
  margin-bottom: 2px;
  font-size: 18px;
}

@media (max-width: 900px) {
  .admin-header,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-help {
    position: static;
  }
}
