:root {
  --primary: #0b3b5f;
  --primary-dark: #06283f;
  --accent: #17a27b;
  --accent-soft: #e8f8f3;
  --gold: #d9a441;
  --text: #182230;
  --muted: #637083;
  --line: #e7edf3;
  --white: #ffffff;
  --soft: #f6fafc;
  --shadow: 0 24px 70px rgba(8, 38, 63, .12);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
}

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-padding {
  padding: 90px 0;
}

.section-padding.compact {
  padding: 70px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 237, 243, .9);
}

.navbar {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 32px rgba(11, 59, 95, .22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: .98rem;
}

.brand-text small {
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-whatsapp {
  color: var(--white) !important;
  background: var(--accent);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(23, 162, 123, .25);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  margin: 5px 0;
  transition: .25s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(23, 162, 123, .14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(217, 164, 65, .18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfd 100%);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(.2px);
  pointer-events: none;
}

.shape-one {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 40px;
  background: rgba(11, 59, 95, .08);
}

.shape-two {
  width: 190px;
  height: 190px;
  right: 7%;
  top: 120px;
  background: rgba(23, 162, 123, .12);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(23, 162, 123, .18);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-tag.light {
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  border-color: rgba(255, 255, 255, .22);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  color: var(--primary-dark);
}

.hero-text {
  margin-top: 24px;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(11, 59, 95, .2);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(8, 38, 63, .08);
}

.hero-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.document-card {
  width: min(420px, 100%);
  min-height: 440px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-2deg);
}

.doc-head {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--primary), #0f4f7c);
}

.doc-head span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
}

.doc-body {
  padding: 34px 30px;
}

.doc-body p {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .08em;
}

.doc-body h2 {
  margin-top: 12px;
  font-size: 2rem;
  line-height: 1.12;
  color: var(--primary-dark);
}

.line {
  height: 13px;
  border-radius: 999px;
  background: #e8eef4;
  margin-top: 18px;
}

.line.wide { width: 100%; }
.line.medium { width: 78%; }
.line.small { width: 52%; }

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

.mini-grid span {
  padding: 18px 12px;
  text-align: center;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 800;
  border: 1px solid var(--line);
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(8, 38, 63, .12);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  color: var(--primary);
}

.badge-top {
  right: 18px;
  top: 70px;
}

.badge-bottom {
  left: 8px;
  bottom: 86px;
}

.intro-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 38px;
  align-items: center;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f3fbf8 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(8, 38, 63, .08);
}

.intro-panel h2,
.section-heading h2,
.visual-copy h2,
.location-card h2,
.contact-text h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--primary-dark);
}

.intro-panel p,
.section-heading p,
.visual-copy p,
.location-card address,
.map-style-card p,
.contact-text p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .section-tag {
  margin: 0 auto;
}

.section-heading p {
  margin-top: 16px;
}

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

.service-card {
  position: relative;
  min-height: 255px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(8, 38, 63, .07);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: rgba(23, 162, 123, .09);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(23, 162, 123, .32);
  box-shadow: 0 28px 58px rgba(8, 38, 63, .12);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.service-card h3 {
  margin-top: 22px;
  color: var(--primary-dark);
  line-height: 1.22;
  font-size: 1.22rem;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
}

.service-card-wide {
  grid-column: span 3;
  min-height: 190px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.service-card-wide h3,
.service-card-wide p {
  color: var(--white);
}

.service-card-wide p {
  opacity: .82;
}

.service-card-wide .service-icon {
  background: rgba(255, 255, 255, .13);
  color: var(--white);
}

.visual-section {
  background: var(--soft);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 34px;
  align-items: center;
}

.visual-copy p {
  margin-top: 18px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(8, 38, 63, .08);
}

.stat-item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f9fcfd 0%, #ffffff 100%);
  border: 1px solid var(--line);
}

.stat-item strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.stat-item span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.location-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
}

.location-card,
.map-style-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(8, 38, 63, .08);
}

.location-card {
  padding: 38px;
}

.location-card address {
  margin-top: 22px;
  font-style: normal;
  line-height: 1.9;
}

.map-style-card {
  position: relative;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 59, 95, .09) 1px, transparent 1px),
    linear-gradient(rgba(11, 59, 95, .09) 1px, transparent 1px),
    linear-gradient(135deg, #f9fcfd, #ecf7f4);
  background-size: 48px 48px, 48px 48px, cover;
}

.map-style-card::before {
  content: '';
  position: absolute;
  inset: 42px;
  border: 2px dashed rgba(11, 59, 95, .18);
  border-radius: 34px;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 58px;
  height: 58px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 18px 38px rgba(23, 162, 123, .3);
}

.map-pin::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  left: 18px;
  top: 18px;
}

.map-style-card h3,
.map-style-card p {
  position: relative;
}

.map-style-card h3 {
  font-size: 1.7rem;
  color: var(--primary-dark);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--accent));
  color: var(--white);
  box-shadow: 0 22px 60px rgba(8, 38, 63, .18);
}

.contact-text h2,
.contact-text p {
  color: var(--white);
}

.contact-text p {
  margin-top: 14px;
  opacity: .85;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.phone-link {
  font-size: 1.55rem;
  font-weight: 900;
}

.footer {
  padding: 36px 0;
  background: #071e30;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  align-items: center;
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, .74);
}

.footer strong {
  display: block;
  margin-bottom: 4px;
}

.footer span {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  margin-bottom: 4px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(23, 162, 123, .32);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 930px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 92px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px;
    border-radius: 16px;
  }

  .nav-whatsapp {
    text-align: center;
  }

  .hero-grid,
  .intro-panel,
  .visual-grid,
  .location-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 450px;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }

  .stats-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .section-padding {
    padding: 64px 0;
  }

  .section-padding.compact {
    padding: 52px 0;
  }

  .brand-text strong {
    max-width: 178px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-card {
    min-height: 410px;
  }

  .floating-badge {
    font-size: .82rem;
  }

  .badge-top {
    right: 0;
  }

  .badge-bottom {
    left: 0;
    bottom: 40px;
  }

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

  .service-card-wide {
    grid-column: span 1;
  }

  .intro-panel,
  .location-card,
  .contact-panel {
    padding: 28px;
  }

  .document-card {
    min-height: 380px;
  }

  .doc-body h2 {
    font-size: 1.7rem;
  }

  .phone-link {
    font-size: 1.25rem;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
  }
}
