:root {
  --color-bg: #f7f2e8;
  --color-surface: #ffffff;
  --color-surface-alt: #e9e2d6;
  --color-ink: #13262c;
  --color-muted: #5e6e72;
  --color-brand: #195764;
  --color-brand-strong: #0f3f49;
  --color-accent: #d07845;
  --color-accent-strong: #ad5e32;
  --color-border: #d8dedb;
  --color-success: #18794e;
  --color-steel: #6f8f8a;
  --shadow-soft: 0 18px 50px rgba(19, 38, 44, 0.14);
  --container: 1280px;
  --radius-card: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
a,
li,
label,
summary,
small,
strong {
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.container {
  width: calc(100vw - 32px);
  max-width: var(--container);
  margin-inline: auto;
}

.is-hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  font-weight: 850;
}

.brand-logo {
  width: 180px;
  height: auto;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.93rem;
  font-weight: 750;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a[aria-current="true"] {
  color: var(--color-brand-strong);
  border-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-ink);
}

.nav-overlay {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
  max-width: 100%;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-cta {
  color: #fff;
  background: var(--color-brand);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

.btn-secondary {
  color: #fff;
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.btn-light {
  color: var(--color-ink);
  background: #fff;
  border-color: #fff;
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.64);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  color: #fff;
  font-size: 2.65rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.05rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 850;
}

p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section {
  padding-block: 82px;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head-left {
  margin-inline: 0;
  text-align: left;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(760px, 78svh);
  overflow: hidden;
  color: #fff;
  background: var(--color-brand-strong);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 38, 44, 0.92) 0%, rgba(19, 38, 44, 0.78) 42%, rgba(19, 38, 44, 0.18) 100%),
    linear-gradient(0deg, rgba(19, 38, 44, 0.6) 0%, rgba(19, 38, 44, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding-block: 112px 76px;
}

.hero .eyebrow {
  color: #ffc19b;
}

.hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.microcopy {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-tags a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 750;
}

.need-section {
  background: var(--color-bg);
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.need-card,
.service-card,
.technical-grid article,
.application-grid article,
.quote-form,
.faq-list details,
.process-list li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.need-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 215px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.need-card:hover {
  transform: translateY(-3px);
  border-color: rgba(208, 120, 69, 0.5);
  box-shadow: var(--shadow-soft);
}

.need-card span,
.service-index,
.process-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--color-accent-strong);
  background: rgba(208, 120, 69, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
}

.need-card strong {
  line-height: 1.2;
  font-size: 1rem;
}

.need-card small {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.services-section {
  background: var(--color-surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 22px;
}

.service-card p {
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.service-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--color-brand);
  font-weight: 850;
  border-bottom: 2px solid var(--color-accent);
}

.split-section {
  background: var(--color-bg);
}

.split-section.alt {
  background: var(--color-surface-alt);
}

.split-grid,
.detail-grid,
.quote-grid,
.repair-grid,
.compare-grid,
.final-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.split-grid-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-copy,
.detail-copy,
.quote-copy,
.compare-copy,
.repair-copy {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-accent);
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.image-frame picture,
.image-frame img {
  width: 100%;
}

.image-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-frame figcaption {
  padding: 12px 14px;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.image-frame-tall img {
  aspect-ratio: 4 / 3;
}

.detail-section {
  background: var(--color-surface);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 28px;
}

.mini-grid article {
  border-left: 3px solid var(--color-accent);
  padding: 4px 0 4px 14px;
}

.mini-grid p {
  font-size: 0.92rem;
}

.technical-band {
  background: var(--color-brand-strong);
}

.technical-band h2,
.technical-band h3 {
  color: #fff;
}

.technical-band p {
  color: rgba(255, 255, 255, 0.74);
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.technical-grid article {
  min-height: 220px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.technical-grid p {
  font-size: 0.94rem;
}

.repairs-section {
  background: var(--color-surface);
}

.repair-grid {
  align-items: start;
}

.process-section {
  background: var(--color-bg);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 235px;
  padding: 24px;
}

.process-list span {
  margin-bottom: 22px;
}

.applications-section {
  background: var(--color-surface-alt);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.application-grid article {
  min-height: 185px;
  padding: 24px;
}

.compare-section {
  background: var(--color-surface);
}

.compare-copy {
  display: grid;
  gap: 16px;
}

.faq-section {
  background: var(--color-surface);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--color-ink);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: var(--color-brand);
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 20px 20px;
}

.quote-section {
  background: var(--color-bg);
}

.quote-grid {
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.message-output label {
  color: var(--color-ink);
  font-size: 0.94rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea,
.message-output textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  color: var(--color-ink);
  background: #fff;
}

.field textarea,
.message-output textarea {
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-accent-strong);
}

.field-error {
  min-height: 18px;
  color: var(--color-accent-strong);
  font-size: 0.84rem;
  line-height: 1.3;
}

.service-hint {
  margin: 0;
  border-left: 3px solid var(--color-accent);
  padding: 11px 14px;
  color: var(--color-brand-strong);
  background: rgba(208, 120, 69, 0.1);
  font-size: 0.93rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  color: var(--color-brand-strong);
  font-weight: 750;
}

.message-output {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.message-output[hidden] {
  display: none;
}

.final-cta {
  padding-block: 68px;
  color: #fff;
  background: var(--color-brand);
}

.final-cta h2 {
  margin-bottom: 0;
  color: #fff;
}

.final-cta .eyebrow {
  color: #ffc19b;
}

.final-grid {
  align-items: center;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding-block: 54px 28px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--color-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-grid p {
  max-width: 410px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-logo {
  width: 184px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.mobile-action-bar,
.noscript-note {
  display: none;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: #15916a;
  box-shadow: 0 16px 40px rgba(19, 38, 44, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(19, 38, 44, 0.3);
}

.floating-whatsapp img {
  width: 42px;
  height: 42px;
}

@media (min-width: 760px) {
  body {
    font-size: 1.04rem;
  }

  .container {
    width: calc(100vw - 64px);
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2.55rem;
  }
}

@media (min-width: 1120px) {
  .container {
    width: calc(100vw - 96px);
  }

  h1 {
    font-size: 4.55rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 1120px) {
  .need-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technical-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .need-card {
    min-height: auto;
  }

  .nav {
    gap: 14px;
  }

  .nav-menu {
    gap: 11px;
    font-size: 0.88rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: none;
  }

  .nav {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 18px;
    left: 18px;
    z-index: 120;
    display: grid;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu li + li {
    border-top: 1px solid var(--color-border);
  }

  .nav-menu a {
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 0;
  }

  .nav-overlay {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 110;
    display: block;
    background: rgba(19, 38, 44, 0.26);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .split-grid,
  .detail-grid,
  .quote-grid,
  .repair-grid,
  .compare-grid,
  .final-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-grid-reverse .image-frame {
    order: 2;
  }

  .split-grid-reverse .split-copy {
    order: 1;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .application-grid {
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 74px;
  }

  .container {
    width: calc(100vw - 28px);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(19, 38, 44, 0.9) 0%, rgba(19, 38, 44, 0.76) 64%, rgba(19, 38, 44, 0.34) 100%),
      linear-gradient(0deg, rgba(19, 38, 44, 0.72) 0%, rgba(19, 38, 44, 0.1) 56%);
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-content {
    padding-block: 82px 52px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.92rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 64px;
  }

  .need-grid,
  .service-grid,
  .technical-grid,
  .process-list,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 20px;
  }

  .footer-bottom {
    display: grid;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border);
    background: rgba(247, 242, 232, 0.96);
  }

  .mobile-action-bar .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 86px;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.18rem;
  }

  .brand-logo {
    width: 154px;
  }

  .footer-brand .brand-logo {
    width: 168px;
  }

  .hero-tags {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: var(--color-bg);
  }
}

noscript .noscript-note {
  display: block;
}

.noscript-note {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 200;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  color: #fff;
  background: var(--color-brand-strong);
  text-align: center;
}
