* {
  box-sizing: border-box;
}

:root {
  --navy: #0c2e53;
  --navy-2: #153f68;
  --blue: #285f8f;
  --text: #26313c;
  --muted: #66717c;
  --light: #f3f5f7;
  --white: #ffffff;
  --line: #dce2e7;
  --shadow: 0 18px 50px rgba(12, 46, 83, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12,46,83,.08);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 145px;
  display: block;
}


.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-info strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.brand-info span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  color: var(--navy);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.hero {
  padding: 88px 0 74px;
  background:
    linear-gradient(120deg, rgba(12,46,83,.05), rgba(255,255,255,.75)),
    radial-gradient(circle at 82% 20%, rgba(40,95,143,.12), transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c8d7e5;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.2;
}

h1 {
  max-width: 760px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  margin-bottom: 24px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  margin-bottom: 22px;
}

h3 {
  font-size: 1.12rem;
}

.hero-content > p {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 6px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .25s ease;
}

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

.btn-outline {
  color: var(--navy);
  background: transparent;
}

.btn-small {
  padding: 10px 16px;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-points div {
  border-left: 3px solid var(--blue);
  padding-left: 14px;
}

.hero-points strong,
.hero-points span {
  display: block;
}

.hero-points strong {
  color: var(--navy);
}

.hero-points span {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--muted);
}

.hero-card {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  padding: 32px;
  background:
    linear-gradient(rgba(12,46,83,.78), rgba(12,46,83,.9)),
    url("logo-mevert-condominios.jpeg") center/cover no-repeat;
  box-shadow: var(--shadow);
  display: flex;
  align-items: end;
}

.hero-card-inner {
  color: var(--white);
}

.hero-card h2 {
  color: var(--white);
  font-size: 2rem;
}

.card-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}

.section {
  padding: 94px 0;
}

.section-light {
  background: var(--light);
}

.two-columns,
.contact-grid,
.experience-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.text-block p,
.section-heading p,
.contact-grid p {
  color: var(--muted);
}

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

.service-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card > span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 700;
}

.service-card p,
.feature p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 60px;
  align-items: end;
}

.feature-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2 {
  color: var(--white);
}

.section-dark p {
  color: #d9e2eb;
}

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

.stats div {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}

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

.stats strong {
  font-size: 2rem;
}

.stats span {
  color: #c8d7e5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 38px;
}

.process-step {
  padding: 28px 22px;
  border-top: 4px solid var(--navy);
  background: var(--light);
}

.process-step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}

.cta-section {
  background: var(--navy-2);
  padding: 64px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-box h2 {
  color: var(--white);
  max-width: 760px;
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.contact-form small {
  color: var(--muted);
}

.contact-note {
  margin-top: 26px;
  padding: 18px;
  background: #fff6d8;
  border-left: 4px solid #c89d2f;
  color: #5f522e;
  font-size: .9rem;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap img {
  width: 125px;
}

.footer-wrap p {
  color: var(--muted);
  font-size: .84rem;
}

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

  .menu {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .menu.open {
    display: flex;
  }

  .hero-grid,
  .two-columns,
  .contact-grid,
  .experience-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .hero-points {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .cards-grid,
  .process-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 760px) {
  .brand-info {
    display: none;
  }

  .brand img {
    width: 145px;
  }
}
