﻿:root {
  --ink: #102b43;
  --muted: #506273;
  --blue: #1e52b8;
  --blue-dark: #153f91;
  --green: #167445;
  --paper: #f4f7fa;
  --line: #dce4ec;
  --header-height: 89px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: white; font: 16px/1.65 "Segoe UI", Arial, sans-serif; }
.js body { padding-top: var(--header-height); }
a { color: var(--blue); text-underline-offset: 4px; }
a:hover { color: var(--blue-dark); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #bb6500; outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
/* Project originals are 860 × 490; their bottom 57px are legacy caption strips. */
.project-photo { width: 100%; aspect-ratio: 860 / 433; object-fit: cover; object-position: top; }
figure { margin: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.45rem, 4.7vw, 4.35rem); font-weight: 700; letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3vw, 2.85rem); font-weight: 650; letter-spacing: -.035em; margin-bottom: 22px; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.015em; margin-bottom: 12px; }
p { margin-bottom: 18px; }
ul { padding-left: 21px; }
li + li { margin-top: 6px; }
[id] { scroll-margin-top: calc(var(--header-height) + 24px); }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 88px; }
.surface { background: var(--paper); }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 650px; }
.section-heading { max-width: 700px; margin-bottom: 36px; }
.section-heading p:last-child { margin-bottom: 0; }
.section-heading-row { display: flex; gap: 32px; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.section-heading-row .section-heading { margin: 0; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; }
.text-link::after { content: "→"; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 6px; background: var(--blue); color: white; text-decoration: none; font-weight: 650; line-height: 1.4; }
.button:hover { background: var(--blue-dark); color: white; }
.button-secondary { background: transparent; color: var(--blue); border-color: #b6c7dc; }
.button-secondary:hover { background: #eaf0f8; color: var(--blue-dark); }
.button-whatsapp { background: var(--green); color: white; }
.button-whatsapp:hover { background: #105a34; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: white; padding: 14px 20px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.site-header { background: white; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.js .site-header { position: fixed; inset: 0 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 28px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 166px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a { font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.nav-links > a:hover, .nav-links > a[aria-current] { color: var(--blue); }
.nav-links > .button { color: white; padding: 11px 16px; font-size: .8125rem; }
.nav-toggle { display: none; align-items: center; gap: 9px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; min-height: 44px; padding: 7px 12px; cursor: pointer; }
.menu-icon { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.menu-icon::after { content: ""; position: absolute; width: 100%; height: 2px; top: 3px; background: currentColor; }
.hero { padding-block: 72px 58px; background: linear-gradient(115deg, #f4f7fb, #fff 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero h1 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.1; }
.hero .lead { font-size: 1.1rem; }
.hero-image { border-radius: 8px; overflow: hidden; background: white; border: 1px solid var(--line); }
.hero-image img { width: 100%; }
.hero-note { font-size: .875rem; color: var(--muted); margin: 0; }
.endorsement { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.endorsement img { width: 160px; }
.endorsement p { flex: 1; margin: 0; color: var(--muted); font-size: .875rem; }
.endorsement strong { color: var(--ink); }
.endorsement a { font-size: .875rem; }
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need-card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--line); border-radius: 8px; background: white; text-decoration: none; color: var(--ink); }
.need-card:hover { background: #f5f8fd; border-color: #a9bfdf; color: var(--ink); }
.need-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.need-card .text-link { font-size: .875rem; color: var(--blue); }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eaf0fb; color: var(--blue); margin-bottom: 26px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preview-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.preview-card p { font-size: .9375rem; color: var(--muted); }
.preview-card .text-link { font-size: .875rem; }
.preview-card:first-child { grid-row: span 2; padding: 0; overflow: hidden; }
.preview-card:first-child .preview-copy { padding: 26px; }
.preview-card img { width: 100%; }
.preview-card .pump-photo { aspect-ratio: 860 / 433; object-fit: contain; padding: 16px; background: white; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 40px 0 48px; }
.process li { display: flex; flex-direction: column; padding-top: 20px; border-top: 2px solid #c4d4e9; margin: 0; }
.process-number { color: var(--blue); font-size: .875rem; font-weight: 700; display: block; margin-bottom: 16px; }
.process p { color: var(--muted); font-size: .9375rem; }
.process .project-photo { margin-top: auto; border-radius: 6px; }
.specialist-service { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 24px; margin: 0 0 24px; padding: 20px 24px; background: #eaf1f9; border: 1px solid #d0deee; border-left: 4px solid var(--blue); border-radius: 8px; }
.specialist-service-icon { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: white; color: var(--blue); }
.specialist-service-icon img { width: 70px; height: 70px; object-fit: contain; border-radius: 50%; }
.specialist-service .eyebrow { margin-bottom: 6px; }
.specialist-service h3 { font-size: 1.35rem; margin-bottom: 8px; }
.specialist-service-copy > p:last-child { margin-bottom: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-card { border: 1px solid var(--line); padding: 30px; border-radius: 8px; }
.service-card p, .service-card li { color: var(--muted); font-size: .9375rem; }
.service-card ul { margin-bottom: 22px; }
.service-extra { display: flex; gap: 36px; justify-content: space-between; align-items: center; background: var(--paper); border-radius: 8px; padding: 30px; margin-top: 22px; }
.service-extra p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.service-extra > a { flex-shrink: 0; }
#soluciones .section-heading, #productos .section-heading, #servicios .section-heading, #aplicaciones .section-heading { max-width: none; }
#soluciones .section-heading .lead, #productos .section-heading .lead, #servicios .section-heading .lead { max-width: none; }
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sector { display: flex; flex-direction: column; border-top: 1px solid #b7cbe4; padding-top: 24px; }
.sector p { color: var(--muted); flex: 1; }
.sector:first-child { border-color: var(--blue); }
.grundfos-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.grundfos-brand { width: 230px; margin-bottom: 32px; }
.credential { padding-block: 24px; border-top: 1px solid var(--line); }
.credential:first-child { padding-top: 0; border-top: 0; }
.credential p { color: var(--muted); margin-bottom: 0; }
.source-link { font-size: .8125rem; display: inline-block; margin-top: 14px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 8px; }
.work-card img { width: 100%; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.history-mark { color: var(--blue); font-size: clamp(5rem, 9vw, 8rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin-bottom: 10px; }
.about-copy p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact { background: #eaf1f9; }
.contact .lead { max-width: 530px; }
.contact-prompt { border-left: 3px solid var(--blue); padding-left: 20px; color: var(--muted); }
.contact-details { background: white; padding: 32px; border: 1px solid #d0deee; border-radius: 8px; }
.contact-details address { font-style: normal; }
.contact-details a { overflow-wrap: anywhere; }
.contact-details h3 { font-size: 1rem; margin: 24px 0 8px; }
.contact-details h3:first-child { margin-top: 0; }
.contact-details p { margin-bottom: 8px; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; margin: 0; font-size: .9375rem; }
.hours dd { margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: .8125rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.floating-whatsapp { position: fixed; bottom: 20px; right: 20px; z-index: 40; box-shadow: 0 4px 18px #102b4326; min-height: 46px; padding: 11px 16px; border-radius: 30px; font-size: .8125rem; }
.catalogue-hero { padding-block: 56px 44px; }
.catalogue-hero h1 { max-width: 850px; }
.breadcrumb { font-size: .8125rem; margin-bottom: 24px; color: var(--muted); }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.category-nav a { background: white; border: 1px solid #c9d7e7; padding: 10px 16px; border-radius: 5px; text-decoration: none; font-size: .875rem; font-weight: 650; }
.category-nav a:hover { border-color: var(--blue); }
.catalogue-section { padding-block: 64px; border-bottom: 1px solid var(--line); }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalogue-card { border: 1px solid var(--line); background: white; border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.catalogue-card h3 { font-size: 1.15rem; }
.catalogue-pump-pictogram { width: 100%; height: 170px; object-fit: contain; margin-bottom: 22px; }
.catalogue-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.catalogue-card .text-link { font-size: .875rem; align-self: start; }
.catalogue-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 32px; }
.catalogue-feature figure { border-radius: 8px; border: 1px solid var(--line); overflow: hidden; }
.catalogue-feature p, .catalogue-feature li { color: var(--muted); }
.product-details { background: white; border: 1px solid var(--line); border-radius: 6px; margin-top: 12px; }
.product-details summary { cursor: pointer; padding: 18px 22px; color: var(--ink); font-weight: 650; }
.product-details[open] summary { border-bottom: 1px solid var(--line); }
.detail-body { padding: 24px; display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: start; }
.detail-body img { width: 150px; height: 170px; object-fit: contain; }
.detail-body p { color: var(--muted); }
.download-list { list-style: none; padding: 0; margin: 20px 0; }
.download-list a { display: inline-block; padding-block: 5px; }
.brand-list { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.brand-list li { font-weight: 650; margin: 0; }
@media (max-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --header-height: 77px; }
  .header-inner { min-height: 76px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #102b4314; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 16px 32px 24px; align-items: stretch; gap: 0; }
  .js .nav-links.is-open { display: flex; flex-direction: column; }
  .nav-links > a { padding: 12px 8px; }
  .nav-links > .button { margin-top: 8px; align-self: start; }
  html:not(.js) body .header-inner { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) body .nav-links { flex-wrap: wrap; gap: 8px 18px; }
  .hero-grid { gap: 32px; }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .grundfos-grid, .about-grid, .contact-grid { gap: 40px; }
}
@media (max-width: 767px) {
  .specialist-service { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 16px; align-items: start; }
  .specialist-service-icon { width: 56px; height: 56px; }
  .specialist-service-icon img { width: 48px; height: 48px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 56px; }
  .hero { padding-block: 40px; }
  .hero-grid, .grundfos-grid, .about-grid, .contact-grid, .catalogue-feature { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: 600px; font-size: clamp(2rem, 7.9vw, 3rem); }
  .hero .lead { font-size: 1rem; }
  .hero-image { max-width: 600px; }
  .endorsement { flex-wrap: wrap; gap: 16px; margin-top: 30px; }
  .endorsement img { width: 132px; }
  .endorsement p { flex-basis: calc(100% - 155px); min-width: 160px; }
  .endorsement a { width: 100%; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 18px; }
  .product-preview, .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-card:first-child { grid-row: auto; grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .process { grid-template-columns: 1fr 1fr; }
  .service-grid, .sector-grid, .work-grid { grid-template-columns: 1fr; }
  .service-extra { flex-direction: column; align-items: start; gap: 22px; }
  .contact-details { padding: 24px; }
  .site-footer { padding-bottom: 96px; }
  .floating-whatsapp { bottom: 14px; right: 14px; }
  .catalogue-hero { padding-block: 36px; }
  .catalogue-section { padding-block: 48px; }
}
@media (max-width: 480px) {
  .brand img { width: 145px; }
  .js .nav-links { padding-inline: 20px; }
  .need-grid, .product-preview, .catalogue-grid { grid-template-columns: 1fr; }
  .need-card { padding: 24px; }
  .card-icon { margin-bottom: 18px; }
  .need-card h3 { margin-bottom: 10px; }
  .preview-card:first-child { grid-column: auto; display: block; }
  .work-card { display: block; }
  .actions { flex-direction: column; align-items: stretch; }
  .service-card, .service-extra { padding: 24px; }
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process h3 { font-size: 1.1rem; }
  .process p { font-size: .875rem; }
  .detail-body { grid-template-columns: 1fr; gap: 18px; }
  .detail-body img { margin-inline: auto; }
  .category-nav a { flex: 1 1 140px; }
  .hours { grid-template-columns: 1fr; gap: 0; }
  .hours dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .js body { padding-top: 0; }
  .js .site-header { position: static; }
  .nav-toggle, .nav-links, .floating-whatsapp, .skip-link { display: none !important; }
  .section, .catalogue-section { padding-block: 24px; }
  .container { width: 100%; }
  .site-footer { padding-bottom: 0; }
}
