@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --black: #0D0E0C;
  --black-soft: #1B1D18;
  --white: #FFFFFF;
  --paper: #FAF9F5;
  --green: #0F8A4B;
  --red: #D6262B;
  --muted: #6E7268;
  --muted-light: #B7B9AC;
  --line: #E4E2D6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, .serif { font-family: 'Fraunces', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--black);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1152px;
  margin: 0 auto;
}
.logo img { height: 40px; }
nav.desktop-nav { display: none; gap: 28px; align-items: center; }
nav.desktop-nav a {
  color: var(--muted-light);
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav.desktop-nav a.active { color: var(--white); border-bottom: 2px solid var(--red); }
.menu-toggle { display: block; background: none; border: none; cursor: pointer; }
.menu-toggle svg { stroke: white; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 0 24px 20px; border-top: 1px solid var(--black-soft); }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--muted-light); padding: 12px 0; font-size: 16px; }
.mobile-nav a.active { color: var(--white); }

@media (min-width: 1024px) {
  nav.desktop-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* hero */
.hero { background: var(--black); color: var(--white); padding-bottom: 64px; }
.hero-inner { padding-top: 64px; display: grid; gap: 40px; grid-template-columns: 1fr; }
.hero h1 { font-size: 40px; font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
.hero p.lead { color: var(--muted-light); margin-top: 24px; max-width: 480px; font-size: 17px; }
.hero-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-cta .text-link { color: var(--white); font-weight: 600; font-size: 14px; background: none; border: none; cursor: pointer; }
.hero-image { overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%); border: 1px solid var(--black-soft); }
.hero-image img { width: 100%; object-fit: cover; min-height: 260px; }

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 3fr 2fr; align-items: start; padding-top: 96px; }
  .hero h1 { font-size: 64px; }
}

/* stats strip */
.stats { background: var(--green); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-num { font-family: 'Fraunces', serif; color: var(--white); font-size: 32px; font-weight: 600; }
.stat-label { color: #DFF3E6; font-size: 14px; margin-top: 4px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* section generic */
section.section { padding: 80px 0; }
.section h2 { font-size: 32px; font-weight: 500; max-width: 560px; margin: 0 0 40px; }
@media (min-width: 768px) { .section h2 { font-size: 36px; } }
.section-dark { background: var(--black); color: var(--white); }
.section-paper { background: var(--paper); }

/* services grid */
.services-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.services-grid .service { padding: 32px 0; border-bottom: 1px solid var(--line); }
.services-grid .service h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.services-grid .service p { color: var(--muted); font-size: 14px; margin: 0; }
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service { padding: 32px; border-bottom: none; border-left: 1px solid var(--line); }
  .services-grid .service:first-child { border-left: none; padding-left: 0; }
}
.services-grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px 48px; }
@media (min-width: 768px) { .services-grid-2 { grid-template-columns: 1fr 1fr; } }
.service-card { padding-top: 24px; }
.service-card h2 { font-size: 22px; margin: 0 0 12px; }
.service-card p { color: var(--muted); margin: 0; }

/* pillars / checklist */
.pillars { display: grid; grid-template-columns: 1fr; gap: 20px 32px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: flex; align-items: center; gap: 12px; }
.pillar svg { flex-shrink: 0; }

/* testimonials */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.testimonial p.quote { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.testimonial p.name { font-weight: 600; font-size: 14px; margin: 0; }

/* client logos */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-top: 24px; }
.logo-row img { height: 70px; }

/* portfolio */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 64px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case-grid img.screen { border-radius: 8px; border: 1px solid var(--line); margin-bottom: 16px; }
.case-grid img.logo { height: 56px; margin-bottom: 16px; }
.project-list-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-list-row .tag { color: var(--green); font-size: 12px; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card.featured { background: var(--black); color: var(--white); border: 2px solid var(--red); }
.price-card .badge { color: var(--red); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.price-card h3 { font-size: 20px; margin: 0 0 4px; }
.price-card .price { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; margin: 0 0 4px; }
.price-card .care { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price-card.featured .care { color: var(--muted-light); }
.price-card .inherits { font-size: 12px; font-style: italic; color: var(--muted); margin-bottom: 12px; }
.price-card.featured .inherits { color: var(--muted-light); }
.price-card .feature-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1; }
.price-card .feature-list div { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.price-card .feature-list svg { margin-top: 3px; flex-shrink: 0; }
.price-card .care-includes { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price-card.featured .care-includes { color: var(--muted-light); }
.addons-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .addons-grid { grid-template-columns: 1fr 1fr; } }
.addon-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.addon-row span.price { color: var(--muted); }

/* about tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.tab-btn { border: 1px solid var(--black); background: transparent; color: var(--black); padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.tab-btn.active { background: var(--black); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 2fr; } }
.about-grid img { border-radius: 8px; object-fit: cover; width: 100%; height: 320px; }
blockquote.pull { font-family: 'Fraunces', serif; border-left: 3px solid var(--red); padding-left: 20px; font-style: italic; font-size: 18px; margin: 0 0 24px; }
.bio p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.bio p.emphasis { font-family: 'Fraunces', serif; color: var(--black); font-style: italic; font-size: 16px; }
.bio strong { color: var(--black); }

/* blog */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag-pill { border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.blog-list { border-top: 1px solid var(--line); }
.blog-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.blog-row .title { font-family: 'Fraunces', serif; font-size: 18px; padding-right: 24px; }
.blog-row .cat { color: var(--green); font-size: 12px; white-space: nowrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-light); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px; border-radius: 6px; border: none;
  background: var(--black-soft); color: var(--white); font-family: 'Work Sans', sans-serif;
}

/* footer */
footer { background: var(--black); color: var(--muted-light); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--black-soft); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid img { height: 36px; margin-bottom: 12px; }
.footer-grid h4 { color: var(--white); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.footer-grid a, .footer-grid span { display: block; font-size: 14px; margin-bottom: 8px; }
.footer-bottom { font-size: 12px; padding-top: 24px; }

/* cta banner */
.cta-banner { background: var(--black); padding: 56px; text-align: center; margin-top: 64px; }
.cta-banner h2 { color: var(--white); font-size: 26px; max-width: 480px; margin: 0 auto 24px; }

/* whatsapp float button */
.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 16px rgba(0,0,0,0.25);
  z-index: 40;
}

/* cart float button */
.cart-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 40;
}
.cart-float .cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--red); color: white;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(13,14,12,0.92);
  z-index: 100; display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 40px 20px;
}
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-inner img { width: 100%; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: -44px; right: 0; background: none; border: none;
  color: white; font-size: 32px; cursor: pointer; line-height: 1;
}
.lightbox-caption { color: var(--muted-light); font-size: 14px; margin-top: 12px; text-align: center; }

