/*
Theme Name: Urbanismo G&A
Theme URI: https://urbanismo-extremadura.es/
Author: González & Asociados
Description: Tema editorial propio para el área de Derecho Urbanístico de González & Asociados.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: urbanismo-ga
*/

:root {
  --ink: #070c26;
  --ink-soft: #272c3f;
  --wine: #922926;
  --wine-dark: #721d1c;
  --gold: #c0b596;
  --gold-light: #ddd5bd;
  --paper: #f6f3eb;
  --paper-deep: #ece7db;
  --white: #fffefa;
  --muted: #62636a;
  --line: rgba(7, 12, 38, .15);
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --narrow: 760px;
  --radius: 2px;
  --shadow: 0 22px 60px rgba(7, 12, 38, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--wine); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--wine-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(100%, var(--narrow)); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--wine);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.eyebrow--light { color: var(--gold-light); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--wine);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, .97);
}
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { flex: 0 1 360px; text-decoration: none; }
.brand img { width: min(100%, 340px); }
.brand-tagline { display: block; margin: 5px 0 0 49px; color: var(--ink-soft); font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
.nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.nav-toggle-lines { display: block; width: 28px; height: 18px; position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after, .nav-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; content: "";
}
.nav-toggle-lines::before { top: 0; }
.nav-toggle-lines span { top: 8px; }
.nav-toggle-lines::after { bottom: 0; }
.nav-toggle-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--wine); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
  position: absolute; top: 100%; left: -18px; width: 270px; padding: 12px; display: block;
  visibility: hidden; opacity: 0; transform: translateY(8px); background: var(--white); box-shadow: var(--shadow); transition: .2s;
}
.primary-nav .menu-item-has-children:hover .sub-menu,
.primary-nav .menu-item-has-children:focus-within .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 10px; line-height: 1.3; }
.header-contact {
  flex: none; padding: 11px 17px; border: 1px solid var(--wine); color: var(--wine) !important;
  font-size: .74rem !important; letter-spacing: .08em !important; text-transform: uppercase;
}
.header-contact:hover { color: var(--white) !important; background: var(--wine); }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero::before {
  position: absolute; inset: 0; opacity: .66; content: "";
  background-image:
    linear-gradient(90deg, transparent 0 11%, rgba(192,181,150,.14) 11% 11.1%, transparent 11.1% 61%, rgba(192,181,150,.1) 61% 61.1%, transparent 61.1%),
    linear-gradient(0deg, transparent 0 23%, rgba(192,181,150,.1) 23% 23.1%, transparent 23.1% 72%, rgba(192,181,150,.08) 72% 72.1%, transparent 72.1%),
    radial-gradient(circle at 79% 38%, transparent 0 118px, rgba(192,181,150,.22) 119px 120px, transparent 121px),
    linear-gradient(135deg, transparent 0 64%, rgba(146,41,38,.28) 64% 77%, transparent 77%);
}
.hero::after {
  position: absolute; right: -160px; bottom: -270px; width: 660px; height: 660px;
  border: 1px solid rgba(192,181,150,.25); border-radius: 50%; content: "";
}
.hero-inner { position: relative; z-index: 2; min-height: 690px; display: grid; grid-template-columns: 1.5fr .7fr; align-items: center; gap: 80px; padding-block: 84px; }
.hero-copy { max-width: 790px; }
.hero h1, .page-hero h1 {
  max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 400; letter-spacing: -.045em; line-height: .98;
}
.hero-lead { max-width: 710px; margin: 30px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 38px; }
.button, .wp-block-button__link, button[type="submit"], input[type="submit"] {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px;
  border: 1px solid var(--wine); border-radius: 0; color: var(--white); background: var(--wine);
  font-size: .78rem; font-weight: 760; letter-spacing: .095em; line-height: 1.2; text-decoration: none; text-transform: uppercase; cursor: pointer;
  transition: color .18s, background .18s, border-color .18s, transform .18s;
}
.button:hover, .wp-block-button__link:hover, button[type="submit"]:hover, input[type="submit"]:hover { transform: translateY(-2px); color: var(--white); background: var(--wine-dark); border-color: var(--wine-dark); }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.48); background: transparent; }
.button--outline:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.hero-index { align-self: end; padding-bottom: 30px; }
.hero-index-number { display: block; color: var(--gold); font-family: var(--serif); font-size: 4rem; line-height: 1; }
.hero-index-label { display: block; width: 170px; margin-top: 10px; padding-top: 13px; border-top: 1px solid rgba(192,181,150,.5); color: rgba(255,255,255,.68); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section--wine { color: var(--white); background: var(--wine); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 4.35rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
.section-intro { max-width: 600px; margin: 0; color: var(--muted); font-size: 1.04rem; }
.section--ink .section-intro { color: rgba(255,255,255,.67); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(48px, 8vw, 110px); align-items: center; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.13; }
.prose h2 { margin: 1.9em 0 .55em; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.prose h3 { margin: 1.7em 0 .35em; font-size: clamp(1.45rem, 2.3vw, 2rem); }
.prose p { margin: 0 0 1.15em; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .55em; }
.prose a:not(.button) { font-weight: 650; }
.lede { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.78rem); line-height: 1.5; }

.diagnostic-card { position: relative; padding: clamp(36px, 6vw, 74px); color: var(--white); background: var(--ink-soft); box-shadow: var(--shadow); }
.diagnostic-card::before { position: absolute; top: 20px; right: 20px; width: 92px; height: 92px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); content: ""; }
.diagnostic-card h3 { max-width: 390px; margin: 0 0 28px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1.1; }
.diagnostic-list { margin: 0; padding: 0; counter-reset: diagnostic; list-style: none; }
.diagnostic-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.76); }
.diagnostic-list li::before { counter-increment: diagnostic; content: "0" counter(diagnostic); color: var(--gold); font-family: var(--serif); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 370px; padding: 38px 34px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--paper); overflow: hidden; }
.service-card::after { position: absolute; right: -70px; bottom: -70px; width: 165px; height: 165px; border: 1px solid var(--gold); border-radius: 50%; opacity: .55; content: ""; transition: transform .3s; }
.service-card:hover { color: var(--ink); background: var(--white); }
.service-card:hover::after { transform: scale(1.25); }
.service-number { display: block; margin-bottom: 62px; color: var(--wine); font-family: var(--serif); font-size: 1.1rem; }
.service-card h3 { max-width: 280px; margin: 0 0 20px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.08; }
.service-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.service-arrow { position: absolute; top: 35px; right: 30px; color: var(--wine); font-size: 1.35rem; }

