:root {
  --primary: #0a0a0b;
  --primary-2: #1c1c1f;
  --accent: #ef7a00;
  --accent-2: #ff9a2f;
  --accent-soft: rgba(239, 122, 0, 0.10);
  --dark: #0a0a0b;
  --text: #14141a;
  --text-soft: #63636f;
  --white: #ffffff;
  --light: #f6f6f8;
  --light-2: #eeeef1;
  --peach: #ef7a00;
  --border: rgba(10, 10, 15, 0.08);
  --border-soft: rgba(10, 10, 15, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 10, 20, 0.06);
  --shadow: 0 20px 50px rgba(10, 10, 20, 0.10);
  --shadow-lg: 0 30px 80px rgba(10, 10, 20, 0.16);
  --shadow-accent: 0 16px 40px rgba(239, 122, 0, 0.24);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.35s var(--ease);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Montserrat", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Reveal-on-scroll (JS toggles .in-view) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(10, 10, 20, 0.06);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.logo:hover img {
  transform: scale(1.03);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a,
.nav-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
}

.main-nav a:hover,
.nav-btn:hover {
  color: var(--primary);
  background: var(--light);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 28px;
  cursor: pointer;
}

/* PANEL NOSOTROS */
.dropdown-panel {
  display: grid;
  grid-template-rows: 0fr;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid transparent;
  transition: grid-template-rows 0.4s var(--ease);
}

.dropdown-panel.active {
  grid-template-rows: 1fr;
  border-bottom-color: var(--border-soft);
  box-shadow: 0 20px 45px rgba(10, 10, 20, 0.06);
}

.dropdown-panel > .panel-box {
  overflow: hidden;
}

.panel-box {
  padding: 0 0 0;
  color: var(--text);
}

.dropdown-panel.active .panel-box {
  padding: 32px 0 38px;
}

.panel-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-box p {
  max-width: 980px;
  color: var(--text-soft);
}

/* DROPDOWN SERVICIOS */
.dropdown-service {
  position: relative;
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-6px);
}

.services-dropdown.active {
  display: block;
  animation: dropIn 0.28s var(--ease) forwards;
}

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

.dropdown-service-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.dropdown-service-item:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateX(3px);
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease), transform 8s var(--ease);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 20%, rgba(239, 122, 0, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 940px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 999px;
}

/* BUTTON */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 50px rgba(239, 122, 0, 0.34);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

/* SECTIONS */
.section {
  padding: 110px 0;
}

.section-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 52px;
}

.section-heading.left {
  text-align: left;
  margin: 0;
}

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

.section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-kicker.light {
  color: #ffb877;
}

.section-heading h2,
.ethics-left h2,
.contact-info h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 800;
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* SOLUTIONS */
.solutions-overview {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.solution-cards {
  display: grid;
  gap: 22px;
}

.solution-cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.solution-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 3;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.solution-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s var(--ease);
  border-radius: var(--radius-lg);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.05), rgba(10,10,15,0.92));
  border-radius: var(--radius-lg);
}

.solution-overlay {
  position: absolute;
  z-index: 4;
  inset: auto 0 0 0;
  padding: 26px 24px 24px;
  color: #fff;
  transform: translateY(14px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solution-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.solution-overlay p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
}

.solution-card:hover .solution-image,
.solution-card.active .solution-image {
  transform: scale(1.06);
}

.solution-card:hover .solution-overlay,
.solution-card.active .solution-overlay {
  transform: translateY(0);
}

.solution-card:hover .solution-overlay p,
.solution-card.active .solution-overlay p {
  opacity: 1;
  max-height: 160px;
  margin-bottom: 14px;
}

.card-link {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  margin-top: auto;
}

.card-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* SERVICES DETAIL */
.services-detail {
  background: linear-gradient(135deg, #ef7a00 0%, #f28b1c 100%);
  padding-top: 100px;
  position: relative;
  z-index: 2;
}

.services-detail .container {
  position: relative;
  z-index: 5;
}

.services-detail-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.services-detail .section-kicker {
  color: rgba(255,255,255,0.9);
}

.services-detail .section-kicker::before {
  background: #fff;
}

.services-detail .section-heading h2 {
  color: #ffffff;
}

.services-detail .section-heading p {
  color: rgba(255, 255, 255, 0.88);
}

.service-content {
  display: none;
}

.service-content.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  align-items: start;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255,255,255,0.3);
}

.service-item-icon {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.service-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-item-content h3,
.service-item h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-item-content p,
.service-item p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.service-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 500px;
  background: rgba(255,255,255,0.16);
}

.service-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.6s var(--ease);
}

/* ETHICS */
.ethics-section {
  background: linear-gradient(135deg, #0a0a0b 0%, #17171a 55%, #222226 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.ethics-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239,122,0,0.16), transparent 70%);
  pointer-events: none;
}

.ethics-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ethics-left h2 {
  color: #fff;
  margin-bottom: 0;
}

.ethics-right p {
  color: rgba(255,255,255,0.82);
  font-size: 1.04rem;
  line-height: 1.8;
}

/* CLIENTS */
.clients-section {
  background: var(--light);
}

.clients-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: scrollClients 30s linear infinite;
}

.client-logo {
  width: 220px;
  height: 110px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: var(--transition);
}

