/* L.J. Neal & Sons — main stylesheet
   Palette from the logo and the old site's menu bar:
   pane blue #8AAAD9, brand blue #618BC0, frame grey #909090, wordmark #101010. */

:root {
  /* REPLACEABLE IMAGES */
  /* Every picture on this site is an <img> in the HTML; there are no CSS background images. */

  /* Brand colours (from brand.md) */
  --pane: #8AAAD9;        /* logo window panes */
  --brand: #618BC0;       /* old menu bar and H1 band */
  --frame: #909090;       /* logo frame and sill */
  --wordmark: #101010;    /* logo wordmark */

  /* Lighter and darker steps of the brand blue (same hue, contrast fixed by lightness) */
  --blue-50: #F4F7FC;
  --blue-100: #EEF3FA;
  --blue-200: #DCE6F4;
  --blue-600: #4A72A6;    /* nav bar: white text 4.9:1 */
  --blue-700: #2E4D75;    /* buttons, links: 8.6:1 on white */
  --blue-800: #243E5F;
  --blue-900: #1C3150;    /* footer */

  --ink: #1B2027;
  --muted: #545A62;
  --line: #D6DBE2;
  --white: #fff;

  --serif: "Gelasio", Georgia, "Times New Roman", Times, serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 20px rgba(16, 24, 40, .07);
  --space: clamp(3rem, 6vw, 5rem);
}

