@import url("system.css?v=5");
/* Public pages */
html { scroll-padding-top: 96px; }
body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
main:focus { outline: none; }
.container { width: min(100% - var(--gutter) * 2, var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.grid { display: grid; gap: 26px; }
.grid > *, .action-row > * { min-width: 0; }
.section-header { margin-bottom: clamp(24px, 3.5vw, 48px); }
.section-header-split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.section-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-subtitle { max-width: 54ch; margin-top: 12px; color: var(--muted); }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.text-link { display: inline-block; padding-block: 7px; font-weight: 800; text-underline-offset: 5px; }
.text-link:hover { color: var(--red); }

.btn, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: none;
  color: inherit;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}
.btn-lg { min-height: 52px; padding-inline: 20px; }
.btn-sm { min-height: 44px; }
.btn-primary {
  position: relative;
  isolation: isolate;
  padding-inline-end: 24px;
  border: 0;
  border-radius: 0;
  color: white;
}
.btn-primary::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--red);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  content: '';
  transition: background-color var(--ease);
}
.btn-primary:hover::before { background: var(--red-hover); }
.btn-glass, .btn-whatsapp {
  padding-inline: 10px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn-glass:hover { background: var(--stone); }
.btn-whatsapp { color: var(--green); }
.btn-whatsapp:hover { background: var(--green-tint); }
.btn:disabled { background: var(--stone); color: var(--muted); border-color: var(--line); }
.btn-primary:disabled { background: transparent; }
.btn-primary:disabled::before { background: var(--stone); }
.icon-btn { min-width: 44px; min-height: 44px; padding: 0 8px; font-size: 1.65rem; }
.icon-btn:hover { background: var(--stone); }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 16px; background: var(--paper); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.navbar { position: sticky; top: 0; z-index: 10; background: var(--dark); color: var(--light); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 69px; }
.nav-brand { display: block; flex: 0 1 182px; min-width: 108px; }
.nav-brand img { width: 100%; }
.nav-menu { display: none; }
.nav-link {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  padding: 3px 0 0;
  color: var(--light-muted);
  font-size: .83rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--light); }
