:root {
  --blue: #1f77b8;
  --blue-deep: #0b5b8c;
  --teal: #0a4560;
  --navy: #082c3d;
  --green: #66bb4a;
  --green-deep: #3d8a2a;
  --ink: #16262e;
  --muted: #5a6b73;
  --paper: #f6f9fb;
  --soft-blue: #e6f1f9;
  --soft-green: #eaf6e4;
  --white: #ffffff;
  --line: #d5e1e8;
  --grad-brand: linear-gradient(100deg, #0b5b8c 0%, #1f77b8 36%, #0a4560 68%, #66bb4a 100%);
  --grad-cool: linear-gradient(135deg, #0a4560 0%, #0b5b8c 52%, #1f77b8 100%);
  --grad-fresh: linear-gradient(135deg, #1f77b8 0%, #66bb4a 100%);
  --grad-deep: linear-gradient(135deg, #082c3d 0%, #0a4560 55%, #0b5b8c 100%);
  --shadow: 0 18px 48px rgba(8, 44, 61, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
}
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p, li, span, strong { overflow-wrap: anywhere; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--grad-brand); }
.site-header.is-scrolled,
.solid-header { border-color: var(--line); box-shadow: 0 8px 24px rgba(20, 43, 56, 0.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-size: 0.98rem; font-weight: 700; color: var(--teal); }
.brand img,
.footer-brand img { width: 42px; height: 42px; object-fit: contain; background: #eef3f6; border-radius: 4px; }
.brand span { white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 18px; color: #455a64; font-size: 0.88rem; font-weight: 600; }
.site-nav a { transition: color 0.2s ease; }
.site-nav a:hover,
.site-nav a.active { color: var(--blue-deep); }
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.92rem;
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-cta { color: var(--white) !important; background: var(--grad-fresh); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 132px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 44, 61, 0.92) 0%, rgba(11, 91, 140, 0.72) 48%, rgba(10, 69, 96, 0.3) 80%, rgba(102, 187, 74, 0.22) 100%); }
.hero-content { position: relative; z-index: 1; width: min(940px, 100%); padding: clamp(70px, 10vw, 132px) clamp(20px, 6vw, 86px) clamp(52px, 7vw, 84px); }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-eyebrow { color: #bfe6b0; }
h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.14; font-weight: 700; letter-spacing: 0; }
.hero h1 { white-space: nowrap; }
.hero-lead { max-width: 600px; margin: 18px 0 0; color: rgba(255,255,255,0.88); font-size: clamp(0.95rem, 1.4vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--grad-fresh); box-shadow: 0 12px 26px rgba(11, 91, 140, 0.28); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--white); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(8px); }
.btn-light { color: var(--teal); background: var(--white); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 560px; margin-top: 34px; background: rgba(255,255,255,0.28); border: 1px solid rgba(255,255,255,0.28); }
.hero-facts div { display: grid; gap: 2px; padding: 12px 15px; background: rgba(8,44,61,0.5); backdrop-filter: blur(8px); }
.hero-facts strong { font-size: 1.15rem; line-height: 1.2; }
.hero-facts span { color: rgba(255,255,255,0.75); font-size: 0.78rem; }

.assurance-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); color: var(--white); }
.assurance-bar div { display: grid; gap: 2px; min-height: 90px; padding: 20px clamp(18px, 3vw, 38px); }
.assurance-bar div:nth-child(1) { background: linear-gradient(120deg, #0b5b8c, #0f69a0); }
.assurance-bar div:nth-child(2) { background: linear-gradient(120deg, #1f77b8, #2a86c9); }
.assurance-bar div:nth-child(3) { background: linear-gradient(120deg, #0a4560, #0c5272); }
.assurance-bar div:nth-child(4) { background: linear-gradient(120deg, #66bb4a, #7cc85f); color: #07303f; }
.assurance-bar strong { font-size: 0.98rem; }
.assurance-bar span { color: rgba(255,255,255,0.8); font-size: 0.82rem; }
.assurance-bar div:nth-child(4) span { color: rgba(7,48,63,0.82); }

.section { padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 86px); }
.section-intro { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-intro.align-left { max-width: 1180px; margin-left: auto; margin-right: auto; text-align: left; }
.section-intro h2,
.quote-copy h2,
.project-cta h2 { margin: 0; font-size: clamp(1.45rem, 2.7vw, 2.2rem); line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.section-intro > p:not(.eyebrow) { margin: 12px auto 0; max-width: 690px; color: var(--muted); }
.section-intro.light h2 { color: var(--white); }
.section-intro.light p { color: rgba(255,255,255,0.75); }

.about-section { background: var(--white); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: clamp(34px, 7vw, 100px); width: min(1180px, 100%); margin: 0 auto; }
.about-copy p { margin: 0 0 14px; color: var(--muted); }
.about-copy .lead-copy { color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.principles { display: grid; gap: 1px; align-self: start; background: var(--line); border: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px; background: var(--paper); }
.principles article > span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--grad-fresh); border-radius: 6px; font-size: 0.8rem; font-weight: 800; }
.principles h3,
.principles p { margin: 0; }
.principles h3 { font-size: 1rem; }
.principles p { margin-top: 3px; color: var(--muted); font-size: 0.88rem; }

.services-section { background: linear-gradient(180deg, #e6f1f9 0%, #eef7ec 100%); }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; width: min(1260px, 100%); margin: 0 auto; }
.service-card { grid-column: span 2; display: flex; flex-direction: column; min-height: 240px; padding: 22px; background: rgba(255,255,255,0.92); border: 1px solid rgba(11,91,140,0.14); border-top: 4px solid var(--c, var(--blue)); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(8,44,61,0.07); }
.service-card:nth-child(1) { --c: #0b5b8c; }
.service-card:nth-child(2) { --c: #1f77b8; }
.service-card:nth-child(3) { --c: #0a4560; }
.service-card:nth-child(4) { --c: #66bb4a; }
.service-card:nth-child(5) { --c: #3d8a2a; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-number { color: var(--c, var(--blue)); font-size: 0.8rem; font-weight: 800; }
.service-card h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.service-card small { display: block; margin-top: auto; padding-top: 16px; color: var(--blue-deep); font-size: 0.84rem; font-weight: 600; }

.process-section { color: var(--white); background: var(--grad-deep); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: min(1180px, 100%); margin: 0 auto; padding: 0; list-style: none; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; min-height: 140px; padding: 20px; background: rgba(255,255,255,0.06); }
.process-list > li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; color: #fff; background: var(--grad-fresh); font-size: 0.8rem; font-weight: 800; }
.process-list h3 { margin: 2px 0 5px; font-size: 1rem; }
.process-list p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.88rem; }

.cases-section { background: var(--white); }
.case-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link { flex: none; color: var(--blue-deep); font-weight: 700; }
.text-link span { padding-left: 5px; }
.featured-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: min(1260px, 100%); margin: 0 auto; }
.project-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.project-card.wide-project { grid-column: 1 / -1; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--white); }
.compare-grid figure { position: relative; margin: 0; height: 280px; overflow: hidden; }
.wide-project .compare-grid figure { height: 380px; }
.compare-grid img { width: 100%; height: 100%; object-fit: cover; }
.compare-grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; color: var(--white); background: rgba(8,44,61,0.82); border-radius: 4px; font-size: 0.78rem; font-weight: 700; }
.project-info { padding: 18px 20px 20px; }
.project-info > span,
.gallery-project-copy > span { color: var(--blue); font-size: 0.78rem; font-weight: 800; }
.project-info h3 { margin: 4px 0 5px; font-size: 1.08rem; }
.project-info p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.problems-section { background: linear-gradient(180deg, #eaf6e4 0%, #e6f1f9 100%); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(1180px, 100%); margin: 0 auto; }
.problem-grid article { padding: 22px; background: var(--white); border-left: 4px solid var(--c, var(--green)); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(8,44,61,0.08); }
.problem-grid article:nth-child(1) { --c: #1f77b8; }
.problem-grid article:nth-child(2) { --c: #0a4560; }
.problem-grid article:nth-child(3) { --c: #66bb4a; }
.problem-grid span { color: var(--c, var(--green-deep)); font-size: 0.78rem; font-weight: 800; }
.problem-grid h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.problem-grid p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.faq-section { background: var(--paper); }
.faq-list { width: min(960px, 100%); margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 16px 54px 16px 0; list-style: none; font-size: 0.97rem; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; color: var(--blue); border: 1px solid var(--line); font-size: 1.25rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -2px 54px 18px 0; color: var(--muted); font-size: 0.9rem; }

.quote-section { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr); gap: clamp(36px, 7vw, 96px); padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 86px); color: var(--white); background: var(--grad-brand); }
.quote-copy { align-self: start; }
.quote-copy > p:not(.eyebrow) { margin: 14px 0 0; color: rgba(255,255,255,0.75); }
.contact-lines { display: grid; gap: 1px; margin-top: 26px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16); }
.contact-lines a,
.contact-lines > div { display: grid; gap: 2px; padding: 14px 17px; background: rgba(8,44,61,0.35); }
.contact-lines span { color: rgba(255,255,255,0.62); font-size: 0.8rem; }
.contact-lines strong { font-size: 0.92rem; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(22px, 4vw, 34px); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 700; }
.quote-form input,
.quote-form select,
.quote-form textarea { width: 100%; min-height: 42px; padding: 9px 12px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 4px; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: 3px solid rgba(31,119,184,0.18); border-color: var(--blue); }
.quote-form .full { grid-column: 1 / -1; }
.quote-form .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.83rem; font-weight: 600; }
.quote-form .consent input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin-top: 3px; }
.form-status { min-height: 22px; margin: 0; color: var(--green-deep); font-weight: 700; }

.terms-section { padding: 28px clamp(18px, 6vw, 86px); background: var(--white); border-bottom: 1px solid var(--line); }
.terms-section details { width: min(1180px, 100%); margin: 0 auto; }
.terms-section summary { cursor: pointer; font-size: 0.92rem; color: var(--blue-deep); font-weight: 700; }
.terms-section ul { padding-left: 1.25rem; color: var(--muted); }

.site-footer { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 28px; font-size: 0.9rem; padding: 40px clamp(18px, 6vw, 86px); color: rgba(255,255,255,0.75); background: linear-gradient(135deg, #082c3d 0%, #0a4560 100%); border-top: 4px solid transparent; border-image: var(--grad-brand) 1; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { color: var(--white); }
.footer-brand p { max-width: 420px; margin: 7px 0 0; }
.site-footer nav,
.site-footer address { display: grid; align-content: start; gap: 8px; font-style: normal; }
.site-footer a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; margin: 5px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.46); font-size: 0.85rem; }
.floating-whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; justify-content: center; min-width: 100px; min-height: 44px; padding: 9px 16px; color: var(--white); background: linear-gradient(135deg, #3d8a2a, #66bb4a); border-radius: 999px; box-shadow: 0 12px 28px rgba(61,138,42,0.35); font-size: 0.88rem; font-weight: 700; }

/* Project gallery page */
.projects-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; gap: 44px; min-height: 380px; padding: clamp(56px, 8vw, 96px) clamp(18px, 6vw, 86px) 54px; color: var(--white); background: var(--grad-brand); }
.projects-hero > div:first-child { max-width: 920px; }
.projects-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.projects-hero p:not(.eyebrow) { max-width: 680px; margin: 16px 0 0; color: rgba(255,255,255,0.85); font-size: 0.98rem; }
.projects-hero-stats { display: grid; gap: 3px; padding: 23px; border-left: 4px solid #bfe6b0; background: rgba(255,255,255,0.07); }
.projects-hero-stats strong { font-size: 2.4rem; line-height: 1; }
.projects-hero-stats span { color: rgba(255,255,255,0.7); }
.project-gallery-section { padding: 0 clamp(18px, 6vw, 86px) clamp(80px, 10vw, 130px); background: var(--paper); }
.filter-bar { position: sticky; top: 78px; z-index: 15; display: flex; gap: 7px; margin: 0 calc(clamp(18px, 6vw, 86px) * -1) 42px; padding: 15px clamp(18px, 6vw, 86px); overflow-x: auto; background: rgba(246,249,251,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.filter-bar { scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button { flex: 0 0 auto; min-height: 36px; padding: 6px 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 4px; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.filter-bar button.is-active { color: var(--white); background: var(--grad-fresh); border-color: transparent; }
.full-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: min(1260px, 100%); margin: 0 auto; }
.gallery-project { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(20,43,56,0.07); }
.gallery-project[hidden] { display: none; }
.gallery-project-wide { grid-column: 1 / -1; }
.gallery-project-copy { padding: 18px 20px; }
.gallery-project-copy h2 { margin: 4px 0 6px; font-size: 1.2rem; line-height: 1.3; }
.gallery-project-copy p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.gallery-images { display: grid; gap: 2px; background: var(--line); }
.gallery-images.two-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-images.three-images { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-images button { position: relative; height: 340px; padding: 0; overflow: hidden; border: 0; background: var(--navy); cursor: zoom-in; }
.gallery-project-wide .gallery-images button { height: 420px; }
.gallery-images img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-images button:hover img { transform: scale(1.025); }
.gallery-images button span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; color: var(--white); background: rgba(20,43,56,0.84); border-radius: 4px; font-size: 0.82rem; font-weight: 700; }
.project-cta { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: clamp(48px, 6vw, 76px) clamp(18px, 6vw, 86px); color: var(--white); background: var(--grad-brand); }
.project-cta > div:first-child { max-width: 780px; }
.project-cta .hero-actions { flex: none; margin-top: 0; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 52px 22px 28px; background: rgba(7,18,24,0.94); }
.lightbox img { max-width: min(1100px, 94vw); max-height: 82vh; object-fit: contain; }
.lightbox p { max-width: 900px; margin: 10px 0 0; color: rgba(255,255,255,0.82); font-weight: 600; }
.lightbox-close { position: absolute; top: 14px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 1160px) {
  .site-nav { gap: 11px; font-size: 0.82rem; }
  .about-layout,
  .quote-section { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 230px; }
  .project-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 64px; }
  .site-header { min-height: 62px; padding: 8px 16px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { max-width: 62vw; white-space: normal; line-height: 1.25; font-size: 0.82rem; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .site-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 7px); display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - 90px); overflow-y: auto; padding: 13px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 11px; }
  .nav-cta { margin-top: 2px; }
  .assurance-bar { grid-template-columns: repeat(2, 1fr); }
    .process-list { grid-template-columns: repeat(2, 1fr); }
  .featured-cases,
  .problem-grid,
  .full-project-grid { grid-template-columns: 1fr; }
  .project-card.wide-project,
  .gallery-project-wide { grid-column: auto; }
  .wide-project .compare-grid figure { height: 300px; }
  .gallery-project-wide .gallery-images button { height: 340px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .projects-hero { grid-template-columns: 1fr; min-height: 340px; }
  .projects-hero-stats { max-width: 220px; }
  .filter-bar { top: 62px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  h1 { font-size: 1.75rem; }
  .hero { min-height: calc(100svh - 118px); align-items: flex-end; }
  .hero-background { object-position: 58% center; }
  .hero-shade { background: linear-gradient(160deg, rgba(8,44,61,0.86) 0%, rgba(11,91,140,0.72) 60%, rgba(61,138,42,0.5) 100%); }
  .hero-content { padding: 52px 18px 32px; }
  .hero-lead { font-size: 0.92rem; margin-top: 14px; }
  .hero-actions,
  .hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; margin-top: 30px; }
  .hero-facts div { padding: 12px 9px; }
  .hero-facts strong { font-size: 0.98rem; }
  .hero-facts span { font-size: 0.7rem; }
  .assurance-bar { grid-template-columns: 1fr; }
  .assurance-bar div { min-height: 0; padding: 14px 18px; }
  .section-intro { margin-bottom: 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 0; }
  .service-card small { margin-top: 18px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 0; }
  .case-heading { align-items: flex-start; flex-direction: column; }
  .compare-grid figure,
  .wide-project .compare-grid figure { height: 200px; }
  .problem-grid article { padding: 18px; }
  .quote-section { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; padding: 18px; }
  .quote-form .full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .copyright { grid-column: auto; }
  .floating-whatsapp { right: 12px; bottom: 12px; min-width: 92px; min-height: 40px; padding: 7px 13px; font-size: 0.82rem; }
  .projects-hero { min-height: 300px; padding-top: 48px; padding-bottom: 38px; }
  .projects-hero h1 { font-size: 1.7rem; }
  .gallery-images.two-images,
  .gallery-images.three-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-images.three-images button:last-child { grid-column: 1 / -1; }
  .gallery-images button,
  .gallery-project-wide .gallery-images button { height: 240px; }
  .gallery-images.three-images button:last-child { height: 280px; }
  .project-cta .hero-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
