:root {
    --taca-navy: #003a66;
    --taca-blue: #3051a0;
    --taca-light-blue: #50b8fd;
    --taca-steel: #f0f5fb;
    --taca-muted: #6f7f92;
    --taca-white: #ffffff;
    --taca-line: #dfe4eb;
    --taca-green: #25d366;
    --taca-shadow: 0 24px 60px rgba(8, 18, 35, .16);
}

.taca-page,
.taca-page * { box-sizing: border-box; }
.taca-page { color: var(--taca-navy); background: var(--taca-white); font-family: "Open Sans", Arial, sans-serif; font-size: 16px; line-height: 1.65; }
.taca-page img { display: block; max-width: 100%; }
.taca-page a { color: inherit; text-decoration: none; }
.taca-page button { font: inherit; }
.taca-page h1,
.taca-page h2,
.taca-page h3 { margin: 0; font-family: Poppins, Arial, sans-serif; font-weight: 600; line-height: 1.08; }
.taca-page h1 { margin-top: 20px; font-size: clamp(3rem, 5.2vw, 5.5rem); letter-spacing: -.045em; }
.taca-page h1 em { display: block; color: var(--taca-light-blue); font-style: normal; }
.taca-page h2 { margin-top: 16px; font-size: clamp(2.45rem, 4vw, 4.2rem); letter-spacing: -.035em; }
.taca-page h3 { font-size: 1.5rem; }
.taca-page p { margin: 0; }
.taca-section { padding: 100px 0; }
.taca-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--taca-light-blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.taca-eyebrow::before { width: 28px; height: 3px; content: ""; background: currentColor; }

.taca-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; color: var(--taca-white); cursor: pointer; font-weight: 800; line-height: 1.15; text-align: center; transition: transform .2s ease, background .2s ease, color .2s ease; }
.taca-button:hover { color: var(--taca-white); transform: translateY(-2px); }
.taca-button-whatsapp { background: var(--taca-green); box-shadow: 0 12px 28px rgba(37, 211, 102, .22); }
.taca-button-whatsapp:hover { background: #1eaf54; }
.taca-button-form { color: var(--taca-navy); border-color: var(--taca-navy); background: var(--taca-white); }
.taca-button-form:hover { color: var(--taca-white); background: var(--taca-navy); }
.taca-text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--taca-navy); font-weight: 800; }
.taca-text-link span { color: var(--taca-light-blue); font-size: 1.35rem; }
.taca-text-link-light { color: var(--taca-white); border-color: rgba(255,255,255,.55); }

