:root {
  --black: #090b0b;
  --coal: #101413;
  --panel: #141616;
  --panel-2: #181d1b;
  --steel: #9aa49e;
  --silver: #e7ebe7;
  --white: #ffffff;
  --green: #25d366;
  --red: #d43a2f;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--silver);
  background: var(--black);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.lightbox-open,
body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.55);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  color: var(--white);
  background: rgba(7, 10, 10, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(7, 10, 10, 0.92);
  border-color: rgba(37, 211, 102, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1320px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  width: auto;
  height: 62px;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 100%;
  max-width: min(220px, 48vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 54px) clamp(18px, 6vw, 96px) 104px;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(1.05);
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards, heroFade 1.15s ease both;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 7, 0.84) 0%, rgba(5, 7, 7, 0.58) 44%, rgba(5, 7, 7, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 7, 7, 0.14) 0%, rgba(5, 7, 7, 0.58) 100%);
}

.hero-content {
  width: min(820px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(27px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-text {
  width: min(670px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 28px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -58%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

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

.btn:hover::before {
  left: 116%;
}

.btn-call {
  color: var(--white);
  background: rgba(212, 58, 47, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-whatsapp {
  color: #061006;
  background: var(--green);
  border-color: var(--green);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 28px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 10px;
  transform: translateX(-50%);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

.section {
  padding: clamp(72px, 7.4vw, 112px) clamp(18px, 5vw, 72px);
}

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

.section-heading {
  width: min(800px, 100%);
  margin-bottom: clamp(30px, 4vw, 42px);
}

.about {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #0c0f0e;
  background-size: 36px 36px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.section-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--steel);
  font-size: clamp(17px, 1.7vw, 20px);
}

.about-panel {
  display: grid;
  gap: 16px;
}

.plate-card,
.metal-list span {
  border: 1px solid var(--line);
  background: rgba(20, 22, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.plate-card:hover,
.metal-list span:hover {
  border-color: rgba(37, 211, 102, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(37, 211, 102, 0.08);
  transform: translateY(-4px);
}

.plate-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: clamp(24px, 4vw, 38px);
  color: var(--white);
}

.plate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(37, 211, 102, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(212, 58, 47, 0.13), transparent 34%);
  pointer-events: none;
}

.plate-card > * {
  position: relative;
}

.plate-card span {
  display: block;
  color: var(--green);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 950;
  line-height: 0.9;
}

.plate-card strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  text-transform: uppercase;
}

.plate-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.metal-list span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--silver);
  border-left: 4px solid var(--green);
  font-weight: 850;
}

.services {
  background: #090b0b;
  scroll-margin-top: 88px;
  padding-top: clamp(88px, 7.6vw, 118px);
}

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

.service-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:nth-child(7):last-child {
  grid-column: 2 / span 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--green);
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: 6px;
  background: rgba(37, 211, 102, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.service-card h3 {
  min-height: 48px;
}

.service-card p {
  margin: auto 0 0;
  color: var(--steel);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 211, 102, 0.44);
  box-shadow: var(--shadow), 0 0 0 1px rgba(37, 211, 102, 0.08);
}

.service-card:hover .service-icon {
  border-color: rgba(37, 211, 102, 0.7);
  background: rgba(37, 211, 102, 0.11);
  transform: translateY(-3px);
}

.gallery {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #101413;
  background-size: 38px 38px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  grid-auto-rows: 155px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: zoom-in;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.42s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.66));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gallery-item span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

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

.gallery-item:hover span {
  transform: translateY(0) scale(1);
}

.map-section {
  width: 100vw;
  max-width: 100%;
  height: 30vh;
  min-height: 240px;
  margin-left: calc(50% - 50vw);
  background: var(--black);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.65) invert(0.08) contrast(1.05);
}

.site-footer {
  padding: 50px clamp(18px, 5vw, 72px) 18px;
  color: rgba(255, 255, 255, 0.76);
  background: #070909;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1.1fr;
  gap: 34px;
}

.footer-brand img {
  width: 230px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.12);
}

.footer-brand p {
  max-width: 440px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
}

.site-footer .copyright a {
  display: inline;
  margin: 0;
}

.site-footer a:hover,
.copyright a {
  color: var(--green);
}

.copyright {
  width: min(1180px, 100%);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(10px, 1.25vw, 13px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-actions {
  position: fixed;
  right: clamp(15px, 2vw, 26px);
  bottom: clamp(18px, 3vw, 30px);
  z-index: 30;
  display: grid;
  gap: 11px;
}

.fixed-actions a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.fixed-actions img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.fixed-actions a:hover {
  transform: translateY(-3px) scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(7, 10, 10, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, 96vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

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

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

.hero .reveal {
  opacity: 1;
  transform: none;
}

.gallery .reveal {
  transform: scale(0.98) translateY(16px);
}

.gallery .reveal.visible {
  transform: scale(1) translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.01);
  }
}

@keyframes heroFade {
  from {
    opacity: 0.72;
  }
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 17px);
  }
}

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

  .service-card:nth-child(7):last-child {
    grid-column: 1 / -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .site-header,
  .site-header.scrolled,
  .site-header.menu-open {
    height: auto;
  }

  .header-inner {
    height: var(--header-h);
    align-items: center;
    padding: 0 16px;
  }

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

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: auto;
    padding: 24px 20px;
    color: var(--white);
    background: #0b0d0c;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(12px);
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    text-align: center;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav a::after {
    display: none;
  }

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

  .hero {
    width: 100vw;
    max-width: 100vw;
    min-height: 100svh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 96px 18px 110px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 7, 0.76), rgba(5, 7, 7, 0.48)),
      linear-gradient(180deg, rgba(5, 7, 7, 0.08), rgba(5, 7, 7, 0.64));
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(28px, 9.2vw, 40px);
    line-height: 1.03;
  }

  .hero-text {
    max-width: 320px;
    font-size: clamp(15px, 4.2vw, 17px);
  }

  .hero-actions {
    display: grid;
    width: min(300px, 100%);
    max-width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

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

  .services {
    scroll-margin-top: 76px;
    padding-top: 82px;
  }

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

  .service-card:nth-child(7):last-child {
    grid-column: auto;
  }

  .service-card h3 {
    min-height: 0;
  }

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

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 2;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .section {
    padding-inline: 16px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .hero {
    padding: 92px 16px 112px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(27px, 8.9vw, 36px);
  }

  .hero-text {
    max-width: 300px;
  }

  .hero-actions {
    width: min(290px, 100%);
  }

  .metal-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
  }

  .fixed-actions {
    right: 12px;
    bottom: 14px;
    gap: 9px;
  }

  .fixed-actions a {
    width: 46px;
    height: 46px;
  }

  .fixed-actions img {
    width: 40px;
    height: 40px;
  }

  .copyright {
    font-size: 8.8px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 27px;
  }

  .hero-text {
    font-size: 15px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 18px;
  }
}

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