:root {
  --ink: #071b2f;
  --ink-soft: #243346;
  --gold: #b9872f;
  --gold-light: #d7ad59;
  --steel: #5a6470;
  --mist: #f5f6f4;
  --paper: #ffffff;
  --line: #dde3e8;
  --success: #1b6e4a;
  --danger: #9b2f2f;
  --shadow: 0 18px 45px rgba(7, 27, 47, 0.12);
  --container: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

a:hover {
  color: var(--gold);
}

p {
  margin: 0 0 1rem;
}

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

h1 {
  font-size: 3.5rem;
  max-width: 850px;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.18rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(221, 227, 232, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 236px;
  min-width: 190px;
}

.brand img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--mist);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.button-primary:hover {
  background: #9d7429;
  color: #fff;
}

.button-secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button-secondary:hover {
  background: #0d2a47;
  color: #fff;
}

.button-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.button-outline:hover {
  background: #fff;
  color: var(--ink);
}

.hero {
  min-height: calc(88vh - var(--header-height));
  display: grid;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(7, 27, 47, 0.82) 0%, rgba(7, 27, 47, 0.58) 43%, rgba(7, 27, 47, 0.08) 100%),
    image-set(url("../img/hero-renovation.webp") type("image/webp"), url("../img/hero-renovation.png") type("image/png"));
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 760px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
}

.hero p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.quick-strip {
  background: var(--ink);
  color: #fff;
}

.quick-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.quick-item {
  min-height: 96px;
  padding: 22px;
  background: var(--ink);
}

.quick-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
}

.quick-item span {
  color: rgba(255, 255, 255, 0.78);
}

.quick-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head p {
  margin-top: 14px;
  color: var(--steel);
  font-size: 1.08rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.service-card,
.value-card,
.process-step,
.contact-card,
.legal-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.service-card picture,
.project-card picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.service-card img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-body p,
.value-card p,
.process-step p,
.contact-card p,
.legal-card p {
  color: var(--steel);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(185, 135, 47, 0.35);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(185, 135, 47, 0.08);
  font-size: 0.9rem;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split-media {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead {
  font-size: 1.16rem;
  color: var(--steel);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 13px;
  height: 13px;
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.value-card,
.process-step,
.contact-card,
.legal-card {
  padding: 24px;
}

.value-mark,
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--gold-light);
  font-weight: 800;
}

.process-step {
  min-height: 210px;
}

.page-hero {
  padding: 74px 0 52px;
  background: var(--ink);
  color: #fff;
}

.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(7, 27, 47, 0.88), rgba(7, 27, 47, 0.64), rgba(7, 27, 47, 0.22)),
    image-set(url("../img/chantier-renovation.webp") type("image/webp"), url("../img/chantier-renovation.png") type("image/png"));
  background-size: cover;
  background-position: center;
}

.page-hero p {
  max-width: 740px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(185, 135, 47, 0.09);
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  background: rgba(185, 135, 47, 0.1);
  color: var(--gold);
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card a {
  font-weight: 750;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.field label,
.consent label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd7df;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(185, 135, 47, 0.2);
  border-color: var(--gold);
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 22px;
  color: var(--steel);
  font-size: 0.95rem;
}

.consent input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.form-note,
.form-status {
  margin-top: 14px;
  color: var(--steel);
  font-size: 0.95rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(27, 110, 74, 0.1);
  color: var(--success);
}

.form-status.is-error {
  background: rgba(155, 47, 47, 0.1);
  color: var(--danger);
}

.map-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
}

.map-consent {
  display: grid;
  align-content: center;
  min-height: 330px;
  padding: 30px;
}

.map-consent p {
  max-width: 600px;
  color: var(--steel);
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
}

.legal-content {
  max-width: 920px;
}

.legal-content h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
}

.legal-content a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(185, 135, 47, 0.45);
  text-underline-offset: 4px;
}

.project-card .caption {
  margin-top: 12px;
  color: var(--steel);
  font-size: 0.94rem;
}

.service-detail-grid {
  align-items: start;
}

.service-detail-card h2 {
  font-size: 1.45rem;
}

.service-detail {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.service-detail summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.service-detail summary:hover {
  color: var(--gold);
}

.service-detail ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--steel);
}

.service-simple-list {
  max-width: 880px;
}

.spaced-grid {
  margin-top: 28px;
}

.site-footer {
  background: #061827;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 34px;
  padding: 52px 0;
}

.footer-logo {
  width: 210px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.footer-main p,
.footer-main li {
  color: rgba(255, 255, 255, 0.74);
}

.footer-main h2,
.footer-main h3 {
  margin-bottom: 14px;
  font-size: 1.06rem;
}

.footer-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-list a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(7, 27, 47, 0.22);
}

.whatsapp-float img {
  width: 31px;
  height: 31px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

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

  h2 {
    font-size: 1.95rem;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    min-height: 48px;
    padding: 0 12px;
  }

  .quick-strip-inner,
  .grid-3,
  .grid-4,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    width: 184px;
    min-width: 160px;
  }

  .brand img {
    height: 50px;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero {
    min-height: 76vh;
    background-position: 58% center;
  }

  .hero-content {
    padding: 48px 0;
  }

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

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 52px 0 40px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .card-body,
  .value-card,
  .process-step,
  .contact-card,
  .legal-card,
  .contact-form {
    padding: 20px;
  }

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

  .footer-bottom {
    display: grid;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }
}
