/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #121212;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

:root {
  --bg: #121212;
  --text: #ffffff;
  --text-80: rgba(255,255,255,0.8);
  --text-60: rgba(255,255,255,0.6);
  --text-40: rgba(255,255,255,0.4);
  --text-20: rgba(255,255,255,0.2);
  --text-10: rgba(255,255,255,0.1);
  --accent: #ED6221;
  --card-radius: 14px;
  --img-radius: 10px;
  --container-w: 1360px;
  --side-pad: clamp(20px, 5vw, 72px);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

section { position: relative; padding: 120px 0; }
@media (max-width: 900px) { section { padding: 72px 0; } }

.eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-80);
  border: 1px solid var(--text-20); border-radius: 100px;
  padding: 9px 18px; margin-bottom: 32px;
}
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
}
.section-sub {
  color: var(--text-60);
  font-size: 17px;
  max-width: 560px;
  margin-top: 18px;
  line-height: 1.6;
}
.section-head { margin-bottom: 56px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #ff7a3d; transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--text-20); color: var(--text); }
.btn-outline:hover { border-color: var(--text); transform: translateY(-2px); }
.btn.center { display: flex; width: fit-content; margin: 48px auto 0; }

.btn-label { position: relative; display: block; height: 1.3em; line-height: 1.3em; overflow: hidden; white-space: nowrap; }
.btn-label span { display: block; height: 1.3em; line-height: 1.3em; transition: transform 0.45s cubic-bezier(.16,1,.3,1); }
.btn-label span:last-child { position: absolute; top: 100%; left: 0; }
.btn:hover .btn-label span { transform: translateY(-100%); }
.arrow-ico { display: inline-block; font-size: 0.9em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #121212;
  border-bottom: 1px solid var(--text-10);
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--container-w);
  width: 100%;
  margin: 0 auto;
  padding: 20px var(--side-pad);
}
.logo { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.logo img { height: 64px; width: auto; }
.main-nav { display: flex; gap: 30px; flex: 1; justify-content: center; }
.main-nav a { font-size: 15px; color: var(--text-80); transition: color 0.25s ease; }
.main-nav a:hover { color: var(--text); }
.nav-cta { height: 44px; padding: 0 20px; font-size: 14px; flex-shrink: 0; background: #ffffff; color: #121212; border-radius: 8px; gap: 8px; }
.nav-cta:hover { background: #ffffff; opacity: 0.9; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */
.hero { padding-top: 130px; padding-bottom: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-title {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 20px 0 28px;
}
.hero-sub { color: var(--text-60); font-size: 18px; max-width: 460px; line-height: 1.6; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta-row { display: flex; align-items: center; gap: 64px; margin-top: 68px; }
.hero-meta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; flex-shrink: 0; }
.meta-avatars { display: flex; }
.meta-avatars img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #121212; margin-left: -16px; }
.meta-avatars img:first-child { margin-left: 0; }
.meta-item { display: flex; flex-direction: column; gap: 5px; }
.meta-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.meta-strong { font-size: 17px; font-weight: 500; }
.meta-pin { display: inline-flex; vertical-align: -3px; }
.meta-pin svg { width: 15px; height: 15px; color: var(--accent); }
.meta-soft { font-size: 14px; color: var(--text-40); }
.meta-divider { width: 1px; height: 42px; background: var(--text-20); }
@media (max-width: 900px) {
  .hero-meta-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .marquee { width: 100%; }
}

.slice-carousel { display: flex; align-items: center; gap: 3px; height: 640px; cursor: pointer; }
.slice {
  position: relative; flex: 1; overflow: hidden; border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
  transition: height 0.6s cubic-bezier(.16,1,.3,1), flex-grow 0.6s cubic-bezier(.16,1,.3,1);
}
.slice:nth-child(1) { height: 84%; }
.slice:nth-child(2) { height: 93%; }
.slice:nth-child(3) { height: 100%; }
.slice:nth-child(4) { height: 96%; }
.slice:nth-child(5) { height: 88%; }
.slice-carousel:hover .slice:nth-child(1) { height: 80%; }
.slice-carousel:hover .slice:nth-child(2) { height: 90%; }
.slice-carousel:hover .slice:nth-child(3) { height: 100%; flex-grow: 1.1; }
.slice-carousel:hover .slice:nth-child(4) { height: 92%; }
.slice-carousel:hover .slice:nth-child(5) { height: 84%; }
.slice img {
  position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover;
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(.16,1,.3,1);
}
.slice.fading img { opacity: 0; transform: scale(1.1); }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .slice-carousel { height: 460px; margin-top: 20px; }
}
@media (max-width: 640px) {
  .slice-carousel .slice:nth-child(4), .slice-carousel .slice:nth-child(5) { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track img { height: 120px; width: auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-head { margin-bottom: 48px; }
.about-head .section-title { font-size: clamp(34px, 4.6vw, 54px); max-width: 900px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text { color: var(--text-60); font-size: 17px; line-height: 1.75; margin-top: 0; max-width: 500px; }
.about-text + .about-text { margin-top: 22px; }
.about-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.text-link .arrow-ico { font-size: 0.85em; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 38px; height: 38px; border: 1px solid var(--text-20); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: border-color 0.25s ease, background 0.25s ease; }
.social-row a:hover { border-color: var(--accent); background: rgba(237,98,33,0.1); }
.social-row a svg { width: 17px; height: 17px; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-box { background: #161616; border: 1px solid var(--text-10); border-radius: var(--card-radius); padding: 22px 20px; }
.stat-box h3 { font-size: 28px; font-weight: 500; color: #fff; display: flex; align-items: flex-start; }
.stat-box h3 .suffix { color: var(--accent); font-size: 0.65em; margin-left: 2px; }
.stat-box p { color: var(--text-60); font-size: 13px; margin-top: 6px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Work list ---------- */
.section-head.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow-pill,
.section-head.center .section-title,
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Categories (unified category card) ---------- */
.category-list { display: flex; flex-direction: column; gap: 20px; }
.category-card {
  display: flex; align-items: stretch; height: 420px; border-radius: var(--card-radius); overflow: hidden;
  position: relative; background: #161616; border: 1px solid var(--text-10);
  transition: border-color 0.3s ease;
}
.category-card:hover { border-color: var(--text-20); }
.category-card:nth-child(even) { flex-direction: row-reverse; }
.category-img { flex: 1 1 55%; overflow: hidden; height: 100%; position: relative; }
.category-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, transparent 55%, #161616 100%);
}
.category-card:nth-child(even) .category-img::after {
  background: linear-gradient(to left, transparent 55%, #161616 100%);
}
.category-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.category-card:hover .category-img img { transform: scale(1.06); }
.category-info { flex: 1 1 45%; padding: 44px; display: flex; flex-direction: column; }
.category-info h3 { font-size: 26px; font-weight: 500; }
.category-rule { display: block; width: 44px; height: 2px; background: var(--accent); margin: 14px 0 20px; }
.category-info p { color: var(--text-60); font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.category-info .service-tags { margin-top: auto; }
.category-info .service-tags span { font-size: 12px; padding: 6px 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span {
  flex-shrink: 0; font-size: 10.5px; color: var(--text-80);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--text-10); border-radius: 100px; padding: 5px 11px;
}
@media (max-width: 800px) {
  .category-card, .category-card:nth-child(even) { flex-direction: column; height: auto; }
  .category-img { height: 280px; }
  .category-info { padding: 30px; }
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.process-card { position: relative; }
.process-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--card-radius); margin-bottom: 24px; }
.process-num { color: var(--accent); font-size: 15px; font-weight: 500; }
.process-card h3 { font-size: 24px; font-weight: 500; margin: 10px 0 10px; }
.process-card p { color: var(--text-60); line-height: 1.6; }
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.arrow { width: 42px; height: 42px; border: 1px solid var(--text-20); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: border-color 0.25s ease, background 0.25s ease; }
.arrow:hover { border-color: var(--text); background: var(--text-10); }

.testimonial-slider { display: flex; height: 460px; border: 1px solid var(--text-10); border-radius: var(--card-radius); overflow: hidden; background: #161616; }
.testimonial-photo { flex: 0 0 42%; height: 100%; }
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.testimonial-content { flex: 1; padding: 48px; display: flex; flex-direction: column; overflow: hidden; }
.quote-icon { font-size: 52px; color: var(--accent); font-family: Georgia, serif; line-height: 1; margin-bottom: 8px; }
.testimonial-quote { font-size: 23px; font-weight: 500; line-height: 1.5; margin-bottom: auto; transition: opacity 0.3s ease; }
.testimonial-stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; text-align: right; margin: 28px 0 22px; }
.testimonial-footer { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--text-10); }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; transition: opacity 0.3s ease; }
.testimonial-footer .name { font-weight: 500; }
.testimonial-footer .role { font-size: 13px; color: var(--text-60); }
.testimonial-nav-inline { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 800px) {
  .testimonial-slider { flex-direction: column; height: auto; }
  .testimonial-photo { height: 260px; }
  .testimonial-content { padding: 32px; overflow: visible; }
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { border: 1px solid var(--text-10); border-radius: var(--card-radius); padding: 36px 30px; background: #161616; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); }
.price-card h3 { font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.price-desc { color: var(--text-60); font-size: 14px; line-height: 1.6; min-height: 62px; }
.price-rule { display: block; height: 1px; background: var(--text-10); margin-top: 22px; }
.price-tag { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 22px; }
.price-tag .from { font-size: 13px; color: var(--text-40); }
.price-tag .amount { font-size: 36px; font-weight: 500; }
.included-label { font-size: 13px; color: var(--text-40); margin-bottom: 16px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-card li { font-size: 14px; color: var(--text-80); padding-left: 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.price-card .btn { width: 100%; }
.btn-white { background: #ffffff; color: #121212; }
.btn-white:hover { background: #ffffff; opacity: 0.9; }
.pricing-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 56px; border-top: 1px solid var(--text-10); padding-top: 40px; }
.badge { display: flex; align-items: center; gap: 16px; }
.badge-icon { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.badge h4 { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.badge p { color: var(--text-60); font-size: 14px; }
.badge-divider { width: 1px; height: 42px; background: var(--text-10); flex-shrink: 0; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .badge-divider { display: none; } }

/* ---------- Why Us / Before-After ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list { margin-top: 36px; display: flex; flex-direction: column; gap: 26px; }
.why-item { border-top: 1px solid var(--text-10); padding-top: 22px; }
.why-item h4 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.why-item p { color: var(--text-60); font-size: 14px; line-height: 1.6; }

.why-photo { border-radius: var(--card-radius); overflow: hidden; aspect-ratio: 4/5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.faq-col h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.faq-col-sub { color: var(--text-60); font-size: 14px; margin-bottom: 28px; }
.faq-item { border-top: 1px solid var(--text-10); }
.faq-item:last-child { border-bottom: 1px solid var(--text-10); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; text-align: left; font-size: 15px; font-weight: 500; gap: 16px; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--text-20); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { color: var(--text-60); font-size: 14px; line-height: 1.65; padding-bottom: 22px; max-width: 480px; }
.faq-cta { text-align: center; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--text-10); }
.faq-cta h3 { font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.faq-cta p { color: var(--text-60); margin-bottom: 26px; }
@media (max-width: 800px) { .faq-columns { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0c0c0c; padding: 100px 0 32px; border-top: 1px solid var(--text-10); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { height: 110px; width: auto; margin-bottom: 32px; }
.footer-title { font-size: clamp(32px, 4.2vw, 52px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.highlight { color: var(--accent); border: 1px solid rgba(237,98,33,0.4); border-radius: 8px; padding: 0 8px; display: inline-block; line-height: 1.15; }
.footer-sub { color: var(--text-60); max-width: 420px; margin: 24px 0 32px; }

.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { border: 1px solid var(--text-10); border-radius: var(--card-radius); padding: 28px 26px; }
.footer-col h5 { font-size: 13px; color: var(--text-40); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-80); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--accent); }
.social-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.social-list a { display: flex; align-items: center; gap: 10px; }
.social-ico { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--text-20); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; flex-shrink: 0; }
.social-ico svg { width: 14px; height: 14px; }

.footer-bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--text-10); font-size: 13px; color: var(--text-40); }
.footer-strong-link { color: var(--text); font-weight: 600; }
.footer-strong-link:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } .footer-columns { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .footer-bottom { flex-direction: column; gap: 10px; text-align: center; } }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px;
  background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 400; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-4px); }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-pill { justify-content: space-between; }
  body.nav-open .main-nav {
    display: flex; position: fixed; top: 72px; left: 0; right: 0;
    background: #181818; border-bottom: 1px solid var(--text-10);
    flex-direction: column; padding: 12px 20px 20px; gap: 4px; z-index: 490;
  }
  body.nav-open .main-nav a { padding: 12px 6px; border-bottom: 1px solid var(--text-10); }
}

/* ---------- Project detail page ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-60); margin-top: 140px; transition: color 0.25s ease; }
.back-link:hover { color: var(--text); }
.project-hero-head { margin-top: 28px; }
.project-hero-head h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 500; letter-spacing: -0.02em; margin: 16px 0 18px; max-width: 800px; }
.project-meta { display: flex; gap: 8px; font-size: 14px; color: var(--text-40); }
.project-meta span:first-child:not(:only-child)::after { content: "—"; margin-left: 8px; }
.project-hero-img { margin-top: 44px; }
.project-hero-img img { width: 100%; max-height: 640px; object-fit: cover; }
.project-body { padding-top: 64px; }
.project-body-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; padding-bottom: 64px; border-bottom: 1px solid var(--text-10); }
.project-desc { font-size: 19px; line-height: 1.75; color: var(--text-80); max-width: 620px; }
.project-info-box { display: flex; flex-direction: column; gap: 22px; }
.project-info-box div { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--text-10); }
.project-info-box div:last-child { border-bottom: none; padding-bottom: 0; }
.project-info-box span { font-size: 12px; color: var(--text-40); text-transform: uppercase; letter-spacing: 0.05em; }
.project-info-box strong { font-size: 16px; font-weight: 500; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.project-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--img-radius); }
.project-cta { text-align: center; }
.project-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; margin-bottom: 28px; }
@media (max-width: 800px) {
  .project-body-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .back-link { margin-top: 110px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-40); margin-top: 140px; }
.breadcrumb a { color: var(--text-60); transition: color 0.25s ease; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .current { color: var(--text-80); }
@media (max-width: 800px) { .breadcrumb { margin-top: 110px; } }

/* ---------- Service landing hero ---------- */
.service-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 80px; overflow: hidden; }
.service-hero-media { position: absolute; inset: 0; z-index: 0; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.service-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.3) 0%, rgba(18,18,18,0.2) 38%, rgba(18,18,18,0.82) 82%, rgba(18,18,18,0.97) 100%);
}
.service-hero-content { position: relative; z-index: 1; }
.service-hero-content .breadcrumb { margin-top: 0; }
.service-hero h1 { font-size: clamp(40px, 6.5vw, 76px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin: 22px 0 18px; max-width: 820px; }
.service-hero .hero-sub { max-width: 540px; margin-bottom: 32px; }
@media (max-width: 800px) { .service-hero { min-height: 80vh; padding-bottom: 56px; } }

/* ---------- Portfolio masonry + lightbox ---------- */
.portfolio-group-title { font-size: 24px; font-weight: 500; margin: 0 0 4px; }
.masonry-grid { column-count: 3; column-gap: 16px; margin-top: 56px; }
.masonry-grid + .portfolio-group-title { margin-top: 64px; }
.masonry-grid img {
  width: 100%; display: block; border-radius: var(--img-radius); margin-bottom: 16px;
  break-inside: avoid; cursor: pointer; transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.masonry-grid img:hover { transform: scale(1.03); }
@media (max-width: 900px) { .masonry-grid { column-count: 2; } }
@media (max-width: 560px) { .masonry-grid { column-count: 1; } }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,10,0.94); z-index: 900;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 86vh; border-radius: var(--img-radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--text-20);
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text);
  background: rgba(255,255,255,0.04); transition: border-color 0.25s ease, background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--text); background: var(--text-10); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; } .lightbox-close { top: 16px; right: 16px; } }

/* ---------- Feature grid (service info) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.feature-chip {
  display: flex; align-items: center; gap: 14px; border: 1px solid var(--text-10); border-radius: var(--card-radius);
  padding: 20px 22px; background: #161616; transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-chip:hover { border-color: var(--text-20); transform: translateY(-2px); }
.feature-chip-icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.feature-chip span { font-size: 15px; font-weight: 500; }

/* ---------- Quote form ---------- */
.quote-form { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin-top: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; color: var(--text-60); }
.form-field input, .form-field select, .form-field textarea {
  background: #161616; border: 1px solid var(--text-10); border-radius: var(--img-radius);
  padding: 14px 16px; color: var(--text); font-size: 15px; font-family: inherit; transition: border-color 0.25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 120px; }
.quote-form select option { background: #161616; }
.quote-form .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Galerías page ---------- */
.gallery-page { padding-top: 160px; }
.gallery-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--text-10);
  border-radius: var(--card-radius); transition: border-color 0.3s ease;
}
.gallery-card:hover { border-color: var(--text-20); }
.gallery-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--text-10); }
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.gallery-card:hover .gallery-card-img img { transform: scale(1.06); }
.gallery-card-info { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.gallery-card-info h2 { font-size: 22px; font-weight: 500; }
.gallery-card-info p { color: var(--text-60); font-size: 15px; line-height: 1.6; margin-top: 10px; }
.gallery-card-meta { color: var(--accent); font-size: 13px; margin-top: 16px; }
.gallery-photos { margin-top: 0; }
.gallery-back { display: inline-block; margin-top: 48px; font-size: 15px; color: var(--text-60); transition: color 0.25s ease; }
.gallery-back:hover { color: var(--text); }
@media (max-width: 900px) {
  .gallery-page { padding-top: 130px; }
  .gallery-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .gallery-cards { grid-template-columns: 1fr; } }
