/* Red Málaga — shared visual system for the five review websites. */
:root {
  --ink: #0b3048;
  --ink-soft: #425d6e;
  --red: #d91e2b;
  --red-hover: #b91622;
  --pale: #eef4f7;
  --line: #dce5ea;
  --white: #fff;
  --muted: #657987;
  --radius: 9px;
  --container: 1240px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.65; }
body, input, textarea, select, button { font-family: inherit; }
body:has(dialog[open]) { overflow: hidden; }
main { overflow: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a, button { touch-action: manipulation; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 680; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 4.8vw, 66px); }
h2 { font-size: clamp(32px, 3.4vw, 45px); }
h3 { font-size: 22px; letter-spacing: -.025em; }
ul, ol { padding-left: 1.35em; }
::selection { background: #fbdadd; color: var(--ink); }
:focus-visible { outline: 3px solid #297ba4; outline-offset: 5px; }
button:disabled { cursor: not-allowed; opacity: .65; }
[hidden] { display: none !important; }
.container { width: min(100% - 64px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 16px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: white; border-radius: 6px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

/* The shared network makes the relationship between domains explicit. */
.network-bar { background: var(--pale); border-bottom: 1px solid #e0e9ee; font-size: 11px; line-height: 1.3; }
.network-bar > .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.network-links { display: flex; align-items: stretch; gap: 25px; min-width: 0; }
.network-links a { display: inline-flex; align-items: center; min-height: 38px; color: #516b7b; font-size: 11px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; padding-top: 2px; white-space: nowrap; }
.network-links a:hover { color: var(--ink); }
.network-links a.active, .network-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.network-caption { color: #516b7b; font-size: 11px; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 100px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 190px; height: 71px; object-fit: cover; object-position: center; flex: 0 0 auto; }
.brand-label { max-width: 100px; padding-left: 17px; border-left: 1px solid var(--line); font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .095em; text-transform: uppercase; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav a { padding-block: 13px; color: var(--ink-soft); font-size: 13px; font-weight: 580; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--red); }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 6px; color: var(--ink); font-size: 12px; line-height: 1.4; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .18s, color .18s; }
.header-contact:hover { background: var(--ink); color: white; }
.main-nav .header-contact { padding: 11px 17px; }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; background: white; font-weight: 650; font-size: 13px; }
.menu-toggle svg { width: 20px; height: 20px; }

/* A straightforward first screen: what we do, what to do next, real context. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 54px; padding-top: 56px; padding-bottom: 56px; }
.hero-copy { min-width: 0; padding-block: 15px; }
.eyebrow { display: block; margin: 0 0 20px; font-size: 11px; line-height: 1.5; letter-spacing: .15em; font-weight: 750; text-transform: uppercase; color: var(--red); }
.hero h1 { max-width: 630px; margin-bottom: 25px; }
.hero h1 span { color: var(--red); }
.hero-intro { max-width: 510px; margin: 0 0 28px; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 49px; padding: 13px 20px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; line-height: 1.5; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.button.primary { background: var(--red); border-color: var(--red); color: white; }
.button.primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
.button.secondary { background: white; border-color: var(--line); color: var(--ink); }
.button.secondary:hover { background: var(--pale); border-color: #aabdc9; }
.button.light { margin-top: 25px; background: transparent; color: white; border-color: #668394; }
.button.light:hover { color: white; background: #19445e; border-color: #a3bbc9; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 27px; color: #617786; font-size: 11px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--red); border-radius: 50%; }
.hero-media { position: relative; overflow: hidden; align-self: stretch; min-height: 500px; border-radius: var(--radius); background: var(--pale); isolation: isolate; }
.hero-media > img { width: 100%; height: 100%; min-height: 500px; position: absolute; inset: 0; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 28px 24px; color: white; z-index: 1; font-size: 14px; line-height: 1.6; background: linear-gradient(transparent, rgba(5,28,43,.77)); }
.hero-media figcaption strong { display: block; font-size: 20px; line-height: 1.3; }
.hero-media figcaption p { margin-top: 6px; font-size: 12px; }
.image-label { position: absolute; top: 17px; left: 17px; z-index: 2; max-width: calc(100% - 34px); background: rgba(255,255,255,.94); border-radius: 4px; padding: 5px 9px; color: var(--ink); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .015em; }
.hero-media.product { background: linear-gradient(145deg, #eef4f7, #f9fbfc); border: 1px solid #e2ebf0; }
.hero-media.product > img { object-fit: contain; padding: 42px 36px 94px; }
.hero-media.product figcaption { background: transparent; color: var(--ink); padding: 20px 28px; }
.specialty .hero h1 { font-size: clamp(42px, 4.5vw, 62px); }
.quick-strip { background: var(--pale); border-block: 1px solid #e0e9ee; }
.quick-strip .container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 25px; }
.quick-item { padding-inline: 32px; border-right: 1px solid #cfdee6; }
.quick-item:first-child { padding-left: 0; }
.quick-item:last-child { padding-right: 0; border-right: 0; }
.quick-item span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.quick-item strong { display: block; font-size: 15px; line-height: 1.45; font-weight: 650; }

/* Service grids keep the entire offer easy to scan. */
.section { padding-block: 88px; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: end; gap: 18px 60px; margin-bottom: 36px; }
.section-heading > .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading > h2 { max-width: 680px; }
.section-heading > p:not(.eyebrow) { margin-bottom: 3px; max-width: 490px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.section-heading > div .eyebrow { margin-bottom: 15px; }
.section-heading > div h2 { max-width: 680px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.services-grid.eight { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 29px; min-height: 278px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: border-color .2s, background .2s; }
.service-card:hover { background: #fbfcfd; border-color: #a9bfcc; }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 26px; background: var(--pale); border-radius: 8px; color: var(--ink); }
.service-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.service-number { position: absolute; top: 32px; right: 29px; color: #849ba9; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.service-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: 13px; line-height: 1.85; margin-bottom: 20px; }
.service-card .text-link { margin-top: auto; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--ink); font-size: 12px; font-weight: 680; line-height: 1.6; text-decoration: none; }
.text-link > span[aria-hidden="true"] { color: var(--red); font-size: 17px; font-weight: 500; }
.text-link:hover { color: var(--red); }
.text-link svg { width: 16px; height: 16px; }
.text-link:has(svg)::after, .text-link:has(.arrow)::after { display: none; }
.service-details { margin-top: 24px; }
.service-details details { border-bottom: 1px solid var(--line); }
.service-details summary { padding: 21px 30px 21px 0; font-weight: 650; list-style: none; position: relative; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after { content: "+"; position: absolute; right: 3px; top: 17px; color: var(--red); font-size: 25px; font-weight: 400; }
.service-details[open] > summary::after { content: "−"; }
.service-details summary > span[aria-hidden="true"] { display: none; }
.service-details > p { padding-bottom: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.service-details details > p, .service-details details > div { max-width: 900px; padding-bottom: 24px; color: var(--ink-soft); font-size: 14px; }
.service-details details ul { margin-top: 0; color: var(--ink-soft); }

.pro-section { background: var(--pale); }
.split-section, .pro-section > .container:not(:has(.split-section)), .pro-section:has(> .pro-copy) { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 80px; }
.pro-copy h2 { max-width: 600px; margin-bottom: 23px; }
.pro-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.pro-copy .actions { margin-top: 27px; }
.pro-panel { background: white; padding: 36px; border: 1px solid #d8e4eb; border-radius: var(--radius); }
.pro-panel h3 { margin-bottom: 24px; font-size: 21px; }
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 27px; border-bottom: 1px solid #e7edf1; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.check-list li:first-child { padding-top: 0; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 750; }
.check-list li strong { color: var(--ink); }
.check-list li > strong, .check-list li > span { display: block; }
.check-list li > span { margin-top: 4px; font-size: 12px; line-height: 1.75; }
.document-note { margin: 23px 0 0; padding: 17px 18px; border-left: 2px solid var(--red); background: var(--pale); color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.document-note strong { color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px; }
.process-step { min-width: 0; position: relative; border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { display: block; margin-bottom: 26px; color: var(--red); font-size: 13px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.process-step h3 { max-width: 240px; margin-bottom: 14px; font-size: 20px; line-height: 1.3; }
.process-step p { color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.work-grid.count-1 { grid-template-columns: minmax(0,1fr); max-width: 800px; }
.work-grid.count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.work-card { min-width: 0; }
.gallery-open { display: block; position: relative; overflow: hidden; width: 100%; border: 0; border-radius: var(--radius); padding: 0; background: var(--pale); text-align: left; }
.gallery-open > span { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 33px; height: 33px; color: var(--ink); background: white; border-radius: 5px; font-size: 20px; box-shadow: 0 2px 7px #0b304817; }
.work-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery-open:hover img { transform: scale(1.025); }
.work-card figcaption { padding: 20px 1px 0; }
.work-card h3 { margin-bottom: 7px; font-size: 18px; }
.work-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.company-section { background: var(--pale); }
.company-section h2 { max-width: 800px; margin-bottom: 24px; }
.company-section p:not(.eyebrow) { max-width: 900px; color: var(--ink-soft); font-size: 16px; line-height: 1.9; }
.company-section .button { margin-top: 17px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.comparison-card { min-width: 0; padding: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison-card h3 { margin-bottom: 13px; font-size: 25px; }
.comparison-card p { color: var(--ink-soft); font-size: 14px; }
.comparison-card .button, .comparison-card .text-link { margin-top: 12px; }

.faq-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 85px; align-items: start; }
.faq-layout h2 { margin-bottom: 20px; }
.faq-layout > div > p:not(.eyebrow) { max-width: 350px; color: var(--ink-soft); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 23px 36px 23px 0; font-size: 15px; line-height: 1.55; font-weight: 620; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span[aria-hidden="true"] { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 19px; font-size: 24px; font-weight: 400; line-height: 1.4; color: var(--red); }
.faq-list details[open] > summary::after { content: "−"; }
.faq-list summary:hover { color: var(--red); }
.faq-list details > p, .faq-list details > div { padding: 0 27px 25px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }

/* One clear contact destination; detailed information stays optional. */
.contact-section { background: var(--ink); color: white; padding-block: 80px; }
.contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 90px; align-items: center; }
.contact-copy .eyebrow { color: #ff9da5; }
.contact-copy h2 { margin-bottom: 25px; max-width: 500px; font-size: clamp(34px,3.5vw,47px); }
.contact-copy > p:not(.eyebrow) { color: #c1d4df; max-width: 430px; font-size: 15px; line-height: 1.9; }
.contact-copy a[href^="tel:"] { display: block; width: fit-content; color: white; text-decoration: none; font-size: clamp(24px,2.7vw,35px); line-height: 1.3; font-weight: 650; letter-spacing: -.03em; margin-top: 29px; }
.contact-copy a[href^="mailto:"] { display: block; width: fit-content; margin-top: 12px; color: #d4e1e8; font-size: 14px; overflow-wrap: anywhere; text-decoration: none; }
.contact-copy a:hover { text-decoration: underline; }
.contact-copy .contact-meta, .contact-copy small { display: block; margin-top: 31px; color: #a9c2d0; font-size: 12px; line-height: 1.8; }
.contact-copy .contact-area { margin-top: 23px; color: #a9c2d0; font-size: 11px; line-height: 1.8; }
.contact-form { min-width: 0; background: white; color: var(--ink); border-radius: 11px; padding: 34px; }
.contact-form h3 { margin-bottom: 24px; font-size: 24px; }
.contact-form > p { color: var(--ink-soft); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
.contact-form label { display: block; min-width: 0; color: var(--ink); font-size: 11px; line-height: 1.6; font-weight: 650; }
.contact-form label > span { color: var(--muted); font-weight: 400; }
.contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 11px 12px; background: #fcfdfe; border: 1px solid #cbd9e1; border-radius: 5px; color: var(--ink); font-size: 13px; line-height: 1.55; font-weight: 400; }
.contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form select { min-height: 45px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7b8d98; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #307a9e; outline: 2px solid #bddbe9; outline-offset: 1px; }
.contact-form textarea { min-height: 105px; resize: vertical; }
.contact-form input[type="checkbox"], .contact-form input[type="radio"] { width: 16px; height: 16px; accent-color: var(--red); vertical-align: middle; margin: 0 6px 0 0; }
.form-grid > .full { grid-column: 1 / -1; }
.contact-form > label { margin-top: 18px; }
.form-note, .contact-form .form-note { margin: 18px 0; color: #6a7f8c; font-size: 10px; font-weight: 400; line-height: 1.75; }
.form-note a { color: var(--ink-soft); }
.contact-form .button { width: 100%; }
.form-status { margin-top: 16px; padding: 12px 14px; border: 1px solid #d6e3ea; border-radius: 5px; background: var(--pale); color: var(--ink); font-size: 12px; line-height: 1.75; }
.form-status:empty { display: none; }
.form-status a { font-weight: 650; }
#copy-query { border: 0; padding: 0; margin: 16px auto 0; background: transparent; color: var(--ink-soft); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.query-copy-fallback { display: block; width: 100%; max-width: 100%; max-height: 260px; padding: 12px; margin-top: 14px; border: 1px solid var(--line); border-radius: 5px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--pale); font-size: 12px; }
.review-note { color: var(--muted); font-size: 10px; line-height: 1.7; margin-top: 15px; }
.contact-form .review-note { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.related-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, background .2s; }
.related-card:hover { border-color: #a9bfcc; background: #f6f9fb; }
.related-card h3 { font-size: 18px; margin: 15px 0 10px; }
.related-card > strong { margin-bottom: 10px; padding-right: 18px; font-size: 17px; font-weight: 650; line-height: 1.35; }
.related-card p { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.related-card > span:not(.arrow) { padding-right: 18px; color: var(--ink); font-size: 17px; font-weight: 650; line-height: 1.5; }
.related-card .arrow { position: absolute; top: 25px; right: 20px; color: var(--red); font-size: 22px; line-height: 1; }
.related-card small { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.related-card > svg { width: 25px; height: 25px; color: var(--red); }

.footer { padding-top: 52px; border-top: 1px solid var(--line); background: #f8fafb; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 42px; }
.footer-grid > div > strong { display: block; margin-bottom: 18px; font-size: 12px; line-height: 1.4; }
.footer .brand { margin-bottom: 15px; }
.footer img { width: 178px; height: 60px; object-fit: cover; object-position: center; }
.footer h3, .footer h4 { margin-bottom: 18px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.footer p { max-width: 290px; color: var(--ink-soft); font-size: 12px; line-height: 1.85; }
.footer a:not(.brand) { display: block; width: fit-content; color: var(--ink-soft); margin-top: 8px; text-decoration: none; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.footer a:hover { color: var(--red); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.footer-bottom p { margin-bottom: 0; }
.footer-bottom a { margin-top: 0 !important; font-size: 10px !important; }
.mobile-contact { display: none; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .contact-form > button { display: none; }
html:not(.js) .main-nav { position: static; display: flex; flex-wrap: wrap; width: 100%; padding: 8px 0; box-shadow: none; }

.photo-dialog { padding: 0; width: min(1100px,calc(100vw - 48px)); max-height: calc(100dvh - 48px); border: 0; border-radius: 10px; background: #071d2b; color: white; overflow: auto; box-shadow: 0 20px 90px #0006; }
.photo-dialog::backdrop { background: rgba(3,19,29,.82); backdrop-filter: blur(3px); }
.photo-dialog img { width: 100%; max-height: calc(100dvh - 125px); object-fit: contain; }
.photo-dialog button, .photo-dialog .dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 7px 12px; border: 1px solid #ffffff80; border-radius: 6px; background: white; color: var(--ink); font-size: 16px; }
.photo-dialog figcaption, .photo-dialog > p { padding: 17px 23px; font-size: 12px; line-height: 1.7; }

@media (min-width: 1440px) {
  .hero { gap: 64px; }
  .hero-media, .hero-media > img { min-height: 520px; }
}

@media (max-width: 1150px) {
  .header-inner { gap: 19px; }
  .brand { gap: 12px; }
  .brand img { width: 150px; height: 52px; }
  .brand-label { max-width: 85px; font-size: 9px; padding-left: 12px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .header-contact { padding-inline: 13px; font-size: 11px; }
  .network-links { gap: 19px; }
  .network-caption { display: none; }
  .hero { gap: 35px; }
  .hero h1 { font-size: 52px; }
  .specialty .hero h1 { font-size: 49px; }
  .hero-intro { font-size: 16px; }
  .hero-media, .hero-media > img { min-height: 470px; }
  .hero .button { padding-inline: 16px; font-size: 12px; }
  .split-section, .pro-section > .container:not(:has(.split-section)), .pro-section:has(> .pro-copy) { gap: 45px; }
  .contact-layout { gap: 50px; }
  .faq-layout { gap: 50px; }
  .service-card { padding: 25px; }
  .service-number { right: 25px; }
  .related-card { padding: 22px; }
}

@media (max-width: 940px) {
  .header-inner { min-height: 84px; position: relative; flex-wrap: wrap; }
  .brand img { width: 159px; height: 55px; }
  .brand-label { max-width: 125px; font-size: 10px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-inner > .header-contact { margin-left: 0; }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: -32px; right: -32px; margin: 0; padding: 16px 32px 24px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 10px 18px #0b304809; }
  .main-nav.is-open, .header-inner:has(.menu-toggle[aria-expanded="true"]) .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: 13px 0; font-size: 15px; }
  .main-nav .header-contact { text-align: center; padding: 13px 17px; margin-top: 12px; }
  .hero { gap: 29px; padding-block: 43px; }
  .hero h1, .specialty .hero h1 { font-size: 43px; }
  .hero-intro { font-size: 14px; }
  .hero-media, .hero-media > img { min-height: 440px; }
  .hero .actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero .button { min-width: 200px; }
  .hero-points { gap: 7px 12px; margin-top: 23px; font-size: 10px; }
  .hero-media figcaption { padding-inline: 22px; }
  .hero-media figcaption strong { font-size: 18px; }
  .quick-item { padding-inline: 23px; }
  .quick-item strong { font-size: 13px; }
  .section { padding-block: 66px; }
  .section-heading { gap: 16px 34px; }
  .section-heading > p:not(.eyebrow) { font-size: 13px; }
  .services-grid, .services-grid.eight { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 260px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 30px; }
  .process-step h3 { max-width: none; }
  .split-section, .pro-section > .container:not(:has(.split-section)), .pro-section:has(> .pro-copy) { gap: 32px; }
  .pro-panel { padding: 26px; }
  .pro-copy p:not(.eyebrow) { font-size: 13px; }
  .check-list li { font-size: 12px; }
  .faq-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 36px; }
  .faq-list summary { font-size: 14px; }
  .contact-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 35px; }
  .contact-form { padding: 25px; }
  .contact-copy > p:not(.eyebrow) { font-size: 13px; }
  .contact-copy h2 { font-size: 34px; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  body { padding-bottom: 67px; }
  .container { width: calc(100% - 40px); }
  .network-bar > .container { min-height: 36px; width: 100%; padding: 4px 20px; }
  .network-links { width: 100%; flex-wrap: wrap; gap: 0 18px; overflow: visible; }
  .network-links::-webkit-scrollbar { display: none; }
  .network-links a { min-height: 29px; font-size: 10px; }
  .header-inner { min-height: 78px; gap: 12px; }
  .brand { gap: 11px; }
  .brand img { width: 143px; height: 50px; }
  .brand-label { max-width: 90px; padding-left: 11px; font-size: 8px; letter-spacing: .06em; }
  .header-inner > .header-contact { display: none; }
  .menu-toggle { min-width: 42px; min-height: 42px; padding-inline: 9px; font-size: 12px; }
  .main-nav { left: -20px; right: -20px; padding: 12px 20px 22px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 35px; padding-bottom: 34px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .13em; }
  .hero h1, .specialty .hero h1 { max-width: 580px; font-size: clamp(39px, 9.6vw, 57px); line-height: 1.08; margin-bottom: 23px; letter-spacing: -.045em; }
  .hero-intro { max-width: 560px; margin-bottom: 24px; font-size: 15px; line-height: 1.8; }
  .hero .actions { flex-direction: row; align-items: center; }
  .hero .button { min-width: 0; min-height: 48px; padding: 13px 15px; font-size: 12px; }
  .hero-points { margin-top: 22px; font-size: 10px; gap: 8px 16px; }
  .hero-media { min-height: 0; height: 350px; border-radius: 8px; }
  .hero-media > img { min-height: 0; height: 100%; }
  .hero-media figcaption { padding: 60px 22px 20px; font-size: 12px; }
  .hero-media figcaption strong { font-size: 19px; }
  .hero-media.product > img { padding: 24px 32px 76px; }
  .hero-media.product figcaption { padding: 15px 22px; }
  .quick-strip .container { grid-template-columns: 1fr; padding-block: 9px; }
  .quick-item, .quick-item:first-child, .quick-item:last-child { padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-right: 0; border-bottom: 1px solid #d8e4eb; }
  .quick-item:last-child { border-bottom: 0; }
  .quick-item span { margin-bottom: 0; flex: 0 0 34%; font-size: 10px; }
  .quick-item strong { max-width: 65%; text-align: right; font-size: 12px; }
  .section { padding-block: 55px; }
  h2 { font-size: 33px; }
  .section-heading { grid-template-columns: minmax(0,1fr); gap: 15px; margin-bottom: 28px; }
  .section-heading > .eyebrow { margin-bottom: -2px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; }
  .section-heading > div .eyebrow { margin-bottom: 15px; }
  .services-grid, .services-grid.eight { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .service-card { padding: 25px; min-height: 0; }
  .service-icon { margin-bottom: 21px; width: 44px; height: 44px; }
  .service-number { top: 28px; }
  .service-card h3 { font-size: 22px; }
  .service-card p { font-size: 13px; max-width: 570px; margin-bottom: 20px; }
  .service-card .text-link { font-size: 12px; }
  .split-section, .pro-section > .container:not(:has(.split-section)), .pro-section:has(> .pro-copy) { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .pro-copy h2 { margin-bottom: 20px; }
  .pro-copy p:not(.eyebrow) { font-size: 14px; }
  .pro-panel { padding: 27px 24px; }
  .check-list li { font-size: 13px; }
  .process-grid { gap: 29px 24px; }
  .process-step { padding-top: 20px; }
  .step-number { margin-bottom: 21px; }
  .process-step h3 { font-size: 18px; }
  .process-step p { font-size: 12px; line-height: 1.85; }
  .work-grid, .work-grid.count-1, .work-grid.count-2, .work-grid.count-3 { grid-template-columns: minmax(0,1fr); gap: 29px; }
  .work-card img { aspect-ratio: 4 / 3; max-height: 450px; }
  .work-card figcaption { padding-top: 17px; }
  .work-card h3 { font-size: 20px; }
  .work-card p { font-size: 13px; }
  .company-section p:not(.eyebrow) { font-size: 14px; }
  .comparison-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .comparison-card { padding: 27px; }
  .comparison-card h3 { font-size: 24px; }
  .faq-layout { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .faq-layout h2 { margin-bottom: 17px; }
  .faq-layout > div > p:not(.eyebrow) { max-width: 560px; }
  .faq-list summary { padding-block: 21px; font-size: 14px; }
  .faq-list details > p, .faq-list details > div { padding-right: 12px; }
  .contact-section { padding-block: 55px; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .contact-copy h2 { max-width: 570px; font-size: 36px; }
  .contact-copy > p:not(.eyebrow) { max-width: 570px; font-size: 14px; }
  .contact-copy a[href^="tel:"] { margin-top: 23px; font-size: 30px; }
  .contact-copy .contact-meta, .contact-copy small { margin-top: 21px; }
  .contact-form { padding: 26px 23px; border-radius: 9px; }
  .contact-form h3 { font-size: 24px; }
  .contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form select, .contact-form textarea { font-size: 16px; }
  .contact-form label { font-size: 11px; }
  .form-grid { gap: 17px 13px; }
  .form-note, .contact-form .form-note { font-size: 10px; }
  .related-grid { gap: 13px; }
  .related-card { padding: 22px 19px; }
  .related-card > strong, .related-card h3 { font-size: 17px; }
  .related-card p { font-size: 11px; }
  .related-card > span:not(.arrow) { font-size: 16px; }
  .related-card .arrow { top: 24px; right: 16px; font-size: 19px; }
  .footer { padding-top: 35px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 24px; padding-bottom: 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer p { max-width: 400px; }
  .footer h3, .footer h4 { margin-bottom: 13px; }
  .footer a:not(.brand) { font-size: 12px; }
  .footer-bottom { display: block; padding-block: 20px; font-size: 10px; }
  .footer-bottom > * + * { margin-top: 7px; }
  .mobile-contact { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; padding: 9px 16px calc(9px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -4px 15px #0b304807; }
  .mobile-contact a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 12px; font-weight: 650; text-decoration: none; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); }
  .mobile-contact a:last-child { border-color: var(--red); background: var(--red); color: white; }
  .photo-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 7px; }
  .photo-dialog img { max-height: calc(100dvh - 105px); }
  .photo-dialog button, .photo-dialog .dialog-close { top: 9px; right: 9px; }
}

@media (max-width: 390px) {
  .container { width: calc(100% - 36px); }
  .brand img { width: 136px; height: 47px; }
  .brand-label { max-width: 82px; padding-left: 9px; font-size: 7.5px; }
  .header-inner { gap: 8px; }
  .brand { gap: 9px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; }
  .hero h1, .specialty .hero h1 { font-size: 39px; }
  .hero-media { height: 300px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .form-grid > .full { grid-column: auto; }
  .process-grid { gap: 27px 19px; }
  .process-step h3 { font-size: 17px; }
  .related-grid { grid-template-columns: minmax(0,1fr); }
  .related-card { padding: 23px; }
  .related-card .arrow { position: absolute; right: 23px; top: 21px; margin: 0; padding: 0; }
  .related-card > strong { padding-right: 30px; }
}

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

@media print {
  .network-bar, .main-nav, .header-contact, .menu-toggle, .mobile-contact, .contact-form, .photo-dialog, .skip { display: none !important; }
  body { padding: 0; }
  .site-header { position: static; }
  .container { width: 100%; }
  .section, .contact-section { padding-block: 25px; }
  .hero { padding-block: 25px; }
  .hero-media, .hero-media > img { min-height: 300px; }
  .contact-section { background: white; color: var(--ink); }
  .contact-copy p, .contact-copy a, .contact-copy .eyebrow { color: var(--ink) !important; }
  .contact-layout { display: block; }
  .service-card, .process-step, .work-card { break-inside: avoid; }
  details > * { display: block; }
}

/* Visual refresh — depth and shared character, without changing the grids. */
:root {
  --surface-soft: #f6f9fb;
  --surface-line: #dce5ec;
  --shadow-low: 0 1px 3px rgba(11, 48, 72, .035), 0 5px 14px rgba(11, 48, 72, .045);
  --shadow-card: 0 2px 4px rgba(11, 48, 72, .035), 0 10px 25px rgba(11, 48, 72, .075);
  --shadow-raised: 0 3px 7px rgba(11, 48, 72, .045), 0 18px 36px rgba(11, 48, 72, .11);
  --shadow-feature: 0 4px 10px rgba(11, 48, 72, .055), 0 23px 48px rgba(11, 48, 72, .14);
  --ease-surface: cubic-bezier(.22, .61, .36, 1);
}

/* A quiet header; depth belongs primarily to the content. */
.network-bar {
  background: #edf3f6;
  border-bottom-color: #e0e8ee;
}
.site-header {
  border-bottom-color: rgba(204, 218, 227, .85);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 3px 16px rgba(11, 48, 72, .045);
}
.brand-label { border-left-color: #cbd9e2; }
.main-nav a, .network-links a { transition: color .18s ease, border-color .18s ease; }
.menu-toggle {
  border-color: #d4e0e7;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 1px 3px rgba(11, 48, 72, .035);
}
.menu-toggle[aria-expanded="true"] {
  background: #edf3f7;
  border-color: #b8cbd8;
}

/* The opening photograph is the strongest elevated surface. */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 84% 39%, rgba(220, 232, 239, .62), transparent 46%),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}
.hero-copy > .eyebrow { color: #bc1c29; }
.hero-media {
  border: 1px solid rgba(11, 48, 72, .09);
  border-radius: 13px;
  box-shadow: var(--shadow-feature);
}
.hero-media figcaption {
  background: linear-gradient(transparent, rgba(5, 28, 43, .86));
  text-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.hero-media.product {
  background: radial-gradient(ellipse at 50% 31%, #fff 12%, #f1f6f9 72%, #e7eff4 100%);
  border-color: #dbe5ec;
}
.hero-media.product figcaption { background: transparent; text-shadow: none; }
.image-label {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .75);
  border-left: 3px solid var(--red);
  border-radius: 5px;
  box-shadow: 0 3px 12px rgba(6, 28, 42, .12);
}
.hero-points { color: #506b7c; }
.hero-points span::before { box-shadow: 0 0 0 3px rgba(217, 30, 43, .07); }
.quick-strip {
  background: linear-gradient(110deg, #eaf1f5, #f3f7f9);
  border-top-color: #d9e4eb;
  border-bottom-color: #e0e8ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.quick-item span { color: #526d7e; }

/* A pale base makes white service surfaces visibly lift from the page. */
#soluciones {
  background: linear-gradient(180deg, #f6f9fb 0%, #f8fafc 70%, #fff 100%);
}
.section-heading .eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 2px;
  margin-right: 10px;
  margin-bottom: 2px;
  background: var(--red);
  border-radius: 2px;
}
.service-card {
  background: linear-gradient(145deg, #fff 68%, #f8fafc 100%);
  border-color: var(--surface-line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease-surface), box-shadow .22s var(--ease-surface),
    border-color .22s ease, background .22s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 29px;
  width: 43px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
}
.service-card:hover {
  background: linear-gradient(145deg, #fff 68%, #f8fafc 100%);
  border-color: var(--surface-line);
}
.service-icon {
  position: relative;
  color: #fff;
  background: linear-gradient(145deg, #1d4c67, #0b3048);
  border: 1px solid rgba(11, 48, 72, .12);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .21),
    0 4px 8px rgba(11, 48, 72, .16);
}
.service-icon::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 3px;
}
.service-number { color: #688192; font-weight: 600; }
.service-card h3 { color: #082e47; }
.service-card .service-details { border-top: 1px solid #e5ecf1; }
.service-card .service-details summary { font-size: 13px; }
.service-card .service-details[open] > summary { color: var(--red-hover); }
.service-card:focus-within {
  border-color: #91aebe;
  box-shadow: 0 0 0 2px rgba(49, 115, 151, .09), var(--shadow-raised);
}
.text-link { transition: color .18s ease; }
.text-link > span[aria-hidden="true"], .related-card .arrow {
  transition: transform .2s var(--ease-surface), color .18s ease;
}

/* Benefits and comparison panels have a quieter, architectural treatment. */
.pro-section, .company-section {
  background: linear-gradient(120deg, #eaf1f5 0%, #f4f8fa 100%);
  border-block: 1px solid #e1e9ef;
}
.pro-panel, .comparison-card {
  position: relative;
  background: linear-gradient(135deg, #fff 70%, #f9fbfc);
  border-color: #d8e3ea;
  border-top: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}
.check-list li { border-bottom-color: #e6edf2; }
.check-list li::before {
  top: 15px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: #fbebed;
  border: 1px solid #f4d8dd;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}
.check-list li:first-child::before { top: 2px; }
.document-note {
  background: #f1f6f9;
  border-left-width: 3px;
  border-radius: 0 6px 6px 0;
  box-shadow: inset 0 1px 2px rgba(11, 48, 72, .025);
}
.comparison-section { background: #f7fafb; }
.company-section { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }

/* These are informative steps, so they remain still on hover. */
.process-section { background: #fff; }
.process-step {
  border: 1px solid #e0e8ee;
  border-radius: 10px;
  padding: 24px 20px;
  background: linear-gradient(160deg, #fff, #f8fafc);
  box-shadow: var(--shadow-low);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 34px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: #2b5871;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  margin-bottom: 22px;
  color: var(--red-hover);
  background: #fceef0;
  border: 1px solid #f5dce0;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

/* Photographs and captions are one tactile, readable object. */
.work-section { background: #f4f8fa; border-block: 1px solid #e7edf2; }
.work-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6ed;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .22s var(--ease-surface), border-color .22s ease;
}
.gallery-open { border-radius: 11px 11px 0 0; }
.gallery-open::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(8, 36, 53, .14));
}
.gallery-open > span {
  z-index: 1;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #0d354e;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 7px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
.gallery-open:hover img { transform: none; }
.work-card figcaption { padding: 22px 24px 23px; }
.work-card:focus-within {
  border-color: #5087a4;
  box-shadow: 0 0 0 3px rgba(48, 122, 158, .18), var(--shadow-raised);
}
.gallery-open:focus-visible { outline-offset: -5px; outline-color: #fff; }

/* Separate FAQ surfaces distinguish the question from its answer. */
#preguntas { background: #fff; }
.faq-list { border-top: 0; }
.faq-list details {
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(11, 48, 72, .035);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.faq-list details:last-child { margin-bottom: 0; }
.faq-list summary { padding: 21px 56px 21px 22px; }
.faq-list summary::after {
  top: 20px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #eff4f7;
  color: #34596f;
  font-size: 21px;
  line-height: 1;
}
.faq-list details[open] {
  background: #f7fafc;
  border-color: #bdcfdb;
  box-shadow: var(--shadow-low);
}
.faq-list details[open] > summary { color: var(--ink); }
.faq-list details[open] > summary::after { color: #fff; background: var(--red); }
.faq-list details > p, .faq-list details > div { padding: 0 54px 23px 22px; }
.faq-list details:focus-within { border-color: #91aebe; }

/* A deeper navy backdrop makes the contact panel the clear next action. */
.contact-section {
  background: radial-gradient(ellipse at 8% 12%, rgba(42, 100, 130, .28), transparent 54%),
    linear-gradient(120deg, #08283d, #103d56);
  border-top: 1px solid #1c4a63;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.contact-copy > p:not(.eyebrow) { color: #cbdce6; }
.contact-copy .contact-area { color: #b5ccd9; }
.contact-form {
  background: linear-gradient(145deg, #fff 72%, #f7fafc);
  border: 1px solid rgba(255, 255, 255, .9);
  border-top: 3px solid #e43a45;
  border-radius: 13px;
  box-shadow: 0 3px 8px rgba(2, 17, 27, .1), 0 20px 45px rgba(2, 17, 27, .24);
}
.contact-form input:not([type="checkbox"]):not([type="radio"]),
.contact-form select, .contact-form textarea {
  background: #f8fafc;
  border-color: #cbd9e3;
  box-shadow: inset 0 1px 2px rgba(11, 48, 72, .035);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  background: #fff;
  border-color: #427e9d;
  outline: 2px solid #b7d5e5;
  outline-offset: 2px;
  box-shadow: 0 1px 3px rgba(11, 48, 72, .04);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6c818f; }
.form-note, .contact-form .form-note { color: #59717f; }
.form-status {
  border-color: #ccdde7;
  background: #edf4f8;
  box-shadow: inset 3px 0 0 #2b617e;
}
.query-copy-fallback { background: #f3f7fa; border-color: #cbdde7; }

/* Related services echo the cards at a deliberately lower elevation. */
.related-section { background: #fafcfd; }
.related-card {
  background: #fff;
  border-color: #dce6ed;
  border-radius: 10px;
  box-shadow: var(--shadow-low);
  transition: transform .2s var(--ease-surface), border-color .2s ease,
    background .2s ease, box-shadow .2s var(--ease-surface);
}
.related-card small { color: #536e80; }
.related-card:focus-visible {
  border-color: #91aebe;
  box-shadow: var(--shadow-raised);
}
.footer { background: linear-gradient(180deg, #f0f5f8, #f8fafb); border-top-color: #dbe5ec; }
.footer-bottom { border-top-color: #d4e0e8; }
.button {
  transition: background .18s ease, border-color .18s ease, color .18s ease,
    box-shadow .2s var(--ease-surface), transform .2s var(--ease-surface);
}
.button.primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14),
    0 4px 9px rgba(173, 22, 36, .13);
}
.button.secondary {
  border-color: #ccdae3;
  box-shadow: 0 2px 5px rgba(11, 48, 72, .035);
}
.button.light {
  background: rgba(255, 255, 255, .035);
  border-color: #66869a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.button:disabled { box-shadow: none; transform: none; }
.photo-dialog { box-shadow: 0 8px 30px rgba(0, 0, 0, .18), 0 24px 90px rgba(0, 0, 0, .4); }

/* Hover movement is reserved for fine pointers and actionable surfaces. */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: #bdceda;
    box-shadow: var(--shadow-raised);
    background: linear-gradient(145deg, #fff 68%, #f4f8fb);
  }
  .text-link:hover > span[aria-hidden="true"] { transform: translate(2px, -1px); }
  .work-card:has(.gallery-open:hover) { border-color: #bdceda; box-shadow: var(--shadow-raised); }
  .gallery-open:hover img { transform: scale(1.025); }
  .faq-list details:not([open]):hover { border-color: #bdcfdb; background: #fbfcfd; }
  .related-card:hover { transform: translateY(-3px); background: #fff; border-color: #b9cedb; box-shadow: var(--shadow-card); }
  .related-card:hover .arrow { transform: translate(2px, -2px); }
  .button:not(:disabled):hover { transform: translateY(-1px); }
  .button.primary:not(:disabled):hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 13px rgba(173, 22, 36, .2);
  }
  .button.secondary:not(:disabled):hover { box-shadow: 0 4px 10px rgba(11, 48, 72, .08); }
  .contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: #a9c0cf; }
}

@media (max-width: 1150px) {
  .service-card::before { left: 25px; }
}
@media (max-width: 940px) {
  .main-nav { box-shadow: 0 9px 20px rgba(11, 48, 72, .08); }
  .process-step { padding: 23px 20px; }
}
@media (max-width: 700px) {
  .site-header { box-shadow: 0 2px 10px rgba(11, 48, 72, .04); }
  .hero::before { background: linear-gradient(180deg, #fff 25%, #f1f6f9 100%); }
  .hero-media { border-radius: 11px; box-shadow: 0 3px 8px rgba(11, 48, 72, .05), 0 13px 27px rgba(11, 48, 72, .11); }
  .service-card { box-shadow: 0 2px 4px rgba(11, 48, 72, .035), 0 7px 17px rgba(11, 48, 72, .065); }
  .service-card::before { left: 25px; }
  .process-step { padding: 21px 15px; }
  .process-step::before { left: 15px; }
  .step-number { margin-bottom: 18px; }
  .work-card figcaption { padding: 20px; }
  .faq-list summary { padding: 19px 49px 19px 18px; }
  .faq-list summary::after { top: 18px; right: 14px; width: 24px; height: 24px; }
  .faq-list details > p, .faq-list details > div { padding: 0 20px 21px 18px; }
  .contact-form { border-radius: 11px; box-shadow: 0 3px 7px rgba(2, 17, 27, .09), 0 12px 28px rgba(2, 17, 27, .2); }
  .mobile-contact { border-top-color: #d4e0e8; box-shadow: 0 -4px 18px rgba(11, 48, 72, .065); }
  .mobile-contact a { box-shadow: 0 1px 3px rgba(11, 48, 72, .04); }
}
@media (max-width: 390px) {
  .process-step { padding: 20px 13px; }
  .process-step::before { left: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover, .related-card:hover, .gallery-open:hover img,
  .text-link:hover > span[aria-hidden="true"], .related-card:hover .arrow,
  .button:not(:disabled):hover { transform: none !important; }
}
@media print {
  .hero::before, .service-card::before, .service-icon::after,
  .section-heading .eyebrow::before, .process-step::before, .gallery-open::after { display: none; }
  .site-header, .hero-media, .service-card, .pro-panel, .comparison-card,
  .process-step, .work-card, .faq-list details, .related-card, .button,
  .contact-section, .company-section { box-shadow: none !important; }
  #soluciones, .pro-section, .company-section, .comparison-section,
  .process-section, .work-section, #preguntas, .faq-list details,
  .related-section, .related-card, .contact-section, .footer { background: #fff; }
  .service-card, .pro-panel, .comparison-card, .process-step { background: #fff; }
  .service-icon { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: none; }
}