:root {
  --bg: #eef3f7;
  --bg-soft: #f7fafc;
  --bg-elevated: #ffffff;
  --ink: #1a2430;
  --muted: #5a6a7a;
  --yellow: #efb700;
  --yellow-soft: #fff3c4;
  --yellow-deep: #c99400;
  --sky: #d6e8f5;
  --line: rgba(26, 36, 48, 0.1);
  --shadow: 0 18px 50px rgba(26, 36, 48, 0.1);
  --shadow-soft: 0 10px 30px rgba(26, 36, 48, 0.08);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 60% at 100% -10%, rgba(239, 183, 0, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 50% at -10% 20%, rgba(150, 198, 230, 0.35), transparent 55%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-deep);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.about__copy h2,
.contact__copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.section-lead,
.about__copy p,
.contact__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0 1.25rem;
  background: rgba(247, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(26, 36, 48, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand__logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(26, 36, 48, 0.18);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__cmb {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand__kop {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--yellow-deep);
}

.nav {
  display: none;
  gap: 1.4rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  position: relative;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
  color: var(--yellow-deep);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-phone {
  display: none;
  margin-left: 0.5rem;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd24a 100%);
  color: #1a2430;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(239, 183, 0, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.header-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 183, 0, 0.45);
}

.nav-toggle {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 880px) {
  .nav,
  .header-phone {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 879px) {
  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open a {
    padding: 0.95rem 1.25rem;
    border-top: 1px solid var(--line);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  transform: scale(1.08);
  animation: hero-zoom 14s var(--ease) both;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(238, 243, 247, 0.35) 0%, rgba(26, 36, 48, 0.12) 30%, rgba(26, 36, 48, 0.45) 68%, rgba(238, 243, 247, 0.95) 100%),
    linear-gradient(105deg, rgba(26, 36, 48, 0.55) 0%, rgba(26, 36, 48, 0.12) 58%, rgba(239, 183, 0, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  animation: rise 1s var(--ease) both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero__brand span {
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(239, 183, 0, 0.45);
}

.hero__title {
  margin: 0 0 0.9rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd24a 100%);
  color: #1a2430;
  box-shadow: 0 12px 28px rgba(239, 183, 0, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 16px 36px rgba(239, 183, 0, 0.55);
}

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px rgba(26, 36, 48, 0.25);
}

.btn--dark:hover {
  background: #0d141c;
}

@keyframes hero-zoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.05); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Services */
.services {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(239, 183, 0, 0.12), transparent 50%),
    var(--bg-soft);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s;
}

.service-list li.is-in {
  opacity: 1;
  transform: none;
}

.service-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(239, 183, 0, 0.35);
}

.service-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-list__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--yellow-deep);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

@media (min-width: 800px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

.service-strip {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
  filter: saturate(1.05);
}

.service-strip figure:hover img {
  transform: scale(1.07);
  filter: saturate(1.15);
}

@media (min-width: 800px) {
  .service-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* About */
.about {
  padding: 5.5rem 0;
  background:
    linear-gradient(135deg, #e8f2fa 0%, #f7fafc 45%, #fff6d8 100%);
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about__copy p + p {
  margin-top: 1rem;
}

.about__copy .btn {
  margin-top: 1.6rem;
}

.about__photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  animation: float-soft 7s ease-in-out infinite;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 880px) {
  .about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

/* Gallery */
.gallery {
  padding: 5.5rem 0;
  background: var(--bg-elevated);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.gallery__item {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--sky);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    box-shadow 0.3s var(--ease);
}

.gallery__item.is-in {
  opacity: 1;
  transform: none;
}

.gallery__item:nth-child(3n) {
  aspect-ratio: 4 / 5;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 36, 48, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover {
  box-shadow: var(--shadow);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.07);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

@media (min-width: 720px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 1000px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Contact */
.contact {
  padding: 4.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 15% 30%, rgba(214, 232, 245, 0.9), transparent 55%),
    radial-gradient(ellipse 60% 60% at 90% 70%, rgba(255, 243, 196, 0.7), transparent 50%),
    var(--bg);
}

.contact__panel {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.75rem;
  background:
    linear-gradient(135deg, #ffe566 0%, var(--yellow) 45%, #ffcf40 100%);
  color: #1a2430;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 24px 60px rgba(239, 183, 0, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.contact__panel.is-in {
  opacity: 1;
  transform: none;
}

.contact__copy .eyebrow {
  color: #6b5200;
}

.contact__copy h2 {
  color: #1a2430;
}

.contact__copy p {
  color: #3d3208;
}

.contact__phone {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #1a2430;
  transition: transform 0.25s var(--ease);
}

.contact__phone:hover {
  transform: scale(1.03);
}

@media (min-width: 800px) {
  .contact__panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    padding: 3rem 3.25rem;
  }
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--bg-elevated);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}

.footer__brand img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: cover;
  border-radius: 6px;
}

.site-footer a:hover {
  color: var(--yellow-deep);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(26, 36, 48, 0.88);
  backdrop-filter: blur(8px);
  animation: fade-in 0.25s var(--ease);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: rise 0.35s var(--ease);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.lightbox__close:hover {
  background: var(--yellow);
  color: #1a2430;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img,
  .hero__content,
  .service-list li,
  .gallery__item,
  .contact__panel,
  .about__photo,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