.taca-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #fff 0 58%, var(--taca-steel) 58%); }
.taca-hero::before { position: absolute; inset: 0 auto 0 0; width: 8px; content: ""; background: var(--taca-light-blue); }
.taca-hero-grid { min-height: 690px; display: grid; grid-template-columns: .96fr .84fr; align-items: stretch; gap: 80px; }
.taca-hero-copy { align-self: center; padding: 72px 0; }
.taca-hero-copy > p { max-width: 650px; margin-top: 28px; color: #4e5a6c; font-size: 1.1rem; }
.taca-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 38px; }
.taca-hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 36px 0 0; padding: 0; color: #303c4c; list-style: none; font-size: .88rem; font-weight: 700; }
.taca-hero-points span { color: var(--taca-light-blue); }
.taca-hero-media { position: relative; min-height: 690px; }
.taca-hero-media::after { position: absolute; right: -24px; bottom: 0; width: 130px; height: 130px; content: ""; background-image: radial-gradient(#fff 1.4px, transparent 1.4px); background-size: 12px 12px; opacity: .48; }
.taca-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.taca-hero-badge { position: absolute; left: -34px; bottom: 38px; z-index: 4; width: 150px; height: 150px; display: grid; place-content: center; color: #fff; background: var(--taca-blue); box-shadow: var(--taca-shadow); text-align: center; transform: rotate(-2deg); }
.taca-hero-badge strong { font: 700 2.15rem/1 Poppins, sans-serif; text-transform: uppercase; }
.taca-hero-badge span { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.taca-watermarked::before { position: absolute; inset: 50% auto auto 50%; z-index: 3; width: 45%; height: 34%; content: ""; background: url("../img/caixa-dagua-taca/logo-sulflach.png") center / contain no-repeat; opacity: .34; pointer-events: none; transform: translate(-50%, -50%); }
.taca-hero-media.taca-watermarked::before { width: 48%; height: 30%; opacity: .3; }

.taca-trust-strip { color: #fff; background: var(--taca-navy); }
.taca-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.taca-trust-grid > div { min-height: 150px; display: flex; justify-content: center; flex-direction: column; padding: 28px 30px; border-left: 1px solid rgba(255,255,255,.12); }
.taca-trust-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.taca-trust-grid strong { font-family: Poppins, sans-serif; font-size: 1.15rem; font-weight: 600; }
.taca-trust-grid span { margin-top: 7px; color: #aeb9c8; font-size: .82rem; line-height: 1.45; }

.taca-split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.taca-split-heading > p { padding-bottom: 9px; color: var(--taca-muted); font-size: 1.02rem; }
.taca-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border: 1px solid var(--taca-line); }
.taca-benefit-card { position: relative; min-height: 340px; padding: 36px 30px; border-right: 1px solid var(--taca-line); background: #fff; }
.taca-benefit-card:last-child { border-right: 0; }
.taca-benefit-card.taca-featured { color: #fff; background: var(--taca-navy); transform: translateY(-14px); box-shadow: var(--taca-shadow); }
.taca-card-number { display: block; margin-bottom: 62px; color: var(--taca-light-blue); font: 700 1rem/1 Poppins, sans-serif; }
.taca-benefit-card p { margin-top: 18px; color: var(--taca-muted); font-size: .9rem; }
.taca-benefit-card.taca-featured p { color: #b9c3d0; }

.taca-projects { background: var(--taca-steel); }
.taca-center-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.taca-center-heading .taca-eyebrow { justify-content: center; }
.taca-center-heading p { margin-top: 18px; color: var(--taca-muted); }
.taca-gallery { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.taca-gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 2px; background: #d5dae1; cursor: zoom-in; }
.taca-gallery-item::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 54%, rgba(4,12,23,.72)); }
.taca-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.taca-gallery-item:hover img { transform: scale(1.045); }
.taca-gallery-item:focus-visible { outline: 4px solid var(--taca-light-blue); outline-offset: 3px; }
.taca-gallery-item span { position: absolute; left: 24px; bottom: 18px; z-index: 4; color: #fff; font-weight: 800; text-transform: uppercase; }
.taca-gallery-tall { grid-row: 1 / 3; }
.taca-gallery-wide { grid-column: 2 / 4; }

.taca-process { color: #fff; background: var(--taca-navy); }
.taca-process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.taca-process-copy p { max-width: 460px; margin: 24px 0 34px; color: #aeb9c8; }
.taca-steps { margin: 0; padding: 0; list-style: none; }
.taca-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 0 0 30px; border-bottom: 1px solid rgba(255,255,255,.13); }
.taca-steps li + li { padding-top: 30px; }
.taca-steps li > span { color: var(--taca-light-blue); font: 700 1.8rem/1 Poppins, sans-serif; }
.taca-steps strong { display: block; font: 600 1.35rem/1.15 Poppins, sans-serif; }
.taca-steps p { margin-top: 8px; color: #aeb9c8; font-size: .9rem; }

.taca-quote-section { background: #fff; }
.taca-quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.taca-quote-copy > p { max-width: 510px; margin-top: 24px; color: var(--taca-muted); }
.taca-contact-block { display: flex; flex-direction: column; margin-top: 45px; padding-left: 22px; border-left: 4px solid var(--taca-light-blue); }
.taca-contact-block span { margin-bottom: 8px; color: var(--taca-muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.taca-contact-block a:first-of-type { font: 600 1.8rem/1.2 Poppins, sans-serif; }
.taca-contact-block a:last-of-type { margin-top: 4px; color: var(--taca-muted); font-size: .9rem; }
.taca-quote-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.taca-quote-option { min-height: 335px; display: flex; align-items: flex-start; flex-direction: column; padding: 34px 28px; border-top: 5px solid var(--taca-light-blue); background: var(--taca-steel); box-shadow: var(--taca-shadow); }
.taca-quote-option > i { margin-bottom: 28px; color: var(--taca-blue); font-size: 2.6rem; }
.taca-quote-option.taca-quote-whatsapp > i { color: var(--taca-green); }
.taca-quote-option p { flex-grow: 1; margin: 17px 0 25px; color: var(--taca-muted); font-size: .92rem; }
.taca-quote-option .taca-button { width: 100%; }

.taca-lightbox { position: fixed !important; inset: 0 !important; width: min(1120px, 94vw); height: fit-content; max-width: 94vw; max-height: 92vh; margin: auto; padding: 0 72px; border: 0; color: #fff; background: transparent; overflow: visible; }
.taca-lightbox[open] { display: flex !important; align-items: center; justify-content: center; }
.taca-lightbox::backdrop { background: rgba(2,7,14,.9); }
.taca-lightbox-figure { width: 100%; margin: 0; }
.taca-lightbox-media { position: relative; display: flex; max-height: 82vh; align-items: center; justify-content: center; }
.taca-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 22px 65px rgba(0,0,0,.38); }
.taca-lightbox-watermark { position: absolute; top: 50%; left: 50%; z-index: 2; width: 34%; max-width: 290px; opacity: .34; pointer-events: none; transform: translate(-50%, -50%); }
.taca-lightbox figcaption { display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; color: rgba(255,255,255,.9); font-size: .9rem; }
.taca-lightbox-counter { white-space: nowrap; font-weight: 800; }
.taca-lightbox-close { position: fixed; top: 20px; right: 25px; z-index: 5; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--taca-light-blue); cursor: pointer; font-size: 2rem; line-height: 1; }
.taca-lightbox-nav { position: absolute; top: 50%; z-index: 5; width: 52px; height: 70px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; color: #fff; background: rgba(0,0,0,.28); cursor: pointer; font-size: 3rem; line-height: 1; transform: translateY(-50%); }
.taca-lightbox-nav:hover { background: var(--taca-light-blue); }
.taca-lightbox-prev { left: 5px; }
.taca-lightbox-next { right: 5px; }

@media (max-width: 980px) {
    .taca-hero { background: #fff; }
    .taca-hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
    .taca-trust-grid,
    .taca-benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .taca-benefit-card:nth-child(2) { border-right: 0; }
    .taca-benefit-card:nth-child(-n+2) { border-bottom: 1px solid var(--taca-line); }
    .taca-benefit-card.taca-featured { transform: none; }
    .taca-process-grid,
    .taca-quote-grid { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 700px) {
    .taca-section { padding: 72px 0; }
    .taca-page h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
    .taca-hero-grid { min-height: 0; display: flex; flex-direction: column; gap: 0; }
    .taca-hero-copy { padding: 62px 0 50px; }
    .taca-hero-media { min-height: 540px; margin-inline: -14px; }
    .taca-hero-badge { left: 18px; bottom: 20px; width: 120px; height: 120px; }
    .taca-hero-actions { align-items: stretch; flex-direction: column; }
    .taca-hero-actions .taca-text-link { align-self: flex-start; }
    .taca-hero-points { flex-direction: column; }
    .taca-trust-grid,
    .taca-benefit-grid,
    .taca-split-heading,
    .taca-quote-options { grid-template-columns: 1fr; }
    .taca-trust-grid > div { min-height: 112px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
    .taca-split-heading { gap: 24px; }
    .taca-benefit-card { min-height: 270px; border-right: 0; border-bottom: 1px solid var(--taca-line); }
    .taca-card-number { margin-bottom: 40px; }
    .taca-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 220px 220px; }
    .taca-gallery-tall { grid-column: 1 / 3; grid-row: auto; }
    .taca-gallery-wide { grid-column: 1 / 3; }
    .taca-steps li { grid-template-columns: 52px 1fr; gap: 16px; }
    .taca-lightbox { width: 100vw; max-width: 100vw; padding: 0 52px; }
    .taca-lightbox-nav { width: 42px; height: 58px; }
    .taca-lightbox-prev { left: 4px; }
    .taca-lightbox-next { right: 4px; }
    .taca-lightbox figcaption { flex-direction: column; gap: 3px; }
}

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