/* Palette and typography follow zotowear.com */
:root {
  --gold: #fab803;
  --gold-strong: #e0a500;
  --gold-soft: #fdd975;
  --gold-tint: #fff6da;
  --gold-text: #8a6502;
  --ink: #1a1423;
  --ink-2: #2e2714;
  --warm: #f5f4f0;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #212529;
  --muted: #5b5f66;
  --border: #e7e3d8;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 1px 2px rgba(26, 20, 35, 0.06), 0 10px 28px rgba(26, 20, 35, 0.08);
  --radius: 12px;
  --header-h: 72px;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--gold-text); }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink);
  padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.4rem; border-radius: 8px; border: 2px solid var(--gold);
  background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold-strong); border-color: var(--gold-strong); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn-light { background: transparent; border-color: var(--on-dark); color: var(--on-dark); }
.btn-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn-sm { padding: 0.45rem 0.95rem; font-size: 0.85rem; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn-icon svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
[hidden] { display: none !important; }
.link { font-weight: 700; text-decoration: none; color: var(--gold-text); }
.link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.footer-brand img { height: 42px; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) {
  color: var(--on-dark-muted); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
}
.site-nav a:not(.btn):hover,
.site-nav a.active { color: var(--gold); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem 1rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0; }
  .site-nav .btn { margin-top: 0.5rem; }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4.5rem, 10vw, 8rem);
  color: var(--on-dark);
  background:
    radial-gradient(50rem 26rem at 85% -10%, rgba(250, 184, 3, 0.22), transparent 70%),
    radial-gradient(36rem 20rem at -10% 110%, rgba(250, 184, 3, 0.12), transparent 70%),
    var(--ink);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 85%, 0 0);
}
.hero-inner { max-width: 880px; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--ink); background: var(--gold);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; color: var(--on-dark); }
.hero h1 .accent { color: var(--gold); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--on-dark-muted); }
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin: 1.75rem 0 2.75rem; }
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: flex; justify-content: center; gap: clamp(1.5rem, 6vw, 4rem); flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); }
.hero-stats span { color: var(--on-dark-muted); font-size: 0.9rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--warm); }
.section-gold { background: var(--gold); }
.section-gold .section-head p { color: var(--ink-2); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 0.6rem;
  background: var(--gold); border-radius: 2px;
}
.section-gold .section-head h2::after { background: var(--ink); }
.section-head p { color: var(--muted); }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.75rem; }
.search { flex: 1 1 280px; max-width: 420px; }
.search input {
  width: 100%; padding: 0.75rem 1rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit;
}
.search input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(250, 184, 3, 0.3); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted);
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-bottom: 4px solid var(--gold);
  padding: 1.5rem; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(26, 20, 35, 0.14); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--ink); color: var(--gold);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.1rem; margin: 0; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600;
  background: var(--gold); color: var(--ink);
}
.badge-cat { background: var(--gold-tint); color: var(--gold-text); }
.service-card .btn { align-self: flex-start; }
.no-results { color: var(--muted); text-align: center; padding: 2rem 0; }

