:root {
  --blue-900: #071a5f;
  --blue-800: #0b2f8a;
  --blue-500: #118de3;
  --cyan-400: #18bff2;
  --ink: #0d1833;
  --muted: #66708a;
  --line: #dbe7f4;
  --soft: #f4f9ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 26, 95, 0.14);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(219, 231, 244, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(7, 26, 95, 0.08);
  padding-block: 12px;
}

.brand img,
.custom-logo {
  width: min(230px, 48vw);
  height: auto;
}

.primary-nav {
  justify-self: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu a {
  color: var(--blue-900);
}

.menu a:hover {
  color: var(--blue-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: var(--blue-800);
  font-weight: 800;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--cyan-400));
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(17, 141, 227, 0.24);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
}

.button-ghost,
.button-outline {
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(11, 47, 138, 0.24);
  box-shadow: none;
}

.button-outline {
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-900);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 140px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 31%, rgba(255, 255, 255, 0.12) 58%, rgba(255, 255, 255, 0) 100%),
    url("../img/hero-studio.webp") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero-logo {
  width: min(360px, 90vw);
  margin-bottom: 28px;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.reviews-grid h2,
.gift-box h2,
.contact-grid h2,
.page-section h1 {
  margin: 0;
  color: var(--blue-900);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
}

.hero p {
  max-width: 560px;
  margin: 24px 0 0;
  color: #37415d;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

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

.container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding: clamp(74px, 9vw, 124px) 0;
}

.intro-strip {
  padding: 24px 0;
  background: var(--blue-900);
  color: var(--white);
}

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

.intro-grid p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.eyeline {
  margin: 0 0 14px;
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.reviews-grid h2,
.gift-box h2,
.contact-grid h2 {
  font-size: clamp(2.1rem, 4vw, 4.1rem);
}

.section-heading > p:not(.eyeline),
.about-copy > p,
.gift-box p,
.contact-grid > div > p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(7, 26, 95, 0.08);
}

.service-image {
  aspect-ratio: 1.55 / 1;
  background-image: url("../img/services-collage.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: var(--pos);
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-body p {
  min-height: 104px;
  margin: 0 0 18px;
  color: var(--muted);
}

.service-body a {
  color: var(--blue-500);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-section,
.gallery-section,
.contact-section {
  background: var(--soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(40px, 8vw, 90px);
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 18px;
}

.trust-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trust-list span {
  color: var(--cyan-400);
  font-size: 0.92rem;
  font-weight: 900;
}

.trust-list h3,
.trust-list p {
  grid-column: 2;
  margin: 0;
}

.trust-list h3 {
  color: var(--blue-900);
  font-size: 1.2rem;
}

.trust-list p {
  color: var(--muted);
}

.about-grid,
.contact-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.about-image {
  min-height: 560px;
  border-radius: var(--radius);
  background: url("../img/reception-studio.webp") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-copy {
  max-width: 560px;
}

.about-copy .button {
  margin-top: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 250px);
  gap: 20px;
}

.gallery-large,
.gallery-tile {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.gallery-large {
  grid-row: span 2;
  background-image: url("../img/hero-studio.webp");
}

.tile-1 {
  background-image: url("../img/services-collage.webp");
  background-position: left top;
}

.tile-2 {
  background-image: url("../img/reception-studio.webp");
}

.reviews-section {
  background: var(--blue-900);
  color: var(--white);
}

.reviews-section .eyeline,
.reviews-grid h2 {
  color: var(--white);
}

blockquote {
  margin: 0;
  padding: clamp(26px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

blockquote p {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
}

cite {
  color: #c7eefa;
  font-style: normal;
  font-weight: 800;
}

.gift-section {
  padding-block: 64px;
}

.gift-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 95, 0.94), rgba(17, 141, 227, 0.84)),
    url("../img/reception-studio.webp") center / cover no-repeat;
  border-radius: var(--radius);
}

.gift-box .eyeline,
.gift-box h2,
.gift-box p {
  color: var(--white);
}

.gift-box > div {
  max-width: 650px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-details p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--blue-500);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 36px;
  padding: 56px clamp(18px, 5vw, 72px) 28px;
  color: var(--white);
  background: #061347;
}

.footer-logo {
  width: 260px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #c7eefa;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

.page-section {
  padding-top: 150px;
}

.entry-content {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .menu {
    display: grid;
    gap: 0;
    padding: 14px 0 0;
  }

  .menu a {
    display: block;
    padding: 12px 0;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .services-grid,
  .trust-grid,
  .about-grid,
  .contact-grid,
  .reviews-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 126px;
    padding-inline: 24px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.72) 100%),
      url("../img/hero-studio.webp") 66% center / cover no-repeat;
  }

  .hero-logo {
    width: min(250px, 78vw);
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 330px;
    font-size: clamp(2.45rem, 12vw, 3.15rem);
    line-height: 1.06;
  }

  .hero p {
    max-width: 330px;
    font-size: 1rem;
  }

  .hero-actions,
  .gift-box {
    align-items: stretch;
    flex-direction: column;
  }

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

  .intro-grid p {
    max-width: 300px;
    margin-inline: auto;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
    font-size: 0.74rem;
    line-height: 1.45;
  }

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

  .section-heading h2,
  .about-copy h2,
  .reviews-grid h2,
  .gift-box h2,
  .contact-grid h2 {
    max-width: min(312px, calc(100vw - 48px));
    margin-inline: auto;
    font-size: clamp(1.72rem, 7.2vw, 2rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-heading {
    max-width: 100%;
    width: min(100%, calc(100vw - 48px));
  }

  .section-heading > p:not(.eyeline) {
    max-width: min(312px, calc(100vw - 48px));
    margin-inline: auto;
  }

  .service-body p {
    min-height: auto;
  }

  .trust-list article {
    grid-template-columns: 1fr;
  }

  .trust-list h3,
  .trust-list p {
    grid-column: auto;
  }

  .about-image {
    min-height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }

  .gallery-large {
    grid-row: span 1;
  }
}
