@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --navy: #073372;
  --navy-dark: #062d65;
  --navy-deep: #042a61;
  --light: #f1f3f6;
  --white: #ffffff;
  --text: #4c5a6c;
  --muted: #718096;
  --border: #dfe4ea;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--light);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

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

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

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

/* ================= HERO ================= */

.hero {
  min-height: 475px;
  position: relative;
  overflow: hidden;
  color: white;
  background: #073372;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  background-image: url("assets/hero-right.jpg");
  background-size: cover;
  background-position: right top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #073372 0%,
      #073372 38%,
      rgba(7, 51, 114, .98) 48%,
      rgba(7, 51, 114, .60) 63%,
      rgba(7, 51, 114, .04) 80%,
      rgba(7, 51, 114, 0) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 25px;
  padding-bottom: 34px;
}

.top-logo {
  width: 68px;
  height: auto;
  margin-bottom: 11px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.hero h1 {
  max-width: 580px;
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(39px, 4.2vw, 55px);
  font-weight: 500;
  line-height: 1.05;
}

.hero h2 {
  margin: 0 0 13px;
  color: white;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-text {
  width: 450px;
  max-width: 100%;
  margin: 0 0 23px;
  color: #e4ecf7;
  font-size: 13px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  transition: .2s ease;
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0,0,0,.18);
}

.btn-outline {
  gap: 6px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.03);
}

.phone-icon {
  font-size: 14px;
}

.spanish-link {
  display: inline-block;
  position: relative;
  padding-left: 31px;
  color: white;
  font-size: 9px;
}

.spanish-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 21px;
  height: 1px;
  background: rgba(255,255,255,.38);
}

/* ================= ABOUT ================= */

.section {
  padding: 59px 0 75px;
}

.about {
  background: #f1f3f6;
}

.about-grid {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 62px;
  align-items: start;
}

.about-image-wrap {
  padding-top: 0;
}

.about-image {
  width: 100%;
  max-width: 285px;
  margin: 0 auto;
  aspect-ratio: 285 / 370;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 18px 32px rgba(19, 36, 60, .12);
}

.eyebrow.dark {
  color: #637187;
  margin-bottom: 5px;
}

.about-content h2,
.contact-info h2 {
  margin: 0 0 17px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.15;
  font-weight: 600;
}

.about-content p {
  max-width: 570px;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.52;
}

.credentials {
  margin-top: 21px;
  overflow: hidden;
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(23, 44, 70, .08);
}

.credential {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
  border-bottom: 1px solid #e7ebef;
}

.credential:last-child {
  border-bottom: 0;
}

.credential-icon,
.detail-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--navy);
  font-size: 14px;
}

.credential strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
  line-height: 1.2;
}

.credential span {
  display: block;
  color: #6d7888;
  font-size: 9px;
}

/* ================= CONTACT ================= */

.contact-section {
  padding: 0 0 70px;
  background: #f1f3f6;
}

.contact-card {
  min-height: 480px;
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 20px;
  padding: 49px 49px;
  border-radius: 27px;
  color: white;
  background: var(--navy);
  box-shadow: 0 13px 25px rgba(12, 35, 70, .15);
}

.contact-info {
  padding: 5px 20px 0 0;
}

.contact-info h2 {
  margin-bottom: 16px;
  color: white;
  font-size: 27px;
}

.contact-intro {
  max-width: 310px;
  margin: 0 0 28px;
  color: #d9e5f5;
  font-size: 12px;
  line-height: 1.5;
}

.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-detail .detail-icon {
  margin-top: 2px;
  color: white;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}

.contact-detail small {
  display: block;
  margin-bottom: 1px;
  color: #b7cae2;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.contact-detail strong {
  display: block;
  color: white;
  font-size: 18px;
  line-height: 1.2;
}

.contact-detail p {
  max-width: 310px;
  margin: 0;
  color: #dce6f4;
  font-size: 10px;
  line-height: 1.5;
}

.contact-form {
  align-self: start;
  padding: 25px 28px;
  color: #5c6878;
  background: #f7f8fa;
  border-radius: 20px;
}

.contact-form label {
  display: block;
  margin: 0 0 6px;
  color: #637083;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #dce1e7;
  outline: 0;
  border-radius: 18px;
  background: #eef0f3;
  font-family: var(--sans);
  font-size: 12px;
  color: #25364d;
  transition: .2s;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
  height: 38px;
  padding: 0 15px;
  margin-bottom: 12px;
}

.contact-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 15px;
  border-radius: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9eb4d2;
  box-shadow: 0 0 0 3px rgba(7,51,114,.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 !important;
  font-size: 7px !important;
  line-height: 1.45;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  color: #657181 !important;
}

.consent input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.consent a {
  color: var(--navy);
  text-decoration: underline;
}

.contact-form button {
  width: 100%;
  height: 35px;
  border: 0;
  border-radius: 20px;
  color: white;
  background: var(--navy);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  transition: .2s ease;
}

.contact-form button:hover {
  background: #05275b;
  transform: translateY(-1px);
}

.form-note {
  margin: 11px 0 0;
  color: #758091;
  font-size: 7px;
  line-height: 1.4;
}

/* ================= FOOTER ================= */

.footer {
  padding: 53px 0 38px;
  border-top: 1px solid #dfe3e8;
  color: #677283;
  text-align: center;
  background: #f1f3f6;
}

.footer-inner {
  max-width: 640px;
}

.footer-logo {
  width: 55px;
  height: auto;
  margin: 0 auto 21px;
}

.disclaimer {
  max-width: 580px;
  margin: 0 auto 18px;
  font-size: 8px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 17px;
  font-size: 8px;
}

.footer-links a {
  text-decoration: underline;
}

.footer-firm {
  margin: 0 0 1px;
  color: var(--navy);
  font-size: 9px;
  font-weight: 600;
}

.footer p {
  margin-top: 0;
  margin-bottom: 2px;
  font-size: 8px;
}

.footer-phone {
  color: var(--navy);
  font-size: 8px;
  font-weight: 700;
}

.copyright {
  margin-top: 26px !important;
  font-size: 7px !important;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 700px);
  }

  .hero {
    min-height: 620px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    opacity: .72;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(7,51,114,.98) 0%,
        rgba(7,51,114,.90) 45%,
        rgba(7,51,114,.55) 100%
      );
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image {
    max-width: 330px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .contact-info {
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 28px, 520px);
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 22px;
  }

  .top-logo {
    width: 60px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 15px;
  }

  .hero-text {
    width: 100%;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    min-width: 190px;
  }

  .section {
    padding: 42px 0 50px;
  }

  .about-grid {
    gap: 28px;
  }

  .about-image {
    max-width: 285px;
  }

  .about-content p {
    font-size: 12px;
  }

  .contact-section {
    padding-bottom: 40px;
  }

  .contact-card {
    width: calc(100% - 20px);
    padding: 30px 20px;
    border-radius: 22px;
  }

  .contact-info h2 {
    font-size: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer {
    padding-top: 40px;
  }
}
