/* C&B Merchand — restrained industrial design system.
   Graphite / white / light grey, safety-orange accent. No web fonts (system
   stack only, for LCP), no photography — typography, color and simple
   icon/shape work carries the visual identity until real assets exist. */

:root {
  --graphite: #1b1e23;
  --graphite-2: #262b32;
  --white: #ffffff;
  --grey-100: #f5f6f8;
  --grey-200: #e7e9ed;
  --grey-400: #c3c8d1;
  --grey-600: #5b6270;
  --text: #1b1e23;
  --accent: #ff6a00;
  --accent-dark: #d95c00;
  --trust-blue: #1d3557;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
  color: var(--grey-600);
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 760px;
}
.section {
  padding: 56px 0;
}
.section-alt {
  background: var(--grey-100);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
}
.btn-outline {
  background: transparent;
  border-color: var(--grey-400);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--grey-100);
}
.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

/* --- header --- */
.site-header {
  background: var(--graphite);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark-amp {
  color: var(--accent);
}
.wordmark-light {
  font-weight: 400;
  color: var(--grey-400);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
}
.site-nav a {
  color: var(--grey-400);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}
.nav-cta {
  color: #fff !important;
  margin-left: 4px;
  padding: 10px 16px;
  font-size: 0.85rem;
}
.lang-switch {
  border: 1px solid var(--grey-600);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff !important;
}

/* --- hero --- */
.hero {
  background: var(--graphite);
  color: #fff;
  padding: 72px 0 64px;
}
.hero h1 {
  color: #fff;
  max-width: 820px;
}
.hero p.lede {
  color: var(--grey-400);
  font-size: 1.15rem;
  max-width: 640px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* --- trust bar --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.trust-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* --- cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 24px;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grey-100);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* --- process steps --- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  counter-reset: step;
  margin-top: 32px;
}
.process-step {
  position: relative;
  padding: 20px 18px;
  background: var(--grey-100);
  border-radius: var(--radius);
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.process-step p {
  font-size: 0.9rem;
  margin: 0;
}

/* --- table --- */
.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-200);
}
th {
  background: var(--grey-100);
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* --- FAQ (pure HTML, no JS needed) --- */
.faq-item {
  border-bottom: 1px solid var(--grey-200);
}
.faq-item summary {
  padding: 18px 4px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  padding: 0 4px 18px;
}

/* --- CTA banner --- */
.cta-banner {
  background: var(--trust-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}
.cta-banner h2 {
  color: #fff;
}
.cta-banner p {
  color: var(--grey-400);
}

/* --- forms --- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.form-grid .field-full {
  grid-column: 1 / -1;
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--grey-400);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field-hint {
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-top: 4px;
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.consent-row input {
  width: auto;
  margin-top: 4px;
}
.consent-row label {
  font-weight: 400;
  font-size: 0.88rem;
}
.form-note {
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--grey-600);
  margin-top: 20px;
}

/* --- footer --- */
.site-footer {
  background: var(--graphite);
  color: var(--grey-400);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.wordmark-footer {
  margin-bottom: 12px;
}
.footer-legal-note {
  font-size: 0.82rem;
  color: var(--grey-600);
}
.footer-legal {
  font-size: 0.85rem;
  color: var(--grey-400);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-phone {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}
.footer-email {
  background: none;
  border: 1px solid var(--grey-600);
  color: var(--grey-400);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}
.footer-email:hover {
  border-color: var(--accent);
  color: #fff;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--grey-400);
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid var(--graphite-2);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--grey-600);
}

/* --- mobile CTA bar --- */
.mobile-cta-bar {
  display: none;
}

/* --- badges / conditional notes --- */
.note-conditional {
  display: inline-block;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  font-size: 0.78rem;
  color: var(--grey-600);
  font-weight: 600;
}

/* --- responsive --- */
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--graphite);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .site-nav.open {
    transform: translateX(0);
  }
  .nav-cta {
    order: 10;
  }
  body {
    padding-bottom: 64px;
  }
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  }
  .mobile-cta {
    flex: 1;
    text-align: center;
    padding: 14px 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
  }
  .mobile-cta.call {
    background: var(--graphite);
    color: #fff;
  }
  .mobile-cta.whatsapp {
    background: #25d366;
    color: #fff;
  }
  .mobile-cta.quote {
    background: var(--accent);
    color: #fff;
  }
}
