/* Forge Website - base styles. Industry templates override CSS variables only. */
:root {
  --primary: #00695c;
  --primary-dark: color-mix(in srgb, var(--primary) 75%, black);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, white);
  --bg: #fcfaf7;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-overlay: #ffffff;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e8e4dd;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  /* Shadows are tinted to the brand primary, not pure brown. See rules on "generic box-shadow". */
  --shadow: 0 6px 28px color-mix(in srgb, var(--primary) 14%, transparent);
  --shadow-sm: 0 2px 8px color-mix(in srgb, var(--primary) 10%, transparent);
  --shadow-lg: 0 18px 60px color-mix(in srgb, var(--primary) 18%, transparent);
  --font-heading: Inter, Georgia, serif;
  --font-body: Inter, -apple-system, system-ui, sans-serif;
  --max-width: 1140px;
  /* Safe areas for notched / home-indicator devices */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* Pad bottom to clear the sticky mobile CTA bar (~64px + iPhone indicator) */
  padding-bottom: calc(80px + var(--safe-bottom));
  overflow-x: hidden;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration: underline; }
*:focus { outline: 2px solid var(--primary); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
/* Tabular figures for any number that gets read or compared (hours, ratings, counts). */
body { font-variant-numeric: tabular-nums; }
/* Skip-link for keyboard users. Hidden until focused; jumps to <main>. */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: white;
  padding: 10px 16px; border-radius: 0 0 8px 0;
  z-index: 100; font-weight: 600;
}
/* ─── Trust bar ────────────────────────────────── */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.trustbar__inner { display: flex; align-items: center; gap: 16px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.trustbar__item { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-soft); font-weight: 500; flex-shrink: 0; }
.trustbar__item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.trustbar__rating { display: flex; align-items: center; gap: 8px; }
.trustbar__stars { color: #f5a623; letter-spacing: 1.5px; font-size: 0.95rem; }
.trustbar__divider { width: 1px; height: 16px; background: var(--line); flex-shrink: 0; }
@media (min-width: 720px) { .trustbar__inner { justify-content: center; } }
@media (max-width: 720px) { .trustbar__inner { overflow-x: auto; scrollbar-width: none; padding-right: 22px; } .trustbar__inner::-webkit-scrollbar { display: none; } .trustbar__item { white-space: nowrap; font-size: 0.82rem; } .trustbar__divider { display: none; } }


.skip-link:focus { left: 0; outline: 2px solid white; outline-offset: 2px; }
.nav__hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Subtle SVG noise overlay. Fixed, pointer-events:none, low opacity. Breaks flat sterility. */
.noise::before {
  content: ""; position: fixed; inset: 0; z-index: 60;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 14px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
.section--alt { background: var(--surface); }

/* ─── Bento services grid (homepage preview) ───── */
/* 6 cards in a true asymmetric bento:
     row 1: card 1 spans 2 cols, card 2 takes 1 col
     row 2: card 3 takes 1 col, card 4 spans 2 cols
   -> 4 unique cells + 2 = 6 cards, no empty, no repeat. */
.bento-services {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 980px) {
  .bento-services { grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
  .bento-services .service-card:nth-child(1) { grid-column: span 2; }
  .bento-services .service-card:nth-child(4) { grid-column: span 2; }
  /* Tinted lead tile */
  .bento-services .service-card:nth-child(1) {
    background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 6%, var(--surface)));
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  }
  .bento-services .service-card:nth-child(1) .service-card__title { font-size: 1.6rem; }
  .bento-services .service-card:nth-child(1) .service-card__desc { font-size: 1.05rem; line-height: 1.5; }
}
.service-card {
  background: var(--surface); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-card__title { color: var(--primary); margin-bottom: 10px; }
.service-card__desc { color: var(--muted); font-size: 0.96rem; }
/* Flat list version for services.html - clean and even */
.services-list {
  display: grid; gap: 16px;
}
@media (min-width: 700px) { .services-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 980px) { .services-list { grid-template-columns: repeat(3, 1fr); } }
.section__head { text-align: center; margin-bottom: 32px; }
@media (min-width: 768px) { .section__head { margin-bottom: 44px; } }
.section__head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ─── Nav ───────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 20px; }
.nav__brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--ink); white-space: nowrap; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
.nav__brand:hover { text-decoration: none; }
.nav__links { display: none; gap: 24px; list-style: none; }
.nav__links a { color: var(--ink); font-size: 0.95rem; }
.nav__links a:hover { color: var(--primary); text-decoration: none; }
.nav__links a.is-active { color: var(--primary); font-weight: 600; }
.nav__cta { display: inline-flex; }
.nav__hamburger {
  background: none; border: 0; padding: 8px 10px; cursor: pointer;
  color: var(--ink); font-size: 1.4rem; line-height: 1;
  min-width: 44px; min-height: 44px;     /* WCAG touch target */
  display: inline-flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
/* Tight nav at <480px: hide the nav CTA, brand stays. Hamburger only on the right. */
@media (max-width: 479px) {
  .nav__inner { padding: 12px 16px; gap: 10px; }
  .nav__brand { font-size: 1.05rem; }
  .nav__cta { display: none; }
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}
.nav__menu {
  display: none; background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 16px; box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}
.nav__menu.is-open { display: block; }
.nav__menu ul { list-style: none; }
.nav__menu li {
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  min-height: 48px; display: flex; align-items: center;   /* ≥44px tap target */
}
.nav__menu li:last-child { border-bottom: 0; }
.nav__menu a { color: var(--ink); flex: 1; -webkit-tap-highlight-color: transparent; }
.nav__menu .nav__menu-cta {
  display: block; margin-top: 8px;
  background: #25d366; color: white; padding: 14px 18px;
  border-radius: 12px; text-align: center; font-weight: 600;
}
@media (min-width: 768px) { .nav__menu { display: none !important; } }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--secondary { background: white; color: var(--ink); border: 1.5px solid var(--line); }
.btn--secondary:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.btn--whatsapp { background: #25d366; color: white; }
.btn--whatsapp:hover { background: #1ea952; }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
}
.hero__inner {
  display: grid; gap: 32px; align-items: end;
}
/* Asymmetric split: text takes the lead, photo offsets down (slight overlap on caption). */
.hero__copy { max-width: 580px; }
.hero__meta {
  display: flex; gap: 18px; align-items: center;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 0.92rem; color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__badges { display: flex; align-items: center; gap: 12px; margin: 14px 0 22px; flex-wrap: wrap; }
.hero__rating { display: inline-flex; align-items: center; gap: 6px; background: white; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 0.92rem; }
.hero__rating-stars { color: #f5a623; letter-spacing: 1px; }
.hero__cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px;
}
/* Stack vertically & full-width below 560px so the labels never truncate. */
@media (max-width: 559px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; min-height: 52px; }
}
.hero__photo {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.hero__photo-placeholder {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; width: 100%;
  background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 20%, white));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 2.4rem; color: var(--primary);
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 96px; }
  .hero__inner { grid-template-columns: 1.25fr 1fr; gap: 64px; }
}

