/* YFS homepage (English at /, Spanish at /es/). Colors, type and shapes come from the YFS brand kit. */
:root {
  --surface: #f6f4ef;
  --surface-raised: #ffffff;
  --ink: #0d1520;
  --ink-body: #2b3542;
  --ink-muted: #4a5462;
  --navy-deep: #090f18;
  --navy: #0f1b2b;
  --navy-raised: #121b28;
  --navy-line: #243042;
  --navy-edge: #3a4250;
  --on-navy: #f2f0ea;
  --on-navy-body: #c9cfd8;
  --on-navy-muted: #a7b0bd;
  --concrete: #c9c4b8;
  --field-line: #b9b3a5;
  --safety: #f07c22;
  --safety-ink: #a8460a;
  --safety-ink-hover: #7a3207;
  --safety-on-navy: #f39a4d;
  --built: #2f7d4f;
  --built-ink: #1f5c39;
  --built-tint: #e3efe7;
  --line: #ddd8cc;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy-deep); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: var(--safety-ink); }
a:hover { color: var(--safety-ink-hover); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--safety); outline-offset: 2px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--safety); color: var(--navy-deep); font-family: var(--display); font-weight: 700; padding: 12px 16px; border-radius: var(--radius-md); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.sec { padding-top: 96px; padding-bottom: 96px; }