.client-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scrollClients {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CONTACT */
.contact-section {
  position: relative;
  color: white;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.5), rgba(5, 5, 8, 0.62)),
    url('img/contacto-bg.jpg') center/cover no-repeat;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-info h2 {
  color: white;
}

.contact-info p,
.contact-info a {
  color: rgba(255,255,255,0.88);
}

.contact-info a {
  transition: color 0.25s ease;
}

.contact-info a:hover {
  color: var(--accent-2);
}

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid transparent;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: #14141a;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239,122,0,0.18);
}

.form-grid textarea {
  min-height: 136px;
  resize: vertical;
  grid-row: span 2;
}

.form-btn {
  width: fit-content;
  min-width: 160px;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-size: 0.88rem;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .solution-cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .solution-cards-3,
  .service-grid,
  .contact-wrapper,
  .ethics-box {
    grid-template-columns: 1fr;
  }

  .services-detail-top {
    flex-direction: column;
    align-items: start;
  }

  .service-image-frame,
  .service-image-frame img {
    min-height: 380px;
  }
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-soft);
    padding: 18px 0;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: min(1180px, 92%);
    margin: 0 auto;
    gap: 6px;
  }

  .main-nav a,
  .nav-btn {
    width: 100%;
  }

  .hero {
    min-height: 82vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

  .form-grid textarea {
    grid-row: auto;
  }

  .form-btn {
    width: 100%;
  }

  .services-dropdown {
    position: static;
    margin-top: 10px;
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 76px 0;
  }

  .solution-cards-3 {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 260px;
  }

  .solution-overlay h3 {
    font-size: 1.05rem;
  }

  .client-logo {
    width: 180px;
    height: 100px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .services-detail {
    padding-top: 72px;
  }

  .service-item {
    grid-template-columns: 60px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .service-item-icon {
    width: 60px;
    height: 60px;
    padding: 2px;
  }

  .service-item-content h3 {
    font-size: 1rem;
  }

  .service-item-content p {
    font-size: 0.9rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

/* SOLUTION CARDS — 4 columnas */
.solution-cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1180px) {
  .solution-cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .solution-cards-4 {
    grid-template-columns: 1fr;
  }
}

/* Badge "Nuevo" en la card */
.solution-new-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* Badge "Nuevo" en el dropdown */
.dropdown-service-item--new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-new-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* BANNER HOME INSPECTION en index */
.hi-home-banner {
  background: linear-gradient(135deg, #0a0a0b 0%, #17171a 50%, #202024 100%);
  color: #fff;
  padding-block: 100px;
  overflow: hidden;
  position: relative;
}

.hi-home-banner::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(239,122,0,0.14), transparent 70%);
  pointer-events: none;
}

.hi-home-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hi-home-banner__text .section-kicker {
  color: var(--accent);
}

.hi-home-banner__text h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
}

.hi-home-banner__text p {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hi-home-banner__stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hi-home-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hi-home-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hi-home-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  max-width: 120px;
  line-height: 1.4;
}

.hi-home-banner__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hi-home-banner__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hi-home-banner__img-placeholder {
  background: linear-gradient(135deg, #202024 0%, #2a2a2e 100%);
  min-height: 460px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hi-home-banner__badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(239,122,0,.4);
  font-size: 0.82rem;
}

.hi-home-banner__badge strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

@media (max-width: 1024px) {
  .hi-home-banner__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hi-home-banner__image img {
    height: 320px;
  }

  .hi-home-banner__badge {
    bottom: -0.75rem;
    left: 1rem;
  }
}

/* LISTA CON SCROLL PARA SERVICIOS CON MÁS DE 4 ITEMS */
.service-list-scroll {
  max-height: 560px;
  overflow-y: auto;
  padding-right: 12px;
  scroll-behavior: smooth;
}

/* Mejora visual del scroll */
.service-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.service-list-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.service-list-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.service-list-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.75);
}

/* Ajuste para que las tarjetas sean más compactas y entren mejor 4 visibles */
.service-item {
  padding: 18px 20px;
}

.service-item-icon {
  width: 70px;
  height: 70px;
}

.service-item-content h3,
.service-item h3 {
  font-size: 1rem;
}

.service-item-content p,
.service-item p {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Responsive: en tablet y celular se elimina altura fija para evitar cortes incómodos */
@media (max-width: 1024px) {
  .service-list-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .service-image-frame,
  .service-image-frame img {
    min-height: 360px;
  }
}

/* FORMULARIO DESCARGA BROCHURE */
.brochure-form-box {
  display: none;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.brochure-form-box.active {
  display: block;
  animation: brochureFade 0.4s var(--ease);
}

.brochure-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: center;
}

.brochure-form input {
  width: 100%;
  border: 1px solid transparent;
  outline: none;
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  font-size: 0.92rem;
  color: #14141a;
  background: rgba(255, 255, 255, 0.95);
  transition: var(--transition);
}

.brochure-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239,122,0,0.18);
}

.brochure-form input::placeholder {
  color: #888;
}

.brochure-submit {
  grid-column: 1 / -1;
  width: fit-content;
  margin: 4px auto 0;
}

@keyframes brochureFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@media (max-width: 760px) {
  .brochure-form {
    grid-template-columns: 1fr;
  }

  .brochure-submit {
    width: 100%;
  }
}

/* Ocultar puntos del hero cuando se abre el formulario del brochure */
.hero-dots.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Focus visible accesible */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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