.audiences { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 48px; border-top: 1px solid rgba(255,255,255,.22); border-left: 1px solid rgba(255,255,255,.22); }
.audience { min-height: 155px; padding: 27px 22px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.audience span { display: block; color: var(--gold); font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: process; }
.process-step { padding-top: 24px; border-top: 2px solid var(--wine); counter-increment: process; }
.process-step::before { display: block; margin-bottom: 45px; color: var(--wine); content: "0" counter(process); font-family: var(--serif); font-size: 1.05rem; }
.process-step h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.process-step p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.profile-image { position: relative; padding: 0 36px 36px 0; }
.profile-image::before { position: absolute; z-index: 0; right: 0; bottom: 0; width: 75%; height: 75%; background: var(--wine); content: ""; }
.profile-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.8) contrast(1.03); }
.profile-meta { margin: 30px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.profile-meta strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.profile-meta span { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.contact-band { position: relative; overflow: hidden; }
.contact-band::after { position: absolute; top: -120px; right: 5%; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; }
.contact-band-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.contact-band h2 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(2.35rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; }
.contact-band p { max-width: 630px; margin: 20px 0 0; color: rgba(255,255,255,.75); }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(85px, 11vw, 150px); color: var(--white); background: var(--ink); }
.page-hero::after { position: absolute; top: -160px; right: -40px; width: 500px; height: 500px; border: 1px solid rgba(192,181,150,.22); transform: rotate(28deg); content: ""; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { max-width: 930px; font-size: clamp(2.7rem, 5.5vw, 5.6rem); }
.page-hero .page-excerpt { max-width: 760px; margin: 28px 0 0; color: rgba(255,255,255,.75); font-size: 1.15rem; }
.breadcrumbs { margin-bottom: 35px; color: rgba(255,255,255,.6); font-size: .73rem; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.breadcrumbs span { margin-inline: 9px; color: var(--gold); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(50px, 8vw, 105px); align-items: start; }
.page-layout--wide { grid-template-columns: 1fr; }
.page-content { max-width: 790px; }
.page-content > p:first-child { font-family: var(--serif); font-size: 1.32rem; line-height: 1.58; }
.page-sidebar { position: sticky; top: 30px; }
.sidebar-card { padding: 30px; color: var(--white); background: var(--ink-soft); }
.sidebar-card h2 { margin: 0 0 15px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.15; }
.sidebar-card p { color: rgba(255,255,255,.72); font-size: .87rem; }
.sidebar-card .button { width: 100%; margin-top: 10px; }
.sidebar-contact { padding: 20px 0 0; }
.sidebar-contact a { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; }

.faq-list { margin: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 25px 50px 25px 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 5px; top: 23px; color: var(--wine); content: "+"; font: 400 1.7rem/1 var(--serif); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { max-width: 760px; padding: 0 45px 25px 0; color: var(--muted); }
.faq-answer p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 100px); }
.contact-details { margin: 32px 0; padding: 0; list-style: none; }
.contact-details li { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-details small { display: block; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-details a, .contact-details span { color: var(--ink); font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.contact-form-shell { padding: clamp(28px, 5vw, 55px); background: var(--white); box-shadow: var(--shadow); }
.contact-form-shell label, .uga-contact-form label { display: block; margin: 0 0 7px; font-size: .78rem; font-weight: 700; letter-spacing: .035em; }
.contact-form-shell input:not([type="checkbox"]), .contact-form-shell select, .contact-form-shell textarea,
.uga-contact-form input:not([type="checkbox"]), .uga-contact-form select, .uga-contact-form textarea {
  width: 100%; margin: 0 0 18px; padding: 13px 14px; border: 1px solid rgba(7,12,38,.23); border-radius: 0; color: var(--ink); background: var(--paper);
}
.contact-form-shell textarea, .uga-contact-form textarea { min-height: 175px; resize: vertical; }
.contact-form-shell input:focus, .contact-form-shell select:focus, .contact-form-shell textarea:focus,
.uga-contact-form input:focus, .uga-contact-form select:focus, .uga-contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--ink); }
.form-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.uga-contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.uga-contact-form .form-grid > .form-full { grid-column: 1 / -1; }
.uga-contact-form .form-consent { margin: 8px 0 20px; }
.uga-contact-form .form-consent label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 500; line-height: 1.5; }
.uga-contact-form .form-consent input { margin-top: 5px; }
.uga-contact-form .form-privacy, .uga-contact-form .form-help { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.uga-contact-form .form-notice, .uga-contact-form .form-success, .uga-contact-form .form-error { margin-bottom: 20px; padding: 14px 16px; border-left: 4px solid var(--gold); background: var(--paper-deep); }
.uga-contact-form .form-success { border-color: #28734c; }
.uga-contact-form .form-error { border-color: var(--wine); }
.office-image { margin: 0; position: relative; }
.office-image::after { position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border: 1px solid var(--gold); content: ""; }
.office-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.legal-content { width: min(100%, 850px); }
.legal-content h2 { padding-top: 1.15em; }
.notice { margin: 32px 0; padding: 24px 27px; border-left: 4px solid var(--wine); background: var(--paper-deep); }

.site-footer { color: rgba(255,255,255,.72); background: #05081c; }
.footer-main { display: grid; grid-template-columns: 1.25fr .7fr .8fr; gap: 70px; padding-block: 76px 58px; }
.footer-brand img { width: min(100%, 310px); padding: 12px; background: var(--white); }
.footer-brand p { max-width: 450px; margin: 25px 0 0; font-size: .88rem; }
.footer-heading { margin: 0 0 20px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-nav li, .footer-contact li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 8vw, 7rem); font-weight: 400; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .header-inner { min-height: 86px; }
  .brand { max-width: 290px; }
  .brand-tagline { margin-left: 41px; }
  .nav-toggle { display: grid; gap: 6px; justify-items: center; }
  .primary-nav {
    position: fixed; inset: 86px 0 0; display: block; padding: 28px 20px 50px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px); background: var(--white); transition: .2s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 15px 4px; font-size: 1rem; }
  .primary-nav .sub-menu { position: static; width: auto; padding: 0 0 8px 18px; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
  .primary-nav .sub-menu li { border: 0; }
  .primary-nav .sub-menu a { padding: 8px 4px; font-size: .88rem; }
  .header-contact { display: inline-flex !important; margin-top: 20px; padding: 13px 18px !important; }
  .hero, .hero-inner { min-height: 630px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-index { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .audiences { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 45px 25px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; max-width: 540px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 76px; }
  .brand { max-width: 225px; }
  .brand-tagline { margin-left: 30px; font-size: .58rem; }
  .primary-nav { top: 76px; }
  .hero, .hero-inner { min-height: 640px; }
  .hero-inner { padding-block: 66px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .split { grid-template-columns: 1fr; }
  .service-grid, .audiences, .process { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .service-number { margin-bottom: 45px; }
  .audience { min-height: auto; }
  .process { gap: 34px; }
  .process-step::before { margin-bottom: 20px; }
  .contact-band-inner { grid-template-columns: 1fr; }
  .contact-band .button { width: auto; justify-self: start; }
  .uga-contact-form .form-grid { grid-template-columns: 1fr; }
  .uga-contact-form .form-grid > .form-full { grid-column: auto; }
  .page-hero { padding-block: 75px; }
  .profile-image { padding: 0 18px 18px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-legal { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .page-sidebar, .contact-band, .hero-actions { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .hero, .page-hero { min-height: auto; padding: 30px 0; color: #000; background: #fff; }
  .hero h1, .page-hero h1 { color: #000; }
  a { color: #000; }
}