@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gelasio-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/gelasio-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/gelasio-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Gelasio"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/gelasio-latin-700-normal.woff2") format("woff2"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: .18em; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--wordmark); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--blue-900); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { left: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Four-pane window icon (the logo's motif) */
.pane-icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; }

/* ---------- Buttons (one CTA vocabulary: "Request your window quote" / "Call") ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: var(--radius); font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-900); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-100); color: var(--blue-900); }
.btn-light { background: #fff; color: var(--blue-900); }
.btn-light:hover { background: var(--blue-100); color: var(--blue-900); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.8); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

/* ---------- Header ---------- */
.brandbar { background: #fff; border-bottom: 1px solid var(--line); }
.brandbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.logo { display: block; width: clamp(220px, 40vw, 380px); }
.logo img { width: 100%; }
.brandbar-contact { display: none; text-align: right; }
.brandbar-contact .promise { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 0 0 .25rem; font-size: 1rem; }
.brandbar-contact .phone { font: 700 1.5rem/1.2 var(--serif); color: var(--wordmark); text-decoration: none; }
.brandbar-contact .phone:hover { color: var(--blue-700); }
.brandbar-contact .since { margin: 0; font-size: .9rem; color: var(--muted); }

.navbar { position: sticky; top: 0; z-index: 50; background: var(--blue-600); color: #fff; box-shadow: 0 2px 8px rgba(16, 24, 40, .15); }
.navbar .wrap { display: flex; align-items: center; gap: .5rem; min-height: 3.25rem; }
.nav-quick { display: flex; gap: .5rem; margin-left: auto; }
.nav-quick a, .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font: 700 .95rem/1 var(--sans); padding: .6rem .8rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; }
.nav-quick a.quote { background: #fff; color: var(--blue-900); border-color: #fff; }
.nav-quick a:hover, .nav-toggle:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-quick a.quote:hover { background: var(--blue-100); color: var(--blue-900); }
.nav-toggle { order: -1; }
.nav-toggle svg, .nav-quick svg { width: 1.15em; height: 1.15em; }

.nav-panel { width: 100%; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a, .nav-parent { display: block; color: #fff; text-decoration: none; font: 600 1.02rem/1.3 var(--serif); padding: .7rem .25rem; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.nav-list a:hover, .nav-parent:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.has-sub { position: relative; }
.sub-row { display: flex; align-items: center; }
.sub-row > a, .sub-row > .nav-parent { flex: 1; }
.sub-toggle { display: none; background: none; border: 0; color: #fff; padding: .6rem; cursor: pointer; border-radius: var(--radius); }
.sub-toggle svg { width: 1rem; height: 1rem; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; border-left: 2px solid var(--pane); }
.sub a { font: 400 .98rem/1.3 var(--sans); padding: .5rem .25rem; }
.sub .sub-label { font: 700 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--blue-200); padding: .8rem .25rem .2rem; }

/* Mobile: panel collapses only when JS is running */
.js .nav-panel { display: none; }
.js .nav-open .nav-panel { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue-600); max-height: calc(100vh - 3.25rem); overflow-y: auto; padding: .25rem 1.25rem 1.25rem; box-shadow: 0 12px 24px rgba(16, 24, 40, .25); }
.js .sub-toggle { display: inline-flex; }
.js .has-sub .sub { display: none; }
.js .has-sub.sub-open .sub { display: block; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .navbar .wrap { flex-wrap: wrap; }

@media (min-width: 720px) {
  .brandbar-contact { display: block; }
}

@media (min-width: 1120px) {
  .nav-toggle { display: none !important; }
  .navbar .wrap { flex-wrap: nowrap; }
  .js .nav-panel, .nav-panel { display: block; position: static; width: auto; padding: 0; box-shadow: none; max-height: none; overflow: visible; background: none; }
  .nav-list { display: flex; align-items: center; gap: .1rem; }
  .nav-list > li > a, .nav-list > li > .sub-row > a, .nav-parent { padding: .95rem .6rem; font-size: 1rem; white-space: nowrap; }
  .sub-toggle { display: inline-flex; padding: .3rem .15rem; margin-left: -.35rem; }
  .sub, .js .has-sub .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 16rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: .5rem 0; margin: 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .js .has-sub.sub-open > .sub { display: block; }
  .sub a { color: var(--ink); padding: .5rem 1.1rem; }
  .sub a:hover { background: var(--blue-100); color: var(--blue-900); text-decoration: none; }
  .sub .sub-label { color: var(--muted); padding: .7rem 1.1rem .25rem; }
  .sub-wide { display: none; min-width: 30rem !important; }
  .has-sub:hover > .sub-wide, .has-sub:focus-within > .sub-wide, .js .has-sub.sub-open > .sub-wide { display: grid; grid-template-columns: 1fr 1fr; }
  .sub-wide .col { list-style: none; padding: 0; margin: 0; }
  .sub-wide > li { margin: 0; }
  .nav-quick .quote { display: none; }
}
@media (min-width: 1120px) and (max-width: 1259px) { .nav-quick { display: none; } }

/* ---------- Home hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-100), #fff 85%); padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 1.5rem; grid-template-areas: "photo" "text" "checks"; }
.hero-text { grid-area: text; }
.hero-photo { grid-area: photo; margin: 0; }
.hero .checks { grid-area: checks; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: 1.15rem; color: var(--ink); max-width: 36rem; }
.hero .actions { margin-bottom: 0; }
.hero-photo a { display: block; border: 6px solid #fff; outline: 1px solid var(--frame); border-radius: 4px; box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6rem; align-items: baseline; margin: 0; font-weight: 700; }
.checks .pane-icon { color: var(--brand); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "text photo" "text checks"; column-gap: 3rem; row-gap: 1.75rem; align-items: start; }
  .hero-text { align-self: center; }
}
.q-sm { display: none; }
@media (max-width: 519px) { .q-lg { display: none; } .q-sm { display: inline; } }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.trust li { margin: 0; display: flex; gap: .8rem; align-items: center; }
.trust .big { font: 700 1.6rem/1 var(--serif); color: var(--blue-700); min-width: 3.4rem; }
.trust .pane-icon { font-size: 2.2rem; color: var(--brand); }
.trust span { font-size: .98rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space); }
.section-tint { background: var(--blue-50); border-block: 1px solid var(--blue-200); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; } .split-even { grid-template-columns: 1fr 1fr; } }

.warranty { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1.2rem; align-items: center; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.warranty img { width: 88px; flex: none; }
.warranty p { margin: 0; }
.warranty .name { font: 700 1.25rem/1.25 var(--serif); margin-bottom: .3rem; }

.pull-quote { margin: 0; padding: 1.5rem 1.5rem 1.25rem; background: var(--blue-100); border-radius: var(--radius); position: relative; }
.pull-quote blockquote { margin: 0 0 .75rem; font: italic 400 1.15rem/1.55 var(--serif); }
.pull-quote figcaption { font-weight: 700; font-size: .95rem; }
.pull-quote figcaption span { font-weight: 400; color: var(--muted); }

/* Window styles list */
.styles-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.styles-list li { margin: 0; border-bottom: 1px solid var(--line); }
.styles-list a { display: flex; gap: 1rem; align-items: baseline; padding: 1rem .25rem; text-decoration: none; color: var(--ink); }
.styles-list a:hover { background: var(--blue-50); }
.styles-list .pane-icon { color: var(--brand); font-size: 1.1rem; position: relative; top: .1em; }
.styles-list strong { font: 600 1.15rem/1.3 var(--serif); color: var(--blue-700); display: block; }
.styles-list span span { color: var(--muted); font-size: .98rem; }
@media (min-width: 760px) { .styles-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.brands { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0 0 1rem; }
.brands li { margin: 0; }
.brands a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--blue-200); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700; }
.brands a:hover { border-color: var(--blue-700); }

/* Before/after */
.ba-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ba img { width: 100%; background: #fff; }
.ba figcaption, .ba .ba-text { padding: 1.25rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.ba h3 { margin-bottom: .4rem; }
.ba p { margin: 0; color: var(--ink); white-space: pre-line; }

/* Gallery page */
.gallery-list { display: grid; gap: 2.5rem; }
.gallery-item { margin: 0; display: grid; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; }
.gallery-item figcaption { white-space: pre-line; }
@media (min-width: 900px) { .gallery-item { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 1.5rem 2rem 1.5rem 1.5rem; } }

/* Testimonials */
.quotes { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .quotes-3 { grid-template-columns: repeat(3, 1fr); } }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pane); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 1rem; white-space: pre-line; }
.quote-card blockquote p { margin: 0; white-space: pre-line; }
.quote-card figcaption { margin-top: auto; }
.quote-card .who { display: block; font-weight: 700; }
.quote-card .where { display: block; color: var(--muted); font-size: .95rem; }
.quote-card .where:empty { display: none; }
.quotes-wall { columns: 1; column-gap: 1.5rem; }
.quotes-wall .quote-card { break-inside: avoid; margin-bottom: 1.5rem; }
@media (min-width: 820px) { .quotes-wall { columns: 2; } }

/* Cities */
.city-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; }
.city-grid li { margin: 0; }
.city-grid a { display: flex; gap: .5rem; align-items: center; padding: .65rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--ink); }
.city-grid a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.city-grid .pane-icon { color: var(--brand); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font: 600 1.15rem/1.35 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--blue-700); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--blue-600); color: #fff; padding: clamp(2rem, 4vw, 3rem) 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -40px; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); border: 10px solid rgba(255,255,255,.12); background: linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) center/10px 100% no-repeat, linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12)) center/100% 10px no-repeat; pointer-events: none; }
.page-head h1 { color: #fff; max-width: 48rem; margin-bottom: .35em; }
.page-head .lead { font-size: 1.15rem; max-width: 46rem; margin: 0; color: #fff; }
.page-head .actions { margin-bottom: 0; }
.crumbs { font-size: .9rem; margin: 0 0 .75rem; color: var(--blue-100); }
.crumbs a { color: #fff; }

.page-body { padding-block: clamp(2.5rem, 5vw, 4rem); }
.layout { display: grid; gap: 3rem; }
@media (min-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; } .layout .aside { position: sticky; top: 4.5rem; } }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--brand); }
.prose figure { margin: 0 0 2rem; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.note { background: var(--blue-100); border-left: 4px solid var(--brand); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
.media-right { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .media-right { grid-template-columns: 1fr 200px; align-items: start; } }
.media-right img { border: 1px solid var(--line); border-radius: var(--radius); }

.aside-card { background: var(--blue-50); border: 1px solid var(--blue-200); border-top: 5px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.aside-card .phone { display: block; font: 700 1.45rem/1.2 var(--serif); color: var(--wordmark); text-decoration: none; margin: .75rem 0; }
.aside-card .btn { width: 100%; }
.aside-card ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .55rem; font-size: .98rem; }
.aside-card li { display: flex; gap: .55rem; align-items: baseline; margin: 0; }
.aside-card li .pane-icon { color: var(--brand); position: relative; top: .1em; }
.aside-card .seal { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--blue-200); font-size: .9rem; color: var(--muted); }
.aside-card .seal img { width: 64px; }
.aside-links { margin-top: 1.5rem; }
.aside-links h2 { font-size: 1.15rem; }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links li { margin: 0; border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: .55rem 0; text-decoration: none; }

/* Team */
.team { display: grid; gap: 2rem; }
.member { display: grid; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.member img { width: 180px; border-radius: 4px; border: 1px solid var(--line); }
.member .role { color: var(--blue-700); font-weight: 700; margin: -.3rem 0 .8rem; }
.member .bio { white-space: pre-line; margin: 0; }
@media (min-width: 640px) { .member { grid-template-columns: 180px 1fr; align-items: start; } }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.post-list li { margin: 0; }
.post { display: grid; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.post img { border-radius: var(--radius); border: 1px solid var(--line); }
.post h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.post h2 a { text-decoration: none; color: var(--wordmark); }
.post h2 a:hover { color: var(--blue-700); text-decoration: underline; }
.post p { margin: 0 0 .6rem; color: var(--muted); }
.post .more { font-weight: 700; }
@media (min-width: 700px) { .post { grid-template-columns: 220px 1fr; } }

/* Forms */
.form { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form h2 { margin-bottom: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.form legend { font: 600 1.2rem/1.3 var(--serif); padding: 0; margin-bottom: .6rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form .row-2 { grid-template-columns: 1fr 1fr; } }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #9AA3AE; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--pane); outline-offset: 0; border-color: var(--blue-700); }
.field textarea { min-height: 7rem; resize: vertical; }
.radios { display: flex; gap: 1.5rem; }
.radios label { display: inline-flex; gap: .45rem; align-items: center; font-weight: 400; margin: 0; }
.radios input { width: 1.15rem; height: 1.15rem; accent-color: var(--blue-700); }
.req { color: #A3262A; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 700; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #E7F4EA; color: #1E5530; border: 1px solid #A9D3B4; }
.form-status.err { background: #FBEDEE; color: #7A1E22; border: 1px solid #E5B4B7; }
.form-small { font-size: .92rem; color: var(--muted); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { margin: 0; display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--blue-700); flex: none; margin-top: .2rem; }
.contact-list strong { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-700); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band .wrap { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #fff; max-width: 40rem; }
.cta-band .actions { margin: 0; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #E6ECF5; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--blue-200); }
.footer-main { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 760px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-main { grid-template-columns: 1.3fr 1fr .8fr 1.4fr; } }
.footer-logo { display: inline-block; background: #fff; padding: .7rem .9rem; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-logo img { width: 240px; }
.site-footer h2 { color: #fff; font-size: 1.15rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45rem; }
.footer-cities { columns: 2; column-gap: 1.25rem; font-size: .93rem; }
.footer-phone { font: 700 1.35rem/1.2 var(--serif); text-decoration: none; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: rgba(255,255,255,.22); }
.social svg { width: 1.2rem; height: 1.2rem; fill: #fff; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.badges figure { margin: 0; display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.badges img { background: #fff; border-radius: 4px; padding: 3px; }
.fine { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.25rem 1.5rem; font-size: .85rem; color: #C9D3E1; }
.fine p { margin: 0 0 .35rem; }
.fine a { color: #E6ECF5; }

/* 404 */
.notfound { text-align: center; padding-block: 5rem; }
.notfound .pane-icon { font-size: 4rem; color: var(--brand); margin-bottom: 1rem; }
.notfound ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .navbar, .cta-band, .aside, .site-footer .badges { display: none; } }
.gallery-item figcaption::first-line { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--wordmark); }
.sub ul.col { list-style: none; padding: 0; margin: 0; }
.sub li { list-style: none; }
