:root {
  --burgundy-950: #30060d;
  --burgundy-900: #4d0915;
  --burgundy-800: #6f1020;
  --burgundy-700: #8d182c;
  --burgundy-600: #a72137;
  --ink: #151517;
  --text: #28282c;
  --muted: #666a73;
  --line: #dedfe4;
  --gray-50: #f7f7f8;
  --gray-100: #efeff2;
  --gray-200: #dedfe5;
  --white: #ffffff;
  --whatsapp: #1f9d55;
  --shadow: 0 18px 45px rgba(22, 18, 20, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 92px 0;
}

.topline {
  background: var(--burgundy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar strong {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(222, 223, 229, 0.75);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 26px rgba(20, 16, 18, 0.09);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--burgundy-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--burgundy-700);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(141, 24, 44, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--burgundy-800);
}

.btn-secondary {
  background: var(--ink);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--burgundy-800);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.quick-quote .btn-ghost,
.cookie-banner .btn-ghost {
  color: var(--burgundy-800);
  border-color: var(--line);
  background: var(--white);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(48, 6, 13, 0.94), rgba(48, 6, 13, 0.67) 48%, rgba(21, 21, 23, 0.2)),
    linear-gradient(180deg, rgba(15, 15, 18, 0.06), rgba(15, 15, 18, 0.45));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 56px;
  padding: 72px 0 108px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--burgundy-600);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: 4.8rem;
  line-height: 0.98;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  gap: 12px;
}

.proof-line {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-line strong {
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
}

.proof-line span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.strip-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-grid span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.strip-grid span:last-child {
  border-right: 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.quote-copy h2,
.section-head h2,
.feature-content h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.12;
}

.quote-copy p,
.section-head p,
.feature-content p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.quote-form,
.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.quote-form label,
.contact-form label {
  display: grid;
  gap: 8px;
}

.quote-form span,
.contact-form span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-form .full,
.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--gray-50);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--burgundy-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(141, 24, 44, 0.12);
}

.services,
.about {
  background: var(--gray-50);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(20, 18, 20, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(141, 24, 44, 0.42);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  background: var(--gray-100);
}

.service-card div {
  padding: 22px;
}

.service-card h3,
.process-step h3,
.area-panel h3,
.site-footer h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.service-card p,
.process-step p,
.area-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--burgundy-700);
  font-weight: 900;
}

.service-card a svg {
  width: 17px;
  height: 17px;
}

.service-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-more span {
  color: var(--ink);
  font-weight: 900;
}

.service-more a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--burgundy-800);
  background: var(--gray-50);
  font-size: 0.92rem;
  font-weight: 850;
  transition: border-color 180ms ease, background 180ms ease;
}

.service-more a:hover,
.service-more a:focus-visible {
  border-color: rgba(141, 24, 44, 0.5);
  background: rgba(141, 24, 44, 0.08);
}

.feature-band {
  background: var(--white);
}

.feature-layout,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-100);
}

.feature-image img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.feature-list svg {
  width: 22px;
  height: 22px;
  color: var(--burgundy-700);
  flex: 0 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 185px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--gray-100);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 6, 13, 0), rgba(48, 6, 13, 0.46));
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.process {
  background: var(--burgundy-950);
  color: var(--white);
}

.process .section-head h2,
.process .section-head p {
  color: var(--white);
}

.process .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 2.1rem;
  font-weight: 900;
}

.process-step svg {
  width: 34px;
  height: 34px;
  color: var(--white);
  margin-bottom: 28px;
}

.process-step h3 {
  color: var(--white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.about-copy p {
  font-size: 1.02rem;
}

.area-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.area-tags span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gray-50);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.contact {
  background:
    linear-gradient(90deg, rgba(48, 6, 13, 0.97), rgba(77, 9, 21, 0.92)),
    url("assets/images/galeri-52.webp") center/cover;
  color: var(--white);
}

.contact .eyebrow,
.contact-copy h2,
.contact-copy p {
  color: var(--white);
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
}

.contact-form button {
  grid-column: 1 / -1;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
}

.footer-logo {
  width: 220px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 16px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.site-footer a,
.site-footer button {
  display: table;
  margin: 9px 0;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  text-align: left;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer button:hover,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  color: var(--white);
}

.footer-wa {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  color: var(--white) !important;
}

.footer-wa svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  max-width: 780px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner strong {
  color: var(--ink);
}

.cookie-banner p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 65;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(31, 157, 85, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
}

.float-whatsapp:hover,
.float-whatsapp:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.1);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.modal.is-open,
.lightbox.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.6);
}

.modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 720px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.policy-content {
  padding: 36px;
}

.policy-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 2rem;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.75;
}

.lightbox {
  background: rgba(8, 8, 10, 0.86);
}

.lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 980px);
  max-height: calc(100% - 80px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate3d(-10px, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(12px, -8px, 0);
  }
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 16px;
  }

  .hero-inner,
  .quote-layout,
  .feature-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .proof-line {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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

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

@media (max-width: 860px) {
  .topbar {
    justify-content: center;
    text-align: center;
  }

  .topbar span:first-child {
    display: none;
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand img {
    width: 176px;
    height: 46px;
  }

  .main-nav {
    position: fixed;
    inset: 110px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

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

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

  .strip-grid span:nth-child(2) {
    border-right: 0;
  }

  .strip-grid span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .section-pad {
    padding: 68px 0;
  }

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

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    gap: 26px;
    padding: 54px 0 152px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions,
  .cookie-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .proof-line {
    grid-template-columns: 68px 1fr;
    padding: 12px 0;
  }

  .proof-line strong {
    font-size: 2.3rem;
  }

  .quote-copy h2,
  .section-head h2,
  .feature-content h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2rem;
  }

  .service-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-image img {
    min-height: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 86px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .policy-content {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