/* Summary table */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
.summary-table { width: 100%; min-width: 1100px; border-collapse: collapse; font-size: 0.9rem; }
.summary-table th,
.summary-table td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.summary-table thead th {
  position: sticky; top: 0; background: var(--ink); color: var(--gold);
  font-family: var(--font-head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.summary-table tbody th { font-family: var(--font-head); font-weight: 700; min-width: 180px; color: var(--ink); }
.summary-table tbody tr:last-child > * { border-bottom: 0; }
.summary-table tbody tr:nth-child(even) { background: #fcfbf8; }
.summary-table tbody tr:hover { background: var(--gold-tint); }
.summary-table ul { margin: 0; padding-left: 1.1rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 1.75rem 1.5rem; border-radius: var(--radius);
  background: var(--ink); color: var(--on-dark);
  box-shadow: 0 10px 28px rgba(26, 20, 35, 0.25);
}
.why-card h3 { font-size: 1.1rem; color: var(--gold); }
.why-card p { color: var(--on-dark-muted); margin: 0; }

/* Clients */
.client-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.client-list li {
  padding: 0.75rem 1.3rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); font-family: var(--font-head); font-weight: 600; color: var(--ink);
  border-left: 4px solid var(--gold);
}

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-inner h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
.contact-inner > div > p { color: var(--muted); }
.contact-points { padding-left: 1.2rem; color: var(--muted); }
.contact-points li::marker { color: var(--gold); }
.contact-form {
  display: grid; gap: 1rem; padding: 1.75rem; border-radius: var(--radius);
  border: 1px solid var(--border); border-top: 4px solid var(--gold);
  background: var(--surface); box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 0.35rem; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.7rem 0.85rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--warm); color: var(--text); font: inherit; font-family: var(--font-body); font-weight: 400;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(250, 184, 3, 0.3); background: #fff; }
.contact-form [aria-invalid="true"] { border-color: #c62828; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.9rem; color: var(--muted); }
.form-status.error { color: #c62828; }
.form-status.success { color: #2e7d32; }
.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.contact-direct { margin-top: 1.75rem; }
.contact-direct p { margin: 0 0 0.75rem; font-weight: 600; color: var(--ink); }
.contact-direct-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-fab:hover { background: #1da851; transform: translateY(-2px); }
.whatsapp-fab svg { width: 30px; height: 30px; }
.contact-form .btn { justify-self: start; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 2rem 0; font-size: 0.9rem; border-top: 4px solid var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer .link { color: var(--gold); }

/* Dialog */
.service-dialog {
  width: min(820px, 100% - 2rem); max-height: 90vh; padding: 0;
  border: 0; border-top: 5px solid var(--gold); border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(26, 20, 35, 0.35);
}
.service-dialog::backdrop { background: rgba(26, 20, 35, 0.65); backdrop-filter: blur(3px); }
.dialog-inner { position: relative; padding: 2rem; }
.dialog-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 40px; height: 40px;
  border: 0; border-radius: 8px; background: var(--warm); color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--gold); }
.dialog-header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; padding-right: 2.5rem; }
.dialog-header h2 { margin: 0.2rem 0 0; font-size: 1.4rem; }
.dialog-details { color: var(--muted); }
.dialog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 1.25rem 0; }
.dialog-grid section { background: var(--warm); border-radius: 10px; padding: 1rem 1.1rem; }
.dialog-grid h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-text); margin-bottom: 0.4rem; }
.dialog-grid ul { margin: 0; padding-left: 1.1rem; }
.dialog-grid p { margin: 0; }
.dialog-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.dialog-subhead { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-text); margin: 1.25rem 0 0.6rem; }
.workflow { list-style: none; padding: 0; margin: 0.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.workflow li {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--ink); color: var(--gold); padding: 0.3rem 0.65rem; border-radius: 999px;
}
.workflow li:not(:last-child)::after { content: "\2192"; margin-left: 0.45rem; color: var(--on-dark-muted); }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (max-width: 560px) { .module-grid { grid-template-columns: 1fr; } }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { background: var(--ink); color: var(--on-dark-muted); border-radius: 10px; padding: 1rem; border-top: 4px solid var(--gold); }
.plan h4 { font-family: var(--font-head); font-size: 1rem; margin: 0; color: var(--on-dark); }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--gold); margin: 0.2rem 0 0.6rem; }
.plan ul { margin: 0; padding-left: 1.05rem; font-size: 0.84rem; line-height: 1.5; }
.plan li + li { margin-top: 0.3rem; }
.module { border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 8px; padding: 0.75rem 0.9rem; }
.module h4 { font-family: var(--font-head); font-size: 0.92rem; margin: 0 0 0.25rem; color: var(--ink); }
.module p { margin: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
