:root {
  --black: #111111;
  --dark: #262626;
  --gray: #F3F4F6;
  --yellow: #FACC15;
  --white: #FFFFFF;
  --muted: #B8B8B8;
  --ink-muted: #5F6368;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--gray);
  color: var(--black);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(250, 204, 21, .22);
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(17, 17, 17, .82), rgba(17, 17, 17, .08));
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--yellow);
  color: var(--black);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.hero {
  position: relative;
  height: min(760px, 100svh);
  min-height: 680px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.hero-slides,
.hero-slide,
.hero-slide picture,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  margin: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity .8s ease;
  will-change: opacity;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide picture {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  background: var(--black);
  object-fit: contain;
  object-position: center top;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, .99) 0%, rgba(17, 17, 17, .9) 37%, rgba(17, 17, 17, .18) 72%, rgba(17, 17, 17, .35) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100%;
  padding-top: 96px;
  padding-bottom: 88px;
  align-items: flex-end;
}

.hero-content {
  width: 100%;
  max-width: 620px;
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: clamp(1.08rem, 4.6vw, 1.42rem);
  font-weight: 850;
  line-height: 1.45;
  text-wrap: balance;
}

.hero-copy {
  max-width: 550px;
  margin-bottom: 22px;
  color: #E5E5E5;
  font-size: .94rem;
  line-height: 1.75;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 12px 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.2;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.button svg,
.floating-contact-buttons svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.button-primary {
  background: var(--yellow);
  color: var(--black);
}

.button-primary svg {
  fill: currentColor;
}

.button-whatsapp {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(17, 17, 17, .58);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-whatsapp svg,
.floating-whatsapp svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.services {
  padding: 50px 0 44px;
  background: var(--gray);
}

.services h2 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 6vw, 2.25rem);
  font-weight: 900;
}

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

.service-card {
  display: grid;
  min-width: 0;
  min-height: 128px;
  padding: 16px 12px;
  align-content: center;
  justify-items: start;
  gap: 12px;
  border: 1px solid #DEE0E4;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(17, 17, 17, .045);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
  background: var(--black);
  color: var(--yellow);
}

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

.service-card h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.45;
}

.location {
  padding: 0 0 46px;
  background: var(--gray);
}

.location-card {
  display: grid;
  padding: 24px;
  gap: 18px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(17, 17, 17, .13);
}

.location-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--black);
}

.location-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.location-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 900;
}

.location-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

.location-button {
  width: 100%;
}

.location-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-footer {
  padding: 26px 0 calc(76px + env(safe-area-inset-bottom));
  background: var(--black);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: .78rem;
  text-align: center;
}

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

.floating-contact-buttons {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 1000;
  display: flex;
  direction: ltr;
  gap: 10px;
}

.floating-contact-buttons a {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.floating-call {
  background: var(--yellow);
  color: var(--black);
}

.floating-call svg {
  fill: currentColor;
}

.floating-whatsapp {
  background: #25D366;
  color: var(--white);
}

@media (hover: hover) {
  .button:hover,
  .floating-contact-buttons a:hover {
    transform: translateY(-1px);
  }

  .floating-contact-buttons a:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  }

  .button-primary:hover {
    background: #FDE047;
  }

  .button-whatsapp:hover {
    border-color: var(--yellow);
    color: var(--yellow);
  }

  .service-card:hover {
    border-color: #C9CCD2;
  }
}

@media (min-width: 681px) {
  .container {
    width: min(var(--container), calc(100% - 56px));
  }

  .header-inner {
    min-height: 80px;
  }

  .hero {
    height: 680px;
    min-height: 0;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, .28) 0%, rgba(17, 17, 17, .76) 56%, rgba(17, 17, 17, .96) 100%),
      linear-gradient(0deg, rgba(17, 17, 17, .66) 0%, transparent 55%);
  }

  .hero-inner {
    padding-top: 110px;
    padding-bottom: 64px;
  }

  .hero-content {
    width: min(58%, 620px);
  }

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

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

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

  .services {
    padding: 64px 0 52px;
  }

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

  .service-card {
    min-height: 150px;
    padding: 22px;
  }

  .location {
    padding-bottom: 58px;
  }

  .location-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 28px 30px;
    align-items: center;
  }

  .location-button {
    width: auto;
    min-width: 245px;
  }

}

@media (min-width: 681px) and (max-width: 900px) {
  .hero-slide img {
    object-position: left center;
  }
}

@media (max-width: 359px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: 650px;
  }

  .hero-copy {
    font-size: .88rem;
  }

  .button {
    font-size: .84rem;
  }

  .service-card {
    padding-inline: 10px;
  }

  .service-card h3 {
    font-size: .88rem;
  }
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

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

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