/* ===== Custom Fonts ===== */
@font-face {
  font-family: 'House One';
  src: url('/fonts/house-one-cut.woff2') format('woff2'),
       url('/fonts/house-one-cut.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'House Two';
  src: url('/fonts/house-two-cut.woff2') format('woff2'),
       url('/fonts/house-two-cut.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'House Three';
  src: url('/fonts/house-three-cut.woff2') format('woff2'),
       url('/fonts/house-three-cut.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'House Four';
  src: url('/fonts/house-four-cut.woff2') format('woff2'),
       url('/fonts/house-four-cut.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'House Five';
  src: url('/fonts/house-five-cut.woff2') format('woff2'),
       url('/fonts/house-five-cut.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --border: #222;
  --border-light: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #777;
  --accent: #ffffff;
  --accent-hover: #d4d4d4;
  --white: #fff;
  --radius: 0px;
  --radius-sm: 0px;
  --nav-height: 64px;
  --max-width: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ===== Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'House One', sans-serif;
  font-size: 1.3rem;
  font-weight: normal;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.nav-logo span {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.nav-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  filter: invert(1);
  margin-right: 8px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease;
  animation: kenBurns 12s ease infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(10,10,10,0.95) 100%);
  z-index: 1;
}

.hero-inner {
  max-width: 720px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  padding: 15px 36px;
  background: var(--accent);
  color: #000;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-hero:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.1);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 36px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--text-muted);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--white);
}

/* ===== About ===== */
.section-about {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-label { margin-bottom: 14px; }
.about-content h2 { margin-bottom: 20px; }

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  pointer-events: none;
}


/* ===== Services ===== */
.section-services {
  background: var(--bg-elevated);
  overflow: hidden;
}
.section-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.services-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-muted);
  transition: color 0.3s, border-color 0.3s;
}
.service-card:hover .service-icon {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Gallery ===== */
.section-gallery {
  background: var(--bg);
  padding-left: 0;
  padding-right: 0;
}
.section-gallery .section-inner {
  max-width: 100%;
  padding: 0;
}
.section-gallery .section-label,
.section-gallery h2 {
  padding: 0 24px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}
.section-gallery h2 {
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 4px;
}

.gallery-tile {
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-tile:hover { transform: scale(1.02); }
.gallery-tile:hover .gallery-overlay { opacity: 1; }
.gallery-tile:hover img { transform: scale(1.08); }

.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ===== How It Works ===== */
.section-process {
  background: var(--bg-elevated);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

.process-step {
  padding: 40px 36px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  bottom: 40px;
  right: 0;
  width: 1px;
  background: var(--border);
}

.process-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Materials ===== */
.section-materials {
  background: var(--bg-elevated);
}

.materials-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.material-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.material-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.material-card-swatch {
  width: 100%;
  aspect-ratio: 1;
}

.material-card-info {
  padding: 12px 14px;
  background: var(--bg-card);
}
.material-card-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.material-card-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== CTA Section ===== */
.section-cta {
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.section-cta p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: 'House One', sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--white);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.footer-logo span {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.footer-logo-img {
  height: 28px;
  width: 28px;
  object-fit: contain;
  filter: invert(1);
  margin-right: 8px;
  display: block;
  flex-shrink: 0;
}

.footer-about p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 52px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  z-index: 90;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta { display: none; }

  .hero h1 { font-size: 2.2rem; }
  .hero-scroll-hint { display: none; }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-step { padding: 28px 0; }
  .process-step:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 24px;
    right: 24px;
    width: auto;
    height: 1px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { order: -1; }

  .materials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

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

  .section { padding: 80px 0; }

  .about-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-badge { font-size: 0.7rem; padding: 5px 14px; }
  .about-stats { flex-wrap: wrap; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
}
