:root {
  --ink: #111315;
  --muted: #5e646b;
  --soft: #f5f6f7;
  --line: #dedfe2;
  --red: #c8131d;
  --red-dark: #910b13;
  --white: #ffffff;
  --charcoal: #1b1d20;
  --shadow: 0 18px 45px rgba(17, 19, 21, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(222, 223, 226, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  width: 176px;
  height: 58px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

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

.nav-links a {
  padding: 10px 14px;
  color: #2d3034;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--red);
  background: #f2f2f3;
}

.nav-contact {
  min-width: 260px;
  display: grid;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid rgba(200, 19, 29, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(17, 19, 21, 0.08);
}

.nav-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #24272b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-contact i {
  width: 14px;
  color: var(--red);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background-image: url("img/hero-workshop.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.92) 0%, rgba(8, 9, 10, 0.74) 42%, rgba(8, 9, 10, 0.32) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.56), rgba(8, 9, 10, 0.12));
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 96px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.55;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(200, 19, 29, 0.32);
}

.btn-primary:hover {
  background: var(--red-dark);
}

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

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section {
  padding: 88px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.copy h2,
.section-heading h2,
.contact-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

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

.about-panel img {
  width: min(420px, 100%);
  height: 190px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.about-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #303338;
  font-weight: 800;
}

.about-panel i,
.contact-list i {
  color: var(--red);
}

.services,
.faq {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 34px;
}

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

.service-card,
.why-item {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.why-item:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 19, 29, 0.36);
  box-shadow: var(--shadow);
}

.service-card > i,
.why-item > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 20px;
}

.service-card h3,
.why-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.service-card p,
.why-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 300px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
}

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

.gallery-item.full {
  grid-column: 1 / -1;
  min-height: 360px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(12, 13, 15, 0.72);
  font-weight: 800;
}

.references {
  background: var(--soft);
}

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

.reference-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 19, 29, 0.34);
  box-shadow: var(--shadow);
}

.reference-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.reference-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.reference-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.why {
  background: var(--charcoal);
  color: var(--white);
}

.why .section-kicker {
  color: #ff4b55;
}

.why-item {
  min-height: 230px;
  color: var(--white);
  background: #24272b;
  border-color: rgba(255, 255, 255, 0.1);
}

.why-item p {
  color: rgba(255, 255, 255, 0.74);
}

.narrow {
  width: min(880px, calc(100% - 32px));
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

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

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.map-wrap {
  height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  color: var(--white);
  background: #101113;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 0;
}

.footer-brand img {
  width: 190px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.08);
}

.footer-brand p {
  max-width: 500px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact {
  display: grid;
  gap: 8px;
  text-align: right;
  font-weight: 800;
}

.footer-contact a:hover,
.footer-bottom a:hover {
  color: #ff4b55;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.float-btn.call {
  background: var(--red);
}

.float-btn.whatsapp {
  background: #25d366;
}

.float-btn.instagram {
  background: #e4405f;
}

.float-btn.mail {
  background: #2563eb;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    order: 3;
  }

  .nav {
    min-height: auto;
    padding: 8px 0;
    gap: 10px;
  }

  .nav-actions {
    order: 2;
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
    gap: 10px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 14px;
  }

  .nav-contact {
    min-width: 0;
    width: min(260px, 100%);
    padding: 7px 9px;
  }

  .hero {
    min-height: 760px;
    background-position: 44% center;
  }

  .hero-content {
    padding: 54px 0 90px;
  }

  .two-column,
  .contact-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    width: 150px;
    height: 52px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner,
  .narrow,
  .hero-content,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 800px;
    background-position: 37% center;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .why-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .map-wrap {
    min-height: 250px;
    height: 300px;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    text-align: left;
  }
}
