:root {
  --navy: #142a39;
  --navy-dark: #0e1f2b;
  --brand: #1ca8e0;
  --brand-dark: #1488b8;
  --cream: #f5f3ef;
  --white: #ffffff;
  --text: #3a4750;
  --text-light: #000000;
}

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

html {
  background: var(--white);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

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

.container {
  width: 88%;
  max-width: 1150px;
  margin: auto;
}

header {
  background: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px #0000000c;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

nav .nav-links a {
  color: var(--navy);
  text-decoration: none;
  margin-left: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

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

.hero {
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--brand-dark) 140%);
  color: white;
  padding: 110px 0;
}


.eyebrow {
  color: #8fd6f0;
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
}

h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.18;
  margin-bottom: 28px;
  font-weight: 700;
}

.hero p {
  font-size: 19px;
  max-width: 650px;
  color: #dce9ee;
  margin-bottom: 35px;
}

.button {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 2px;
  transition: .2s;
}

.button:hover {
  background: var(--brand-dark);
}

section {
  padding: 90px 0;
}

.section-label {
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
}

h2 {
  color: var(--navy);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.25;
}

.intro {
  max-width: 760px;
  font-size: 18px;
}

.expertise {
  background: var(--cream);
}

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

.card {
  background: white;
  border-top: 3px solid var(--brand);
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 210px;
  padding: 10px 0;
  overflow: hidden;
  background: #eaf6fc;
  border-bottom: 1px solid #dcecf2;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-body {
  padding: 30px 35px 35px;
}

.card h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 15px;
}

.card p {
  font-size: 15px;
  color: var(--text-light);
}

.card-body a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.card-body a:hover {
  color: var(--brand);
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  align-items: center;
}

.photo-frame {
  background: var(--cream);
  padding: 14px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.about-text p {
  margin-bottom: 18px;
}

.quote {
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white;
  text-align: center;
  padding: 75px 20px;
}

.quote h2 {
  color: white;
  max-width: 750px;
  margin: 0 auto 20px;
}

.quote p {
  color: #8fd6f0;
  letter-spacing: 1px;
  font-weight: 700;
}

.contact {
  text-align: center;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.contact .contact-info {
  margin: 40px auto 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.contact-info::-webkit-scrollbar {
  display: none;
}

.contact-info a {
  color: var(--brand-dark);
  text-decoration: underline;
}

.contact-info a:hover {
  color: var(--brand);
}

footer {
  background: var(--navy-dark);
  color: #a9bac2;
  padding: 35px 0;
  text-align: center;
  font-size: 13px;
}

footer strong {
  display: block;
  color: var(--brand);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

@media(max-width: 700px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }

  nav .nav-links a {
    margin: 0 8px;
    font-size: 12px;
  }

  .hero {
    padding: 75px 0;
  }

  section {
    padding: 65px 0;
  }

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

  .about {
    gap: 30px;
  }

  .photo-frame img {
    min-height: 320px;
  }

  .contact .contact-info {
    font-size: 11px;
  }
}
