:root {
  color-scheme: light;
  --forest: #38664b;
  --forest-deep: #232a2e;
  --graphite: #343c41;
  --paper: #f1efe8;
  --paper-light: #faf9f5;
  --ink: #1b2226;
  --muted: #687278;
  --accent: #f07b35;
  --accent-dark: #c75520;
  --line: rgba(35, 42, 47, .16);
  --page-width: 1240px;
  --font-display: "Barlow Condensed", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper-light); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.page-width { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--forest);
  background: var(--accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; color: #fff; background: var(--graphite); }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { width: 137px; height: auto; aspect-ratio: 2 / 1; flex: none; }
.brand > span { padding-left: 13px; border-left: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8); font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 12px; font-weight: 650; }
.main-nav a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.main-nav a:hover, .text-link:hover { color: var(--accent); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 70% 12%, rgba(56,102,75,.2), transparent 37%), linear-gradient(125deg, #343c41, #444d52 64%, #525b60);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; min-height: 390px; grid-template-columns: 1fr .87fr; align-items: center; gap: clamp(30px, 5vw, 72px); padding-block: 34px 24px; }
.hero-copy { position: relative; z-index: 1; padding-block: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: rgba(255,255,255,.85); font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,135,80,.15); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(42px, 4.7vw, 68px); font-weight: 700; letter-spacing: -.025em; line-height: .96; }
.hero h1 span { color: var(--accent); font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; }
.hero-description { max-width: 480px; margin: 14px 0 18px; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 25px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 22px; padding: 0 18px; border: 1px solid transparent; font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: var(--graphite); background: var(--accent); }
.button-accent:hover { background: #f2a16a; }
.hero-actions .button-accent { min-height: 54px; gap: 16px; padding-inline: 20px; font-size: 15px; font-weight: 800; }
.button span { font-size: 16px; }
.text-link { color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 6px; color: var(--accent); }
.hero-details { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 24px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,.85); font-size: 12px; }
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.hero-notes b { color: var(--accent); font-size: 10px; }
.hero-origin { display: grid; width: 134px; gap: 2px; margin: 0; padding: 10px 9px 8px; border: 3px solid #fff; border-radius: 7px; color: #263d30; background: #f9f8f2; box-shadow: 0 3px 10px rgba(0,0,0,.24), inset 0 0 0 1px #b5c3b8; text-align: center; text-transform: uppercase; transform: rotate(-3deg); }
.hero-origin::before { width: 54px; height: 5px; justify-self: center; margin-bottom: 3px; border: 1px solid #e4e0d9; background: linear-gradient(90deg, #356c4a 33.33%, #fff 33.33% 66.66%, #a94540 66.66%); content: ""; }
.hero-origin span { font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-origin strong { font-family: var(--font-display); font-size: 27px; line-height: 1; letter-spacing: .03em; }
.hero-origin small { margin-top: 2px; color: #56665b; font-size: 8px; font-weight: 800; letter-spacing: .05em; }

.hero-visual { position: relative; padding: 8px 0 20px; }
.hero-image-frame { position: relative; overflow: hidden; height: clamp(250px, 30vw, 380px); background: #252d30; }
.hero-image-link { display: block; color: inherit; text-decoration: none; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.hero-image-frame img.is-changing { opacity: .2; }
.hero-image-label { display: grid; gap: 5px; padding: 12px 16px; border-left: 3px solid var(--accent); color: #fff; background: #232a2e; }
.hero-image-label span { color: #ffcdac; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hero-image-label strong { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; line-height: 1.1; }
.carousel-toggle { min-height: 44px; padding: 6px 12px; border: 0; color: #fff; background: transparent; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.carousel-toggle[hidden], .project-controls[hidden] { display: none; }
.journey-section { border-bottom: 1px solid var(--line); background: #eae8df; }
.journey-inner { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: center; padding-block: 25px; }
.journey-heading .eyebrow { margin-bottom: 8px; font-size: 10px; }
.journey-heading h2 { font-size: clamp(32px, 3.2vw, 42px); }
.journey-card { display: grid; min-height: 88px; grid-template-columns: 30px 1fr; align-content: center; gap: 4px 11px; padding: 8px 20px; border-left: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }
.journey-card:hover { background: rgba(255,255,255,.55); }
.journey-number { grid-row: 1 / span 2; color: #a34a1d; font-size: 10px; font-weight: 800; }
.journey-label { color: #515f65; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.journey-card strong { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.05; }
.journey-action { grid-column: 2; margin-top: 3px; color: #43564a; font-size: 11px; font-weight: 650; }
.journey-action b { margin-left: 5px; color: #b95e2c; }

.section-pad { padding-block: 112px; }
.solutions { background: var(--paper-light); }
.solutions-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: clamp(32px, 7vw, 100px); margin-bottom: 48px; }
.solutions-heading h2 { line-height: 1.12; letter-spacing: -.01em; }
.solutions-intro { max-width: 430px; margin: 18px 0 0; color: #536067; font-size: 15px; line-height: 1.8; }
.solutions-contact { padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.solutions-contact-label { margin: 0 0 18px; color: #52665a; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.solutions-contact h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 30px; line-height: 1.15; }
.solutions-contact > p:not(.solutions-contact-label) { max-width: 340px; margin: 0 0 20px; color: #536067; font-size: 13px; line-height: 1.7; }
.solutions-contact > p.contact-hint { margin: 16px 0 0; font-size: 12px; }
.solutions-contact-button { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 10px 14px; color: var(--ink); background: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.solutions-contact-button:hover { background: #f39459; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 48px; }
.eyebrow-dark { color: #526158; }
h2 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5.2vw, 70px); font-weight: 700; letter-spacing: -.02em; line-height: .96; }
h2 em { color: var(--accent-dark); font-family: var(--font-display); font-style: normal; font-weight: 700; }
.section-intro { max-width: 335px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.solution-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.solution-card { min-width: 0; }
.solution-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.02; color: inherit; background: #e6e3d9; text-decoration: none; }
.solution-image img { width: 100%; height: 100%; object-fit: contain; }
.solution-copy { padding: 16px 3px 0; }
.solution-copy h3 { margin-bottom: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .005em; line-height: 1.05; }
.solution-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.solution-link { display: inline-flex; gap: 7px; margin-top: 12px; color: var(--forest); font-size: 10px; font-weight: 750; text-decoration: none; }
.solution-link span { color: #b95e2c; }
.solution-link:hover { color: #b95e2c; }

.product-page { background: var(--paper); }
.product-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 70px); }
.product-intro h1 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.product-intro h1 span { color: var(--accent-dark); }
.product-intro p:not(.eyebrow) { max-width: 550px; margin: 20px 0; color: #4d575c; font-size: 15px; line-height: 1.8; }
.product-intro-image { width: 100%; aspect-ratio: 1.35; object-fit: contain; background: #e2dfd5; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.product-actions .solutions-contact-button { font-size: 12px; }
.product-gallery-link { color: var(--forest); font-size: 13px; font-weight: 750; }
.product-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 64px 0; }
.product-details article { padding-top: 20px; border-top: 2px solid var(--accent); }
.product-details h2 { font-size: 28px; line-height: 1.1; }
.product-details p { margin: 10px 0 0; color: #536067; font-size: 14px; line-height: 1.7; }
.product-photos-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.product-photos-heading h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.product-photos-heading p { max-width: 440px; margin: 0; color: #536067; font-size: 14px; line-height: 1.7; }
.product-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; }
.product-photos figure { min-width: 0; margin: 0; }
.product-photos a { display: block; background: #e2dfd5; }
.product-photos img { width: 100%; aspect-ratio: 1.35; object-fit: contain; }
.product-photos figcaption { padding-top: 8px; color: var(--graphite); font-size: 12px; font-weight: 650; }
.product-more { margin-top: 32px; }
.product-next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 56px; padding: 22px; border: 1px solid var(--line); background: var(--paper-light); }
.product-next p { flex: 1 1 260px; margin: 0; color: #536067; font-size: 13px; line-height: 1.7; }

.gallery-section { background: var(--paper); }
.gallery-page { min-height: calc(100vh - 168px); }
.gallery-back { display: inline-flex; margin-bottom: 24px; color: var(--forest); font-size: 12px; font-weight: 700; text-decoration: none; }
.gallery-back:hover { color: var(--accent-dark); }
.gallery-title { max-width: 720px; margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5.2vw, 70px); font-weight: 700; letter-spacing: -.02em; line-height: .96; }
.heading-count { margin-left: 7px; padding: 5px 8px; border: 1px solid var(--line); color: var(--forest); font-size: 10px; letter-spacing: .1em; vertical-align: 2px; }
.gallery-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 32px; padding: 18px 22px; border: 1px solid var(--line); background: var(--paper-light); }
.gallery-contact p { max-width: 620px; margin: 0; color: #536067; font-size: 13px; line-height: 1.7; }
.gallery-contact .solutions-contact-button { flex: 0 0 auto; }
.gallery-toolbar { display: grid; gap: 8px; margin: -10px 0 22px; }
.gallery-filters { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-color: #9caaa0 transparent; scrollbar-width: thin; }
.gallery-filter { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); color: var(--graphite); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.gallery-filter:hover { border-color: var(--forest); }
.gallery-filter[aria-pressed="true"] { border-color: var(--accent); color: var(--graphite); background: var(--accent); }
.filter-count { color: #7a877f; font-size: 10px; font-weight: 600; }
.gallery-filter[aria-pressed="true"] .filter-count { color: var(--graphite); }
.gallery-results { margin: 0; color: var(--muted); font-size: 11px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery-fallback { color: #4d575c; font-size: 14px; line-height: 1.7; }
.gallery-card { min-width: 0; margin: 0; }
.gallery-card[hidden] { display: none; }
.gallery-card[data-layout="wide"], .gallery-card[data-layout="large"] { grid-column: span 5; }
.gallery-card[data-layout="medium"] { grid-column: span 4; }
.gallery-card[data-layout="small"] { grid-column: span 3; }
.gallery-image-button { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 1.23; padding: 0; border: 0; background: #dcd9cf; cursor: zoom-in; }
.gallery-card[data-layout="wide"] .gallery-image-button { aspect-ratio: 1.55; }
.gallery-card[data-layout="large"] .gallery-image-button { aspect-ratio: 1.35; }
.gallery-image-button img { width: 100%; height: 100%; object-fit: contain; transition: filter .3s ease; }
.gallery-image-button:hover img, .gallery-image-button:focus-visible img { filter: saturate(1.06); }
.gallery-caption { display: flex; min-height: 38px; align-items: flex-start; justify-content: space-between; gap: 8px; padding-top: 8px; color: var(--graphite); font-size: 11px; font-weight: 650; line-height: 1.35; }
.gallery-zoom-label { flex: 0 0 auto; color: #9b5128; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.gallery-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.gallery-more { min-height: 44px; padding: 0 18px; border: 1px solid var(--graphite); color: var(--graphite); background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; transition: color .2s ease, background .2s ease; }
.gallery-more:hover { color: #fff; background: var(--graphite); }
.gallery-more[hidden] { display: none; }
.gallery-footnote { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: 11px; }
.gallery-footnote span { color: #7a915d; font-size: 16px; }

.project-section { color: var(--ink); background: #eeece5; }
.project-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 70px); }
.project-carousel { min-width: 0; overflow: hidden; border: 12px solid var(--graphite); background: var(--graphite); }
.project-carousel-viewport { position: relative; aspect-ratio: 1.25; background: #fff; }
.project-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 12px; }
.project-slide[hidden], .project-arrow[hidden], .project-dots[hidden] { display: none; }
.project-slide img { width: 100%; height: 100%; object-fit: contain; }
.project-arrow { position: absolute; top: 50%; display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; background: rgba(35,42,46,.86); cursor: pointer; font-size: 38px; line-height: 1; transform: translateY(-50%); }
.project-arrow:hover { color: var(--graphite); background: var(--accent); }
.project-previous { left: 12px; }
.project-next { right: 12px; }
.project-carousel-footer { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; background: var(--graphite); }
.project-step { margin: 0; color: #ffab73; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.project-caption { margin: 7px 0 0; color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.5; }
.project-dots { display: flex; flex: 0 0 auto; align-items: center; }
.project-controls { display: flex; flex-direction: column; align-items: center; }
.project-dots button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.project-dots button::before { width: 11px; height: 11px; border: 1px solid #fff; border-radius: 50%; content: ""; }
.project-dots button[aria-pressed="true"]::before { border-color: var(--accent); background: var(--accent); }
.project-catalog-link { display: block; padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.25); color: #fff; background: var(--graphite); font-size: 13px; font-weight: 700; text-decoration: none; }
.project-catalog-link:hover { color: var(--accent); }
.project-catalog-link span { margin-left: 6px; color: var(--accent); }
.project-copy .eyebrow { color: #526158; }
.project-copy h2 em { color: var(--accent-dark); }
.project-copy ol { margin: 32px 0 0; padding: 0; list-style: none; }
.project-copy li { display: flex; gap: 18px; padding: 19px 0; border-top: 1px solid var(--line); }
.project-copy li > span { color: #a64218; font-weight: 800; }
.project-copy li strong { font-family: var(--font-display); font-size: 24px; }
.project-copy li p { margin: 5px 0 0; color: #4d575c; font-size: 14px; line-height: 1.6; }
.plans-section { min-height: calc(100vh - 168px); background: var(--paper); }
.plans-heading { max-width: 760px; margin-bottom: 36px; }
.plans-heading h1 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5.2vw, 70px); line-height: 1.1; }
.plans-heading > p:not(.eyebrow) { margin: 18px 0 0; color: #4d575c; line-height: 1.7; }
.plans-contact { margin-top: 20px; }
.plans-list { display: grid; gap: 18px; }
.plan-project { border: 1px solid var(--line); background: var(--paper-light); }
.plan-project summary { display: grid; grid-template-columns: minmax(160px, 280px) 1fr; align-items: center; gap: 24px; padding: 18px; cursor: pointer; list-style: none; }
.plan-project summary::-webkit-details-marker { display: none; }
.plan-project summary img { width: 100%; aspect-ratio: 1.5; object-fit: contain; background: #fff; }
.plan-project h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.plan-project summary p { margin: 8px 0; color: #4d575c; line-height: 1.6; }
.plan-project summary span { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.plan-project summary span::after { content: " +"; }
.plan-project[open] summary span::after { content: " −"; }
.plan-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 18px 18px; }
.plan-images figure { min-width: 0; margin: 0; }
.plan-images a { display: block; border: 1px solid var(--line); background: #fff; }
.plan-images img { width: 100%; aspect-ratio: 1.5; object-fit: contain; }
.plan-images figcaption { padding-top: 6px; color: #4d575c; font-size: 13px; line-height: 1.5; }

.site-footer { color: #fff; background: var(--forest-deep); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(170px, .7fr); align-items: start; gap: 28px; padding-block: 36px 130px; }
.brand-footer img { width: 115px; }
.brand-footer > span { font-size: 9px; }
.footer-brand p { margin: 14px 0 12px; color: rgba(255,255,255,.75); font-size: 12px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-social a, .footer-contacts a, .footer-map a { color: #fff; font-size: 12px; line-height: 1.5; text-underline-offset: 3px; }
.footer-social a:hover, .footer-contacts a:hover, .footer-map a:hover { color: #ffc59f; }
.footer-contacts { display: grid; gap: 12px; padding-top: 6px; overflow-wrap: anywhere; }
.footer-map { width: min(220px, 100%); justify-self: end; }
.footer-map iframe { display: block; width: 100%; height: 100px; margin-bottom: 8px; border: 0; }
.floating-contact { position: fixed; z-index: 20; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.floating-contact-button { display: flex; min-width: 144px; min-height: 44px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 13px 0 16px; border-radius: 5px; color: #fff; font-size: 14px; font-weight: 750; text-decoration: none; box-shadow: 0 5px 16px rgba(0,0,0,.24); }
.floating-contact-button:hover { filter: brightness(1.12); }
.floating-contact-button img { width: 21px; height: 21px; }
.floating-contact-call { background: #b90012; }
.floating-contact-whatsapp { background: #168044; }

.image-dialog { position: fixed; overflow: visible; width: min(940px, calc(100% - 36px)); max-width: none; max-height: calc(100% - 36px); padding: 18px; border: 1px solid rgba(255,255,255,.14); color: #fff; background: #101b15; }
.image-dialog::backdrop { background: rgba(6,12,8,.88); backdrop-filter: blur(4px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .14em; }
.dialog-close { padding: 6px 0 6px 12px; border: 0; color: #fff; background: transparent; cursor: pointer; }
.dialog-close span { margin-left: 5px; color: var(--accent); font-size: 20px; vertical-align: -2px; }
.image-dialog > img { width: 100%; max-height: calc(100vh - 210px); object-fit: contain; background: #fff; }
.dialog-caption { margin: 12px 0 0; color: rgba(255,255,255,.75); font-size: 11px; }
.dialog-quote { margin-top: 12px; }
.dialog-arrow { position: absolute; z-index: 1; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 0; color: var(--forest); background: var(--accent); font-size: 18px; cursor: pointer; transform: translateY(-50%); }
.dialog-previous { left: -20px; }
.dialog-next { right: -20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1100px) {
  .solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
}

@media (max-width: 900px) {
  .page-width { width: min(var(--page-width), calc(100% - 44px)); }
  .hero-grid { min-height: 370px; grid-template-columns: 1fr .8fr; gap: 20px; padding-block: 28px 20px; }
  .hero h1 { font-size: clamp(42px, 5.2vw, 50px); }
  .hero-image-frame { height: clamp(220px, 30vw, 300px); }
  .project-layout { grid-template-columns: 1fr; }
  .section-pad { padding-block: 86px; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .solution-card:last-child:nth-child(odd) { display: grid; grid-column: span 2; grid-template-columns: minmax(0, 1fr) 1fr; align-items: center; gap: 20px; }
  .solution-card:last-child:nth-child(odd) .solution-copy { padding-top: 0; }
  .product-intro { grid-template-columns: 1fr; }
  .solution-image { aspect-ratio: 1.35; }
  .journey-inner { grid-template-columns: .7fr 1fr 1fr; }
  .journey-card { padding-inline: 13px; }
}

@media (max-width: 640px) {
  .page-width { width: calc(100% - 36px); }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: 0; padding-block: 15px 0; }
  .brand { gap: 10px; }
  .brand img { width: 105px; }
  .brand > span { padding-left: 9px; font-size: 9px; }
  .main-nav { width: calc(100% + 36px); justify-content: space-between; gap: 16px; overflow-x: auto; margin: 14px -18px 0; padding: 0 18px 13px; font-size: 11px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding-block: 24px 12px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; }
  .hero h1 { font-size: clamp(42px, 10vw, 52px); }
  .hero-description { margin: 16px 0 18px; font-size: 14px; }
  .hero-actions { gap: 17px; }
  .button { min-height: 46px; gap: 12px; padding-inline: 13px; font-size: 11px; }
  .text-link { font-size: 11px; }
  .hero-details { gap: 14px; margin-top: 18px; }
  .hero-notes { gap: 14px; font-size: 10px; }
  .hero-visual { padding: 4px 0 14px; }
  .hero-image-frame { height: clamp(200px, 62vw, 270px); }
  .hero-image-label { padding: 10px 12px; }
  .hero-image-label strong { font-size: 22px; }
  .journey-inner { grid-template-columns: 1fr; gap: 13px; padding-block: 26px; }
  .journey-heading { padding-bottom: 5px; }
  .journey-heading h2 { font-size: 39px; }
  .journey-card { min-height: 78px; grid-template-columns: 25px 1fr; padding: 14px 4px; border-top: 1px solid var(--line); border-left: 0; }
  .journey-card strong { font-size: 25px; }
  .section-pad { padding-block: 66px; }
  .solutions-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 32px; }
  .solutions-intro { margin-top: 16px; font-size: 14px; }
  .solutions-contact { padding: 22px; }
  .solutions-contact h3 { font-size: 26px; }
  .gallery-heading { display: block; margin-bottom: 30px; }
  h2 { font-size: clamp(42px, 11vw, 56px); }
  .gallery-title { font-size: clamp(42px, 11vw, 56px); }
  .gallery-back { margin-bottom: 18px; }
  .section-intro { margin-top: 18px; font-size: 12px; }
  .solution-grid { gap: 24px 12px; }
  .solution-card:last-child:nth-child(odd) { gap: 12px; }
  .solution-card:last-child:nth-child(odd) .solution-image { aspect-ratio: 1.2; }
  .product-details { grid-template-columns: 1fr; gap: 22px; margin: 42px 0; }
  .product-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .product-intro h1 { font-size: clamp(42px, 10vw, 56px); }
  .solution-image { aspect-ratio: .94; }
  .solution-copy { padding-top: 11px; }
  .solution-copy h3 { font-size: 21px; }
  .solution-copy p { font-size: 11px; }
  .solution-link { margin-top: 8px; font-size: 10px; }
  .heading-count { margin-left: 3px; }
  .gallery-contact { align-items: flex-start; flex-direction: column; gap: 12px; padding: 16px; }
  .gallery-contact .solutions-contact-button { flex: initial; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-card[data-layout] { grid-column: span 1; }
  .gallery-card.gallery-card-mobile-wide { grid-column: span 2; }
  .gallery-card[data-layout] .gallery-image-button { aspect-ratio: 1.05; }
  .gallery-card.gallery-card-mobile-wide .gallery-image-button { aspect-ratio: 1.55; }
  .gallery-caption { min-height: 46px; flex-direction: column; gap: 3px; font-size: 10px; }
  .gallery-zoom-label { font-size: 10px; }
  .gallery-footnote { align-items: flex-start; font-size: 11px; line-height: 1.65; }
  .project-carousel-footer { align-items: flex-start; flex-direction: column; }
  .project-arrow { width: 42px; height: 42px; font-size: 32px; }
  .plan-project summary { grid-template-columns: 1fr; gap: 14px; }
  .plan-images { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 130px; }
  .footer-map { justify-self: start; }
  .floating-contact { right: 12px; bottom: 12px; gap: 6px; }
  .floating-contact-button { width: 48px; min-width: 48px; min-height: 48px; justify-content: center; padding: 0; }
  .floating-contact-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .image-dialog { width: calc(100% - 24px); padding: 12px; }
  .dialog-previous { left: -8px; }
  .dialog-next { right: -8px; }
}

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