/*
Theme Name: Operaciones Ambientales
Theme URI: https://operacionesambientales.cl
Author: Operaciones Ambientales
Description: Tema corporativo para Operaciones Ambientales.
Version: 1.3.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: operaciones-ambientales
*/

:root {
  --navy: #0a3d5c;
  --navy-deep: #062a42;
  --teal: #1a8fa8;
  --teal-bright: #4dc8e0;
  --green: #2e9e6a;
  --ink: #1a2f3e;
  --muted: #4a6675;
  --line: #c0d4dd;
  --soft: #e4f0f5;
  --steel: #d4e5ec;
  --sand: #eef4f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(180deg, #f4f9fc 0%, #e8f1f6 100%); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.topline { background: linear-gradient(90deg, var(--navy-deep), var(--navy)); color: #d7e8e7; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid var(--teal); }
.topline .container { height: 32px; display: flex; align-items: center; justify-content: space-between; }
.topline span { color: #86b8b4; }
.site-header { position: relative; z-index: 20; background: rgba(237,247,244,.98); border-bottom: 1px solid rgba(6,72,91,.14); box-shadow: 0 10px 28px rgba(15,63,74,.08); }
.nav-shell { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { position: relative; display: flex; align-items: center; margin-right: auto; padding: 9px 15px 9px 12px; background: transparent; border: none; border-radius: 5px; }
.brand::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 34%; height: 3px; border-radius: 0 3px 0 4px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); }
.brand-logo { display: block; width: 232px; height: auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)); }
.desktop-nav { display: flex; align-items: center; gap: 27px; font-size: 16px; font-weight: 700; color: #294d58; }
.desktop-nav ul { display: contents; margin: 0; padding: 0; list-style: none; }
.desktop-nav li { display: contents; }
.desktop-nav a { position: relative; padding-block: 28px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--teal); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.nav-cta { padding: 14px 19px; background: linear-gradient(135deg, var(--navy), #08758a); color: white; font-size: 13px; font-weight: 700; border-radius: 3px; box-shadow: 0 8px 18px rgba(6,72,91,.18); transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--teal); transform: translateY(-2px); }
.mobile-menu { display: none; }

.hero { min-height: 680px; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.hero-photo { position: absolute; inset: 0; z-index: -4; background-image: url("assets/images/planta-tratamiento-hero.webp"); background-size: cover; background-position: center 54%; filter: saturate(1.08) contrast(1.12); }
.hero-overlay { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(2,55,70,.97) 0%, rgba(2,79,94,.84) 48%, rgba(0,112,116,.28) 100%), linear-gradient(0deg, rgba(3,56,70,.48), transparent 45%); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 650px; height: 650px; border: 1px solid rgba(80,228,214,.34); border-radius: 50%; right: -210px; top: 70px; box-shadow: 0 0 0 110px rgba(50,212,199,.08), 0 0 0 230px rgba(127,195,58,.045); }
.hero::after { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 25%, black 100%); }
.hero-content { padding-block: 92px 110px; }
.hero h1 { margin: 18px 0 24px; max-width: 790px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 6vw, 78px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; color: #d4e5e5; font-size: 19px; line-height: 1.7; }
.eyebrow { margin: 0 0 15px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-light { color: var(--teal-bright); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 18px; padding: 0 22px; border: 0; border-radius: 3px; cursor: pointer; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--teal), #078d92); box-shadow: 0 10px 25px rgba(0,170,165,.24); }
.button-primary:hover { background: linear-gradient(135deg, #00bdb5, #087d88); }
.button-secondary { color: white; background: var(--navy); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.button-white { color: var(--navy); background: white; }
.hero-index { position: absolute; bottom: 28px; right: 40px; color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .24em; writing-mode: vertical-rl; }
.proof-strip { position: relative; z-index: 2; margin-top: -38px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: linear-gradient(135deg, #ffffff, #edf7f4); border-top: 4px solid var(--teal); box-shadow: 0 20px 48px rgba(15,54,65,.16); }
.proof-grid div { padding: 25px 32px; border-right: 1px solid var(--line); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--navy); font-size: 15px; }
.proof-grid span { margin-top: 6px; color: var(--muted); font-size: 12px; }

.section { padding-block: 110px; background: linear-gradient(155deg, #f8fbfa 0%, #eaf4f2 100%); }
.section-soft { background: linear-gradient(145deg, var(--soft), var(--steel)); }
.section-dark { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-deep), #075b6c); color: white; }
.section-dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(135deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 28px 28px; }
.section-dark > .container { position: relative; z-index: 1; }
.section-heading { margin-bottom: 48px; }
.section-heading h2, .maintenance-copy h2, .split-heading h2, .about-grid h2, .contact-aside h2, .experience-statement h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4vw, 54px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; color: var(--navy); }
.split-heading { display: grid; grid-template-columns: 1.45fr .8fr; gap: 100px; align-items: end; }
.split-heading > p, .split-heading > div:last-child > p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 16px; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.solution-card { min-height: 340px; position: relative; display: flex; flex-direction: column; padding: 32px; overflow: hidden; border: 1px solid rgba(6,72,91,.14); border-top: 4px solid var(--teal); background: rgba(255,255,255,.78); box-shadow: 0 12px 28px rgba(18,73,83,.07); transition: background .2s, transform .2s, box-shadow .2s; }
.solution-card:nth-child(2) { border-top-color: #22bfc3; }
.solution-card:nth-child(3) { border-top-color: var(--green); }
.solution-card:nth-child(4) { border-top-color: #5a9fd4; }
.solution-card:hover { background: white; transform: translateY(-6px); box-shadow: 0 18px 38px rgba(18,73,83,.14); }
.card-number { color: var(--teal); font-size: 12px; letter-spacing: .18em; }
.solution-card h3 { margin: 58px 0 18px; max-width: 260px; color: var(--navy); font-size: 25px; line-height: 1.2; }
.solution-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.solution-card a { margin-top: auto; color: var(--teal); font-size: 13px; font-weight: 800; }
.process-layout { display: grid; grid-template-columns: .95fr 1.25fr; gap: 120px; }
.process-intro { position: sticky; top: 40px; align-self: start; }
.process-intro h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 4vw, 55px); font-weight: 400; line-height: 1.1; }
.process-intro > p:not(.eyebrow) { color: #b7cccf; line-height: 1.8; }
.text-link-light { display: inline-block; margin-top: 25px; color: var(--teal-bright); font-weight: 700; font-size: 14px; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 29px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.process-list > li > span { color: var(--teal-bright); font-size: 12px; letter-spacing: .15em; }
.process-list h3 { margin: 0 0 7px; font-size: 20px; }
.process-list p { margin: 0; color: #b7cccf; font-size: 14px; line-height: 1.65; }
.maintenance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.maintenance-visual { aspect-ratio: 1.12; position: relative; overflow: hidden; background: linear-gradient(145deg, #08758b, #034354 65%, #0c615f); display: grid; place-items: center; box-shadow: 0 22px 50px rgba(5,70,83,.18); }
.water-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(82,215,205,.4); }
.water-ring-one { width: 72%; height: 72%; box-shadow: 0 0 0 48px rgba(35,193,184,.06), 0 0 0 96px rgba(35,193,184,.04); }
.water-ring-two { width: 32%; height: 32%; border-color: rgba(255,255,255,.3); }
.maintenance-label { position: relative; color: white; text-align: center; }
.maintenance-label span, .maintenance-label strong { display: block; }
.maintenance-label span { color: var(--teal-bright); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.maintenance-label strong { margin-top: 9px; font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.maintenance-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.check-list { list-style: none; margin: 28px 0 32px; padding: 0; }
.check-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid var(--line); color: #35535c; font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.cta-section { padding-block: 78px; color: white; background: linear-gradient(120deg, #008f98 0%, var(--teal) 58%, #66b94b 130%); }
.cta-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.cta-grid h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 4vw, 56px); font-weight: 400; line-height: 1.08; }
.cta-grid > div:last-child p { margin-top: 0; line-height: 1.7; }

.site-footer { padding: 72px 0 24px; color: #c7dcdd; background: linear-gradient(135deg, #033541, #064d5b); border-top: 4px solid var(--teal); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .6fr 1fr 1.1fr; gap: 48px; }
.footer-logo-shell { position: relative; display: inline-flex; padding: 0; border-radius: 0; background: transparent; }
.footer-logo-shell::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); }
.footer-logo { display: block; width: 260px; height: auto; }
.footer-brand > p:last-child { max-width: 300px; line-height: 1.7; font-size: 13px; }
.footer-grid h3 { margin: 0 0 17px; color: #77a8a8; font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.footer-grid a, .footer-grid div > span { display: block; margin: 11px 0; font-size: 13px; }
.footer-grid .footer-logo-shell { display: inline-flex; margin: 0 0 14px; }
.footer-email { overflow-wrap: anywhere; white-space: nowrap; color: var(--teal-bright); }
@media (max-width: 1100px) { .footer-email { white-space: normal; } }
.footer-legal p { margin: 8px 0; font-size: 12px; line-height: 1.5; }
.footer-bottom { margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; color: #78979b; font-size: 11px; }

.page-hero { min-height: 430px; position: relative; overflow: hidden; display: flex; align-items: center; color: white; background: linear-gradient(120deg, var(--navy-deep), #076171); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; padding-block: 80px; }
.page-hero h1 { margin: 0; max-width: 720px; font-family: Georgia, serif; font-size: clamp(46px, 5.3vw, 70px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.page-hero-copy { padding-bottom: 8px; color: #c2d6d8; font-size: 17px; line-height: 1.75; }
.page-hero-orb { position: absolute; width: 420px; height: 420px; right: -80px; top: -160px; border: 1px solid rgba(44,203,193,.32); border-radius: 50%; box-shadow: 0 0 0 80px rgba(44,203,193,.04), 0 0 0 160px rgba(44,203,193,.025); }
.page-index { position: absolute; right: 28px; bottom: 24px; color: #5d8a8c; font-size: 10px; letter-spacing: .18em; }
.solution-detail-list { border-top: 1px solid var(--line); }
.solution-detail { padding: 55px 0; display: grid; grid-template-columns: 80px 1.1fr .9fr; gap: 45px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.detail-number { color: var(--teal); font-size: 12px; letter-spacing: .18em; }
.solution-detail h2 { margin: 0 0 16px; color: var(--navy); font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.detail-lead { margin: 0; color: var(--muted); line-height: 1.75; }
.solution-detail ul { list-style: none; margin: 0; padding: 0; }
.solution-detail li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #35535c; font-size: 14px; }
.solution-detail li::before { content: "+"; color: var(--teal); margin-right: 12px; }
.simple-cta { padding: 75px 0; text-align: center; background: linear-gradient(135deg, var(--sand), var(--steel)); }
.simple-cta h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 42px; font-weight: 400; }
.simple-cta p { color: var(--muted); }
.simple-cta .button { margin-top: 20px; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 70px 1fr 1.1fr 90px; gap: 35px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.service-list article > span { color: var(--teal); font-size: 12px; }
.service-list h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.service-list p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.service-list a { justify-self: end; color: var(--teal); font-size: 13px; font-weight: 800; }
.split-heading .button { margin-top: 25px; }
.experience-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.experience-stats { color: white; background: linear-gradient(105deg, var(--navy-deep), #076171); border-top: 1px solid rgba(255,255,255,.12); }
.experience-stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.experience-stats div div { min-height: 155px; display: flex; flex-direction: column; justify-content: center; padding: 30px 42px; border-right: 1px solid rgba(255,255,255,.16); }
.experience-stats div div:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.experience-stats strong { color: var(--teal-bright); font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.experience-stats span { max-width: 260px; margin-top: 8px; color: #c5d9da; font-size: 13px; line-height: 1.55; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-gallery figure { margin: 0; overflow: hidden; background: var(--navy); box-shadow: 0 16px 34px rgba(15,63,74,.12); }
.project-gallery img { width: 100%; aspect-ratio: 1.15; display: block; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.project-gallery figure:hover img { transform: scale(1.025); filter: saturate(1.08); }
.project-gallery figcaption { min-height: 68px; display: flex; align-items: center; padding: 16px 20px; color: white; border-top: 3px solid var(--teal); font-size: 13px; font-weight: 700; }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle-grid article { min-height: 240px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid span, .values-grid span { color: var(--teal); font-size: 11px; letter-spacing: .15em; }
.principle-grid h3 { margin: 35px 0 12px; color: var(--navy); font-size: 18px; }
.principle-grid p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.quote-band { padding: 90px 0; color: white; background: linear-gradient(120deg, #008d97, var(--teal) 64%, #59b154 130%); }
.quote-band p { max-width: 900px; margin: 0 0 30px; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 54px); line-height: 1.18; }
.quote-band a { font-weight: 800; }
.clients-section { padding-top: 95px; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: rgba(255,255,255,.42); }
.client-grid span img { display: block; width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.client-grid span { min-height: 92px; display: flex; align-items: center; justify-content: center; padding: 18px; color: #35535c; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 800; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }
.about-rich-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.about-rich-grid h2 { margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(38px, 4vw, 54px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.about-photo { min-height: 650px; position: relative; overflow: hidden; background: var(--steel); box-shadow: 0 22px 50px rgba(5,70,83,.16); }
.about-photo::after { content: "TRABAJO EN TERRENO"; position: absolute; left: 0; bottom: 0; padding: 14px 18px; color: white; background: rgba(3,56,70,.9); border-top: 3px solid var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.about-photo img { width: 100%; height: 100%; min-height: 650px; display: block; object-fit: cover; }
.about-copy { color: var(--muted); font-size: 18px; line-height: 1.8; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.industry-tags span { padding: 10px 14px; color: var(--navy); background: var(--soft); border-left: 3px solid var(--teal); font-size: 12px; font-weight: 800; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.values-grid article { border-top: 3px solid var(--teal); padding-top: 25px; }
.values-grid h3 { color: var(--navy); font-size: 23px; }
.values-grid p { color: var(--muted); line-height: 1.7; }
.company-record { padding: 48px 0; background: linear-gradient(90deg, var(--navy), #086476); color: white; }
.company-record .container { display: grid; grid-template-columns: 1.35fr .6fr 1fr; gap: 40px; }
.company-record p { margin: 0 0 8px; color: #79abad; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.company-record strong { font-size: 13px; line-height: 1.5; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.contact-aside > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.contact-aside dl { margin-top: 40px; }
.contact-aside dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-aside dt { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-aside dd { margin: 8px 0 0; color: #35535c; font-size: 14px; line-height: 1.6; }
.contact-aside dd a { color: var(--teal); font-weight: 800; overflow-wrap: anywhere; }
.contact-form { padding: 42px; background: linear-gradient(145deg, #edf7f4, #dfeceb); border: 1px solid rgba(6,72,91,.12); box-shadow: 0 18px 42px rgba(18,73,83,.09); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; margin-bottom: 20px; color: #35535c; font-size: 12px; font-weight: 700; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .contact-form select { width: 100%; margin-top: 8px; border: 1px solid #bed0cf; border-radius: 2px; padding: 13px 14px; color: var(--ink); background: white; outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,165,161,.1); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.required-mark { color: #008b89; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--teal); }
.contact-form .button[disabled] { cursor: wait; opacity: .72; transform: none; }
.form-error { margin: 0 0 20px; padding: 14px 16px; color: #7b2626; background: #fff2f0; border-left: 3px solid #c54b40; font-size: 13px; line-height: 1.6; }
.form-error a { color: #075f70; font-weight: 800; overflow-wrap: anywhere; }
.form-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.form-success { min-height: 420px; padding: 55px; display: flex; flex-direction: column; justify-content: center; background: var(--soft); }
.form-success > span { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50%; }
.form-success h2 { color: var(--navy); font-family: Georgia, serif; font-size: 38px; font-weight: 400; }
.form-success p { max-width: 550px; color: var(--muted); line-height: 1.7; }
.form-success .button { align-self: start; margin: 8px 0 22px; color: white; }
.form-success button { align-self: start; padding: 0; border: 0; color: var(--teal); background: transparent; cursor: pointer; font-weight: 800; }

@media (max-width: 960px) {
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 24px; height: 2px; background: var(--navy); }
  .mobile-menu nav { position: absolute; right: 0; top: 54px; width: min(310px, calc(100vw - 48px)); padding: 22px; background: #f3faf8; border-top: 3px solid var(--teal); box-shadow: 0 18px 40px rgba(4,43,58,.18); }
  .mobile-menu nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
  .mobile-menu nav ul { margin: 0; padding: 0; list-style: none; }
  .mobile-menu nav li { display: block; }
  .mobile-menu nav .mobile-cta { margin-top: 10px; padding: 13px; border: 0; color: white; text-align: center; background: var(--teal); }
  .split-heading, .process-layout, .maintenance-grid, .cta-grid, .page-hero-grid, .experience-grid, .about-grid, .about-rich-grid, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .process-intro { position: static; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 285px; }
  .solution-detail { grid-template-columns: 50px 1fr; }
  .solution-detail ul { grid-column: 2; }
  .service-list article { grid-template-columns: 45px 1fr; }
  .service-list article p, .service-list article a { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-record .container { grid-template-columns: 1fr 1fr; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .about-photo, .about-photo img { min-height: 520px; }
}

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.generic-content { max-width: 820px; }
.generic-content > * + * { margin-top: 1.25em; }
.generic-content a { color: var(--teal); text-decoration: underline; }
.not-found { min-height: 55vh; display: grid; align-items: center; text-align: center; }

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .topline span { display: none; }
  .nav-shell { min-height: 76px; }
  .brand { padding: 7px 10px 7px 8px; }
  .brand-logo { width: 184px; }
  .hero { min-height: 690px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 16px; }
  .button-row .button { width: 100%; }
  .hero-index { display: none; }
  .proof-strip { margin-top: 0; }
  .proof-grid { grid-template-columns: 1fr; box-shadow: none; }
  .proof-grid div { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .section { padding-block: 76px; }
  .section-heading h2, .maintenance-copy h2, .split-heading h2, .about-grid h2, .contact-aside h2, .experience-statement h2 { font-size: 38px; }
  .split-heading { gap: 25px; }
  .process-layout, .maintenance-grid, .cta-grid, .page-hero-grid, .experience-grid, .about-grid, .about-rich-grid, .contact-layout { gap: 38px; }
  .maintenance-visual { aspect-ratio: 1; }
  .page-hero { min-height: 470px; }
  .page-hero-grid { padding-block: 60px; }
  .page-hero h1 { font-size: 46px; }
  .solution-detail { grid-template-columns: 1fr; gap: 18px; }
  .solution-detail ul { grid-column: 1; }
  .service-list article { grid-template-columns: 35px 1fr; gap: 18px; }
  .principle-grid, .values-grid { grid-template-columns: 1fr; }
  .experience-stats .container, .project-gallery, .client-grid { grid-template-columns: 1fr; }
  .experience-stats div div, .experience-stats div div:first-child { min-height: 125px; padding-inline: 22px; border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .project-gallery img { aspect-ratio: 1.35; }
  .about-photo, .about-photo img { min-height: 430px; }
  .company-record .container, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-bottom { flex-direction: column; gap: 9px; }
}
