@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #FDFAF6;
  --cream2: #F5F0E8;
  --amber: #E8973A;
  --amber-light: #FDF3E3;
  --espresso: #1A120B;
  --espresso-60: rgba(26,18,11,0.6);
  --terra: #C4522A;
  --terra-light: #FDF0EB;
  --green: #2D6A4F;
  --text: #1A120B;
  --text-mid: #5C4A3A;
  --text-soft: #9C8A7A;
  --white: #FFFFFF;
  --border: rgba(26,18,11,0.09);
  --shadow-sm: 0 2px 8px rgba(26,18,11,0.06), 0 1px 2px rgba(26,18,11,0.04);
  --shadow-md: 0 8px 24px rgba(26,18,11,0.10), 0 2px 6px rgba(26,18,11,0.06);
  --shadow-lg: 0 20px 48px rgba(26,18,11,0.13), 0 4px 12px rgba(26,18,11,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --max-w: 1160px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPE ─── */
h1,h2,h3 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.15; color: var(--espresso); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { color: var(--text-mid); }
a { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,250,246,0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; gap: 32px;
}
.nav-logo-img img { height: 48px; width: auto; display: block; }
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; color: var(--espresso);
  letter-spacing: -0.5px; flex-shrink: 0;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid); padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s var(--ease), color 0.2s;
}
.nav-links a:hover { background: var(--cream2); color: var(--espresso); }
.nav-cta {
  background: var(--espresso) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terra) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--espresso); margin: 5px 0; border-radius: 2px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s var(--ease); border: none;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-dark { background: var(--espresso); color: var(--white); }
.btn-dark:hover { background: var(--terra); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--espresso); border: 1.5px solid rgba(26,18,11,0.25); }
.btn-outline:hover { border-color: var(--espresso); background: var(--cream2); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: #D4832A; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ─── HERO HOME ─── */
.hero-wrap {
  min-height: 91vh; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 72px 28px 80px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-light); color: var(--terra);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 7px 16px;
  border-radius: var(--radius-pill); margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--terra); border-radius: 50%; flex-shrink: 0; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-sub { font-size: 1.1rem; line-height: 1.65; margin-bottom: 40px; max-width: 50ch; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-img-wrap {
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 3/2; position: relative;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img,
.hero-img-wrap .ph { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; bottom: 28px; left: -28px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  min-width: 220px;
}
.hero-float-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--amber-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.4rem;
}
.hero-float-label { font-size: 0.82rem; font-weight: 700; color: var(--espresso); line-height: 1.3; }
.hero-float-sub { font-size: 0.74rem; color: var(--text-soft); }
.hero-dot {
  position: absolute; top: 24px; right: -16px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--terra-light); border: 6px solid var(--cream);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.hero-dot span:first-child { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--terra); line-height: 1; }
.hero-dot span:last-child { font-size: 0.6rem; font-weight: 600; color: var(--terra); text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── SECTION HEADERS ─── */
.sec-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px;
}
.sec-h { margin-bottom: 14px; }
.sec-p { font-size: 1.05rem; max-width: 58ch; margin-bottom: 52px; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }
.sec-head-row .sec-p { margin-bottom: 0; }

/* ─── SERVICE CARDS ─── */
.services-bg { background: var(--white); }
.cards-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: var(--cream); border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid var(--border);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card-media { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.svc-card-media .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.04); }
.svc-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.svc-card-body h3 { margin-bottom: 10px; }
.svc-card-body p { font-size: 0.92rem; flex: 1; }
.svc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: 0.88rem; font-weight: 600;
  color: var(--terra); transition: gap 0.2s var(--ease);
}
.svc-card:hover .svc-card-link { gap: 10px; }

/* ─── WHY SECTION ─── */
.why-bg { background: var(--cream2); }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.why-card {
  background: var(--white); border-radius: 20px;
  padding: 32px; display: flex; gap: 20px;
  border: 1px solid var(--border);
}
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.why-card h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--espresso); margin-bottom: 6px; }
.why-card p { font-size: 0.9rem; }

/* ─── STATS BAND ─── */
.stats-band { background: var(--espresso); padding: 56px 0; }
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--white); line-height: 1; }
.stat-num span { color: var(--amber); }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-top: 6px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--espresso) 0%, #3A2010 100%);
  padding: 96px 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,151,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.65); max-width: 48ch; margin: 0 auto 40px; position: relative; font-size: 1.05rem; }

/* ─── FOOTER ─── */
footer { background: var(--espresso); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--white); display: block; margin-bottom: 14px; }
.footer-logo span { color: var(--amber); }
footer p { font-size: 0.87rem; color: rgba(255,255,255,0.5); max-width: none; }
.footer-contact { margin-top: 16px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-contact a:hover { color: var(--amber); }
.footer-col h5 { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--amber); }

/* ─── PAGE HERO (service pages) ─── */
.page-hero { padding: 80px 0 70px; background: var(--cream2); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--terra); }
.page-hero p { font-size: 1.1rem; margin-bottom: 36px; }
.page-hero-img { border-radius: 24px; overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-lg); }
.page-hero-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }

/* ─── PRODUCT TYPE CARDS ─── */
.type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.type-card {
  border-radius: 20px; overflow: hidden;
  position: relative; aspect-ratio: 3/2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.type-card .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }
.type-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,18,11,0.75));
  padding: 48px 20px 22px; color: var(--white);
}
.type-card-overlay h4 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--white); }
.type-card-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ─── FEATURES ─── */
.feat-bg { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card {
  background: var(--cream); border-radius: 20px;
  padding: 28px 24px; border: 1px solid var(--border);
}
.feat-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feat-card h4 { font-family: 'DM Sans', sans-serif; font-size: 0.98rem; font-weight: 600; color: var(--espresso); margin-bottom: 8px; }
.feat-card p { font-size: 0.88rem; }

/* ─── STEPS ─── */
.steps-bg { background: var(--cream2); }
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.step { text-align: center; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--espresso); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.3rem;
  margin: 0 auto 18px;
}
.step h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--espresso); margin-bottom: 8px; }
.step p { font-size: 0.88rem; }

/* ─── PLACEHOLDERS ─── */
.ph {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7);
  text-align: center; padding: 16px;
}
.ph-emoji { font-size: 3rem; line-height: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-visual { order: -1; }
  .hero-img-wrap { aspect-ratio: 16/9; border-radius: 20px; }
  .hero-float { left: 16px; bottom: 20px; }
  .hero-dot { display: none; }
  .cards-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-row { grid-template-columns: repeat(2,1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2,1fr); }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-img { order: -1; aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px 24px;
    border-bottom: 1px solid var(--border); gap: 4px;
  }
  .nav-toggle { display: block; }
  .stats-row { flex-direction: column; align-items: center; }
  .steps-row { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── STATS BAND - VIBRANT UPDATE ─── */
.stats-band {
  background: linear-gradient(135deg, #C4522A 0%, #E8973A 50%, #C4522A 100%);
  padding: 56px 0;
}
.stat-num { color: var(--white); }
.stat-num span { color: rgba(255,255,255,0.7); }
.stat-label { color: rgba(255,255,255,0.8); }

/* ─── IMAGE FIT - all images fill containers correctly ─── */
.hero-img-wrap img,
.page-hero-img img,
.svc-card-media img,
.type-card img,
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  text-decoration: none;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  margin-right: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.lang-switch:hover {
  transform: scale(1.12);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  border-color: var(--espresso);
}
.lang-flag { display: contents; }
.lang-label { display: none; }