/* ─── Open/Closed pill ──────────────────────────── */
.open-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; background: #e8f5ec; color: #1f7a3a; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2cb354; }
.open-status.is-closed { background: #fdecec; color: #a8202a; }
.open-status.is-closed::before { background: #d23434; }

/* ─── Stars ─────────────────────────────────────── */
.star { color: #f5a623; }
.star--half { background: linear-gradient(90deg, #f5a623 50%, #d8d8d8 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star--empty { color: #d8d8d8; }

/* ─── Reviews ───────────────────────────────────── */
.reviews-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.review-card__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.review-card__text { color: var(--ink); margin-bottom: 14px; font-style: italic; }
.review-card__author { color: var(--muted); font-size: 0.9rem; }

/* ─── Hours table ───────────────────────────────── */
.hours-table { width: 100%; max-width: 480px; margin: 0 auto; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table th, .hours-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.hours-table th { font-weight: 600; color: var(--ink); background: var(--primary-soft); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table td { color: var(--muted); }

/* ─── Contact grid ──────────────────────────────── */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.1fr 1fr; } }
.contact-block { background: var(--surface); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.contact-actions .btn { width: 100%; }
.contact-map { border: 0; border-radius: var(--radius); width: 100%; height: 320px; box-shadow: var(--shadow); }

/* ─── Story / about ─────────────────────────────── */
.story-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.story-photo { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }

/* ─── CTA strip (above footer) ─────────────────── */
.cta-strip {
  background: var(--primary); color: white;
  padding: 56px 0; text-align: center;
}
.cta-strip h2 { color: white; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.92); margin-bottom: 24px; font-size: 1.05rem; }
.cta-strip .btn--secondary { background: white; color: var(--ink); }

/* ─── Footer ────────────────────────────────────── */
.footer { background: #1a1a1a; color: #d2d2d2; padding: 50px 0 24px; }
.footer__grid { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand { font-family: var(--font-heading); font-size: 1.4rem; color: white; margin-bottom: 8px; }
.footer h4 { color: white; font-size: 0.95rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 6px; }
.footer a { color: #d2d2d2; }
.footer a:hover { color: white; }
.footer__bottom { border-top: 1px solid #2a2a2a; padding-top: 22px; font-size: 0.85rem; color: #888; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__legal {
  border-top: 1px solid #2a2a2a; margin-top: 18px; padding-top: 16px;
  font-size: 0.82rem; color: #888;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.footer__legal a { color: #aaa; }
.footer__legal a:hover { color: white; }

/* ─── Mobile sticky bottom CTA ────────────────── */
/* Always-visible WhatsApp + Call bar. Hidden on ≥769px where the nav has CTA. */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + var(--safe-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.mobile-cta__inner {
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  max-width: var(--max-width); margin: 0 auto;
}
.mobile-cta .btn {
  min-height: 48px; border-radius: 12px; padding: 10px 12px;
  font-weight: 600;
}
@media (max-width: 768px) { .mobile-cta { display: block; } }
