/* Ricardo Lara — light theme, with the original blue and metallic brand palette. */
@font-face {
  font-family: Inter;
  src: url('assets/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #0A1833;
  --blue: #1E5BFF;
  --cyan: #19B4FF;
  --silver: #E6EAF0;
  --muted: #58667D;
  --border: rgba(30,91,255,.16);
  --white: #FFFFFF;
  --error: #B42336;
  --success: #13704D;
  --clear: transparent;
  --shade: rgba(10,24,51,.06);
  --line: color-mix(in srgb, var(--ink) 12%, var(--clear));
  --blue-soft: color-mix(in srgb, var(--blue) 5%, var(--clear));
  --blue-glow: color-mix(in srgb, var(--blue) 8%, var(--clear));
  --cyan-soft: color-mix(in srgb, var(--cyan) 6%, var(--clear));
  --glass: color-mix(in srgb, var(--surface) 92%, var(--clear));
  --surface-top: color-mix(in srgb, var(--ink) 2%, var(--clear));
  /* Navy and readable blue keep small text clear on white surfaces. */
  --accent-text: color-mix(in srgb, var(--blue) 86%, var(--ink));
  --text-secondary: color-mix(in srgb, var(--muted) 80%, var(--ink));
  --control-bg: var(--bg);
  --control-border: #8390A4;
  --click-pulse: color-mix(in srgb, var(--ink) 12%, var(--clear));
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --ambient-blue: color-mix(in srgb, var(--blue) 7%, var(--clear));
  --ambient-veil: color-mix(in srgb, var(--bg) 96%, var(--clear));
  --lightning-body: color-mix(in srgb, var(--blue) 70%, var(--cyan));
  --lightning-core: color-mix(in srgb, var(--silver) 65%, var(--blue));
  --header-size: 82px;
  --header-height: var(--header-size);
  --panel-height: 100dvh;
  --panel-top: calc(var(--header-height) + 44px);
  --panel-bottom: 86px;
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  font-optical-sizing: auto;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { position: relative; isolation: isolate; margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: var(--clear); }
img { display: block; max-width: 100%; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.page-panel:focus { outline: none; }
.icon { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 13px 20px; background: var(--blue); color: var(--white); border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* The same five panels form the whole page; the footer belongs to the last panel. */
.page-panel { position: relative; display: flex; align-items: center; min-height: 100svh; padding: 100px 0 82px; border-bottom: 1px solid var(--line); }
.panel-content { position: relative; z-index: 2; min-width: 0; }
.panel-caption { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .58rem; letter-spacing: .12em; }
.panel-caption > span { max-width: 50%; }
.panel-caption a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; letter-spacing: .03em; font-size: .72rem; }
.panel-caption .icon { width: 15px; height: 15px; }
.panel-caption a:hover { color: var(--accent-text); }
.eyebrow { color: var(--accent-text); font-size: .65rem; font-weight: 600; letter-spacing: .16em; }
h2 { margin-top: 20px; font-size: clamp(2.3rem, 5.7vw, 3.65rem); line-height: 1.09; font-weight: 580; letter-spacing: -.048em; text-wrap: balance; }
h2 span { color: var(--accent-text); }
.section-description { color: var(--text-secondary); max-width: 390px; font-size: .95rem; line-height: 1.8; margin-top: 26px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-size: .8rem; color: var(--ink); }
.text-link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.text-link:hover { color: var(--accent-text); }
.text-link:hover .icon, .text-link:focus-visible .icon { transform: translateX(3px); }
.text-link:active, .panel-caption a:active, .site-nav a:active, .contact-number:active { color: var(--accent-text); }

/* Fixed navigation: discreet at the top, glass after the first scroll. */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--glass); border-bottom: 1px solid var(--line); box-shadow: inset 0 1px 0 var(--surface-top); }
.site-header.is-scrolled { background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 25px var(--shade); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-size); padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 38px; height: 42px; object-fit: contain; }
.brand strong { display: block; font-size: .76rem; line-height: 1.25; letter-spacing: .11em; font-weight: 650; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .51rem; letter-spacing: .13em; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 26px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
.site-nav.is-open { display: grid; gap: 3px; }
.site-nav a { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 48px; color: var(--muted); font-size: .86rem; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a::after { content: ''; position: absolute; bottom: 7px; left: 0; width: 16px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; width: 44px; height: 44px; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.menu-toggle span { width: 17px; height: 1px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-quote { display: none !important; }

/* Primary buttons have one deliberate electric accent. */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; overflow: hidden; min-height: 52px; max-width: 100%; padding: 16px 23px; border: 1px solid var(--blue); border-radius: var(--radius-sm); background: var(--blue); color: var(--white); font-size: .8rem; font-weight: 590; line-height: 1.35; text-align: center; }
.button:hover { border-color: var(--blue); }
.button .icon { width: 18px; height: 18px; }
.button-ghost { border-color: var(--line); background: var(--clear); color: var(--ink); }
.button-ghost:hover { border-color: var(--border); }
.button-small { padding: 12px 17px; min-height: 43px; font-size: .73rem; }
.click-pulse { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--click-pulse); transform: translate(-50%, -50%) scale(0); pointer-events: none; }
.button-ghost:active, .button-ghost.is-pressed, .menu-toggle:active, .menu-toggle.is-pressed, .floating-contact:active, .floating-contact.is-pressed { border-color: var(--blue); background: var(--blue-soft); }
.service-request:active, .service-request.is-pressed { color: var(--accent-text); }

/* A restrained blue atmosphere with organic edge lightning. Nothing crosses the reading area. */
.ambient-background { position: fixed; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.ambient-glow { position: absolute; width: 50%; height: 115%; top: -8%; opacity: .6; background: radial-gradient(ellipse at center, var(--ambient-blue), var(--blue-soft) 30%, var(--clear) 70%); }
.ambient-glow-left { left: -36%; }
.ambient-glow-right { right: -32%; top: 6%; }
.ambient-depth { position: absolute; inset: -4% 0; }
.ambient-circuit { position: absolute; inset: 0; }
.ambient-ray { position: absolute; top: 0; height: 100%; width: clamp(190px, 24vw, 390px); fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ambient-ray-left { left: -34px; transform: rotate(-6deg); }
.ambient-ray-right { right: -34px; transform: rotate(5deg); }
.ambient-bolt { opacity: .28; }
.ambient-flow { opacity: .72; transform-box: fill-box; transform-origin: center; }
.ambient-halo { display: none; }
.ambient-body { stroke: var(--lightning-body); stroke-width: 3px; opacity: .7; }
.ambient-core { stroke: var(--lightning-core); stroke-width: 1px; }
.ambient-branches { stroke: var(--cyan); stroke-width: .75px; opacity: .45; }
.ambient-light { position: absolute; left: 0; top: 0; width: clamp(300px, 40vw, 620px); height: clamp(250px, 45vh, 480px); opacity: .1; background: radial-gradient(ellipse at center, var(--ambient-blue), var(--clear) 70%); transform: translate(calc(50vw - 50%), calc(48vh - 50%)); }
.ambient-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, var(--clear), var(--ambient-veil) 12%, var(--ambient-veil) 88%, var(--clear)), linear-gradient(var(--bg), var(--clear) 14%, var(--clear) 84%, var(--bg)); }

/* Hero: the same approved composition, with a low blue horizon beneath the typography. */
.hero-panel { min-height: 100svh; padding-top: 135px; overflow: clip; }
.hero-content { text-align: center; }
.hero-signature img { width: 68px; height: 73px; object-fit: contain; margin: 0 auto 23px; }
.hero-signature p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: .55rem; color: var(--muted); letter-spacing: .11em; }
.hero-signature p span { color: var(--accent-text); }
h1 { margin-top: 28px; line-height: 1.07; font-size: clamp(3.35rem, 13.3vw, 5rem); font-weight: 590; letter-spacing: -.06em; }
.hero-topline { display: flex; flex-direction: column; justify-content: center; }
.hero-word { display: block; }
.hero-energy { color: var(--blue); font-weight: 650; }
.hero-description { color: var(--text-secondary); font-size: .9rem; line-height: 1.85; max-width: 500px; margin: 26px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-actions .button { width: 100%; max-width: 310px; }
.energy-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-aura { position: absolute; left: 10%; right: 10%; bottom: -38%; height: 70%; opacity: .5; border-radius: 50%; background: radial-gradient(ellipse at center, var(--ambient-blue), var(--blue-soft) 35%, var(--clear) 70%); }
.hero-horizon { position: absolute; left: 15%; right: 15%; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--clear), var(--border) 28%, var(--cyan-soft), var(--border) 72%, var(--clear)); }