.nav-link[aria-current]::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 2px;
  background: #e06058;
  transform: skewX(-24deg);
  content: '';
}
.nav-actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.nav-call { display: none; }
.nav-quote { padding-inline: 14px 20px; }
.nav-toggle-btn { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: none; color: inherit; }
.nav-toggle-btn span { width: 21px; height: 2px; background: currentColor; }
.navbar :focus-visible, .footer :focus-visible { outline-color: #ffcf79; }
.mobile-nav-overlay { position: fixed; z-index: 14; inset: 0; background: #20241f90; }
.mobile-nav-drawer {
  position: fixed;
  z-index: 15;
  inset: 0 0 0 auto;
  width: min(100%, 375px);
  padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -16px 0 45px #20241f26;
  animation: slide-in 200ms ease-out;
}
@keyframes slide-in { from { transform: translateX(28px); opacity: 0; } }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 740 1.5rem/1 var(--font-heading); }
.mobile-nav-list, .footer-links { padding: 0; list-style: none; }
.mobile-nav-list a { display: block; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 720; text-decoration: none; }
.mobile-nav-list a[aria-current] { color: var(--red); }
.mobile-nav-footer { display: grid; gap: 10px; margin-top: 24px; }
.mobile-nav-footer .text-link { color: var(--muted); font-size: .875rem; }
/* Homepage */
.masthead { padding-block: 38px 24px; background: var(--canvas); }
.masthead-inner { display: grid; gap: 28px; }
.masthead-copy { align-self: center; min-width: 0; }
.masthead h1 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 8.5vw, 5.5rem);
  font-weight: 840;
  line-height: .99;
  letter-spacing: -.055em;
  word-spacing: .055em;
}
.masthead-line { display: block; }
.masthead-line + .masthead-line { font-size: .88em; }
.masthead-copy > p:not(.section-tag) { max-width: 35ch; margin-bottom: 23px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.18rem); }
.masthead-actions { margin-bottom: 9px; }
.masthead-whatsapp { color: var(--green); font-size: .875rem; }
.masthead-whatsapp i { margin-right: 4px; }
.masthead-figure { min-width: 0; background: var(--dark); }
.masthead-photo, .project-main-photo, .project-thumbnails button, .about-photo, .gallery-photo, .service-thumb, .fleet-img-wrap, .calc-result-img, .feature-note button.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--stone);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}
.masthead-photo { aspect-ratio: 1.43; }
.masthead-photo img, .project-main-photo img, .project-thumbnails img, .about-photo img, .gallery-photo img, .service-thumb img, .fleet-img-wrap img, .calc-result-img img, .feature-note button img, .page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.masthead-photo img { object-position: 50% 51%; }
.masthead-figure figcaption, .about-grid figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1px 12px;
  padding-top: 10px;
  color: var(--muted);
  font-size: .78rem;
}
.masthead-figure figcaption {
  position: relative;
  align-items: baseline;
  gap: 2px 12px;
  padding: 10px 12px 11px 16px;
  color: var(--light-muted);
}
.masthead-figure figcaption::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: #e06058; content: ''; }
.masthead-figure figcaption span { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.masthead-figure figcaption strong { color: var(--light); }
.dispatch-strip { border-block: 1px solid var(--line); background: var(--paper); }

.service-list { display: grid; gap: 34px 24px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); }
.home-services .service-card:first-child { background: var(--paper); }
.home-services .service-card:first-child .service-body { padding-inline: clamp(16px, 3.8vw, 48px); }
.home-services .service-card:first-child .service-title { font-size: clamp(1.45rem, 3.1vw, 2.9rem); }
.service-thumb { aspect-ratio: 1.6; }
.service-thumb img { object-position: center 42%; }
.service-badge { position: absolute; right: 10px; padding: 6px 9px; background: var(--paper); color: var(--ink); }
.service-badge { bottom: 10px; max-width: calc(100% - 20px); font-size: .75rem; font-weight: 800; }
.service-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 12px; padding: 20px 0 24px; }
.service-desc { color: var(--muted); }
.service-features { display: grid; gap: 7px; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.service-features li { display: flex; align-items: baseline; gap: 8px; }
.service-features i { color: var(--green); font-size: .7rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.empty-state { grid-column: 1 / -1; padding: 20px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); }
.empty-state p + button { margin-top: 8px; }

.project-section { padding-top: 0; padding-bottom: clamp(35px, 6vw, 78px); background: var(--dark); color: var(--light); }
.project-grid { display: grid; width: min(100%, 1560px); }
.project-shot { min-width: 0; }
.project-main-photo { aspect-ratio: 1.22; background: var(--dark); }
.project-main-photo img { object-position: 50% 40%; }
.project-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-inline: var(--gutter); }
.project-thumbnails button { aspect-ratio: 1.45; }
.project-copy { min-width: 0; padding: 26px var(--gutter) 24px; background: var(--dark); }
.project-copy h2 { max-width: 17ch; }
.project-copy .section-tag { color: #f1aaa0; }
.project-copy > p:not(.section-tag) { margin-block: 16px 22px; color: var(--light-muted); }
.project-specs { margin-bottom: 22px; }
.project-specs > div { display: grid; grid-template-columns: .65fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--dark-line); }
.project-specs dt { color: var(--light-muted); font-size: .875rem; }
.project-specs dd { font-weight: 750; }
.project-copy .btn-glass { border-color: var(--light-muted); }
.project-copy .btn-glass:hover { background: var(--light); color: var(--ink); }
.project-section :focus-visible { outline-color: #ffcf79; }

.calculator-section { padding-block: var(--space-section); background: var(--stone); }
.calc-box { padding: clamp(18px, 3.4vw, 46px); border: 1px solid var(--line); background: var(--paper); }
.calc-grid { display: grid; align-items: start; gap: clamp(22px, 4vw, 56px); }
.calc-grid > * { min-width: 0; }
.calc-intro { margin-block: 12px 23px; color: var(--muted); }
.op-selector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.op-selector-card {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--control);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  font-size: .875rem;
  text-align: left;
}
.op-selector-card:hover { background: var(--stone); }
.op-selector-card.active { border-color: var(--red); background: var(--red-tint); color: var(--red-hover); box-shadow: inset 3px 0 var(--red); }
.slider-group { padding-block: 12px 5px; border-top: 1px solid var(--line); }
.slider-header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .875rem; font-weight: 750; }
.slider-val-badge { flex: 0 0 auto; color: var(--red); font-size: .82rem; font-variant-numeric: tabular-nums; }
.range-slider { width: 100%; height: 32px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.calc-result-card { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 19px; }
.calc-result-header { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.calc-result-img { aspect-ratio: 2.05; }
.calc-result-specs, .calc-note { color: var(--muted); }
.calc-note { font-size: .86rem; }

.fleet-list { display: grid; gap: 24px; min-width: 0; }
.fleet-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.fleet-img-wrap { aspect-ratio: 1.52; }
.fleet-img-wrap img { object-position: center 42%; }
.fleet-body { display: flex; flex-direction: column; gap: 13px; flex: 1; padding: clamp(16px, 2vw, 23px) 0; }
.fleet-body > p { font-size: .875rem; color: var(--muted); }
.fleet-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.fleet-spec-item { padding: 9px 6px 9px 0; }
.fleet-spec-item + .fleet-spec-item { padding-left: 10px; border-left: 1px solid var(--line); }
.fleet-spec-label, .fleet-spec-value { display: block; }
.fleet-spec-label { font-size: .78rem; color: var(--muted); }
.fleet-spec-value { font-family: var(--font-heading); font-weight: 760; font-size: 1.05rem; overflow-wrap: anywhere; }
.fleet-actions { margin-top: auto; }
.fleet-story { position: relative; background: var(--dark); color: var(--light); }
.project-section + .fleet-story { padding-top: clamp(26px, 5vw, 68px); }
.fleet-story :focus-visible { outline-color: #ffcf79; }
.fleet-run { display: grid; align-items: start; gap: clamp(28px, 5vw, 76px); }
.fleet-station h2 { max-width: 12ch; word-spacing: .06em; }
.fleet-station p { max-width: 31ch; margin-block: 14px 20px; color: var(--light-muted); }
.fleet-more:hover { background: var(--light); color: var(--dark); }
.fleet-index { display: none; }
.fleet-sequence { gap: clamp(23px, 5vw, 80px); }
.fleet-sequence .fleet-card {
  position: relative;
  padding-block-end: 10px;
  border-color: var(--dark-line);
  scroll-margin-block-start: 14px;
}
.fleet-sequence .fleet-img-wrap { background: var(--dark); }
.fleet-sequence .fleet-body { position: relative; }
.fleet-sequence .fleet-body h3 { font-size: clamp(1.4rem, 2.7vw, 2.7rem); word-spacing: .06em; }
.fleet-sequence .fleet-body > p, .fleet-sequence .fleet-spec-label { color: var(--light-muted); }
.fleet-sequence .fleet-specs, .fleet-sequence .fleet-spec-item + .fleet-spec-item { border-color: var(--dark-line); }
.fleet-sequence .fleet-spec-value { font-size: clamp(1rem, 1.9vw, 1.6rem); }
.feature-note { display: grid; margin-top: clamp(32px, 5vw, 65px); border: 1px solid var(--line); background: var(--stone); }
.feature-note button.lightbox-trigger { width: 100%; aspect-ratio: 1.55; }
.feature-note img { object-position: 50% 47%; }
.feature-note-copy { align-self: center; padding: clamp(18px, 4vw, 52px); }
.feature-note h3 { max-width: 16ch; font-size: clamp(1.55rem, 3.4vw, 3.15rem); }
.feature-note p { max-width: 40ch; margin-block: 10px 18px; color: var(--muted); }
.fleet-spotlight { margin-top: clamp(44px, 6vw, 87px); border: 0; color: var(--ink); }
.fleet-spotlight .section-tag { margin-block: 0 10px; color: var(--red); }
.proof-section { background: var(--stone); }
.proof-grid { display: grid; align-items: center; gap: 30px; }
.proof-list { list-style: none; padding: 0; margin-block: 19px 9px; }
.proof-list li { position: relative; padding: 7px 0 7px 19px; }
.proof-list li::before { position: absolute; top: 18px; left: 0; width: 7px; height: 2px; background: var(--red); content: ''; }
.proof-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-numbers > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 14px 6px 14px 0; border-top: 1px solid var(--control); }
.proof-numbers dt { color: var(--muted); font-size: .85rem; }
.proof-numbers dd { color: var(--red); font: 760 clamp(1.65rem, 4.7vw, 3.5rem)/1 var(--font-heading); letter-spacing: -.04em; }
.faq-section .container { display: grid; gap: 8px 50px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; justify-content: space-between; gap: 15px; align-items: center; width: 100%; padding: 15px 4px; background: none; color: var(--ink); border: 0; font-weight: 800; text-align: left; }
.faq-question:hover { color: var(--red); }
.faq-icon { flex: 0 0 auto; font-size: .75rem; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 4px 16px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.contact-band { padding-block: clamp(33px, 5.5vw, 70px); background: var(--red-tint); }
.contact-band-inner { display: grid; gap: 14px 30px; align-items: center; justify-items: start; }
.contact-band h2 { font-size: clamp(1.65rem, 3vw, 2.85rem); }
.contact-band p { margin-top: 7px; color: var(--muted); }

/* Secondary pages */
.page-hero { padding-block: clamp(32px, 6vw, 72px); border-bottom: 1px solid var(--line); background: var(--stone); }
.page-hero-grid { display: grid; align-items: center; gap: 24px 48px; }
.page-hero h1, .error-page h1, .archive-masthead h1 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 820;
  letter-spacing: -.05em;
  word-spacing: .065em;
}
.page-hero p, .error-page p:not(.section-tag) { max-width: 50ch; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 16px; font-size: .82rem; font-weight: 700; }
.breadcrumb a { text-underline-offset: 4px; }
.page-hero-photo { position: relative; overflow: hidden; aspect-ratio: 2.15; background: var(--control); }
.page-hero-photo img { object-position: center 40%; }
.archive-section { padding-block: clamp(28px, 4.5vw, 64px) var(--space-section); }
.archive-masthead { display: grid; align-items: end; gap: 0 30px; margin-bottom: clamp(20px, 3.2vw, 42px); }
.archive-masthead h1 { margin-bottom: 8px; }
.archive-masthead > p { max-width: 36ch; padding-bottom: 6px; color: var(--muted); }
.archive-toolbar { display: grid; grid-template-columns: 1fr; gap: 0 24px; margin-bottom: clamp(20px, 4vw, 40px); border-block: 1px solid var(--line); }
.archive-toolbar .gallery-filters { margin: 0; border-bottom: 0; }
.archive-count { align-self: center; font-size: .84rem; color: var(--muted); font-weight: 750; padding-block: 6px 0; font-variant-numeric: tabular-nums; }
.catalog-section { padding-top: clamp(28px, 5vw, 65px); }
.page-services .service-list { gap: 0; border-top: 1px solid var(--line); }
.page-services .service-card { padding-block: 18px 22px; }
.page-services .service-body { padding-bottom: 0; }
.process-section { background: var(--stone); }
.process-list { display: grid; gap: 16px; padding: 0; list-style: none; }
.process-list li { padding: 13px 0 10px; border-top: 1px solid var(--control); }
.process-list li h3 { margin-bottom: 7px; }
.process-list li p { color: var(--muted); font-size: .925rem; }
.timeline li > span { display: block; margin-bottom: 8px; color: var(--red); font: 750 1.4rem/1.2 var(--font-heading); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0 15px; margin-bottom: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.filter-btn {
  min-height: 44px;
  padding: 6px 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 790;
  text-align: left;
}
.filter-btn:hover, .filter-btn.active { color: var(--red); }
.filter-btn.active { border-bottom-color: var(--red); }
.gallery-grid { display: grid; align-items: start; gap: 30px; }
.gallery-item { min-width: 0; }
.gallery-card-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.gallery-photo { aspect-ratio: var(--gallery-ratio, 1.3); cursor: inherit; }
.gallery-photo img { object-position: center 40%; }
.gallery-overlay {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.gallery-title { display: block; font: 750 clamp(1.08rem, 2vw, 1.5rem)/1.2 var(--font-heading); letter-spacing: -.022em; }
.gallery-location { color: var(--muted); font-size: .875rem; }
.gallery-open { color: var(--red-hover); font-size: .83rem; font-weight: 760; text-decoration: underline; text-underline-offset: 4px; }
.gallery-card-trigger:hover .gallery-overlay { border-color: var(--red); }
.gallery-card-trigger:hover .gallery-open { text-decoration-thickness: 2px; }
.table-scroll { max-width: 100%; overflow: auto; border: 1px solid var(--line); }
.spec-table { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--paper); font-size: .9rem; text-align: left; }
.spec-table th, .spec-table td { padding: 13px 15px; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--dark); color: var(--light); font-weight: 800; }
.spec-table td:first-child { font-weight: 750; }
.about-grid, .contact-layout, .map-layout { display: grid; gap: clamp(26px, 5vw, 56px); }
.about-grid > *, .contact-layout > *, .map-layout > * { min-width: 0; }
.about-grid h2 + p, .map-layout h2 + p { margin-top: 12px; color: var(--muted); }
.about-values { display: grid; gap: 15px; margin-top: 22px; }
.about-values > div { border-top: 1px solid var(--line); padding-top: 12px; }
.about-values p { margin-top: 6px; color: var(--muted); }
.about-photo { aspect-ratio: 1.2; }
.contact-channels h2, .contact-form-panel h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.contact-channels ul { list-style: none; padding: 0; margin-top: 18px; }
.contact-channels li { padding-block: 11px; border-top: 1px solid var(--line); }
.contact-channels li span { display: block; color: var(--muted); font-size: .85rem; }
.contact-channels li a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 780; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-form-panel { border: 1px solid var(--line); padding: clamp(17px, 3.5vw, 37px); background: var(--paper); }
.contact-form-panel > p { margin-block: 9px 18px; color: var(--muted); }
.contact-map { display: block; width: 100%; min-height: 330px; border: 1px solid var(--line); background: var(--paper); }
.map-layout p + p { margin-top: 10px; }
.error-page { min-height: 57vh; }
.error-page .action-row { margin-top: 24px; }

/* Forms, overlays and feedback */
.form-row { display: grid; gap: 0 14px; }
.form-group { margin-bottom: 13px; }
.form-label { display: block; margin-bottom: 5px; font-size: .86rem; font-weight: 800; }
.form-control {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 9px 10px;
  border: 1px solid var(--control);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
}
.form-control::placeholder { color: var(--muted); opacity: 1; }
textarea.form-control { display: block; resize: vertical; }
.req, .field-error { color: var(--red-hover); }
.field-error { display: block; margin-top: 5px; font-size: .85rem; font-weight: 750; }
.form-control.is-invalid { border-color: var(--red); box-shadow: inset 2px 0 var(--red); }
.form-feedback { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--red); background: var(--red-tint); color: var(--red-hover); font-size: .9rem; }
.form-feedback.success { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.modal-overlay, .lightbox-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 16px;
  overflow: auto;
  background: #20241fa6;
  animation: show-overlay 180ms ease-out;
}
@keyframes show-overlay { from { opacity: 0; } }
.modal-card { width: min(100%, 660px); max-height: 100%; overflow: auto; overscroll-behavior: contain; background: var(--paper); border-radius: 5px; box-shadow: 0 16px 42px #20241f3c; }
.modal-header { z-index: 1; position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px clamp(14px, 4vw, 28px); gap: 10px; border-bottom: 1px solid var(--line); background: var(--paper); }
.modal-heading { font-size: clamp(1.45rem, 4vw, 2rem); }
.modal-body { padding: 16px clamp(14px, 4vw, 28px) 22px; }
.modal-subtitle { margin-bottom: 15px; color: var(--muted); }
.form-submit-wrap button { width: 100%; }
.modal-footer-notes { display: grid; gap: 3px; margin-top: 12px; color: var(--muted); font-size: .82rem; }
.lightbox-modal { padding: 56px 16px 22px; background: #20241fe8; }
.lightbox-close { position: fixed; z-index: 1; top: 9px; right: 12px; color: var(--light); }
.lightbox-close:hover { color: var(--ink); }
.lightbox-close:focus-visible { outline-color: #ffcf79; }
.lightbox-content { width: min(100%, 850px); background: var(--paper); }
.lightbox-img-wrap { background: var(--dark); }
.lightbox-img-wrap img { width: 100%; height: min(58vh, 650px); object-fit: contain; }
.lightbox-caption { padding: 12px 16px 0; }
.lightbox-caption h4 { font-size: 1.18rem; }
.lightbox-caption p { color: var(--muted); font-size: .9rem; }
.lightbox-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 16px; }
.toast-container { position: fixed; z-index: 25; bottom: calc(75px + env(safe-area-inset-bottom)); right: 12px; width: min(calc(100% - 24px), 380px); pointer-events: none; }
.toast { padding: 13px 15px; margin-top: 6px; background: var(--dark); color: var(--light); border-left: 4px solid #8ed5b0; box-shadow: 0 5px 18px #20241f22; font-size: .92rem; }

/* Footer */
.footer { padding-top: clamp(36px, 6vw, 76px); background: var(--dark); color: var(--light); }
.footer-grid { display: grid; gap: 26px 36px; padding-bottom: 28px; }
.footer h2 { margin-bottom: 10px; color: var(--light); font-size: 1.05rem; letter-spacing: 0; }
.footer-brand-block p { max-width: 30ch; margin-top: 15px; color: var(--light-muted); }
.footer-links { display: grid; gap: 4px; }
.footer a { text-underline-offset: 3px; }
.footer-links a, .footer-bottom a { color: var(--light-muted); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--light); text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-contact h2 { margin-bottom: 1px; }
.footer-contact p { color: var(--light-muted); font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; padding-block: 14px; gap: 8px 20px; border-top: 1px solid var(--dark-line); color: var(--light-muted); font-size: .82rem; }

@media (max-width: 380px) {
  .nav-brand { flex-basis: 148px; }
  .nav-quote { padding-inline: 9px; }
  .masthead-actions > * { flex: 1; }
  .lightbox-actions > * { width: 100%; }
}

@media (max-width: 599px) {
  .page-home .nav-quote { display: none; }
  .modal-overlay { padding: 7px; align-items: end; }
  .modal-card { max-height: calc(100dvh - 14px); }
  .safety-grid figure { order: 2; }
}

@media (min-width: 600px) {
  .grid-3, .gallery-grid, .fleet-catalog, .home-services .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services .service-card:first-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
  }
  .home-services .service-card:first-child .service-thumb { align-self: stretch; min-height: 280px; aspect-ratio: auto; }
  .archive-masthead { grid-template-columns: 1.25fr .75fr; }
  .archive-toolbar { grid-template-columns: auto minmax(0, 1fr); }
  .archive-count { border-right: 1px solid var(--line); padding: 4px 14px 4px 0; }
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-result-card { padding-top: 0; border-top: 0; }
  .feature-note { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .feature-note button.lightbox-trigger { min-height: 260px; height: 100%; aspect-ratio: auto; }
  .process-list, .about-values, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-services .service-card { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 22px; }
  .page-services .service-body { padding-top: 0; }
  .footer-grid { grid-template-columns: .9fr .75fr 1fr; }
}

@media (min-width: 720px) and (max-width: 959px) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .masthead h1 { font-size: clamp(2.55rem, 5.8vw, 3.45rem); }
  .masthead-photo { aspect-ratio: 1.18; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .navbar-inner { min-height: 80px; }
  .nav-menu { display: flex; align-self: stretch; gap: clamp(12px, 2vw, 31px); }
  .nav-toggle-btn { display: none; }
  .nav-call { display: grid; place-items: center; width: 44px; height: 44px; color: var(--light-muted); text-decoration: none; }
  .nav-call:hover { color: white; }
  .nav-quote { padding-inline: 20px 26px; }
  .masthead { padding-block: clamp(34px, 4vw, 58px) 40px; }
  .masthead-inner { grid-template-columns: minmax(0, 5.1fr) minmax(0, 6.9fr); gap: clamp(24px, 2.65vw, 46px); }
  .masthead h1 { font-size: clamp(3.35rem, 5.2vw, 5.75rem); }
  .masthead-copy > p:not(.section-tag) { margin-bottom: 27px; }
  .masthead-figure { margin-inline-end: calc(var(--gutter) * -.42); }
  .masthead-figure figcaption { padding-inline: 20px; }
  .masthead-photo { aspect-ratio: 1.53; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(30px, 5vw, 62px) clamp(22px, 4vw, 46px); }
  .gallery-grid .gallery-item { grid-column: span 5; }
  .gallery-item:nth-child(4n + 1 of .gallery-item:not([hidden])),
  .gallery-item:nth-child(4n + 4 of .gallery-item:not([hidden])) { grid-column: span 6; --gallery-ratio: 1.62; }
  .gallery-item:nth-child(4n + 2 of .gallery-item:not([hidden])),
  .gallery-item:nth-child(4n + 3 of .gallery-item:not([hidden])) { grid-column: span 4; --gallery-ratio: 1.16; }
  .gallery-item:nth-child(even of .gallery-item:not([hidden])) { align-self: end; }
  .gallery-filters { position: sticky; z-index: 3; top: 80px; padding-block-start: 4px; background: var(--canvas); }
  .archive-toolbar { position: sticky; z-index: 3; top: 80px; background: var(--canvas); }
  .archive-toolbar .gallery-filters { position: static; }
  .home-services .service-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 42px 24px; }
  .home-services .service-card { grid-column: span 2; }
  .home-services .service-card:nth-child(2), .home-services .service-card:nth-child(3) { grid-column: span 3; }
  .home-services .service-card:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .home-services .service-card:first-child .service-thumb { min-height: clamp(300px, 30vw, 425px); }
  .home-services .service-card:nth-child(2) .service-thumb, .home-services .service-card:nth-child(3) .service-thumb { aspect-ratio: 2.18; }
  .project-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: clamp(330px, 35vw, 525px) clamp(85px, 9vw, 145px) auto;
    column-gap: 20px;
  }
  .project-shot { grid-area: 1 / 1 / 3 / -1; }
  .project-main-photo { height: 100%; aspect-ratio: auto; }
  .project-copy {
    position: relative;
    z-index: 1;
    grid-area: 2 / 1 / 4 / 8;
    align-self: start;
    margin-inline-start: var(--gutter);
    padding: clamp(24px, 4vw, 54px);
    border-left: 3px solid #e06058;
  }
  .project-copy h2 { font-size: clamp(2.3rem, 4.6vw, 4.75rem); }
  .project-thumbnails { grid-area: 3 / 8 / 4 / -1; align-self: start; padding: 18px var(--gutter) 0 0; }
  .proof-grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { align-items: center; }
  .process-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fleet-run { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .fleet-station { position: sticky; top: 112px; }
  .fleet-index {
    position: relative;
    display: grid;
    margin-block: 22px;
    padding-inline-start: 17px;
    border-inline-start: 1px solid var(--dark-line);
  }
  .fleet-index::before {
    position: absolute;
    inset: 0 auto 0 -1px;
    width: 3px;
    background: #e06058;
    transform: scaleY(var(--rail-progress, 0));
    transform-origin: top;
    content: '';
  }
  .fleet-index a { padding-block: 9px; color: var(--light-muted); font-size: .9rem; font-weight: 750; text-decoration: none; }
  .fleet-index a:hover, .fleet-index a[aria-current] { color: var(--light); text-decoration: underline; text-underline-offset: 4px; }
  .fleet-sequence .fleet-card { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); align-items: end; gap: 23px; }
  .fleet-sequence .fleet-img-wrap { min-height: 255px; aspect-ratio: 1.05; }
  .fleet-sequence .fleet-body { padding: 0 0 4px; }
  .fleet-catalog .fleet-card { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; gap: 18px; }
  .fleet-catalog .fleet-img-wrap { aspect-ratio: 1.06; }
  .fleet-catalog .fleet-body { padding-top: 0; }
  .feature-note button.lightbox-trigger { min-height: clamp(290px, 28vw, 415px); }
  .proof-numbers { gap: 14px; }
  .faq-section .container { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .contact-band-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .page-hero-text-only { grid-template-columns: minmax(0, 1fr); }
  .page-services .service-card { align-items: center; gap: clamp(24px, 5.5vw, 78px); }
  .page-services .service-thumb { aspect-ratio: 1.9; }
  .contact-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .map-layout { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }
  .toast-container { bottom: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .navbar { view-transition-name: atapar-navigation; }
  .mobile-whatsapp { view-transition-name: atapar-shortcuts; }
  ::view-transition { pointer-events: none; }
  ::view-transition-group(atapar-navigation), ::view-transition-group(atapar-shortcuts) { z-index: 1; animation: none; }
  ::view-transition-old(atapar-navigation), ::view-transition-old(atapar-shortcuts) { animation: none; opacity: 0; }
  ::view-transition-new(atapar-navigation), ::view-transition-new(atapar-shortcuts) { animation: none; }
  ::view-transition-old(root) { animation: route-out 480ms ease-out both; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: route-in 520ms cubic-bezier(.22,.65,.24,1) both; mix-blend-mode: normal; }
  .route-back::view-transition-new(root) { animation-name: route-rewind; }
  [data-depth] > img {
    position: absolute;
    inset: calc(var(--photo-travel, 0px) * -1) 0 auto;
    height: calc(100% + var(--photo-travel, 0px) * 2);
    transform: translate3d(0, var(--photo-offset, 0px), 0);
  }
  [data-hero-copy] { transform: translateY(calc(var(--hero-lift, 0px) * -1)); }
  .fleet-sequence .fleet-img-wrap {
    translate: 0 calc(var(--lift-gap, 0px) * -1);
    clip-path: inset(0 0 var(--lift-reveal, 0%) 0);
  }
  .fleet-sequence .fleet-body { translate: 0 calc(var(--lift-gap, 0px) * .22); }
  .fleet-sequence .fleet-card:focus-within .fleet-img-wrap { translate: none; clip-path: none; }
  .fleet-sequence .fleet-card:focus-within .fleet-body { translate: none; }
  html:not(.route-arrival) .masthead-line { animation: title-rise 720ms cubic-bezier(.2,.65,.25,1) both; }
  html:not(.route-arrival) .masthead-line + .masthead-line { animation-delay: 90ms; }
  html:not(.route-arrival) .masthead-photo { animation: frame-open 830ms cubic-bezier(.2,.65,.25,1) both; }
  .masthead-photo:focus-visible { animation: none; }
}

@keyframes route-in {
  from { clip-path: polygon(0 0, 13% 0, 0 100%, 0 100%); transform: translateY(12px); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: none; }
}
@keyframes route-rewind {
  from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 87% 100%); transform: translateY(12px); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: none; }
}
@keyframes route-out { to { opacity: .78; transform: translateY(-12px); } }

@media (max-width: 959px) and (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation-duration: 330ms; }
  ::view-transition-new(root) { animation-duration: 360ms; }
}

@keyframes title-rise {
  from { clip-path: inset(0 -7% 58%); translate: 0 18px; opacity: .68; }
  to { clip-path: inset(0 -7% -16%); translate: 0 0; opacity: 1; }
}
@keyframes frame-open {
  from { clip-path: inset(0 0 9% 20%); }
  to { clip-path: inset(0); }
}

