:root {
  --text: #16202a;
  --muted: #526272;
  --light: #f7fafc;
  --panel: #ffffff;
  --accent: #153f6b;
  --accent-dark: #0d2845;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
  background: #16202a;
}

.hero__image {
  position: absolute;
  inset: -18% 0 -18% 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  display: block;
}


.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 19, 34, 0.2),
      rgba(5, 19, 34, 0.25) 30%,
      rgba(5, 19, 34, 0.08)
    ),
    linear-gradient(
      0deg,
      rgba(5, 19, 34, 0.2),
      rgba(5, 19, 34, 0) 10%
    );
}

.hero__content {
  position: absolute;
  top: 50%;
  right: 3%;
  z-index: 10;
  width: 500px;
  max-width: 40%;
  color: white;
  text-align: left;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: +0.01em;
}

.subhead {
  max-width: 620px;
  margin: 1.25rem 0 2rem;
  font-size: 3rem; /* fixed large size */
  line-height: 1.45;
}


.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
}

.hero__phone{
padding-top:10%;
}

.page-content {
  padding: clamp(2rem, 6vw, 5rem);
}

.intro {
  max-width: 850px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
  text-align: center;
}

.intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.15;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.7;
}

.cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cards article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem;
  background: var(--panel);
  border-radius: 1.1rem;
  box-shadow: 0 15px 45px rgba(18, 36, 54, 0.08);
}

.cards h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.1rem, 1.2vw, 1.25rem);
  line-height: 1.25;
}

.cards p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.6;
}

.cards article img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 0.85rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.Logo {
  margin-top: 50px;
  text-align: center;
}

.Logo img {
  display: block;
  width: clamp(110px, 10vw, 180px);
  height: auto;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__image {
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 60vh;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero__overlay {
    inset: 0;
  }

  .hero__content {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 6%;
    left: 50%;
    width: min(90%, 560px);
    max-width: 90%;
    text-align: center;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero__image {
    min-height: 70vh;
    object-position: center top;
  }

  .hero__content {
    bottom: 5%;
    width: 92%;
  }

  .hero__content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.05;
  }

  .hero__content p {
    font-size: 1rem;
  }

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

  .cards h3 {
    font-size: 1.15rem;
  }

  .cards p {
    font-size: 1rem;
  }

  .cards article img {
    width: 100%;
    max-width: 100%;
  }
}


  .hero__image {
    min-height: 70vh;
    object-position: center top;
  }

  .hero__content {
    bottom: 5%;
    width: 92%;
  }

  .hero__content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.05;
  }

  .hero__content p {
    font-size: 1.3rem;
  }
}