/* Seven real services plus one invitation, in equal grid cells. */
.section-heading { display: flex; flex-direction: column; gap: 21px; margin-bottom: 32px; }
.section-heading > p { color: var(--text-secondary); font-size: .82rem; line-height: 1.75; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; grid-auto-rows: 1fr; perspective: 1100px; }
.service-card, .service-guide { position: relative; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); min-height: 252px; }
.service-card { backface-visibility: hidden; }
.service-card > * { position: relative; z-index: 2; }
.service-card::before { content: ''; position: absolute; z-index: 0; top: 0; left: 0; width: 400px; height: 400px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, var(--cyan-soft), var(--blue-glow) 26%, var(--clear) 70%); transform: translate(calc(var(--mx, 50%) - 50%), calc(var(--my, 50%) - 50%)); transition: opacity .3s; pointer-events: none; }
.service-card::after { content: ''; position: absolute; inset: 0; z-index: 1; border: 1px solid var(--blue); border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; }
.service-card:focus-within::before, .service-card.is-selected::before, .service-card.is-touch-active::before, .service-card:active::before { opacity: .35; }
.service-card:focus-within::after, .service-card.is-touch-active::after, .service-card:active::after { opacity: .3; }
.service-card.is-selected::after { opacity: .5; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.icon-tile { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--blue); background: var(--blue-soft); flex: none; }
.card-number { display: none; }
.service-card h3 { font-weight: 580; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.025em; margin-top: 20px; }
.service-card h3 span { display: block; color: var(--accent-text); }
.service-card > p { font-size: .77rem; line-height: 1.65; color: var(--text-secondary); margin-top: 11px; margin-bottom: 22px; }
.service-request { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 14px 0 0; margin-top: auto; border: none; border-top: 1px solid var(--line); color: var(--ink); background: none; font-size: .66rem; line-height: 1.5; min-height: 44px; }
.service-request .icon { width: 15px; height: 15px; color: var(--blue); transition: transform .25s ease; }
.service-request:hover .icon, .service-request:focus-visible .icon { transform: translateX(3px); }
.service-request:hover { color: var(--accent-text); }
.service-guide { background: var(--clear); justify-content: center; }
.service-guide h3 { font-size: 1.52rem; line-height: 1.2; font-weight: 510; letter-spacing: -.045em; margin-top: 18px; }
.service-guide p { font-size: .76rem; color: var(--text-secondary); line-height: 1.7; margin-top: 12px; }
.service-guide .text-link { margin-top: 17px; font-size: .76rem; }

