:root {
  --red: #c40018;
  --text: #111;
  --bg: #fff;
  --soft: #eeeeee;

  --ff-title: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --ff-body: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
}

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

/* ============ HEADER ============ */
.siteHeader{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background:#fff;
  border-bottom:1px solid #e7e7e7;
}

.siteHeader__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
}
.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 30px;
}

.mainNav__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== Dropdown SERVICIOS ===== */
.navDropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mainNav__btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* chevron rojo (por defecto apunta abajo) */
.navChevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  margin-top: -2px;
}

/* cuando está abierto: flecha hacia arriba */
.navDropdown.is-open .navChevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.navMenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 0;
  border: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  z-index: 60;
  text-transform: uppercase;
}

.navMenu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.navMenu a:hover {
  background: #f6f6f6;
}

.navChevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  margin-top: -2px;
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
}

.langPill {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(196, 0, 24, 0.18);
}

.pillChevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -2px;
}

.langMenu {
  position: absolute;
  right: calc((100vw - min(100% - 44px, var(--container))) / 2);
  top: 72px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.langMenu button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 0;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.langMenu button:hover {
  background: #f6f6f6;
}

.burger {
  display: none;
  width: 60px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  border: none;
}

.burger span {
  display: block;
  height: 2px;
  background: #111;
  margin: 6px 10px;
}

/* Mobile nav */
.mobileNav {
  padding: 10px 0 16px;
  border-top: 1px solid #eee;
}

.mobileNav a {
  display: block;
  padding: 10px calc((100vw - min(100% - 44px, var(--container))) / 2);
  text-decoration: none;
  color: #111;
  font-weight: 700;
  font-size: 13px;
}

/* ============ HERO ============ */
.heroSlider {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin-top: 89px;
}

.heroSlide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 900ms ease,
    transform 1400ms ease;
}

.heroSlide.is-active {
  opacity: 1;
  transform: scale(1);
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.heroContent {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heroTitle {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 14px;
}

.heroSub {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

/* Bottom gray */
.heroBottom {
  background: var(--soft);
  padding: 40px 0 40px;
}

.heroBottom__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.heroBottom__text {
  margin: 0;
  font-weight: 700;
  color: var(--red);
  font-size: 22px;
  line-height: 1.25;
  max-width: 760px;
}

.heroCta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(196, 0, 24, 0.25);
}

.heroCta__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.heroCta__icon img {
  width: 16px;
  height: 16px;
  display: block;
}

/* ===== MOBILE DROPDOWN ===== */

.mobileDropdown__btn {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 12px calc((100vw - min(100% - 44px, var(--container))) / 2);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobileChevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.mobileDropdown.is-open .mobileChevron {
  transform: rotate(-135deg);
}

.mobileDropdown__menu {background-color: whitesmoke;}

.mobileDropdown__menu a {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
  text-transform: uppercase;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .mainNav {
    gap: 18px;
  }
  .heroTitle {
    font-size: 44px;
  }
  .heroSub {
    font-size: 20px;
  }
  .heroBottom__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .mainNav {
    display: none;
  }
  .burger {
    display: inline-block;
  }

  .heroSlider {
    height: 360px;
  }
  .heroTitle {
    font-size: 38px;
  }
  .heroSub {
    font-size: 18px;
  }

  .heroBottom__text {
    font-size: 18px;
  }
  .heroCta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 425px) {
  .brand__logo {
    height: 40px;
  }
}

/* ===== Hero CTA arrow animation ===== */

.heroCta{
  display:inline-flex;
  align-items:center;
  gap:14px;
  transition:transform .2s ease;
}

.heroCta__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform 250ms cubic-bezier(.4,0,.2,1);
}

/* Movimiento horizontal suave */
.heroCta:hover .heroCta__icon,
.heroCta:focus-visible .heroCta__icon{
  transform:translateX(6px);
}

/* ===== Mobile nav typography (unificado) ===== */
.mobileNav a,
.mobileDropdown__btn,
.mobileDropdown__menu a{
  font-family: var(--ff-body);  /* Roboto */
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* nivel 1: EMPRESA / SERVICIOS / PROYECTOS / CONTACTO */
.mobileNav a,
.mobileDropdown__btn{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}

/* nivel 2: items del desplegable */
.mobileDropdown__menu a{
  font-weight: 700; /* igual al resto (si querés más liviano: 800) */
  font-size: 13px;
  line-height: 1.2;
  padding: 10px calc((100vw - min(100% - 44px, var(--container))) / 2 + 20px);
}

@media (max-width: 768px){
  .mobileNav a,
  .mobileDropdown__btn{
    font-size: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mobileDropdown__menu a{
    font-size: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.mobileDropdown__menu{
  background:#f3f3f3;
  padding: 6px 0;
}
.mobileDropdown__menu a:hover{
  background:#e9e9e9;
}

/* ===== FORZAR COLOR ROJO EN MENU ===== */

/* Desktop links */
.mainNav__link,
.mainNav__link:visited,
.mainNav__link:active {
  color: #111;
}

.mainNav__link:hover,
.mainNav__link:focus,
.mainNav__link.is-active {
  color: var(--red) !important;
}

/* Dropdown desktop */
.navMenu a:hover {
  color: var(--red);
}

/* Mobile links */
.mobileNav a,
.mobileNav a:visited,
.mobileDropdown__menu a {
  color: #111;
}

.mobileNav a:hover,
.mobileNav a.is-active,
.mobileDropdown__menu a:hover {
  color: var(--red) !important;
}

/* Matar azul Safari definitivamente */
.mainNav__link,
.mobileNav a,
.navMenu a,
.mobileDropdown__menu a {
  -webkit-text-fill-color: currentColor;
}

@media (max-width: 576px) {.heroSlider {margin-top: 68px;}}