:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --surface: rgba(255, 255, 255, 0.96);
  --text: #333333;
  --muted: #696f72;
  --accent: #000000;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  --max: 1160px;
  --quick-contact-h: 42px;
  --main-nav-h: 78px;
  --sticky-top-h: calc(var(--quick-contact-h) + var(--main-nav-h));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sticky-top-h);
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  filter: brightness(1.08);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.sticky-site-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.top-contact-bar {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.top-contact-inner {
  min-height: var(--quick-contact-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-contact-inner a {
  color: var(--muted);
  font-size: 0.88rem;
}

.top-contact-inner a:first-child {
  color: var(--text);
  font-weight: 700;
}

.nav-wrap {
  min-height: var(--main-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  color: var(--accent);
}

.site-nav {
  position: fixed;
  inset: var(--sticky-top-h) 0 auto 0;
  z-index: 25;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.site-nav .btn {
  background: #000000;
  color: #ffffff;
  border-color: transparent;
}

.site-nav .btn:hover {
  color: #ffffff;
}

.site-nav.is-open {
  display: flex;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--sticky-top-h));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.6)
    ),
    url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1800");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  width: min(calc(100% - 2rem), 720px);
  max-width: none;
  margin-left: max(1rem, calc((100vw - var(--max)) / 2));
  margin-right: auto;
  padding: 5rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3.8rem);
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.28);
}

.card-featured {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.94), rgba(36, 36, 36, 0.96));
  color: #ffffff;
}

.card-featured h3,
.card-featured p,
.card-featured li {
  color: #ffffff;
}

.service-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-points {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.service-points li {
  margin-bottom: 0.35rem;
}

.icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 246, 246, 0.96));
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  gap: 1.2rem;
}

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

.stat {
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-align: center;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f6f6;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-item img {
  height: 215px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
  color: #333333;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5px);
}

.gallery-list {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  font-size: 0.88rem;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.process-step {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.process-step span {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.client-name {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.04);
  color: #000000;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.price-card ul {
  margin: 0;
  padding-left: 1rem;
}

.price-card li {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.price-note {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.price-intro {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.offer-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(246, 246, 246, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: var(--shadow);
}

.offer-copy {
  display: grid;
  align-content: center;
  gap: 0.2rem;
}

.offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.3rem 0 1rem;
}

.offer-points span {
  display: inline-block;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
}

.offer-image {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.offer-image img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.cta-box {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 2rem 1.2rem;
  text-align: center;
  background: linear-gradient(
    150deg,
    rgba(246, 246, 246, 0.96),
    rgba(255, 255, 255, 0.96)
  );
}

.cta-premium {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.4rem;
  background: linear-gradient(145deg, rgba(246, 246, 246, 0.96), rgba(255, 255, 255, 0.96));
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-premium h2 {
  margin-bottom: 0.6rem;
}

.cta-premium-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-copy ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.contact-copy li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.contact-copy li a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(246, 246, 246, 0.98));
  box-shadow: var(--shadow);
}

.form-note {
  margin-bottom: 1rem;
}

.form-note a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #ffffff;
  color: var(--text);
  padding: 0.75rem;
  margin-bottom: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.recaptcha-wrap {
  min-height: 78px;
  margin: 0.15rem 0 1rem;
  overflow: hidden;
}

.g-recaptcha {
  transform-origin: left top;
}

.form-message {
  min-height: 1.25rem;
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.form-message.error {
  color: #b42318;
}

.form-message.success {
  color: #1d7a46;
}

.site-footer {
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.brand-footer {
  margin-bottom: 0.6rem;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 380px) {
  .top-contact-inner {
    gap: 0.45rem;
  }

  .top-contact-inner a {
    font-size: 0.8rem;
  }

  .g-recaptcha {
    transform: scale(0.86);
  }

  .recaptcha-wrap {
    min-height: 68px;
  }
}

@media (max-width: 340px) {
  .g-recaptcha {
    transform: scale(0.8);
  }

  .recaptcha-wrap {
    min-height: 64px;
  }
}

@media (min-width: 760px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

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

  .card-featured {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

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

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

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

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

  .offer-wrap {
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
    padding: 1.2rem;
  }

  .cta-premium {
    grid-template-columns: 1.3fr auto;
    padding: 1.5rem;
  }

  .cta-premium-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-featured {
    grid-column: span 2;
  }
}

/* Ref plain link in hero */
.ref-plain-link { color: #fff; text-decoration: underline; font-size: inherit; }
.ref-plain-link:hover { opacity: 0.8; }

/* Ref interactive gallery */
.ref-interactive { display: flex; flex-direction: column; gap: 1.5rem; }
.ref-text-box { border: 1px solid #e5e5e5; border-radius: 1rem; padding: 1.5rem; background: #fff; }
.ref-photo-wrap { border-radius: 1rem; overflow: hidden; }
.ref-photo-wrap img { width: 100%; height: 380px; object-fit: cover; display: block; transition: opacity 0.3s; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ref-tag { background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 999px; padding: 0.5rem 1.2rem; font-size: 0.9rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.ref-tag:hover { background: #e0e0e0; }
.ref-tag.active { background: #000; color: #fff; border-color: #000; }
.ref-tag-contact { background: transparent; border-color: #999; color: #555; }
.ref-tag-contact:hover { background: #000; color: #fff; border-color: #000; }