/* Differentiators: a calm editorial column and three precise commitments. */
.approach-layout { display: grid; gap: 38px; align-items: center; }
.audiences { display: grid; gap: 20px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.audiences > div { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 4px; }
.audiences .icon { color: var(--blue); grid-row: 1 / span 2; }
.audiences strong { font-size: .84rem; font-weight: 530; }
.audiences span { font-size: .73rem; color: var(--muted); }
.commitments { display: grid; gap: 13px; }
.commitment { display: flex; align-items: flex-start; gap: 22px; padding: 28px 24px; border-top: 1px solid var(--line); }
.commitment-index { color: var(--accent-text); font-size: .75rem; padding-top: 4px; font-variant-numeric: tabular-nums; }
.commitment .icon { color: var(--blue); width: 21px; height: 21px; margin-bottom: 14px; }
.commitment h3 { font-size: 1rem; font-weight: 580; letter-spacing: -.025em; }
.commitment p { font-size: .79rem; color: var(--text-secondary); line-height: 1.7; margin-top: 8px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; padding-top: 30px; border-top: 1px solid var(--line); margin-top: 35px; }
.metrics strong { display: block; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.2; color: var(--blue); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.metrics span { font-size: .7rem; color: var(--muted); }

/* Quote form: stable proportions, visible focus and truthful WhatsApp feedback. */
.quote-panel { background: linear-gradient(110deg, var(--blue-soft), var(--clear) 65%); }
.quote-layout { display: grid; align-items: center; gap: 38px; }
.owner-signature { display: flex; align-items: center; gap: 15px; padding-top: 27px; border-top: 1px solid var(--line); margin-top: 33px; max-width: 370px; }
.owner-signature img { width: 43px; height: 48px; object-fit: contain; }
.owner-signature strong { display: block; font-size: .88rem; font-weight: 560; }
.owner-signature span { display: block; font-size: .73rem; color: var(--muted); margin-top: 3px; }
.quote-promise { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .73rem; margin-top: 20px; }
.quote-promise .icon { width: 15px; height: 15px; color: var(--blue); }
.quote-form { min-width: 0; padding: 26px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-intro { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 24px; }
.form-intro h3 { font-size: 1.04rem; font-weight: 560; letter-spacing: -.025em; }
.form-intro span { color: var(--muted); letter-spacing: .11em; font-size: .52rem; }
.form-row { display: grid; gap: 10px; }
.field { position: relative; padding-bottom: 20px; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; display: block; min-width: 0; padding: 23px 14px 9px; min-height: 55px; border: 1px solid var(--control-border); border-radius: var(--radius-sm); background: var(--control-bg); color: var(--ink); font-size: .85rem; outline: none; }
.field textarea { resize: vertical; min-height: 108px; max-height: 290px; padding-top: 25px; }
.field label { position: absolute; top: 17px; left: 14px; pointer-events: none; color: var(--muted); font-size: .82rem; transform-origin: left top; transition: transform .18s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .select-field label { transform: translateY(-9px) scale(.76); }
.field:focus-within input, .field:focus-within select, .field:focus-within textarea { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field-error { position: absolute; top: calc(100% - 16px); left: 0; color: var(--error); font-size: .6rem; line-height: 1.3; }
.attendance { border: 0; margin: 1px 0 17px; padding: 0; min-width: 0; }
.attendance legend { font-size: .7rem; color: var(--muted); margin-bottom: 9px; }
.attendance > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.attendance label { position: relative; min-width: 0; cursor: pointer; }
.attendance input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.attendance label > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 8px; border: 1px solid var(--control-border); border-radius: var(--radius-sm); color: var(--muted); background: var(--control-bg); font-size: .77rem; }
.attendance .icon { width: 17px; height: 17px; }
.attendance input:checked + span { background: var(--blue-soft); border-color: var(--blue); color: var(--ink); }
.attendance input:checked + span .icon { color: var(--blue); }
.attendance input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 4px; }
.select-field select { appearance: none; padding-right: 42px; }
.select-field > .icon { position: absolute; top: 19px; right: 14px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.textarea-field { padding-bottom: 25px; }
.textarea-field .field-error { max-width: 75%; }
.character-count { position: absolute; bottom: 4px; right: 0; color: var(--muted); font-size: .58rem; }
.submit-button { width: 100%; }
.form-note { text-align: center; color: var(--muted); font-size: .66rem; margin-top: 12px; }
.form-status { color: var(--error); font-size: .76rem; margin-top: 15px; }
.form-success { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.form-success > .icon { color: var(--success); }
.form-success strong { color: var(--success); font-size: .8rem; font-weight: 560; }
.form-success p { color: var(--muted); font-size: .72rem; margin-top: 4px; }
.form-success .text-link { font-size: .71rem; margin-top: 3px; }
#quote-feedback .form-success { max-width: 370px; }

/* Contact and the footer fit together in the final full-height panel. */
.contact-layout { display: grid; gap: 40px; align-items: center; }
.contact-copy h2 { font-size: clamp(3.6rem, 10vw, 6.7rem); font-weight: 550; }
.contact-copy .button { margin-top: 28px; }
.contact-card { padding: 29px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card-top { display: flex; align-items: center; gap: 14px; }
.contact-card-top > span:last-child { color: var(--muted); font-size: .56rem; letter-spacing: .12em; }
.contact-number { display: inline-block; color: var(--ink); font-size: clamp(1.55rem, 7.2vw, 2.3rem); font-weight: 560; line-height: 1.3; letter-spacing: -.05em; margin-top: 28px; min-height: 44px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-number:hover { color: var(--accent-text); }
.contact-card > p { color: var(--muted); font-size: .75rem; margin-top: 3px; }
.contact-meta { display: grid; gap: 20px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 24px; }
.contact-meta > div { display: flex; align-items: flex-start; gap: 11px; }
.contact-meta .icon { width: 17px; height: 17px; color: var(--blue); margin-top: 2px; }
.contact-meta strong { display: block; font-weight: 500; font-size: .81rem; }
.contact-meta small { display: block; color: var(--muted); font-size: .68rem; margin-top: 5px; }
.social-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: .76rem; color: var(--accent-text); }
.panel-footer { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding-right: 55px; }
.panel-footer > div { display: grid; gap: 6px; }
.footer-brand { font-size: .64rem; letter-spacing: .16em; font-weight: 600; }
.panel-footer > div > span { color: var(--muted); font-size: .61rem; }
.developer-credit { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: .65rem; }
.developer-credit .icon { width: 13px; height: 13px; }
.developer-credit:hover { color: var(--accent-text); }
.contact-panel { padding-bottom: 145px; }
.floating-contact { position: fixed; bottom: calc(19px + env(safe-area-inset-bottom,0px)); right: 19px; z-index: 35; display: flex; align-items: center; justify-content: center; gap: 10px; width: 51px; height: 51px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--blue); }
.floating-contact > .icon { width: 24px; height: 24px; }
.floating-contact > span { display: none; font-size: .75rem; }
.floating-contact:hover { border-color: var(--blue); }

/* Mobile and tablet keep a natural height so no content or field is clipped. */
@media (min-width: 600px) {
  .container { width: min(1240px, calc(100% - 64px)); }
  .hero-topline { flex-direction: row; gap: .2em; }
  h1 { font-size: clamp(3.2rem, 7.6vw, 6.7rem); }
  .hero-energy { font-size: 1.3em; }
  .hero-actions .button { width: auto; max-width: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .quote-form { padding: 29px; }
  .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
  .panel-footer { align-items: center; }
}
@media (min-width: 900px) {
  .site-nav { display: flex; position: static; padding: 0; border: none; background: var(--clear); overflow: visible; gap: 26px; }
  .site-nav a { font-size: .77rem; min-height: 44px; }
  .menu-toggle { display: none; }
  .nav-quote { display: inline-flex !important; }
  .header-inner { gap: 25px; }
  .brand strong { font-size: .8rem; }
  .brand small { font-size: .53rem; }
  .approach-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
  .quote-layout { grid-template-columns: 1fr 1fr; gap: 65px; }
  .contact-layout { grid-template-columns: 1.1fr .9fr; gap: 75px; }
  .contact-card { padding: 38px; }
}
@media (min-width: 1024px) {
  /* One panel = one browser viewport. Its top padding already reserves the fixed header. */
  html { scroll-padding-top: 0; }
  .page-panel { height: var(--panel-height); min-height: 0; padding: var(--panel-top) 0 var(--panel-bottom); }
  .panel-caption { padding-right: 65px; }
  /* Unusually large text, resized fields or feedback stay reachable without growing every panel. */
  .page-panel.has-overflow .panel-content { max-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--blue) var(--surface); scroll-padding-block: 12px; }
  .container { width: min(1240px, calc(100% - 100px)); }
  .hero-signature img { width: 78px; height: 83px; margin-bottom: 24px; }
  .hero-signature p { font-size: .58rem; letter-spacing: .15em; }
  h1 { font-size: clamp(4.8rem, 7.25vw, 6.7rem); line-height: .98; margin-top: 30px; }
  .hero-energy { font-size: 1.3em; margin-top: 7px; }
  .hero-description { font-size: .94rem; margin-top: 25px; }
  .hero-actions { margin-top: 26px; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; gap: 40px; }
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
  .section-heading h2 { font-size: clamp(2.3rem, 3.5vw, 3.1rem); margin-top: 16px; }
  .service-card, .service-guide { padding: 22px; min-height: 244px; }
  .service-card .icon-tile { width: 36px; height: 36px; }
  .service-card h3 { margin-top: 16px; }
  .service-card > p { margin-bottom: 16px; }
  .service-card h3 { font-size: 1.07rem; }
  .service-card > p { font-size: .73rem; }
  .service-request { font-size: .62rem; }
  .approach-layout { gap: 100px; }
  .commitment { padding: 26px 28px; }
  .quote-layout { grid-template-columns: 1fr .97fr; gap: 100px; }
  .quote-copy h2 { font-size: clamp(3rem, 4.7vw, 4.1rem); }
  .quote-form { padding: 30px; }
  .contact-layout { gap: 110px; }
  .contact-copy h2 { font-size: clamp(5.3rem, 8.2vw, 7rem); }
  .panel-caption { bottom: 24px; }
  .panel-footer { bottom: 30px; padding-right: 65px; }
}

/* Laptop windows have less usable height than the screen's advertised resolution. */
@media (min-width: 1024px) and (max-height: 900px) {
  :root { --header-size: 72px; --panel-top: calc(var(--header-height) + 24px); --panel-bottom: 64px; }
  .hero-signature img { width: 64px; height: 69px; margin-bottom: 18px; }
  h1 { font-size: clamp(3.8rem, min(7.25vw, 12dvh), 6.7rem); margin-top: 24px; }
  .hero-energy { margin-top: 4px; }
  .hero-description { margin-top: 20px; font-size: .91rem; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { min-height: 50px; padding-block: 14px; }
  h2 { font-size: clamp(2.15rem, 4.6dvh, 3.2rem); margin-top: 16px; }
  .section-description { margin-top: 18px; font-size: .9rem; line-height: 1.65; }
  .section-heading { gap: 28px; margin-bottom: 20px; }
  .section-heading h2 { font-size: clamp(2rem, 4.8dvh, 2.65rem); line-height: 1.1; margin-top: 12px; }
  .services-grid { gap: 12px; }
  .service-card, .service-guide { min-height: 190px; padding: 16px; }
  .service-card .card-top { position: absolute; top: 16px; left: 16px; right: 16px; }
  .service-card .icon-tile { width: 32px; height: 32px; }
  .service-card .icon-tile .icon { width: 19px; height: 19px; }
  .service-card h3 { margin: 0 16px 0 44px; min-height: 40px; font-size: 1.02rem; line-height: 1.22; }
  .service-card > p { margin: 12px 0; font-size: .77rem; line-height: 1.55; }
  .service-request { min-height: 40px; padding-top: 10px; font-size: .65rem; }
  .service-guide h3 { font-size: 1.3rem; margin-top: 8px; }
  .service-guide p { font-size: .72rem; line-height: 1.5; margin-top: 8px; }
  .service-guide .text-link { min-height: 40px; margin-top: 8px; font-size: .73rem; }
  .approach-layout, .quote-layout { gap: 64px; }
  .commitments { gap: 10px; }
  .commitment { padding: 18px 22px; gap: 18px; }
  .commitment .icon { margin-bottom: 10px; }
  .commitment p { margin-top: 6px; font-size: .76rem; line-height: 1.6; }
  .audiences { margin-top: 24px; padding-top: 20px; }
  .quote-copy h2 { font-size: clamp(2.3rem, 5.4dvh, 3.4rem); }
  .owner-signature { margin-top: 24px; padding-top: 20px; }
  .owner-signature img { width: 40px; height: 43px; }
  .quote-promise { margin-top: 16px; }
  .quote-form { padding: 20px; }
  .form-intro { margin-bottom: 12px; }
  .form-intro h3 { font-size: 1rem; }
  .field { padding-bottom: 16px; margin-bottom: 2px; }
  .field input, .field select, .field textarea { min-height: 50px; font-size: .81rem; line-height: 1.35; }
  .field textarea { height: 84px; min-height: 84px; }
  .field-error { top: calc(100% - 14px); font-size: .58rem; }
  .attendance { margin: 0 0 10px; }
  .attendance legend { margin-bottom: 6px; font-size: .68rem; }
  .attendance label > span { min-height: 40px; padding: 10px 8px; font-size: .74rem; }
  .textarea-field { padding-bottom: 20px; }
  .submit-button { min-height: 46px; padding-block: 12px; }
  .form-note { font-size: .63rem; margin-top: 8px; }
  .form-status { font-size: .63rem; margin-top: 8px; }
  .form-success { margin-top: 14px; padding-top: 14px; }
  .contact-layout { gap: 75px; }
  .contact-copy h2 { font-size: clamp(3.8rem, 9.2dvh, 6rem); }
  .contact-copy .button { margin-top: 20px; }
  .contact-card { padding: 28px; }
  .contact-number { margin-top: 20px; }
  .contact-meta { margin-top: 20px; padding-top: 20px; gap: 16px; }
  .panel-caption { bottom: 14px; }
  .panel-footer { bottom: 18px; }
}

/* Compact, readable layout for 1366×768 / 1280×720 notebooks with browser chrome. */
@media (min-width: 1024px) and (max-height: 720px) {
  :root { --header-size: 64px; --panel-top: calc(var(--header-height) + 14px); --panel-bottom: 50px; }
  .header-inner { padding-block: 8px; }
  .hero-signature img { width: 56px; height: 60px; margin-bottom: 12px; }
  h1 { margin-top: 18px; font-size: clamp(3.4rem, min(7.25vw, 12dvh), 6.7rem); }
  .hero-description { margin-top: 16px; font-size: .86rem; line-height: 1.6; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .button { min-height: 46px; padding-block: 13px; }
  h2 { margin-top: 12px; font-size: clamp(2rem, 5.5dvh, 2.6rem); }
  .section-description { margin-top: 16px; font-size: .87rem; line-height: 1.6; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h2 { font-size: 1.88rem; line-height: 1.08; margin-top: 8px; }
  .section-heading > p { font-size: .76rem; }
  .services-grid { gap: 10px; }
  .service-card, .service-guide { min-height: 176px; padding: 14px; }
  .service-card .card-top { top: 14px; left: 14px; right: 14px; }
  .service-card .icon-tile { width: 28px; height: 28px; }
  .service-card .icon-tile .icon { width: 17px; height: 17px; }
  .service-card h3 { margin-left: 40px; min-height: 37px; font-size: .96rem; line-height: 1.2; }
  .service-card > p { font-size: .75rem; line-height: 1.5; margin: 10px 0 8px; }
  .service-request { min-height: 36px; padding-top: 8px; font-size: .62rem; }
  .service-guide h3 { font-size: 1.15rem; }
  .service-guide > p { display: none; }
  .commitment { padding: 16px 20px; }
  .commitment .icon { margin-bottom: 8px; }
  .commitment h3 { font-size: .92rem; }
  .commitment p { font-size: .74rem; line-height: 1.5; margin-top: 5px; }
  .approach-layout, .quote-layout { gap: 48px; }
  .audiences { margin-top: 20px; padding-top: 18px; }
  .quote-copy h2 { font-size: 2.2rem; }
  .owner-signature { margin-top: 20px; padding-top: 18px; }
  .quote-form { padding: 14px 18px; }
  .form-intro { margin-bottom: 6px; }
  .form-intro h3 { font-size: .92rem; }
  .field { padding-bottom: 14px; margin-bottom: 0; }
  .field input, .field select, .field textarea { min-height: 46px; padding: 20px 12px 7px; font-size: .8rem; line-height: 1.3; }
  .field label { top: 15px; left: 12px; font-size: .8rem; }
  .field textarea { height: 64px; min-height: 64px; padding-top: 21px; }
  .select-field select { padding-right: 36px; }
  .select-field > .icon { top: 17px; right: 12px; }
  .textarea-field { padding-bottom: 20px; }
  .attendance { margin-bottom: 8px; }
  .attendance legend { float: left; margin: 0; padding: 0 12px 0 0; font-size: .64rem; line-height: 36px; }
  .attendance > div { overflow: hidden; gap: 8px; }
  .attendance label > span { min-height: 36px; padding: 8px 6px; font-size: .7rem; }
  .submit-button { min-height: 44px; padding-block: 11px; font-size: .76rem; }
  .form-note { font-size: .6rem; margin-top: 4px; }
  .form-status { font-size: .6rem; margin-top: 4px; }
  .contact-copy h2 { font-size: clamp(3.7rem, 9.2dvh, 5.7rem); }
  .contact-card { padding: 24px; }
  .panel-caption { bottom: 3px; }
  .panel-footer { bottom: 3px; }
}

@media (min-width: 1024px) and (max-height: 620px) {
  .section-heading { align-items: center; }
  .section-heading h2 br { display: none; }
  .section-heading h2 span::before { content: ' '; }
}
@media (max-width: 1023px) {
  /* Keep iOS from zooming the page when a form field receives focus. */
  .field input, .field select, .field textarea { font-size: 1rem; }
  .ambient-background { opacity: .7; }
  .ambient-ray { width: clamp(120px, 30vw, 220px); }
  .ambient-ray-left { left: -55px; }
  .ambient-ray-right { right: -55px; }
  .ambient-halo, .ambient-light { display: none; }
  .ambient-branches { opacity: .25; }
}
@media (any-pointer: coarse) {
  .button, .service-request, .attendance label > span, .site-nav a { min-height: 44px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .brand strong { font-size: .69rem; }
  .brand small { font-size: .47rem; }
  .contact-number { font-size: 1.55rem; }
  .quote-form { padding: 23px 15px; }
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before { opacity: .35; }
  .service-card:hover:not(.is-selected):not(:focus-within)::after { opacity: .2; }
  .floating-contact > span { position: absolute; right: 61px; width: 130px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); display: block; opacity: 0; transform: translateX(7px); pointer-events: none; transition: transform .2s, opacity .2s; }
  .floating-contact:hover > span, .floating-contact:focus-visible > span { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ambient-bolt { opacity: .1; }
  .ambient-halo, .ambient-light { display: none; }
  .service-card::before { display: none; }
  .hero-signature img { filter: none; }
}
