:root {
  --navy: #102b3f;
  --navy2: #183e56;
  --gold: #d9a85b;
  --cream: #fbf8f2;
  --text: #23313a;
  --muted: #66747d;
  --white: #fff;
  --line: #e6e2da;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.15;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 28px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--navy);
  border-color: var(--gold);
}

.nav-call {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 10px 17px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--navy);
}


/* HERO */

.hero {
  background:
    linear-gradient(
      135deg,
      #f9f6ef 0%,
      #fff 55%,
      #eef4f5 100%
    );

  padding: 90px 0 75px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: #9a6b2d;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 11px;
  margin-bottom: 14px;
}

.eyebrow.light {
  color: #e6bd7c;
}

.hero h1,
.page-hero h1 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(43px, 5.4vw, 70px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero h1 span {
  color: #b37a32;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 30px 0;
}


/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy2);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: #ccd4d7;
}


/* TRUST */

.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 30px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
}

.trust-row strong {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--navy);
}

.trust-row span {
  font-size: 11px;
  color: var(--muted);
}


/* HERO CARD */

.hero-card {
  min-height: 430px;
  display: grid;
  place-items: center;
  position: relative;
}

.card-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: #e6d2b2;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .45;
}

.document-card {
  position: relative;
  width: min(390px, 100%);
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(16,43,63,.15);
  border: 1px solid #eee;
}

.mini-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a3753c;
  font-weight: 800;
}

.document-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.15;
  margin: 14px 0;
}

.document-card p {
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-weight: 600;
  font-size: 13px;
  color: #35454e;
}


/* SECTIONS */

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-heading h2,
.split h2,
.about-grid h2,
.contact-info h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-heading p,
.split p,
.about-grid p {
  color: var(--muted);
}


/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(16,43,63,.08);
  border-color: #d8c19c;
}

.service-icon,
.big-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f5eee2;
  color: #a06d2d;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 18px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 19px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.service-card a {
  color: #9a6b2d;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
}


/* DARK SECTION */

.dark-section {
  background: var(--navy);
  color: #fff;
}

.dark-section h2 {
  color: #fff;
}

.dark-section p {
  color: #b9c7ce;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 17px;
}

.feature-list div {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.feature-list b {
  color: var(--gold);
}

.feature-list span {
  font-size: 14px;
  color: #c8d2d7;
}

.feature-list strong {
  color: #fff;
}


/* CTA */

.cta {
  padding: 35px 0;
}

.cta-box {
  background: var(--cream);
  border: 1px solid #eee1cb;
  border-radius: 17px;
  padding: 35px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 30px;
}


/* PAGE HERO */

.page-hero {
  background:
    linear-gradient(
      135deg,
      #f9f6ef,
      #eef4f5
    );

  padding: 75px 0;
}

.page-hero h1 {
  max-width: 850px;
  font-size: 55px;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}


/* SERVICE DETAILS */

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.detail-card h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.detail-card p {
  color: var(--muted);
  font-size: 14px;
}

.detail-card ul {
  margin: 17px 0 0;
  padding-left: 18px;
  color: #4f5d65;
  font-size: 13px;
}

.detail-card li {
  margin: 5px 0;
}

.big-icon {
  width: 60px;
  height: 60px;
}


/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-grid p {
  margin-bottom: 17px;
}

.about-panel {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}

.about-panel div {
  padding: 25px;
  border-bottom: 1px solid var(--line);
}

.about-panel div:last-child {
  border-bottom: 0;
}

.about-panel strong {
  color: #a06d2d;
  font-size: 13px;
}

.about-panel h3 {
  color: var(--navy);
  margin: 3px 0;
}

.about-panel p {
  font-size: 14px;
  margin: 0;
}

.soft-section {
  background: #faf9f6;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill-grid span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}


/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
}

.contact-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f5eee2;
  color: #a06d2d;
  font-weight: 800;
}

.contact-item small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8b969c;
  font-weight: 800;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}


/* FORM */

.contact-form {
  padding: 32px;
  background: #faf9f6;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  gap: 9px;
}

.contact-form h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 29px;
  margin-bottom: 5px;
}

.contact-form label {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d9dfe1;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #b8894e;
  box-shadow: 0 0 0 3px rgba(184,137,78,.1);
}

.contact-form button {
  margin-top: 10px;
}

.form-note {
  font-size: 11px;
  color: #7b858a;
}


/* FOOTER */

.footer {
  background: #0c2434;
  color: #aebdc5;
  padding-top: 55px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr 1.1fr;
  gap: 55px;
  padding-bottom: 45px;
}

.footer .brand {
  color: #fff;
}

.footer .brand small {
  color: #9fb0b9;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer p,
.footer a,
.footer span {
  font-size: 13px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 13px;
}

.footer-grid > div:nth-child(2),
.footer-grid > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer a {
  color: #b8c5cb;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px;
  font-size: 11px;
  color: #879ba6;
}


/* TABLET */

@media (max-width: 850px) {

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px 4%;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-call {
    display: none;
  }

  .hero-grid,
  .split,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-card {
    min-height: 350px;
  }

  .service-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero h1 {
    font-size: 43px;
  }

}


/* MOBILE */

@media (max-width: 560px) {

  .service-grid,
  .service-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 43px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading h2,
  .split h2,
  .about-grid h2,
  .contact-info h2 {
    font-size: 34px;
  }

  .cta-box {
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-row {
    gap: 15px;
    flex-wrap: wrap;
  }

  .document-card {
    padding: 28px;
  }

  .brand strong {
    font-size: 16px;
  }

}