/* Gotham — brand font */
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/Gotham-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('/assets/fonts/Gotham-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/* Montserrat fallback via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap');

:root {
  --naranja: #ff5733;
  --blanco: #ffffff;
  --gris-claro: #f5f5f5;
  --negro: #1a1a1a;
  --texto: #4a4a4a;
}

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

body {
  font-family: 'Gotham', 'Montserrat', sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
}

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

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

main {
  margin-top: 90px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  font-weight: 600;
  background: var(--naranja);
  color: var(--blanco);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 87, 51, 0.3);
}

.btn-cta {
  background: var(--naranja);
  color: var(--blanco);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--blanco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a,
.nav-links span {
  color: var(--negro);
  font-weight: 500;
}

.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown span {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--blanco);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a {
  color: var(--negro);
  font-weight: 500;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-inner img {
  height: 48px;
}

/* Hero */
.hero {
  height: calc(100vh - 90px);
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('/assets/images/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 2rem;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.hero .location {
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-weight: 500;
}

.hero-list li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Problemas */
.problemas {
  background: var(--gris-claro);
  padding: 4.5rem 2rem;
}

.problemas-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.problemas .texto h2 {
  color: var(--negro);
  margin-bottom: 1rem;
}

.problemas .texto ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
}

.problemas .imagen {
  min-height: 320px;
  border-radius: 20px;
  background: url('/assets/images/us.png') center/cover no-repeat;
}

/* Visualización */
.visualizacion {
  background: var(--naranja);
  color: var(--blanco);
  padding: 4rem 2rem;
  text-align: center;
}

.visualizacion .content {
  max-width: 900px;
  margin: 0 auto;
}

.visualizacion h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.visualizacion .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.visualizacion .item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 16px;
}

.visualizacion .final {
  font-weight: 600;
}

/* Servicios */
.servicios {
  padding: 5rem 2rem;
}

.servicios-header {
  text-align: center;
  margin-bottom: 3rem;
}

.servicios-header h2 {
  font-size: 2.5rem;
  color: var(--negro);
}

.servicios-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.servicio-item {
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: var(--blanco);
}

.servicio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85));
  transition: background 0.3s ease;
}

.servicio-item:hover::before {
  background: rgba(255, 87, 51, 0.85);
}

.servicio-item .content {
  position: relative;
  z-index: 1;
}

.servicio-item h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.servicio-item p {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.servicio-item:hover p {
  opacity: 1;
  transform: translateY(0);
}

.servicio-item.small {
  height: 350px;
}

.related-gallery {
  gap: 1.25rem;
}

.location-gallery {
  gap: 1.25rem;
}

/* Diferenciadores */
.diferenciadores {
  background: var(--gris-claro);
  padding: 4.5rem 2rem;
  text-align: center;
}

.diferenciadores h2 {
  font-size: 2.3rem;
  color: var(--negro);
  margin-bottom: 2.5rem;
}

.grid-4 {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.grid-4 .item {
  background: var(--blanco);
  padding: 1.75rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-4 .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.grid-4 strong {
  font-size: 1.3rem;
  color: var(--negro);
}

/* Testimonios */
.testimonios {
  padding: 6rem 2.5rem;
}

.testimonios h2 {
  text-align: center;
  font-size: 2.3rem;
  color: var(--negro);
  margin-bottom: 3rem;
}

.testimonios-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: start;
}

.video-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  width: 100%;
  height: 320px;
  border: none;
}

.widget {
  background: var(--gris-claro);
  border-radius: 16px;
  padding: 1rem;
  min-height: 320px;
}

/* CTA */
.cta {
  background: var(--naranja);
  color: var(--blanco);
  text-align: center;
  padding: 4.5rem 2rem;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
}

.cta .btn {
  background: var(--blanco);
  color: var(--naranja);
}

/* Footer */
footer {
  background: #2d2d2d;
  color: var(--blanco);
  padding: 4rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-grid .brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-grid h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  color: var(--blanco);
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--naranja);
}

footer p {
  margin-bottom: 0.35rem;
}

footer .copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
  }

  .header-inner nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: auto;
    padding: 5rem 1.5rem;
  }

  .problemas-content {
    grid-template-columns: 1fr;
  }

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

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

  .video-wrapper iframe {
    height: 220px;
  }
}

/* Shared service page styles */
.service-hero {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 2rem;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
}

.service-hero .content {
  position: relative;
  max-width: 720px;
}

.service-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 0.5rem;
}

.service-hero p {
  font-size: 1.2rem;
}

.service-section {
  padding: 4.5rem 2rem;
  background: var(--blanco);
}

.service-section.light {
  background: var(--gris-claro);
}

.service-section.orange {
  background: var(--naranja);
  color: var(--blanco);
}

.service-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-section h2 {
  font-size: 2.3rem;
  color: var(--negro);
  margin-bottom: 1.25rem;
}

.service-section.orange h2,
.service-section.orange p {
  color: var(--blanco);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.service-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.service-section li {
  margin-bottom: 0.5rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-list .item {
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: var(--blanco);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.service-section.orange .service-list .item {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.work-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.work-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .work-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.process-step {
  background: var(--blanco);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.process-step .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--naranja);
}

.testimonials-widget {
  padding: 4rem 2rem;
  background: var(--blanco);
}

.related-services {
  padding: 4rem 2rem;
  background: var(--gris-claro);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.related-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--blanco);
}

.related-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  transition: background 0.3s ease;
}

.related-card:hover::before {
  background: rgba(255, 87, 51, 0.85);
}

.related-card span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Location pages */
.location-hero {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--blanco);
  padding: 2rem;
}

.location-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.location-hero .content {
  position: relative;
  max-width: 720px;
}

.location-hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.location-section {
  padding: 4rem 2rem;
}

.location-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.location-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.location-card {
  border-radius: 18px;
  padding: 2rem 1.5rem;
  background: var(--blanco);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.zones-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--negro);
}
.service-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffba00;
  color: var(--negro);
}

.service-cta h2 {
  color: var(--negro);
  margin-bottom: 1rem;
}

.service-cta .btn {
  background: var(--naranja);
  color: var(--blanco);
}

.media-block {
  min-height: 320px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}
