:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #10141c;
  --muted: #5e6470;
  --line: #ded8cf;
  --accent: #e45745;
  --accent-dark: #bb3729;
  --dark: #07111f;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(16, 20, 28, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(228, 87, 69, .10), transparent 34rem),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  line-height: 1.55;
}

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

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

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

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 34px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.02em;
	
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.primary {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.secondary {
  color: var(--ink);
  background: rgba(255,255,255,.55);
}

.hero-avatar {
  justify-self: center;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.trust-row {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-row div {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(255,255,255,.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

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

.card {
  overflow: hidden;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 20, 28, .06);
}

.card-media {
  min-height: 220px;
  padding: 24px;
  display: flex;
  align-items: end;
  color: white;
  font-weight: 950;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.card-media.dark {
  background:
    radial-gradient(circle at 80% 20%, rgba(80, 157, 255, .65), transparent 9rem),
    linear-gradient(135deg, #05182d, #0f3762);
}

.card-media.landscape {
  background:
    linear-gradient(rgba(7, 17, 31, .12), rgba(7, 17, 31, .42)),
    linear-gradient(135deg, #c8d7d2, #6f8d72);
}

.card-media.warm {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .45), transparent 10rem),
    linear-gradient(135deg, #1c2030, #e45745);
}

.card-media.image-card {
  padding: 0;
  min-height: 220px;
  background: #e9e3d9;
}

.card-media.image-card img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.tag {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.card-body p:not(.tag) {
  color: var(--muted);
}

.card-body a {
  font-weight: 950;
}

.services {
  padding: 58px;
  border-radius: 34px;
  background: var(--ink);
  color: white;
}

.services .eyebrow {
  color: #ff8b7c;
}

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

.service {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.service p {
  color: rgba(255,255,255,.72);
}

.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.about > p {
  color: var(--muted);
  font-size: 21px;
}

.contact {
  padding: 64px;
  text-align: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(228, 87, 69, .22), transparent 22rem),
    var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact p {
  color: var(--muted);
  font-size: 20px;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 50px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .hero {
    margin-top: 30px;
  }

  .hero-avatar {
    width: min(360px, 100%);
    order: -1;
  }

  .trust-row,
  .cards,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .services,
  .contact {
    padding: 32px 24px;
  }
}


/* Desktop-only back-to-top overlay */
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;

  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .82);
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 40px rgba(16, 20, 28, .14);
  backdrop-filter: blur(10px);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(16, 20, 28, .18);
}

@media (max-width: 860px) {
  .scroll-top {
    display: none;
  }
}
