/* ==========================================================
   Veltech Interior System — V3000
   Office-first interior studio site. Plain CSS, no framework.
   ========================================================== */

:root {
  --ink: #16191d;
  --ink-2: #23272d;
  --ink-soft: #5b6068;
  --sand: #f5f1ea;
  --sand-2: #ebe4d8;
  --paper: #ffffff;
  --brass: #b08d57;
  --brass-dark: #8c6d3f;
  --line: rgba(22, 25, 29, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -24px rgba(22, 25, 29, 0.35);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--dark { background: var(--ink); color: #e9e6e1; }
.section--white { background: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--brass); }

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 520px; }
.section--dark .section-head p { color: #a9a49c; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }

/* ---------- Image placeholders ----------
   Every photo sits in a .ph frame. Until the real file exists in /images,
   the frame shows the file name and size it expects. */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(176, 141, 87, 0.08) 14px 15px),
    linear-gradient(135deg, #d9cfbf, #b9ab95);
  border-radius: var(--radius);
}
.ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: auto 12px 12px 12px;
  font: 600 0.72rem/1.4 ui-monospace, Consolas, monospace;
  color: rgba(22, 25, 29, 0.7);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 6px;
  width: fit-content;
  max-width: calc(100% - 24px);
}
.ph img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.ph img.is-missing { opacity: 0; }
.ph.has-image::after { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: rgba(22, 25, 29, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 1px;
  background: var(--brass);
  transition: right 0.3s;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { right: 0; }
.nav .btn { padding: 11px 20px; color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
  padding: calc(var(--header-h) + 60px) 0 0;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #2b2f35, #16191d);
}
.hero-media::after { inset: auto auto 120px var(--gutter); background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.hero-media img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(22,25,29,0.55) 0%, rgba(22,25,29,0.1) 35%, rgba(22,25,29,0.85) 100%),
    linear-gradient(90deg, rgba(22,25,29,0.85) 0%, rgba(22,25,29,0.6) 50%, transparent 85%);
}
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 760px; padding-bottom: 56px; }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.hero-stats div { padding: 26px 0; }
.hero-stats div + div { padding-left: 28px; border-left: 1px solid var(--line-light); }
.hero-stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.3rem; line-height: 1; }
.hero-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ---------- Sectors strip ---------- */
.sectors { background: var(--brass); color: #fff; overflow: hidden; }
.sectors-track {
  display: flex;
  gap: 48px;
  padding: 20px 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.sectors-track span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.sectors-track span::after { content: "✦"; font-size: 0.8rem; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Office intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.intro-media { position: relative; }
.intro-media .ph { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); }
.intro-badge {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 40px;
  background: var(--ink);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--brass); }
.intro-badge span { font-size: 0.85rem; color: #bdb8b0; }
.intro-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Office services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.svc-card {
  background: var(--ink-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.svc-card:hover .ph img { transform: scale(1.06); }
.svc-card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.svc-body { padding: 22px 22px 26px; }
.svc-num { font-size: 0.75rem; letter-spacing: 0.2em; color: var(--brass); font-weight: 700; }
.svc-body h3 { color: #fff; margin: 8px 0 8px; font-size: 1.3rem; }
.svc-body p { margin: 0; font-size: 0.92rem; color: #a9a49c; }

/* ---------- Turnkey band ---------- */
.turnkey {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.turnkey-media { position: absolute; inset: 0; border-radius: 0; background: linear-gradient(135deg, #3a3631, #16191d); }
.turnkey-media::after { inset: 20px 20px auto auto; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.turnkey::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(22,25,29,0.94) 0%, rgba(22,25,29,0.75) 50%, rgba(22,25,29,0.2) 100%);
}
.turnkey .container { position: relative; z-index: 3; }
.turnkey-box { max-width: 620px; }
.turnkey-box p { color: rgba(255,255,255,0.78); font-size: 1.05rem; }
.turnkey-list {
  list-style: none; padding: 0; margin: 30px 0 38px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
.turnkey-list li { padding-left: 22px; position: relative; color: rgba(255,255,255,0.9); }
.turnkey-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--brass); }

/* ---------- Homes ---------- */
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.home-card .ph { aspect-ratio: 3 / 4; }
.home-card .ph::after { inset: 12px 12px auto 12px; }
.home-card:hover .ph img { transform: scale(1.06); }
.home-card-body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 70px 24px 24px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(22,25,29,0.88));
}
.home-card-body h3 { margin: 0 0 4px; }
.home-card-body p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.78); }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  padding: 34px 24px 10px 0;
  position: relative;
}
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--brass);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.project { grid-column: span 4; transition: opacity 0.3s; }
.project.wide { grid-column: span 8; }
.project.is-hidden { display: none; }
.project .ph { aspect-ratio: 4 / 3; }
.project.wide .ph { aspect-ratio: auto; height: 100%; min-height: 100%; }
.project.wide { display: flex; flex-direction: column; }
.project.wide .ph { flex: 1; }
.project:hover .ph img { transform: scale(1.05); }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px 0; }
.project-meta h3 { font-size: 1.15rem; margin: 0; }
.project-meta span { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why {
  background: var(--ink);
  padding: 36px 32px;
}
.why svg { width: 34px; height: 34px; color: var(--brass); margin-bottom: 20px; }
.why h3 { color: #fff; font-size: 1.3rem; }
.why p { margin: 0; color: #a9a49c; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
}
.contact-info p { color: var(--ink-soft); }
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--brass-dark);
}
.contact-list svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.contact-list a, .contact-list address { font-style: normal; font-weight: 600; }
.contact-list a:hover { color: var(--brass-dark); }
.map {
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: var(--radius);
  filter: grayscale(0.4);
}
.map-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brass-dark);
}
.map-link:hover { color: var(--ink); }

.form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form h3 { font-size: 1.8rem; }
.form > p { color: var(--ink-soft); font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brass); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2px solid var(--brass); outline-offset: 2px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9a49c; padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer .brand { margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 6px 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.93rem; }
.footer a:hover { color: var(--brass); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.85rem; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sectors-track, .hero-media img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(4) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(22, 25, 29, 0.98);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .header.menu-open { background: rgba(22, 25, 29, 0.98); }

  .section-head,
  .intro,
  .contact { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .intro-badge { right: 16px; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .project, .project.wide { grid-column: span 6; }
  .project.wide .ph { aspect-ratio: 4 / 3; height: auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 600px) {
  .svc-grid,
  .home-grid,
  .why-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .project, .project.wide { grid-column: span 12; }
  .process { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .turnkey-list, .form-row { grid-template-columns: 1fr; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero-stats div + div { padding-left: 16px; }
  .brand-text span { display: none; }
}
