/* Homer Renovation (2026-12-02). Colours from the logo: Homer red + ink; plaster grey from the hero video's wall.
   The logo's 37° hammer angle is the one bold device: the hero panel's slanted edge and the card hover rule. */
:root {
  --red: #C8161D;        /* text-safe on white (6:1) */
  --red-dark: #9E1016;
  --red-bright: #EF3B3F; /* on ink backgrounds */
  --ink: #141517;
  --ink-2: #24272B;
  --plaster: #EEEFEC;
  --steel: #555C62;      /* body text on plaster: 6.1:1 */
  --line: #D7D9D5;
  --white: #fff;
  --radius: 6px;
  --wrap: 1160px;
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 "Archivo", Arial, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--head); font-stretch: 78%; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 48px); }
h3 { font-size: 22px; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); background: var(--red); color: #fff; font: 700 16px/1 var(--head); font-stretch: 90%; text-decoration: none; border: 2px solid var(--red); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 6px 18px rgba(20,21,23,.08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .mark { width: 58px; height: auto; flex: none; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word-main { font: 800 26px/1 var(--head); font-stretch: 100%; letter-spacing: .02em; }
.word-main b { color: var(--red); font-weight: 800; }
.word-sub { font: 600 12.5px/1 var(--head); letter-spacing: .32em; text-transform: uppercase; margin-top: 4px; color: var(--steel); }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--ink); text-decoration: none; font: 600 15.5px/1 var(--head); font-stretch: 92%; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a.active { border-color: var(--red); }
.top nav .call { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 2px solid var(--red); border-radius: 999px; color: var(--red); }
.top nav .call:hover { background: var(--red); color: #fff; }
.top nav .call svg { width: 17px; height: 17px; fill: currentColor; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero: video with a slanted ink panel cut at the hammer's angle */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,21,23,.55), rgba(20,21,23,.15) 70%); }
.hero-in { position: relative; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero-panel { position: relative; max-width: 660px; padding: 48px 120px 52px 44px; background: rgba(20,21,23,.86); clip-path: polygon(0 0, 100% 0, calc(100% - 75px) 100%, 0 100%); border-left: 6px solid var(--red-bright); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); color: #fff; margin-bottom: 18px; }
.hero p { font-size: 19px; color: rgba(255,255,255,.9); max-width: 470px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--steel); max-width: 420px; }

/* Services */
.services { padding: 96px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 14px 30px rgba(20,21,23,.12); transform: translateY(-3px); }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; border-top: 4px solid var(--red); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card p { color: var(--steel); font-size: 16px; }
.card ul { margin: 0 0 20px; padding: 0; list-style: none; font-size: 15.5px; }
.card li { padding: 7px 0 7px 18px; border-top: 1px solid var(--line); position: relative; }
.card li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 2px; background: var(--red); transform: rotate(-37deg); }
.more { margin-top: auto; font: 700 15.5px/1 var(--head); font-stretch: 92%; text-decoration: none; color: var(--red); }
.more::after { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; margin-left: 8px; vertical-align: middle; transition: width .15s; }
.more:hover::after { width: 28px; }

/* Why */
.why { background: var(--plaster); padding: 96px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.why-head p { color: var(--steel); font-size: 18px; margin-bottom: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 20px 20px 18px; border: 1px solid var(--line); }
.checks svg { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 4px; background: var(--red); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.checks h3 { font-size: 19px; margin: 3px 0 6px; }
.checks p { margin: 0; color: var(--steel); font-size: 15.5px; line-height: 1.5; }

/* About */
.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-img { margin: 0; position: relative; }
.about-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-img::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; border-left: 6px solid var(--red); border-bottom: 6px solid var(--red); z-index: -1; }
.about-text p { color: var(--steel); font-size: 18px; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info p { color: rgba(255,255,255,.82); font-size: 18px; }
.details { list-style: none; margin: 28px 0 0; padding: 0; }
.details li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.9); }
.details span { display: block; font: 600 13px/1.2 var(--head); letter-spacing: .04em; color: var(--red-bright); margin-bottom: 4px; }
.details a { color: #fff; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.details a:hover { text-decoration-color: var(--red-bright); }
.form { background: var(--white); color: var(--ink); border-radius: 10px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 700 15px/1.2 var(--head); font-stretch: 92%; }
.field label i { font-style: normal; font-weight: 500; color: var(--steel); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--plaster); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,22,29,.18); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 11px 14px; border-left: 3px solid var(--red); background: var(--plaster); border-radius: 0 6px 6px 0; font-size: 14.5px; line-height: 1.5; color: var(--steel); }
.form-note svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.form-end { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form button { min-height: 50px; padding: 0 30px; border: 0; border-radius: var(--radius); background: var(--red); color: #fff; font: 700 16px/1 var(--head); font-stretch: 90%; cursor: pointer; }
.form button:hover { background: var(--red-dark); }
.form button:disabled { opacity: .6; cursor: default; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: #1D7A36; font-weight: 600; }
.form-status.err { color: var(--red); font-weight: 600; }

/* Service pages */
.page-hero { position: relative; color: #fff; padding: 110px 0 96px; background: linear-gradient(90deg, rgba(20,21,23,.92), rgba(20,21,23,.6) 60%, rgba(20,21,23,.35)), var(--bg) center / cover no-repeat; }
.page-hero-in { max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 760px; }
.page-hero p { font-size: 19px; max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.crumbs { display: flex; gap: 10px; font-size: 15px; margin-bottom: 18px; color: rgba(255,255,255,.8); }
.crumbs a { color: #fff; }
.included { padding: 96px 0; }
.included-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.included-grid > div > p { color: var(--steel); font-size: 18px; }
.inc-img { margin: 24px 0 0; }
.inc-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.included .checks { grid-template-columns: 1fr; }
.included .checks li { padding: 24px; }
.included .checks h3 { font-size: 22px; }
.others { background: var(--plaster); padding: 80px 0; }
.others h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 28px; }
.others-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.other { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--steel); transition: box-shadow .2s; }
.other:hover { box-shadow: 0 12px 26px rgba(20,21,23,.12); }
.other img { width: 180px; height: 100%; min-height: 140px; object-fit: cover; }
.other span { padding: 18px 20px 18px 0; font-size: 15.5px; line-height: 1.5; }
.other strong { display: block; color: var(--ink); font: 800 21px/1.15 var(--head); font-stretch: 78%; margin-bottom: 6px; }
.other:hover strong { color: var(--red); }
.notfound { padding: 110px 0; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound p { color: var(--steel); font-size: 18px; }
.notfound ul { margin: 0 0 28px; padding-left: 20px; font-size: 18px; }

/* Footer */
.foot { background: #0D0E0F; color: rgba(255,255,255,.78); padding: 64px 0 0; font-size: 15.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.logo-dark { color: #fff; }
.logo-dark .word-sub { color: rgba(255,255,255,.65); }
.logo-dark .mark path[fill="#111"] { fill: #fff; }
.foot-brand p { margin: 18px 0; max-width: 330px; }
.foot h2 { font: 700 15px/1.2 var(--head); letter-spacing: .04em; color: #fff; margin: 6px 0 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 10px; }
.foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red-bright); text-underline-offset: 3px; }
.ig { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.ig svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.ig .dot { fill: #fff; stroke: none; }
.ig:hover { border-color: var(--red-bright); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14.5px; }

/* Tablet */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-grid, .contact-grid, .included-grid { grid-template-columns: 1fr; gap: 40px; }
  .others-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .top nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,21,23,.1); padding: 6px 24px 20px; display: none; }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .top nav .call { margin-top: 14px; justify-content: center; border-radius: var(--radius); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 68px; }
  .top nav { top: 68px; padding: 6px 16px 18px; }
  .logo .mark { width: 48px; }
  .word-main { font-size: 22px; }
  .word-sub { font-size: 11px; }
  .hero { min-height: 0; }
  .hero-in { padding-top: 0; padding-bottom: 0; }
  .hero-panel { margin: 0 -16px; padding: 56px 20px 44px; max-width: none; clip-path: none; border-left: 0; border-top: 6px solid var(--red-bright); background: rgba(20,21,23,.78); }
  .hero p { font-size: 17px; }
  .services, .why, .about, .contact, .included { padding: 64px 0; }
  .cards, .checks { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .page-hero { padding: 64px 0; }
  .other { grid-template-columns: 110px 1fr; }
  .other img { width: 110px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
  .about-img::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover { transition: none; transform: none; }
}
