:root {
  --ink: #111827;
  --muted: #5d6b82;
  --line: #dce8f2;
  --brand: #06145a;
  --brand-2: #007ee8;
  --brand-3: #eaf7ff;
  --paper: #ffffff;
  --soft: #f6fbff;
  --shadow: 0 18px 60px rgba(6, 20, 90, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(136px, 210px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 174px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: #26334d;
  font-size: 0.96rem;
  font-weight: 650;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--brand-2);
  border-color: var(--brand-2);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.header-action,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 30px rgba(0, 126, 232, 0.22);
}

.button.secondary {
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
}

.button.light {
  color: var(--brand);
  background: #fff;
  background-image: none;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  min-height: calc(100vh - 84px);
  padding: clamp(48px, 8vw, 110px) clamp(18px, 6vw, 88px) 44px;
  background:
    linear-gradient(115deg, rgba(234, 247, 255, 0.95), rgba(255, 255, 255, 0.58) 46%, rgba(238, 249, 255, 0.94)),
    radial-gradient(circle at 82% 22%, rgba(0, 126, 232, 0.13), transparent 30%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--brand);
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede,
.page-hero p,
.contact-hero p {
  max-width: 760px;
  color: #2d3f5b;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(0, 126, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(100%, 420px);
  margin: 0 auto 26px;
}

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

.metric-grid div,
.card,
.profile-list article,
.identity-grid article,
.contact-card,
.social-grid a,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric-grid div {
  padding: 18px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  color: var(--brand);
  font-size: 1.02rem;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band span {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: var(--brand);
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-band span:last-child {
  border-right: 0;
}

.section,
.process,
.appointment-note {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h2 {
  color: var(--brand);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--brand);
  font-size: 1.18rem;
  line-height: 1.25;
}

.section p,
.profile-list p,
.card p,
.service-grid p,
.identity-grid p,
.tone p {
  color: var(--muted);
}

.profile-list {
  display: grid;
  gap: 14px;
}

.profile-list article {
  padding: 22px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
}

.profile-list span,
.service-number {
  color: var(--brand-2);
  font-weight: 900;
}

.profile-list h3,
.profile-list p {
  grid-column: 2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px;
  min-height: 230px;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 900;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(36px, 6vw, 68px) clamp(18px, 6vw, 88px);
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #003b90 58%, var(--brand-2));
}

.cta-strip h2,
.cta-strip .eyebrow {
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(18px, 6vw, 88px);
  color: #2d3f5b;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.site-footer img {
  width: 156px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 12px 20px;
  font-weight: 750;
}

.page-hero,
.contact-hero {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 6vw, 88px);
  background: linear-gradient(120deg, var(--brand-3), #fff 58%);
}

.page-hero.compact {
  min-height: 360px;
}

.page-hero h1,
.contact-hero h1 {
  max-width: 880px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  padding: 26px;
  min-height: 290px;
}

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

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  padding: 22px;
  border-left: 3px solid var(--brand-2);
  background: #fff;
}

.process strong,
.process span {
  display: block;
}

.process span {
  margin-top: 8px;
  color: var(--muted);
}

.identity-hero {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.identity-hero img {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.identity-grid article {
  padding: clamp(24px, 4vw, 38px);
}

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

.values span {
  padding: 12px 16px;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.tone {
  max-width: 980px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.contact-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card img {
  width: 220px;
  margin-bottom: 18px;
}

.phone {
  display: inline-block;
  color: var(--brand-2);
  font-size: 1.35rem;
  font-weight: 900;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-grid a {
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.social-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--brand-2);
}

.social-grid strong,
.social-grid span {
  display: block;
}

.social-grid strong {
  color: var(--brand);
  font-size: 1.1rem;
}

.social-grid span {
  color: var(--muted);
}

.appointment-note {
  background: var(--soft);
}

.appointment-note h2 {
  max-width: 980px;
}

.contact-form-section {
  background: #fff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
}

.contact-form label:nth-child(4),
.contact-form button {
  grid-column: 1 / -1;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 126, 232, 0.16);
  border-color: var(--brand-2);
  background: #fff;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status.success {
  color: #157347;
}

.form-status.error {
  color: #b42318;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.32);
  font-weight: 950;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand img {
    margin: 0 auto;
    object-position: center;
  }

  .nav {
    order: 2;
  }

  .header-action {
    justify-self: center;
  }

  .hero,
  .split,
  .identity-hero,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-band,
  .cards.three,
  .service-grid,
  .process ol,
  .identity-grid,
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.9rem;
  }

  .header-action,
  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  h1 {
    font-size: 3.15rem;
  }

  .metric-grid,
  .trust-band,
  .cards.three,
  .service-grid,
  .process ol,
  .identity-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .profile-list article {
    grid-template-columns: 1fr;
  }

  .profile-list h3,
  .profile-list p {
    grid-column: 1;
  }
}
