:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --paper: #f6f3ee;
  --surface: #ffffff;
  --line: #d8dee6;
  --red: #c8242f;
  --red-dark: #9d1721;
  --steel: #324054;
  --blue: #1f5d7a;
  --green: #267060;
  --shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
  --lime-fluo: #bfff00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: max(760px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding-top: 96px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.9) 0%, rgba(8, 13, 22, 0.67) 39%, rgba(8, 13, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 13, 22, 0.75) 0%, rgba(8, 13, 22, 0) 34%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 72px) 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f0b5b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red);
}

.eyebrow.light {
  color: #ffcd90;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.section-heading.split,
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

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

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

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

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

.button.compact {
  min-height: 42px;
  background: var(--ink);
  color: #fff;
}

.button.full {
  width: 100%;
}

.map-button {
  gap: 8px;
}

.hero-metrics {
  margin-top: 32px;
}

.hero-metrics span {
  width: 168px;
  min-height: 78px;
  padding: 14px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.hero-metrics strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.section,
.intro-band,
.process,
.location-band {
  padding: clamp(64px, 8vw, 112px) 0;
}

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

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.intro-band {
  background: #fff;
}

.intro-copy p,
.location-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.text-link {
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.section-heading.split {
  max-width: none;
  justify-content: space-between;
  align-items: end;
}

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

.service-card,
.work-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  border-color: var(--red);
}

.service-card p,
.work-card p {
  color: var(--muted);
  line-height: 1.6;
}

.card-icon {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 800;
}

.process {
  background: var(--steel);
  color: #fff;
}

.process .section-heading {
  max-width: 850px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.process-steps div {
  min-height: 190px;
  padding: 26px;
  background: var(--steel);
}

.process-steps strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.process-steps p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

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

.work-card {
  overflow: hidden;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.work-card div:last-child {
  padding: 22px;
}

.work-photo {
  height: 190px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-photo {
  transform: scale(1.08);
}

.work-photo-a {
  background-image: linear-gradient(135deg, rgba(200, 36, 47, 0.86), rgba(50, 64, 84, 0.88)), url("assets/hero-taller.webp");
}

.work-photo-b {
  background-image: linear-gradient(135deg, rgba(31, 93, 122, 0.82), rgba(17, 24, 39, 0.88)), url("assets/hero-taller.webp");
}

.work-photo-c {
  background-image: linear-gradient(135deg, rgba(38, 112, 96, 0.82), rgba(17, 24, 39, 0.88)), url("assets/hero-taller.webp");
}

.location-band {
  background: #121821;
  color: #fff;
}

.location-band h2 {
  margin-bottom: 18px;
}

.contact-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-group {
  margin-bottom: 28px;
}

.contact-group:last-child {
  margin-bottom: 0;
}

.phone {
  display: inline-block;
  color: var(--lime-fluo);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.phone:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.email {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  word-break: break-all;
}

.email:hover {
  color: var(--lime-fluo);
  transform: translateX(4px);
}

.afip-group {
  margin-top: 36px;
}

.afip-group a {
  display: inline-block;
  border-radius: 4px;
  overflow: hidden;
}

.afip-group img {
  display: block;
  width: 50px;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.95);
}

.afip-group a:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.contact-card p {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

.address-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pin-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 1px;
}

.pin-icon.small {
  width: 20px;
  height: 20px;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: #0b111a;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1fb65f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 182, 95, 0.34);
}

.floating-whatsapp svg {
  width: 33px;
  height: 33px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

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

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

  .hero {
    min-height: 860px;
    padding-top: 88px;
  }

  .hero-content {
    margin-bottom: 38px;
  }

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

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

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 98svh;
    padding-top: 82px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 13, 22, 0.88) 0%, rgba(8, 13, 22, 0.66) 100%),
      linear-gradient(0deg, rgba(8, 13, 22, 0.7) 0%, rgba(8, 13, 22, 0) 40%);
  }

  .hero-actions .button,
  .hero-metrics span {
    width: 100%;
  }

  .hero-content {
    margin-bottom: 88px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 54px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-metrics {
    display: none;
  }

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

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

  .section-heading.split {
    align-items: start;
  }

  .site-footer {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 56px;
    height: 56px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 5px;
  border: 2px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-dark);
}

/* WhatsApp Hover Animation */
.floating-whatsapp {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 182, 95, 0.45);
}

/* Map Container Styling */
.map-container {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 280px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(0.9) contrast(1.2) opacity(0.85);
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.map-container:hover iframe {
  filter: grayscale(0) invert(0) contrast(1) opacity(1);
}

/* Animations: Scroll Reveal & Load */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.hero-content .fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.hero-content .fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.hero-content .fade-in-up:nth-child(4) { animation-delay: 0.4s; }

.hero-metrics span {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-metrics span[style*="--delay: 1"] { animation-delay: 0.5s; }
.hero-metrics span[style*="--delay: 2"] { animation-delay: 0.6s; }
.hero-metrics span[style*="--delay: 3"] { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal[style*="--delay: 1"] { transition-delay: 0.1s; }
.reveal[style*="--delay: 2"] { transition-delay: 0.2s; }
.reveal[style*="--delay: 3"] { transition-delay: 0.3s; }
.reveal[style*="--delay: 4"] { transition-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.copyright {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
}