/* gallery grid */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { cursor: pointer; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; object-position: top; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .gallery-caption { padding: 14px 16px; }
.gallery-item .gallery-caption .g-title { font-family: 'Fraunces', serif; font-size: 16px; margin: 0 0 4px; }
.gallery-item .gallery-caption .g-sub { font-size: 12px; color: var(--muted); margin: 0; }

/* service card image */
.service-card img.service-img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; color: var(--red); font-weight: 700; margin-right: 10px; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { color: var(--muted); font-size: 14px; margin: 12px 0 0 20px; }

/* legal pages */
.legal-content h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal-content ul { padding-left: 20px; }

/* ---------------- Shop ---------------- */
.shop-hero { background: var(--black); color: var(--white); padding: 56px 0; }
.shop-hero h1 { font-size: 34px; font-weight: 500; margin: 0 0 12px; }
.shop-hero p { color: var(--muted-light); max-width: 520px; margin: 0; }

.shop-toolbar { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.shop-search { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: 'Work Sans', sans-serif; font-size: 15px; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

.service-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-tile {
  border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--white);
  display: flex; flex-direction: column; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-tile:hover { box-shadow: 0 8px 24px rgba(13,14,12,0.08); transform: translateY(-2px); }
.service-tile .cat-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--green); font-weight: 700; margin-bottom: 8px; }
.service-tile h3 { font-size: 18px; margin: 0 0 8px; }
.service-tile p { color: var(--muted); font-size: 13px; margin: 0 0 16px; flex: 1; }
.service-tile .tile-price { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.service-tile .tile-price .unit { font-size: 12px; font-weight: 400; color: var(--muted); font-family: 'Work Sans', sans-serif; }
.tile-actions { display: flex; gap: 8px; }
.btn-small { font-size: 13px; padding: 9px 16px; }

/* package hero card */
.package-card {
  background: var(--black); color: var(--white); border: 2px solid var(--red);
  border-radius: 12px; padding: 32px; position: relative; margin-bottom: 48px;
}
.package-badge {
  position: absolute; top: -14px; left: 24px; background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.package-card h2 { font-size: 26px; margin: 8px 0 12px; }
.package-card .package-price { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 700; margin: 0 0 16px; }
.package-includes { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 20px 0; }
@media (min-width: 640px) { .package-includes { grid-template-columns: repeat(2, 1fr); } }
.package-includes div { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-light); }

/* upsell banner */
.upsell-banner {
  background: #FFF7E8; border: 1px solid #EED9A8; border-radius: 8px; padding: 16px 20px;
  font-size: 14px; color: #5C4A1A; margin: 20px 0; display: flex; align-items: center; gap: 12px;
}
.upsell-banner strong { color: var(--black); }
.upsell-banner a { color: var(--green); font-weight: 600; white-space: nowrap; }

/* cart */
.cart-table { width: 100%; min-width: 480px; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; cursor: pointer; font-size: 16px; }
.cart-remove { color: var(--red); font-size: 13px; cursor: pointer; background: none; border: none; font-weight: 600; }
.cart-summary { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; }
.cart-summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 16px; }
.empty-cart-msg { text-align: center; color: var(--muted); padding: 60px 0; }

/* builder */
.builder-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.builder-item input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; }
.builder-item .b-name { font-weight: 600; font-size: 15px; }
.builder-item .b-price { color: var(--muted); font-size: 13px; }
.builder-sticky {
  position: sticky; top: 80px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 24px;
}

/* checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 3fr 2fr; } }
.checkout-field { margin-bottom: 16px; }
.checkout-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.checkout-field input, .checkout-field select, .checkout-field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font-family: 'Work Sans', sans-serif; font-size: 15px;
}
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--black); }

/* admin orders */
.order-row { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.order-row-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.status-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status-new { background: #E8F0FE; color: #1A56C4; }
.status-pending { background: #FFF3D6; color: #916000; }
.status-confirmed { background: #E3F6EA; color: #0A6438; }
.status-in-progress { background: #EDE6FB; color: #5A2FAD; }
.status-completed { background: #DFF3E6; color: #0A6438; }
.status-cancelled { background: #FBE3E3; color: #A81E22; }
.order-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
