*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--brand-white); }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--brand-navy); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; }
h2 { font-size: clamp(2.05rem, 4.3vw, 3.3rem); }
h3 { font-size: clamp(1.42rem, 2.65vw, 2rem); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }
section[id], :target { scroll-margin-top: 106px; }
.wrap { width: min(1192px, calc(100% - 4.5rem)); margin-inline: auto; }
.section { padding-block: clamp(2.6rem, 6.6vw, 5.75rem); }
.intro { margin-top: .6rem; color: var(--muted); font-size: clamp(1rem, 1.75vw, 1.14rem); max-width: 58ch; }
.skip { position: fixed; z-index: 8; inset: .75rem auto auto .75rem; transform: translateY(-170%); background: var(--brand-yellow); padding: .65rem .85rem; font-weight: 750; }
.skip:focus { transform: none; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .48rem; padding: .58rem 1.05rem; border: 1px solid var(--brand-red); border-radius: 8px; color: white; background: var(--brand-red); font-size: .94rem; font-weight: 750; line-height: 1.2; text-align: center; }
.button:hover { background: #a10303; border-color: #a10303; }
.button-outline { color: var(--brand-navy); background: transparent; border-color: var(--brand-navy); }
.button-outline:hover { background: #e1eaf8; border-color: var(--brand-navy); }
.button-small { min-height: 41px; font-size: .86rem; }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.header { position: sticky; top: 0; z-index: 4; border-bottom: 1px solid var(--line); background: var(--brand-white); }
.header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .45rem; color: var(--brand-navy); white-space: nowrap; }
.brand img { width: 55px; height: 55px; object-fit: contain; }
.brand span { display: grid; font-size: 1.42rem; font-weight: 850; line-height: 1; letter-spacing: -.035em; }
.brand small { margin-top: .13rem; color: var(--brand-red); font-size: .71rem; font-weight: 800; letter-spacing: .03em; }
.header nav, .footer nav { display: flex; gap: clamp(.6rem,2.6vw,2.15rem); align-items: center; font-size: .89rem; font-weight: 740; }
.header nav a { padding-block: .5rem; }
.header nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-cta { min-height: 41px; font-size: .86rem; white-space: nowrap; }

.hero { background: var(--brand-blue-light); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; position: relative; min-height: clamp(380px, 40vw, 540px); }
.hero-content { display: grid; align-content: center; justify-items: start; position: relative; z-index: 1; padding-block: 2.5rem; }
.hero-content h1 { font-size: clamp(3rem, 6.4vw, 5.65rem); line-height: .96; font-weight: 850; letter-spacing: -.071em; }
.hero-content h1 span { color: var(--brand-red); }
.hero-content p { color: var(--muted); max-width: 33ch; font-size: clamp(1.07rem,2vw,1.28rem); margin-block: 1.2rem 1.35rem; }
.hero-media { position: relative; display: grid; min-width: 0; width: calc(100% + max(2.25rem, (100vw - 1192px) / 2)); clip-path: polygon(12% 0,100% 0,100% 100%,0 100%); background: #dee6ed; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 57%; position: absolute; }
.quick-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.quick-nav a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .04rem .35rem; padding: .77rem 1rem; }
.quick-nav a + a { border-left: 1px solid var(--line); }
.quick-nav a:hover { background: var(--brand-blue-light); }
.quick-nav strong { color: var(--brand-navy); }
.quick-nav small { color: var(--muted); grid-row: 2; }
.quick-nav span { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--brand-red); font-weight: 800; }
.catalog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.75rem, 2.25vw, 1.4rem); margin-top: 1.4rem; }
.catalog-group { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.catalog-group h3 { margin-top: .75rem; }
.catalog-group .catalog-image { width: 90px; }
.catalog-list { margin: .8rem 0 0; padding: 0; list-style: none; }
.catalog-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .16rem .65rem; padding-block: .65rem; border-top: 1px solid var(--line); }
.catalog-list li > :not(a) { grid-column: 1; }
.catalog-list li > a { grid-column: 2; grid-row: 1 / 4; align-self: center; padding-inline: .58rem; }
.catalog-list p { color: var(--muted); font-size: .87rem; }
.commerce-actions { margin-top: 1rem; }
.commerce-dialog { width: min(620px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.commerce-dialog::backdrop { background: #0818429c; }
.commerce-dialog h2 { font-size: clamp(1.45rem, 5vw, 2rem); }
.commerce-heading { display: flex; position: sticky; top: 0; z-index: 1; background: white; gap: .75rem; align-items: center; justify-content: space-between; padding-bottom: .7rem; }
.commerce-form, #commerce-screen { display: grid; gap: .7rem; }
.commerce-form label { min-width: 0; display: grid; gap: .2rem; color: var(--ink); font-weight: 650; }
.commerce-form :is(input, select) { width: 100%; min-width: 0; }
.commerce-form .commerce-product { display: grid; grid-template-columns: minmax(0,1fr) 76px; align-items: center; gap: .5rem; }
.commerce-form :is(fieldset, .commerce-total) { min-width: 0; padding: .85rem; border: 1px solid var(--line); border-radius: 8px; background: var(--brand-blue-light); }
.commerce-form fieldset label { margin-block: .35rem; }
.commerce-dialog output { display: block; padding: .65rem; background: var(--brand-blue-light); overflow-wrap: anywhere; }
.product { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: .55rem; padding: .65rem; background: var(--brand-blue-light); border: 1px solid var(--line); border-radius: var(--radius); }
.product-image { aspect-ratio: 1; background: url("./assets/catalogo.webp") left center / 200% 100% no-repeat; border-radius: 9px; }
.product-water { background-position: right center; }
.product h3 { margin-bottom: .45rem; }
.product p { color: var(--muted); font-size: .92rem; margin-bottom: .65rem; }
.caption { margin-top: .7rem; color: var(--muted); font-size: .82rem; }

.delivery { background: var(--brand-blue-light); }
.delivery-inner, .service-inner, .faq, .about { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(1.25rem, 6.5vw, 5rem); align-items: start; }
.coverage form { margin-top: .8rem; }
.coverage label, .contact-panel label { display: block; color: var(--brand-navy); font-size: .86rem; font-weight: 750; }
.form-row { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .2rem; }
.form-row input { flex: 1 1 190px; }
input, select, textarea { min-width: 0; width: 100%; min-height: 43px; padding: .45rem .58rem; color: var(--ink); font-size: 1rem; background: white; border: 1px solid #aabadd; border-radius: 8px; }
textarea { resize: vertical; }
.notice { margin-top: .6rem; border-left: 3px solid var(--brand-blue); padding: .4rem .55rem; color: var(--brand-navy); background: #eef4ff; font-size: .88rem; }
.notice[data-kind="error"] { border-color: var(--brand-red); color: #8d1515; background: #fff2f2; }
.location { background: var(--brand-navy); color: var(--brand-white); padding: clamp(1.15rem, 4vw, 2.45rem); border-radius: var(--radius); }
.location h3 { color: white; }
.location dl { margin: .85rem 0; }
.location dt { font-size: .9rem; font-weight: 750; margin-top: .38rem; }
.location dd { color: #e0e7ff; margin: 0; }
.location a { display: inline-flex; gap: .38rem; color: var(--brand-yellow); font-weight: 750; text-decoration: underline; text-underline-offset: .24em; }
.location :focus-visible, .footer :focus-visible { outline-color: var(--brand-yellow); }
.about { align-items: center; }
.service-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.service-list > li { border-top: 1px solid var(--line); padding: .65rem 0; display: grid; gap: .12rem; }
.service-list strong { color: var(--brand-navy); }
.service-list span, .service-list ul { color: var(--muted); font-size: .91rem; }
.service-list ul { padding-left: 1.15rem; margin: .15rem 0 0; }
.brand-display { display: grid; place-items: center; padding: clamp(.65rem,3vw,1.5rem); border-radius: var(--radius); background: var(--brand-blue-light); }
.brand-display img { max-width: min(310px,100%); border-radius: 11px; }
.service { background: #f6f9ff; border-block: 1px solid var(--line); }
.service-note { color: var(--muted); margin-top: .75rem; font-size: .93rem; max-width: 45ch; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--brand-white); }
.contact-panel form { display: grid; justify-items: start; gap: .6rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; width: 100%; }
.contact-fields :is(input,select) { display: block; margin-top: .16rem; }
.optional { font-weight: 500; color: var(--muted); }
.contact-output { display: grid; gap: .45rem; margin-top: .75rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 750; color: var(--brand-navy); cursor: pointer; padding: .72rem .2rem; }
.faq details p { color: var(--muted); padding: 0 .35rem .75rem 1rem; }
.faq details a { color: var(--brand-blue); text-decoration: underline; }
.footer { padding-block: 1.2rem; background: var(--brand-navy); color: var(--brand-white); }
.footer-inner { display: flex; gap: .65rem 1.4rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.footer-brand { font-weight: 800; }
.footer-brand span { color: var(--brand-yellow); }
.footer small { color: #d9e4ff; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 3rem); }
  .header-cta { display: none; }
  .hero-media { width: calc(100% + 1.5rem); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr); gap: .15rem; min-height: 86px; }
  .header nav { width: 100%; justify-content: space-between; gap: .35rem; font-size: .84rem; }
  .header nav a { padding-block: .24rem .48rem; white-space: nowrap; }
  .brand img { width: 43px; height: 43px; }
  .hero-inner, .delivery-inner, .service-inner, .faq, .about { grid-template-columns: minmax(0,1fr); }
  .hero-content { padding-block: 1.8rem 1.15rem; }
  .hero-content h1 { font-size: clamp(2.85rem,10.4vw,4rem); }
  .hero-content p { margin-block: .75rem .9rem; }
  .hero-media { width: 100%; clip-path: none; aspect-ratio: 1.65; border-radius: 12px 12px 0 0; }
  .hero-media img { object-position: 54% 57%; }
  .quick-nav a { padding: .55rem .3rem; font-size: .82rem; }
  .quick-nav small { font-size: .71rem; }
  .quick-nav span { display: none; }
  .catalog { grid-template-columns: 1fr; gap: .55rem; }
  .product { grid-template-columns: .75fr 1.25fr; }
}
@media (max-width: 360px) {
  .header nav { font-size: .76rem; }
  .actions .button { padding-inline: .57rem; font-size: .85rem; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.button-yellow { background: var(--brand-yellow); border-color: #e2d53a; color: var(--brand-navy); }
.button-yellow:hover { background: #f4e938; border-color: #c2ac22; }
.hero-content h1 { position: relative; }
.hero-content h1::after { content: ""; display: block; width: 1.2em; height: .075em; margin-top: .18em; background: var(--brand-yellow); border-radius: 999px; }
@media (max-width: 650px) {
  .hero-content .actions { width: 100%; }
  .hero-content .actions .button { flex: 1 1 118px; }
  .product { padding: .55rem; }
}

