* {
  box-sizing: border-box;
}

:root {
  --teal: #005f63;
  --teal-dark: #003f42;
  --gold: #c99a4b;
  --gold-light: #e2bf77;
  --cream: #f7f0e7;
  --paper: #fffaf3;
  --ink: #171414;
  --muted: #70675f;
  --line: rgba(36, 28, 21, 0.14);
  --shadow: 0 24px 70px rgba(41, 28, 17, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 76px);
  background: rgba(247, 240, 231, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 78% 18%, rgba(226, 191, 119, 0.22), transparent 28%),
    linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white;
}

.hero-bg-mark {
  position: absolute;
  right: -70px;
  bottom: -240px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: min(72vw, 780px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(43px, 6.8vw, 88px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.22;
}

.lead {
  max-width: 740px;
  margin-bottom: 14px;
  font-size: clamp(18px, 2vw, 23px);
  color: rgba(255, 255, 255, 0.88);
}

.lead.small {
  font-size: clamp(16px, 1.45vw, 18px);
  color: rgba(255, 255, 255, 0.76);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--gold);
  color: #20170f;
}

.button.primary:hover {
  transform: translateY(-1px);
  background: var(--gold-light);
}

.button.secondary {
  color: white;
  background: transparent;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: relative;
  z-index: 2;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.24);
}

.hero-card img {
  width: 100%;
  height: min(66vh, 640px);
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(0, 63, 66, 0.78);
  backdrop-filter: blur(12px);
}

.hero-card-caption strong {
  font-size: 20px;
}

.hero-card-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 76px);
}

.intro-section,
.benefits {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.section-title {
  max-width: 700px;
}

.section-title .eyebrow,
.center-heading .eyebrow {
  color: var(--teal);
}

.section-copy,
.benefit-intro {
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
}

.center-heading {
  max-width: 840px;
  margin: 0 auto 38px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.step,
.benefit-list article,
.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card {
  min-height: 245px;
  padding: 28px;
}

.card p,
.step p,
.benefit-list p,
.contact-panel p,
.form-note {
  color: var(--muted);
}

.card-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 800;
}

.process {
  background:
    linear-gradient(rgba(0, 63, 66, 0.92), rgba(0, 63, 66, 0.92)),
    url("assets/fimmo-logo-teal.jpg") center/cover;
  color: white;
}

.center-heading.light .eyebrow {
  color: var(--gold-light);
}

.center-heading.light h2 {
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 28px;
  background: rgba(255, 250, 243, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.step span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 800;
}

.step p {
  color: rgba(255, 255, 255, 0.75);
}

.benefits {
  background: #fff7ed;
}

.benefit-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-list article {
  padding: 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 58px);
  background: var(--cream);
}

.contact-panel {
  padding: 32px;
}

.contact-logo {
  width: 240px;
  margin-bottom: 34px;
}

.contact-data {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-data p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-data span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-data a,
.contact-data strong {
  color: var(--teal);
  font-size: 19px;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.form-note a {
  color: var(--teal);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  background: var(--teal-dark);
  color: white;
}

.footer p {
  margin-bottom: 0;
}

.footer a {
  color: white;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .hero,
  .intro-section,
  .benefits,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .hero-card {
    max-width: 560px;
  }

  .hero-card img {
    height: 620px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 150px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .cards,
  .steps,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    min-height: 420px;
    height: 520px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 40px;
  }

  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-card img {
    height: 460px;
  }
}
