:root {
  --c-dark: #181828;
  --c-dark-2: #212331;
  --c-accent: #bf00a4;
  --c-accent-2: #7a1fb0;
  --c-purple: #8781bd;
  --c-blue: #42abd6;
  --c-pink: #d070c9;
  --c-bg-light: #f4f4f4;
  --c-bg-light-2: #f4f6f7;
  --c-border: #d6d6d6;
  --c-text: #4a4a55;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --header-h: 150px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { scroll-margin-top: var(--header-h); }
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .6em; color: var(--c-dark-2); }

.btn {
  display: inline-block;
  padding: .9em 1.8em;
  border-radius: 4px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
}
.btn--accent {
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  color: #fff;
  transition: filter .2s ease;
}
.btn--accent:hover { filter: brightness(1.1); }

.section-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  padding-top: 4rem;
  margin-bottom: 2.5rem;
}

/* Topbar */
.topbar {
  background: var(--c-dark);
  color: #cfd0dc;
  font-size: .82rem;
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: .55rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item--hours { opacity: .85; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled,
.site-header--solid {
  background: var(--c-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: .8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}
.logo { display: block; flex: 0 0 auto; }
.logo img { display: block; width: 130px; height: 130px; object-fit: contain; }
.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-left: auto;
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.nav a { color: #fff; opacity: .9; transition: opacity .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; color: var(--c-accent); }
.nav a.is-active {
  opacity: 1;
  border: 1px solid #fff;
  padding: .5em 1.1em;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: 1rem;
  color: #fff;
}
.header-icons button { background: none; border: none; color: inherit; cursor: pointer; display: flex; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: .5rem;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("../assets/img/hero-bg.jpg") center/cover no-repeat, var(--c-dark);
  margin-top: calc(-1 * var(--header-h));
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24,24,40,.92) 0%, rgba(24,24,40,.75) 45%, rgba(24,24,40,.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: .5rem;
}
.hero h1 span { color: var(--c-accent); }
.hero__lead {
  color: var(--c-accent);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  max-width: 700px;
  margin-bottom: 2rem;
}
.hero__tagline { color: #e8e8ef; font-size: 1.2rem; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--c-accent);
  border-radius: 14px;
}
.mouse__wheel {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: mouse-scroll 1.6s infinite;
}
@keyframes mouse-scroll {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* About */
.about { padding: 5rem 1.5rem; background: #fff; }
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about__photo img {
  width: 180px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: grayscale(1);
}
.about__text h2 {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .06em;
}
.about__text p { margin: 0 0 1em; }

/* Services */
.services { background: #fff; padding-bottom: 2rem; }
.services__grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--c-border);
}
.service-card {
  background: #fff;
  padding: 3rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
}
.service-card:nth-child(odd) { border-right: 1px solid var(--c-border); }
.service-card:nth-last-child(-n+2) { border-bottom: none; }
.service-card__icon {
  color: var(--c-accent);
  display: inline-flex;
  margin-bottom: 1rem;
}
.service-card h3 {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  font-size: 1.1rem;
}
.service-card p { font-size: .95rem; }

/* References / Carousel */
.references { padding-bottom: 5rem; background: #fff; }
.carousel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel__viewport { overflow: hidden; flex: 1; }
.carousel__track {
  display: flex;
  transition: transform .45s ease;
}
.carousel__slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.laptop {
  max-width: 640px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border-radius: 6px;
}
.laptop img { border-radius: 6px; }
.carousel__btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-accent);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
}
.carousel__btn:hover { background: var(--c-bg-light); }

/* News */
.news {
  background: var(--c-bg-light);
  text-align: center;
  padding-bottom: 5rem;
}
.news__soon { font-size: 1.3rem; color: #9a9aa5; font-style: italic; }

/* Contact info blocks */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-info__block {
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.contact-info__block h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: 1.1rem;
}
.contact-info__block p { margin: 0; font-size: 1.05rem; }
.contact-info__block a { text-decoration: none; }
.contact-info__block--purple { background: var(--c-purple); }
.contact-info__block--blue { background: var(--c-blue); }
.contact-info__block--pink { background: var(--c-pink); }

/* Footer */
.site-footer {
  background: var(--c-dark);
  color: #cfd0dc;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.footer-nav a { opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--c-accent); }
.footer-nav span { opacity: .4; }
.footer-copy { margin: 0; font-size: .85rem; opacity: .7; }

/* Legal pages */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.legal h1 {
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal p, .legal li { font-size: .95rem; }
.legal a { color: var(--c-accent); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--c-accent); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__photo { max-width: 180px; margin: 0 auto; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-last-child(-n+2) {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }
  .service-card:last-child { border-bottom: none; }
  .contact-info { grid-template-columns: 1fr; }
  .topbar__item--hours { display: none; }
}

@media (max-width: 1080px) {
  .nav, .header-cta, .header-icons { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: var(--c-dark); }
  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--c-dark);
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .hero { min-height: 100vh; }
}
