:root {
  --bg: #f5f6fb;
  --ink: #11122a;
  --muted: #6f7190;
  --hero: #17145d;
  --primary: #2335ff;
  --primary-soft: #7a7ad9;
  --surface: #ffffff;
  --line: #e7e8f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #fcfcff 0%, var(--bg) 45%, #f0f1f8 100%);
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5.25rem 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #2335ff, #1b2ccf);
  box-shadow: 0 10px 24px rgba(35, 53, 255, 0.28);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero {
  background: linear-gradient(165deg, #181563 0%, #0f0b4a 85%);
  border-bottom-left-radius: 4.5rem;
  border-bottom-right-radius: 4.5rem;
  color: #fff;
  padding-bottom: 3.8rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.75rem;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo-mark {
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.logo-sub {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  opacity: 0.86;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.menu a:hover {
  color: #fff;
  border-color: #fff;
}

.hero-content {
  margin-top: 4.7rem;
  text-align: center;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-inline: auto;
  max-width: 18ch;
}

.hero-content p {
  color: rgba(241, 242, 255, 0.9);
  margin-top: 1.2rem;
  margin-inline: auto;
  max-width: 62ch;
}

.hero-content .btn {
  margin-top: 2rem;
}

.services h2 {
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  max-width: 17ch;
  margin-bottom: 2.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.4rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(15, 11, 74, 0.1);
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.94rem;
}

.service-card a {
  align-self: start;
  margin-top: 1rem;
  border: 1px solid #ccd2ff;
  border-radius: 999px;
  color: var(--primary);
  padding: 0.22rem 0.7rem;
}

.appointment {
  background: linear-gradient(90deg, #7677d5 0%, #6f71c9 100%);
  color: #fff;
}

.appointment-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 290px;
}

.appointment h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 9ch;
}

.appointment p {
  color: rgba(244, 245, 255, 0.95);
  max-width: 48ch;
  margin: 1rem 0 1.8rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.9rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.filter {
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: #f0f1fb;
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.work-shot,
.gallery-note {
  border-radius: 0.3rem;
  min-height: 230px;
}

.work-shot {
  position: relative;
  overflow: hidden;
}

.work-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 10, 39, 0.35) 100%);
}

.shot-1 {
  background: linear-gradient(140deg, #c38f63 0%, #734f3f 52%, #4a3343 100%);
}

.shot-2 {
  background: linear-gradient(140deg, #7ab7df 0%, #6895ce 48%, #5670a6 100%);
}

.shot-3 {
  background: linear-gradient(140deg, #5aa6d3 0%, #3b7aa8 48%, #2f4f8a 100%);
}

.shot-4 {
  background: linear-gradient(140deg, #86acc8 0%, #648db0 50%, #49608f 100%);
}

.shot-5 {
  background: linear-gradient(140deg, #9ea8ba 0%, #7e8cab 52%, #5a6b8f 100%);
}

.gallery-note {
  background: #eef0fa;
  display: grid;
  place-items: end start;
  padding: 1rem;
}

.gallery-note p {
  font-size: 0.95rem;
  color: #3d4280;
}

.testimonial-layout {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  gap: 2rem;
}

.shape {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 48% 52% 62% 38% / 44% 36% 64% 56%;
  background: linear-gradient(160deg, #e3e6f7, #daddf1);
}

blockquote {
  margin: 0;
  max-width: 60ch;
}

blockquote p {
  font-size: 1.08rem;
}

blockquote footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

blockquote span {
  color: var(--primary);
}

.footer {
  padding: 4rem 0 2rem;
}

.contact-banner {
  background: var(--primary);
  color: #fff;
  border-radius: 0.7rem;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.contact-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  min-width: min(100%, 370px);
}

.contact-form input {
  border: 0;
  outline: 0;
  flex: 1;
  font: inherit;
  padding: 0.6rem 0.85rem;
}

.contact-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

.footer-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-grid h4 {
  margin-bottom: 0.8rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.legal {
  margin-top: 2.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal div {
  display: flex;
  gap: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .menu {
    gap: 1rem;
  }

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

  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .shape {
    width: min(320px, 100%);
  }

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

@media (max-width: 760px) {
  .hero {
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
  }

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

  .menu {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .hero-content {
    margin-top: 3rem;
    text-align: left;
  }

  .services h2 {
    max-width: 100%;
  }

  .card-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .contact-banner,
  .legal {
    flex-direction: column;
    align-items: start;
  }

  .contact-form {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
