/* ---------- Vitrag Furniture — shared stylesheet ---------- */
:root {
  --brand: #f37021;
  --brand-dark: #c9551a;
  --brand-light: #ffe7d4;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6f76;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --container: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-soft { background: rgba(255, 231, 212, 0.3); }
.bg-dark { background: #1a1a1a; color: #fff; }
.eyebrow { color: var(--brand); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.center { text-align: center; }
.mb-2 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.text-muted { color: var(--muted); }
.max-w-xl { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 500;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease;
  font-size: 0.95rem;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f5f5f5; }

/* ---------- Header ---------- */
.topbar { background: var(--brand-dark); color: #fff; font-size: 0.78rem; padding: 0.4rem 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.logo img { height: 100px; width: auto; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { color: rgba(0,0,0,0.75); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; }

@media (max-width: 900px) {
  .nav-links, .header .btn { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 0.5rem 1.25rem 1rem; border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-light), #fff 70%);
  padding: 4rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.6rem; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { margin: 0 0.45rem; opacity: 0.6; }
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero p { max-width: 640px; }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(135deg, var(--brand-light), #fff 60%); padding: 5rem 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tag-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 1px solid var(--brand-light);
  color: var(--brand-dark); padding: 0.4rem 0.9rem;
  border-radius: 999px; font-size: 0.82rem; margin-bottom: 1.25rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--brand); }
.hero p.lead { font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 540px; }
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.stats { display: flex; gap: 2.5rem; }
.stat .n { color: var(--brand); font-size: 1.5rem; font-weight: 600; }
.stat .l { font-size: 0.78rem; color: var(--muted); }
.hero-img-wrap { position: relative; }
.hero-img { width: 100%; height: 480px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 16px;
  padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.hero-badge .star { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.hero-badge .lt { font-size: 0.85rem; }
.hero-badge .sm { font-size: 0.72rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { height: 320px; } }

/* ---------- Section header ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: all .25s ease;
}
.card:hover { border-color: var(--brand); box-shadow: 0 16px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-pad { padding: 1.5rem; }
.card-img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.card:hover .card-img { transform: scale(1.05); }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
.card-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.9rem; }
.card-link { color: var(--brand); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(3px); }

/* category card */
.cat-card { padding: 1.5rem; border-radius: 18px; border: 1px solid var(--border); background: #fff; transition: all .2s; }
.cat-card:hover { border-color: var(--brand); background: rgba(255, 231, 212, 0.25); }
.cat-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; transition: all .2s; }
.cat-card:hover .cat-icon { background: var(--brand); color: #fff; }

/* service card */
.service-card { padding: 1.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--border); transition: all .2s; }
.service-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.service-card .cat-icon { margin-bottom: 1rem; }

/* project card */
/* ── Project Card ── */
.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 16px;
  padding: 10px;                /* ← the gap around the image */
  overflow: visible;            /* ← must NOT be hidden */
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-cover-wrap {
  position: relative;
  border-radius: 10px;          /* ← rounds image inside card */
  overflow: hidden;             /* ← only clip here, not on card */
}

.project-cover-wrap .card-img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1a1a1a;
}

.project-meta {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.project-card h3 {
  margin: 0.4rem 0 0.25rem;
  transition: color 0.2s;
}

.project-card:hover h3 {
  color: var(--brand);
}

.project-card .loc {
  font-size: 0.85rem;
  color: var(--muted);
}

/* tag chip */
.chip { display: inline-block; background: rgba(255,255,255,0.95); color: var(--brand); padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 500; }
.project-cover-wrap { position: relative; overflow: hidden; border-radius: 18px; }
.project-cover-wrap .chip { position: absolute; top: 12px; left: 12px; }

/* ---------- About / Story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { width: 100%; height: 520px; object-fit: cover; border-radius: 24px; }
.story-badge {
  position: absolute; bottom: -20px; right: -20px; background: var(--brand); color: #fff;
  border-radius: 18px; padding: 1.4rem; max-width: 240px; box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.story-badge .num { font-size: 1.8rem; font-weight: 600; }
.story-badge p { color: rgba(255,255,255,0.9); font-size: 0.85rem; margin-top: 0.25rem; }
.split-img-wrap { position: relative; }
@media (max-width: 900px) { .story-badge { display: none; } .split img { height: 360px; } }

/* feature box */
.feature {
  padding: 1.25rem; border: 1px solid var(--border); border-radius: 16px; transition: border-color .2s;
}
.feature:hover { border-color: var(--brand); }
.feature .cat-icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.82rem; }

/* stats blocks */
.stat-card { background: #fff; border-radius: 18px; padding: 1.5rem; text-align: center; }
.stat-card .n { color: var(--brand); font-size: 2rem; font-weight: 600; }
.stat-card .l { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* values / team */
.value-card { background: #fff; padding: 1.5rem; border-radius: 18px; border: 1px solid var(--border); }
.team-card { text-align: center; }
.team-card .team-img { aspect-ratio: 1; object-fit: cover; border-radius: 18px; margin-bottom: 0.75rem; }
.team-card .nm { font-size: 0.92rem; }
.team-card .rl { font-size: 0.78rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; padding: 1.75rem; border-radius: 18px; border: 1px solid var(--border); position: relative; }
.t-card .stars { color: var(--brand); margin-bottom: 0.75rem; letter-spacing: 2px; }
.t-card p { color: #333; margin-bottom: 1.25rem; }
.t-card .who { display: flex; align-items: center; gap: 0.7rem; }
.t-card .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; }
.t-card .nm { font-size: 0.88rem; }
.t-card .ct { font-size: 0.78rem; color: var(--muted); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--brand); color: #fff; padding: 4rem 0; text-align: center; }
.cta-strip h2 { margin-bottom: 0.6rem; }
.cta-strip p { color: rgba(255,255,255,0.9); max-width: 580px; margin: 0 auto 1.6rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.info-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.info-row .ti { font-size: 0.92rem; }
.info-row .tx { font-size: 0.88rem; color: var(--muted); }

form.contact-form {
  background: rgba(255, 231, 212, 0.4); border: 1px solid var(--brand-light);
  padding: 2rem; border-radius: 24px;
}
.field { display: block; margin-bottom: 1rem; }
.field label { display: block; font-size: 0.88rem; margin-bottom: 0.4rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 12px;
  font: inherit; background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.map-wrap { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); margin-top: 2.5rem; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Filter pills ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 0.88rem; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Service / Project detail ---------- */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  background: rgba(255,231,212,0.3); border: 1px solid var(--brand-light);
  padding: 1rem; border-radius: 12px; font-size: 0.92rem;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.feature-list li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process { padding: 1.25rem; border-radius: 16px; border: 1px solid var(--border); }
.process .step { color: var(--brand); font-size: 0.82rem; margin-bottom: 0.25rem; }
.process .nm { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.process p { font-size: 0.85rem; }

.aside-card {
  background: rgba(255,231,212,0.4); border: 1px solid var(--brand-light);
  border-radius: 24px; padding: 1.75rem; position: sticky; top: 100px;
}
.aside-card .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.aside-card .sep { height: 1px; background: var(--brand-light); margin: 1.25rem 0; }
.aside-card a { color: var(--brand); display: block; font-size: 0.92rem; margin-bottom: 0.25rem; }

.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0 0 3rem; }
@media (max-width: 700px) { .meta-grid { grid-template-columns: repeat(2, 1fr); } }
.meta { padding: 1.1rem; border: 1px solid var(--border); border-radius: 16px; }
.meta .lb { color: var(--brand); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.35rem; }
.meta .vl { font-size: 0.92rem; }

.scope-card { background: rgba(255,231,212,0.4); border: 1px solid var(--brand-light); border-radius: 24px; padding: 1.75rem; }
.scope-card h3 { margin-bottom: 0.9rem; }
.scope-card li { font-size: 0.92rem; padding: 0.35rem 0; padding-left: 1rem; position: relative; }
.scope-card li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { width: 100%; height: 320px; object-fit: cover; border-radius: 18px; }
.gallery .wide { grid-column: span 2; height: 460px; }
@media (max-width: 700px) { .gallery .wide { grid-column: span 1; height: 280px; } }

.proj-nav { background: rgba(255,231,212,0.4); border-top: 1px solid var(--brand-light); border-bottom: 1px solid var(--brand-light); padding: 2rem 0; }
.proj-nav-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.92rem; }

/* ---------- Footer ---------- */
footer { background: #1a1a1a; color: rgba(255,255,255,0.7); padding: 4rem 0 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { background: #fff; padding: 0.5rem; border-radius: 12px; display: inline-block; margin-bottom: 1rem; }
.foot-logo img { height: 40px; }
.foot h4 { color: #fff; font-size: 0.92rem; margin-bottom: 1rem; font-weight: 600; }
.foot a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color .2s; }
.foot a:hover { color: var(--brand); }
.foot ul li { padding: 0.25rem 0; }
.socials { display: flex; gap: 0.5rem; margin-top: 1rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: grid; place-items: center; transition: background .2s;
}
.socials a:hover { background: var(--brand); color: #fff; }
.foot-bot { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; font-size: 0.78rem; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.foot-bot a { font-size: 0.78rem; margin-left: 1rem; }

/* simple icon utility (uses unicode glyphs) */
.ic-glyph { font-size: 1.1rem; line-height: 1; }
