/* Remodelaciones MX — design system
   Colors, type and layout follow the approved Claude Design concept 1:1. */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-normal-latin.woff2') format('woff2'),
       url('/assets/fonts/instrument-serif-normal-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/instrument-serif-italic-latin.woff2') format('woff2'),
       url('/assets/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/karla-latin.woff2') format('woff2'),
       url('/assets/fonts/karla-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'),
       url('/assets/fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'),
       url('/assets/fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
}

:root {
  --bg: #F7F3EE;
  --bg-alt: #EFE7DD;
  --bg-card: #FFFDFA;
  --ink: #1E1A17;
  --ink-soft: #24201C;
  --ink-soft2: #3A332D;
  --border: #E0D6C9;
  --border-card: #E7DED3;
  --border-card2: #E1D7CB;
  --border-dashed: #DCD1C4;
  --text: #1E1A17;
  --text-body: #4A423B;
  --text-body2: #564E47;
  --text-body3: #3B342E;
  --muted: #6B615A;
  --accent: #B4532A;
  --accent-dark: #8E3D1C;
  --gold: #C89B3C;
  --green: #6E7C63;
  --cream: #E8DCCF;
  --cream2: #E4DCD2;
  --muted-lt1: #9C9188;
  --muted-lt2: #B8ADA2;
  --muted-lt3: #C6B9AC;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
::selection { background: var(--cream); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

@keyframes rmSlide { from { transform: translateX(24px); opacity: 0 } to { transform: translateX(0); opacity: 1 } }
@keyframes rmUp { from { transform: translateY(14px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  padding: 9px 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: var(--cream); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,243,238,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; padding: 16px 0; }
.logo { display: flex; align-items: baseline; gap: 8px; }
.logo__word { font-family: var(--font-serif); font-size: 27px; letter-spacing: -0.01em; color: var(--ink); }
.logo__tag { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.14em; }

.nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.nav a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  background: transparent; border: 0; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  color: var(--text-body); text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav a.is-active { color: var(--bg); background-color: var(--ink); }

.cart-btn {
  display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg);
  border: 0; border-radius: 999px; padding: 11px 18px; font-family: var(--font-sans);
  font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.cart-btn:hover { color: var(--bg); text-decoration: none; opacity: 0.92; }
.cart-badge {
  background: var(--accent); color: #fff; border-radius: 999px; min-width: 22px; padding: 2px 7px;
  font-family: var(--font-mono); font-size: 12px; text-align: center;
}

.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--ink);
  border-radius: 999px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 16px 28px; font-family: var(--font-sans);
  font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; color: var(--bg); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.section--hero { padding: 72px 0 56px; }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__copy { animation: rmUp .5s ease both; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 20px; }
.h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 22px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-body); max-width: 540px; margin: 0 0 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--border); padding-top: 22px; max-width: 560px; }
.stat__num { font-family: var(--font-serif); font-size: 34px; line-height: 1; }
.stat__label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; margin-top: 6px; }

.hero__media { display: grid; grid-template-rows: 1.4fr 1fr; gap: 14px; height: 560px; }
.hero__media-main { border-radius: 4px; overflow: hidden; position: relative; }
.hero__media-main img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__media-thumb { border-radius: 4px; overflow: hidden; position: relative; }
.hero__media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-note {
  border-radius: 4px; background: var(--ink); color: var(--bg); padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero__media-note span:first-child { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--gold); }
.hero__media-note span:last-child { font-family: var(--font-serif); font-size: 26px; line-height: 1.15; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--bg); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: 44px; margin: 0; letter-spacing: -0.015em; }
.section-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }

.trust-bar { background: var(--ink); color: #fff; padding: 22px 0; }
.trust-bar__inner {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted-lt3);
}

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; padding: 26px;
}
.card__tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 14px; }
.card h3 { font-size: 26px; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.6; color: #564E47; margin: 0 0 16px; }
.card__price { font-family: var(--font-mono); font-size: 12px; color: var(--ink); border-top: 1px dashed var(--border-dashed); padding-top: 12px; }

.step { border-top: 2px solid var(--ink); padding-top: 16px; }
.step__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 24px; margin: 0 0 8px; }
.step p { font-size: 15px; line-height: 1.6; color: #564E47; margin: 0; }

.why-media { height: 420px; border-radius: 4px; overflow: hidden; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.reasons { display: grid; gap: 16px; }
.reason { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.reason__dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; margin-top: 7px; }
.reason__title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.reason__text { font-size: 15px; line-height: 1.6; color: #564E47; }

.testimonial { border: 1px solid var(--ink-soft2); border-radius: 4px; padding: 26px; background: var(--ink-soft); }
.testimonial__stars { color: var(--gold); letter-spacing: 0.2em; font-size: 14px; margin-bottom: 14px; }
.testimonial p { font-size: 16px; line-height: 1.65; color: var(--cream2); margin: 0 0 18px; }
.testimonial__author { font-family: var(--font-mono); font-size: 11px; color: var(--muted-lt1); letter-spacing: 0.08em; }

.product-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.product-card__img { height: 170px; overflow: hidden; background: var(--cream); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__cat { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; }
.product-card__name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.product-card__desc { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.product-card__price { font-family: var(--font-mono); font-size: 16px; color: var(--ink); }
.product-card__stock { font-family: var(--font-mono); font-size: 10px; color: var(--green); }

.cta-banner { background: var(--accent); color: #FFF6EF; padding: 64px 0; }
.cta-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-banner h2 { font-size: 40px; margin: 0 0 10px; }
.cta-banner p { margin: 0; font-size: 17px; opacity: 0.92; }

/* ---------- Pills / filters ---------- */
.pill {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; border: 1px solid #D9CDBF;
  border-radius: 999px; padding: 9px 16px; cursor: pointer; background: transparent; color: var(--text-body);
  text-decoration: none; display: inline-block;
}
.pill.is-active { color: #F7F3EE; background-color: var(--ink); border-color: var(--ink); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: 64px 32px 0; max-width: var(--max); margin: 0 auto; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: 56px; margin: 0 0 16px; letter-spacing: -0.02em; }
.page-head p { font-size: 18px; color: var(--text-body2); max-width: 680px; line-height: 1.6; margin: 0 0 30px; }
main.page { max-width: var(--max); margin: 0 auto; padding: 64px 32px; }

/* ---------- Servicios ---------- */
.service-row {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; padding: 30px;
  display: grid; grid-template-columns: 220px 1fr 220px; gap: 32px; align-items: start; margin-bottom: 18px;
}
.service-row h2 { font-size: 28px; margin: 0; }
.service-row .card__tag { margin-bottom: 10px; }
.service-row p { font-size: 16px; line-height: 1.65; color: var(--text-body); margin: 0 0 14px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-chip { font-family: var(--font-mono); font-size: 11px; background: var(--bg-alt); border-radius: 999px; padding: 6px 12px; color: var(--text-body); }
.service-row__price { text-align: right; }
.service-row__price .from { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.service-row__price .amt { font-family: var(--font-serif); font-size: 30px; margin: 4px 0 6px; }
.service-row__price .term { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* ---------- Proyectos ---------- */
.project-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; overflow: hidden; }
.project-card__img { height: 260px; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { padding: 26px; }
.project-card h2 { font-size: 28px; margin: 0 0 8px; }
.project-card p { font-size: 15px; line-height: 1.6; color: #564E47; margin: 0 0 18px; }
.project-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px dashed var(--border-dashed); padding-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.project-stats b { display: block; color: var(--ink); font-size: 15px; font-weight: 400; margin-bottom: 3px; font-family: var(--font-sans); }

/* ---------- Precios ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.package-card { border: 1px solid var(--border-card); border-radius: 4px; padding: 30px; }
.package-card--dark { background: var(--ink); color: #F7F3EE; }
.package-card--light { background: var(--bg-card); color: var(--ink); }
.package-card__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 12px; }
.package-card h2 { font-size: 32px; margin: 0 0 6px; }
.package-card__price { font-family: var(--font-serif); font-size: 40px; margin-bottom: 4px; }
.package-card__unit { font-family: var(--font-mono); font-size: 11px; opacity: 0.7; margin-bottom: 20px; }
.package-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.package-card li { font-size: 15px; line-height: 1.5; border-bottom: 1px dashed rgba(120,110,100,0.3); padding-bottom: 9px; }

.calculator { background: var(--ink); color: #F7F3EE; border-radius: 4px; padding: 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.calculator h2 { font-size: 38px; margin: 0 0 10px; }
.calculator > div:first-child > p { color: var(--muted-lt2); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.calc-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold); display: block; margin-bottom: 10px; }
.calc-field { margin-bottom: 22px; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--accent); }
.calc-pill {
  border: 1px solid #4A423B; border-radius: 999px; padding: 10px 18px; font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted-lt3);
}
.calc-pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.calc-pill.extra.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.estimate-box { background: var(--ink-soft); border: 1px solid var(--ink-soft2); border-radius: 4px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.estimate-box__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted-lt1); margin-bottom: 12px; }
.estimate-box__amt { font-family: var(--font-serif); font-size: 52px; line-height: 1.05; margin-bottom: 8px; }
.estimate-box__detail { font-size: 14px; color: var(--muted-lt2); margin-bottom: 22px; }
.estimate-box__meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted-lt3); line-height: 1.9; border-top: 1px solid var(--ink-soft2); padding-top: 16px; }

/* ---------- Blog ---------- */
.blog-card { cursor: pointer; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; overflow: hidden; display: block; color: inherit; }
.blog-card:hover { text-decoration: none; }
.blog-card__img { height: 170px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 24px; }
.blog-card__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; }
.blog-card h2 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; color: var(--ink); }
.blog-card p { font-size: 15px; line-height: 1.6; color: #564E47; margin: 0; }

.article { max-width: 760px; margin: 0 auto; }
.article__back { background: transparent; border: 0; font-family: var(--font-mono); font-size: 12px; color: var(--accent); cursor: pointer; padding: 0 0 22px; display: inline-block; }
.article__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 14px; }
.article h1 { font-size: 46px; line-height: 1.1; margin: 0 0 24px; letter-spacing: -0.02em; }
.article__img { height: 300px; border-radius: 4px; overflow: hidden; margin-bottom: 30px; }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article p { font-size: 18px; line-height: 1.75; color: var(--text-body3); margin: 0 0 20px; }
.article__cta { background: var(--bg-alt); border-radius: 4px; padding: 26px; margin-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.article__cta div { font-size: 16px; color: var(--text-body); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-grid p { font-size: 18px; line-height: 1.7; color: var(--text-body3); margin: 0 0 18px; }
.about-media { height: 460px; border-radius: 4px; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.team-card { background: var(--bg-card); border: 1px solid var(--border-card2); border-radius: 4px; overflow: hidden; }
.team-card__img { height: 190px; overflow: hidden; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 20px; }
.team-card__name { font-family: var(--font-serif); font-size: 22px; }
.team-card__role { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin: 6px 0 10px; letter-spacing: 0.08em; }
.team-card__bio { font-size: 14px; line-height: 1.55; color: #564E47; }
.company-data { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.company-data__row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; border-bottom: 1px solid var(--border); padding: 14px 0; }
.company-data__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.company-data__v { font-size: 15px; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; padding: 22px 26px; }
.faq-item summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; list-style: none; font-family: var(--font-serif); font-size: 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { font-size: 16px; line-height: 1.7; color: var(--text-body); margin: 14px 0 0; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 4px; padding: 34px; }
.form-group { display: grid; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); display: block; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--border-dashed); border-radius: 3px; padding: 13px 14px;
  font-family: var(--font-sans); font-size: 15px; background: var(--bg); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-body2); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.form-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted); line-height: 1.7; }
.form-note.error { color: var(--accent); }

.contact-side { display: grid; gap: 18px; }
.contact-office { background: var(--ink); color: #F7F3EE; border-radius: 4px; padding: 30px; }
.contact-office__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.contact-office__line { font-size: 17px; line-height: 1.7; }
.contact-office hr { border: 0; border-top: 1px solid var(--ink-soft2); margin: 20px 0; }
.contact-office__hours { font-family: var(--font-mono); font-size: 12px; color: var(--muted-lt3); line-height: 1.8; }
.map-block { height: 220px; border-radius: 4px; background: repeating-linear-gradient(135deg, var(--cream) 0 14px, #DFD1C0 14px 28px); display: flex; align-items: center; justify-content: center; }
.map-block span { font-family: var(--font-mono); font-size: 11px; background: var(--ink); color: var(--cream); padding: 6px 10px; }
.coverage-block { background: var(--bg-alt); border-radius: 4px; padding: 24px; font-size: 14px; line-height: 1.65; color: var(--text-body); }

.success-box { padding: 40px 0; text-align: center; }
.success-box h1 { font-size: 34px; margin-bottom: 12px; }
.success-box p { font-size: 16px; color: var(--text-body2); line-height: 1.6; margin: 0 0 22px; }

/* ---------- Legal ---------- */
.legal-doc { max-width: 860px; margin: 0 auto; padding: 64px 32px; }
.legal-doc .updated { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 40px; }
.legal-doc section { margin-bottom: 32px; }
.legal-doc h2 { font-size: 26px; margin: 0 0 12px; }
.legal-doc p { font-size: 16px; line-height: 1.75; color: var(--text-body3); margin: 0 0 14px; }
.legal-doc .contact-box { background: var(--bg-alt); border-radius: 4px; padding: 24px; font-size: 14px; line-height: 1.7; color: var(--text-body); }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(30,26,23,0.45); z-index: 60; display: none; }
.cart-overlay.is-open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw; background: var(--bg);
  z-index: 61; display: none; flex-direction: column; box-shadow: -20px 0 60px rgba(30,26,23,0.2);
  animation: rmSlide .25s ease both;
}
.cart-drawer.is-open { display: flex; }
.cart-drawer__head { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__head span { font-family: var(--font-serif); font-size: 26px; }
.cart-drawer__close { background: transparent; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.cart-empty p { font-size: 16px; line-height: 1.6; }
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line__thumb { height: 64px; border-radius: 3px; overflow: hidden; background: var(--cream); }
.cart-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.cart-line__unit { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cart-line__row { display: flex; align-items: center; gap: 14px; }
.qty-stepper { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-dashed); border-radius: 999px; padding: 4px 10px; }
.qty-stepper button { background: transparent; border: 0; cursor: pointer; font-size: 16px; color: var(--accent); font-family: var(--font-mono); }
.qty-stepper span { font-family: var(--font-mono); font-size: 13px; min-width: 16px; text-align: center; }
.cart-line__total { font-family: var(--font-mono); font-size: 14px; margin-left: auto; }
.cart-line__remove { background: transparent; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 11px; color: var(--muted-lt1); }
.cart-drawer__foot { border-top: 1px solid var(--border); padding: 22px 28px 26px; background: var(--bg-alt); }
.cart-drawer__row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; color: var(--text-body2); }
.cart-drawer__total { display: flex; justify-content: space-between; font-family: var(--font-serif); font-size: 28px; margin: 14px 0 18px; }
.cart-drawer__foot .form-note { text-align: center; margin-top: 12px; }

/* ---------- Cart page ---------- */
.cart-page-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-page-line__thumb { width: 90px; height: 90px; border-radius: 4px; overflow: hidden; background: var(--cream); }
.cart-page-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary { background: var(--bg-alt); border-radius: 4px; padding: 26px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 70; background: var(--ink); color: var(--cream2);
  border-radius: 4px; padding: 22px 26px; display: none; gap: 24px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(30,26,23,0.3);
}
.cookie-banner.is-open { display: flex; }
.cookie-banner__text { flex: 1; min-width: 260px; font-size: 14px; line-height: 1.6; }
.cookie-banner__text a { color: var(--gold); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-reject { background: transparent; border: 1px solid #4A423B; color: var(--cream2); border-radius: 999px; padding: 11px 20px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-cookie-accept { background: var(--accent); border: 0; color: #fff; border-radius: 999px; padding: 11px 22px; font-family: var(--font-sans); font-weight: 700; font-size: 14px; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-lt3); padding: 64px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-soft2); }
.footer-brand { font-family: var(--font-serif); font-size: 28px; color: var(--bg); margin-bottom: 14px; }
.footer-grid p { font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.footer-legal-id { font-family: var(--font-mono); font-size: 11px; line-height: 1.9; color: var(--muted-lt1); }
.footer-col__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 15px; color: var(--muted-lt3); }
.footer-contact { font-size: 15px; line-height: 1.9; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; color: #7E756D; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 10px 20px 20px; gap: 2px; }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { position: relative; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding: 48px 20px 40px; }
  .h1 { font-size: 44px; }
  .hero__media { height: auto; }
  .hero__media-row { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .calculator { grid-template-columns: 1fr; padding: 28px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row__price { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-data { grid-template-columns: 1fr; }
  section, .section { padding: 48px 20px; }
  .wrap, main.page, .page-head { padding-left: 20px; padding-right: 20px; }
  .topbar { padding: 9px 20px; font-size: 11px; }
  .site-header__inner { padding: 14px 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .h1 { font-size: 36px; }
  .page-head h1 { font-size: 38px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .project-stats { grid-template-columns: 1fr; }
  .cart-page-line { grid-template-columns: 70px 1fr; }
  .cart-page-line .cart-page-line__price { grid-column: 1 / -1; }
}