.label { font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--safety-ink); }
.label.on-navy, .pricing .label, .contact .label, .consulting .label { color: var(--safety-on-navy); }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sec-h2 { font-size: 44px; line-height: 48px; font-weight: 800; letter-spacing: -0.01em; }
.sec-lead { font-size: 20px; line-height: 30px; color: var(--ink-muted); }
.sec-intro { font-size: 17px; line-height: 26px; color: var(--ink-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius-md); font-family: var(--display); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-safety { background: var(--safety); color: var(--navy-deep); border: 0; }
.btn-safety:hover { background: #f38d3d; color: var(--navy-deep); }
.btn-ghost { border: 1px solid var(--navy-edge); color: var(--on-navy); font-family: var(--sans); font-weight: 600; }
.btn-ghost:hover { border-color: var(--on-navy-muted); color: var(--on-navy); }

/* Language suggestion bar (English page, phones set to Spanish) */
.lang-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 16px; background: var(--safety); color: var(--navy-deep); font-weight: 600; font-size: 15px; }
.lang-bar a { color: var(--navy-deep); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.lang-bar button { font: inherit; font-size: 22px; line-height: 1; background: none; border: 0; color: var(--navy-deep); min-width: 44px; min-height: 44px; cursor: pointer; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--navy-deep); border-bottom: 1px solid var(--navy-line); }
.header-row { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--on-navy); flex-shrink: 0; }
.brand:hover { color: var(--on-navy); }
.brand svg { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 26px; letter-spacing: -0.02em; }
.brand-sub { font-weight: 600; font-size: 13px; line-height: 16px; color: var(--on-navy-muted); }
.nav-links { display: flex; margin-left: auto; margin-right: 12px; gap: 28px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--on-navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--safety-on-navy); }
.lang { display: flex; flex-shrink: 0; border: 1px solid var(--navy-edge); border-radius: var(--radius-md); overflow: hidden; font-family: var(--display); font-weight: 700; font-size: 14px; }
.lang > * { color: var(--on-navy); text-decoration: none; padding: 0 14px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.lang a:hover { color: var(--safety-on-navy); }
.lang [aria-current] { background: var(--on-navy); color: var(--navy-deep); }
.header-cta { font-size: 15px; padding: 12px 18px; white-space: nowrap; flex-shrink: 0; }

/* Hero */
.hero { background: var(--navy-deep); color: var(--on-navy); }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-h1 { font-size: 64px; line-height: 62px; font-weight: 800; letter-spacing: -0.02em; }
.hero-h1 em, .accent { color: var(--safety-on-navy); }
.hero-lead { font-size: 20px; line-height: 30px; color: var(--on-navy-body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-safety { font-size: 17px; padding: 16px 24px; }
.hero-actions .btn-ghost { font-size: 17px; padding: 15px 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--on-navy-muted); padding-top: 12px; border-top: 1px solid var(--navy-line); }
.hero-facts strong { color: var(--on-navy); }
.hero-art { flex: 1 1 340px; min-width: 0; position: relative; }
.device { background: var(--navy-raised); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: 12px; }
.device-dots { display: flex; gap: 6px; padding: 2px 4px 10px; }
.device-dots span { width: 10px; height: 10px; border-radius: 5px; background: var(--navy-edge); }
.device-screen { aspect-ratio: 1080 / 820; border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.hero-phone { position: absolute; right: -16px; bottom: -44px; width: 120px; background: var(--navy-raised); border: 1px solid var(--navy-line); border-radius: var(--radius-lg); padding: 8px; }
.hero-phone .phone-screen { aspect-ratio: 9 / 19; border-radius: var(--radius-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; }

/* Sample-site screenshots (made-up businesses, real builds) */
.device-screen img, .phone-screen img, .work-shot img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }

/* Trades strip */
.trades { background: var(--navy); color: var(--on-navy-body); }
.trades-row { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-family: var(--display); font-weight: 600; font-size: 15px; }

/* 01 The build: the house */
.build { background: var(--surface); }
.build .wrap { display: flex; flex-direction: column; gap: 40px; }

.house { display: flex; flex-direction: column; gap: 24px; }
.house-start { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.house-start-q { font-family: var(--display); font-weight: 700; font-size: 18px; margin-right: 8px; }
.house-start button { font: inherit; font-weight: 600; font-size: 16px; border-radius: var(--radius-md); padding: 12px 18px; min-height: 44px; cursor: pointer; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--field-line); }
.house-start button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.house-body { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.house-diagram { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.house-inset { padding: 0 5%; }
.house-walls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 8px; padding: 0 5%; }

.piece { font: inherit; border: 0; cursor: pointer; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 18px; border-radius: var(--radius-sm); text-align: left; min-height: 44px; background: var(--concrete); color: var(--ink); position: relative; }
.piece-part { font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.piece-name { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 22px; overflow-wrap: break-word; hyphens: auto; }
.piece-chip { align-self: flex-start; font-size: 13px; font-weight: 600; line-height: 18px; padding: 2px 8px; border-radius: var(--radius-sm); border: 1px solid currentColor; }
.piece[data-status="next"] .piece-chip { background: var(--safety); color: var(--navy-deep); border-color: var(--safety); }
.piece[data-status="in"] { background: var(--built); color: #fff; }
.piece[data-status="in"] .piece-chip { background: var(--built-tint); color: var(--built-ink); border-color: var(--built-tint); }
.piece[aria-pressed="true"] { box-shadow: inset 0 0 0 4px var(--safety); }
.piece[aria-pressed="true"]:focus-visible { outline-color: var(--navy); }

/* The roof is a trapezoid drawn in SVG behind the label, so the button keeps a normal focus outline. */
.piece-roof { height: 104px; align-items: center; text-align: center; padding-top: 22px; background: transparent; }
.piece-roof .roof-shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.piece-roof .roof-shape polygon { fill: var(--concrete); stroke: none; }
.piece-roof[data-status="in"] { background: transparent; }
.piece-roof[data-status="in"] .roof-shape polygon { fill: var(--built); }
.piece-roof[aria-pressed="true"] { box-shadow: none; }
.piece-roof[aria-pressed="true"] .roof-shape polygon { stroke: var(--safety); stroke-width: 6px; stroke-linejoin: round; }
.piece-roof > :not(.roof-shape) { position: relative; z-index: 1; }
.piece-roof .piece-chip { align-self: center; }
.piece-sign { min-height: 84px; }
.piece-wall, .piece-door { height: 200px; justify-content: flex-end; }
.piece-door { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.piece-site { min-height: 104px; padding: 18px 24px; background: var(--navy); color: #fff; }
.piece-site .piece-name { font-weight: 800; font-size: 22px; line-height: 26px; }
.piece-blueprint { margin-top: 16px; padding: 16px 18px; border: 2px dashed #8a8475; background: var(--surface); }
.piece-blueprint .piece-line { font-size: 16px; }

.house-panel { flex: 1 1 300px; min-width: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.panel-part { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--safety-ink); }
.panel-name { font-size: 28px; line-height: 32px; font-weight: 800; }
.panel-price { font-family: var(--display); font-weight: 700; font-size: 18px; }
.panel-what { font-size: 17px; line-height: 26px; color: var(--ink-body); }
.panel-alone { font-size: 15px; line-height: 22px; color: var(--built-ink); background: var(--built-tint); border-radius: var(--radius-sm); padding: 10px 12px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.panel-actions .btn-safety { font-size: 16px; padding: 12px 18px; }
.panel-toggle { font: inherit; font-weight: 600; font-size: 15px; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--field-line); border-radius: var(--radius-md); padding: 12px 16px; min-height: 44px; cursor: pointer; }
.panel-progress { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-muted); }
.panel-progress strong { color: var(--ink); }

/* 02 The work */
.work { background: var(--surface-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work .wrap, .one-system .wrap, .process .wrap, .pricing .wrap { display: flex; flex-direction: column; gap: 40px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.work-card:hover { color: var(--ink); border-color: var(--field-line); }
.work-shot { aspect-ratio: 1080 / 820; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.work-caption { padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.work-caption b { font-family: var(--display); font-weight: 700; font-size: 22px; }
.work-caption span { font-size: 15px; color: var(--ink-muted); }

/* 03 One system */
.one-system { background: var(--surface); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.card p { font-size: 16px; line-height: 24px; color: var(--ink-muted); flex-grow: 1; }
.card-price { font-size: 14px; font-weight: 600; color: var(--ink); }
.card a { font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }

/* 04 Automation consulting */
.consulting { background: var(--navy); color: var(--on-navy); }
.consulting .wrap { display: flex; flex-direction: column; gap: 40px; }
.consulting .sec-head { max-width: 780px; }
.consulting .sec-lead { font-size: 19px; line-height: 29px; color: var(--on-navy-body); }
.consult-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.consult-card { background: var(--navy-raised); border: 1px solid var(--navy-line); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.consult-card h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 25px; color: var(--on-navy-body); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.consult-price { background: var(--surface); color: var(--ink); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.consulting .consult-price .label { color: var(--safety-ink); }
.consult-price .price span { color: var(--ink-muted); }
.consult-price > p { font-size: 17px; line-height: 26px; color: var(--ink-body); }
.consult-price .btn-safety { margin-top: auto; font-size: 17px; padding: 16px 20px; text-align: center; }
.consult-price p.consult-fine { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* 05 Pricing */
.pricing { background: var(--navy-deep); color: var(--on-navy); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card { background: var(--navy-raised); border: 1px solid var(--navy-line); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.price-card h3 { font-size: 26px; line-height: 30px; font-weight: 800; }
.price-card ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 26px; color: var(--on-navy-body); }
.price-card p { font-size: 16px; line-height: 26px; color: var(--on-navy-body); }
.price-card-main { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.price-card-main ul { color: var(--ink-body); }
.price-card-main .label { color: var(--safety-ink); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price b { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 56px; }
.price span { font-size: 16px; color: var(--on-navy-muted); }
.price-card-main .price span { color: var(--ink-muted); }
.price b.price-word { font-size: 40px; line-height: 46px; }
.price-card .btn-safety { margin-top: auto; font-size: 17px; padding: 16px 20px; text-align: center; }
.own-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--navy-line); padding-top: 32px; }
.own-grid div { display: flex; flex-direction: column; gap: 6px; }
.own-grid h3 { font-size: 20px; font-weight: 700; }
.own-grid p { font-size: 16px; line-height: 24px; color: var(--on-navy-muted); }

/* 05 About, with the photo slot */
.about { background: var(--surface); }
.about-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.photo-slot { flex: 1 1 300px; max-width: 420px; min-width: 260px; aspect-ratio: 4 / 5; margin: 0; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-md); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.photo-slot > svg { width: 96px; height: 96px; }
/* A real photo dropped into the slot fills it and covers the stand-in panel. */
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 1; }
.photo-slot:has(> img) > :not(img) { display: none; }
.photo-facts { display: flex; flex-direction: column; gap: 12px; }
.photo-facts div { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--navy-line); padding-top: 14px; }
.photo-facts span { font-size: 13px; color: var(--on-navy-muted); }
.photo-facts b { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 30px; }
.about-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy .sec-h2 { font-size: 40px; line-height: 44px; }
.about-copy > p { font-size: 18px; line-height: 28px; color: var(--ink-body); }
.about-copy blockquote { margin: 0; padding: 20px 0 0; border-top: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 32px; }

/* 06 Process */
.process { background: var(--surface-raised); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps > div { display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--navy); padding-top: 20px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 44px; color: var(--safety-ink); }
.steps h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.steps p { font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* 07 FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-row { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-row > .sec-head { flex: 1 1 300px; min-width: 0; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 26px; padding: 18px 36px 18px 0; min-height: 44px; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--safety-ink); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 18px; font-size: 17px; line-height: 26px; color: var(--ink-body); }

/* 08 Contact */
.contact { background: var(--navy); color: var(--on-navy); }
.contact-row { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact-copy > p { font-size: 18px; line-height: 28px; color: var(--on-navy-body); }
.contact-phone { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 40px; color: var(--safety-on-navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.contact-phone:hover { color: #f7b47a; }
.contact-email { font-size: 17px; color: var(--on-navy); min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--on-navy); }
.demo-form { flex: 1 1 420px; min-width: 0; background: var(--surface); color: var(--ink); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select { font: inherit; font-size: 16px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); min-height: 44px; width: 100%; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 16px; }
.demo-form .btn-safety { font-size: 17px; padding: 16px 20px; min-height: 52px; }
.demo-form .btn-safety:disabled { opacity: 0.7; cursor: progress; }
.form-note { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.form-note a { color: var(--safety-ink); }
.form-result { font-size: 16px; line-height: 24px; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-result[data-state="success"] { background: var(--built-tint); color: var(--built-ink); }
.form-result[data-state="error"] { background: #fbe9e7; color: #8c1d18; }
.secure-submit { font: inherit; font-weight: 600; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--field-line); border-radius: var(--radius-md); padding: 12px 16px; min-height: 44px; cursor: pointer; }
.form-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-honeypot > * { position: absolute; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); border-top: 1px solid var(--navy-line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; padding-top: 40px; padding-bottom: 40px; font-size: 15px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-brand b { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--on-navy); }
.footer-row a { color: var(--on-navy-muted); min-height: 44px; display: inline-flex; align-items: center; }
.footer-row a:hover { color: var(--on-navy); }
.footer-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 24px; }

/* Phones: call bar fixed to the bottom */
.phone-bar { display: none; }

@media (max-width: 1100px) {
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .hero-row { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .hero-h1 { font-size: 52px; line-height: 52px; }
  .build .wrap, .work .wrap, .one-system .wrap, .process .wrap, .pricing .wrap { gap: 32px; }
  .house-walls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .house-walls .piece { padding: 14px 12px; }
  .house-walls .piece-name { font-size: 16px; line-height: 20px; }
}
@media (max-width: 1000px) {
  .consult-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consult-price { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card-main { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .work-grid, .card-grid, .price-grid, .own-grid, .steps, .consult-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  /* Room for the fixed call bar, inside the navy footer so the page ends on navy. */
  body:not(.inner) .site-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 56px; padding-bottom: 56px; }
  .hero-row { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero-h1 { font-size: 44px; line-height: 46px; }
  .sec-h2, .about-copy .sec-h2 { font-size: 30px; line-height: 34px; }
  .sec-lead { font-size: 18px; line-height: 27px; }
  .hero-lead { font-size: 18px; line-height: 27px; }
  .hero-actions .btn { width: 100%; }
  .brand-sub, .hero-phone { display: none; }
  .header-row { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .header-cta { padding: 12px 14px; }
  .trades-row { justify-content: flex-start; gap: 6px 20px; }
  .house-panel { padding: 22px; }
  .price-card, .consult-card, .consult-price { padding: 24px; }
  .consulting .sec-lead { font-size: 18px; line-height: 27px; }
  .photo-slot { padding: 28px; flex-basis: 100%; max-width: none; min-width: 0; aspect-ratio: auto; min-height: 280px; gap: 32px; }
  .demo-form { padding: 22px; }
  .contact-phone { font-size: 28px; }
  .price b.price-word { font-size: 34px; line-height: 40px; }
  .footer-links { margin-left: 0; }
  .phone-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy-deep); border-top: 1px solid var(--navy-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; transition: transform 0.2s ease; }
  .phone-bar a { flex: 1; min-height: 46px; }
  .phone-bar .btn-ghost { font-size: 16px; }
  .phone-bar .btn-safety { font-size: 16px; }
  .phone-bar[data-hidden] { transform: translateY(110%); }
}
@media (max-width: 560px) {
  .house-inset, .house-walls { padding: 0; }
  .house-walls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .piece { padding: 12px 10px; }
  .piece-wall, .piece-door { height: 176px; }
  .house-walls .piece-name { font-size: 14px; line-height: 17px; }
  .house-walls .piece-part { font-size: 11px; letter-spacing: 0.04em; }
  .house-walls .piece-chip { font-size: 12px; padding: 1px 6px; }
  .piece-roof { padding-top: 20px; }
  .house-start-q { width: 100%; }
}
@media (max-width: 400px) {
  .header-cta { display: none; }
  .house-walls .piece-name { font-size: 13px; line-height: 16px; overflow-wrap: anywhere; }
  .piece { padding: 10px 8px; }
}

/* Inner pages: privacy (EN/ES) and 404 */
.page-head { background: var(--navy-deep); color: var(--on-navy); }
.page-head .wrap { padding-top: 72px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: 52px; line-height: 54px; font-weight: 800; letter-spacing: -0.02em; max-width: 760px; }
.page-head h1 em { color: var(--safety-on-navy); }
.page-head p { font-size: 18px; line-height: 28px; color: var(--on-navy-body); max-width: 640px; }
.page-head .meta { font-size: 15px; color: var(--on-navy-muted); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.page-actions .btn { font-size: 17px; padding: 14px 22px; }
.doc { background: var(--surface); }
.doc .wrap { padding-top: 64px; padding-bottom: 80px; }
.doc-body { max-width: 720px; display: flex; flex-direction: column; gap: 40px; }
.doc-body section { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.doc-body h2 { font-size: 26px; line-height: 32px; font-weight: 800; }
.doc-body p, .doc-body li { font-size: 17px; line-height: 27px; color: var(--ink-body); }
.doc-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.doc-body b { color: var(--ink); }
.doc-links { display: flex; flex-wrap: wrap; gap: 0 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.doc-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
@media (max-width: 760px) {
  .page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
  .page-head h1 { font-size: 38px; line-height: 42px; }
  .page-actions .btn { width: 100%; }
  .doc .wrap { padding-top: 40px; padding-bottom: 56px; }
}
body.inner { min-height: 100vh; display: flex; flex-direction: column; }
body.inner main { flex: 1 0 auto; display: flex; flex-direction: column; }
body.inner main > :last-child { flex: 1 0 auto; }
.inner .lang { margin-left: auto; }
