/* ============================================
   PORTAFOLIO - Diseño Premium Alta Gama
   Colores corporativos: Naranja + Azul
   ============================================ */

/* --- VARIABLES LOCALES --- */
.portafolio-page {
  --accent-orange: #ff6b35;
  --accent-orange-dark: #e55a2a;
  --accent-blue: #2a6f8f;
  --accent-blue-dark: #1e5a75;
  --cream: #faf8f5;
  --dark: #0d0d0d;
  --dark-secondary: #1a1a1a;
  --text-body: #5a5a5a;
  --text-light: #888;
}

/* ============================================
   HERO FULLSCREEN
   ============================================ */
.portafolio-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroBreath 15s ease-in-out infinite alternate;
  filter: brightness(0.3) saturate(0.5);
}

@keyframes heroBreath {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.13); }
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 60%);
  z-index: 2;
}

/* Líneas arquitectónicas */
.hero-arch-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.arch-line {
  position: absolute;
  opacity: 0.12;
}

.arch-line-1 {
  top: 20%;
  right: 10%;
  width: 1px;
  height: 40vh;
  background: var(--accent-orange);
  animation: archPulse 6s ease-in-out infinite;
}

.arch-line-2 {
  bottom: 25%;
  left: 8%;
  width: 35vw;
  height: 1px;
  background: var(--accent-blue);
  animation: archPulse 8s ease-in-out infinite reverse;
}

@keyframes archPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.25; }
}

/* Contenido del hero */
.hero-text-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  animation: contentReveal 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

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

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.title-block {
  display: block;
}

.title-block.accent {
    /* font-style: italic; */
  color: var(--accent-orange);
  font-weight: 500;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.hero-divider span {
  width: 50px;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.hero-divider i {
  font-size: 0.3rem;
  color: var(--accent-orange);
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
}

.hero-description em {
    /* font-style: italic; */
  color: rgba(255,255,255,0.85);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0.5;
}

.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-line {
  width: 1px;
  height: 45px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.scroll-fill {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-orange);
  animation: scrollAnim 2.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================
   FILTROS
   ============================================ */
.filtros-section {
  padding: 2rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.filtros-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.filtros-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}

.filtros-wrapper {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filtro-btn {
  padding: 0.6rem 1.3rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.filtro-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.filtro-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}

/* ============================================
   PROYECTOS FULLSCREEN
   ============================================ */
.proyectos-main {
  background: var(--cream);
}

.loading-state {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.loading-pulse {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0,0,0,0.08);
  border-top-color: var(--accent-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state span {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* --- SECCIÓN DE PROYECTO FULLSCREEN --- */
.proyecto-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.proyecto-fullscreen:nth-child(even) .proyecto-content-wrapper {
  flex-direction: row-reverse;
}

.proyecto-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.proyecto-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.proyecto-fullscreen.in-view .proyecto-bg-img img {
  transform: scale(1);
}

.proyecto-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 2;
}

.proyecto-fullscreen:nth-child(even) .proyecto-bg-overlay {
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

.proyecto-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}

/* Número gigante */
.proyecto-numero {
  font-family: 'Outfit', sans-serif;
  font-size: 12rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
  transition: color 0.8s ease;
}

.proyecto-fullscreen.in-view .proyecto-numero {
  color: rgba(255, 107, 53, 0.1);
}

/* Información del proyecto */
.proyecto-info {
  flex: 1;
  max-width: 520px;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.proyecto-fullscreen.in-view .proyecto-info {
  opacity: 1;
  transform: translateY(0);
}

.proyecto-categoria {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 1.5rem;
  color: var(--accent-orange);
  font-weight: 500;
}

.proyecto-info h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.proyecto-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  font-weight: 300;
}

.proyecto-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.proyecto-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proyecto-meta i {
  color: var(--accent-orange);
  font-size: 0.75rem;
}

.proyecto-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.proyecto-btn .btn-arrow {
  display: inline-block;
  margin-left: 0.8rem;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.proyecto-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-orange);
  transition: left 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: -1;
}

.proyecto-btn:hover {
  border-color: var(--accent-orange);
}

.proyecto-btn:hover::before {
  left: 0;
}

.proyecto-btn:hover .btn-arrow {
  transform: translateX(6px);
}

/* Acento visual */
.proyecto-acento {
  flex-shrink: 0;
}

.acento-forma {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255,255,255,0.1);
  animation: morphAnim 10s ease-in-out infinite;
}

@keyframes morphAnim {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
  75% { border-radius: 70% 30% 60% 40% / 30% 60% 40% 70%; }
}

/* ============================================
   MODAL DE PROYECTO
   ============================================ */
.proyecto-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.proyecto-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  max-height: 88vh;
  background: #fff;
  overflow-y: auto;
  z-index: 1;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.proyecto-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: background 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--accent-orange);
}

.modal-close-btn span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: #fff;
}

.modal-close-btn span:first-child {
  transform: rotate(45deg);
}

.modal-close-btn span:last-child {
  transform: rotate(-45deg);
}

.modal-image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.modal-body {
  padding: 3rem;
}

.modal-categoria {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent-orange);
}

.modal-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.modal-meta {
  display: flex;
  gap: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.85rem;
  color: var(--text-body);
}

.modal-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-meta i {
  color: var(--accent-blue);
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section h4 {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.modal-section p {
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.95rem;
  font-weight: 300;
}

/* ============================================
   CTA FINAL
   ============================================ */
.portafolio-cta {
  position: relative;
  padding: 8rem 0;
  background: var(--dark);
  overflow: hidden;
  text-align: center;
}

.cta-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,107,53,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(42,111,143,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-tag {
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  display: block;
  margin-bottom: 1.5rem;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-text {
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--accent-orange);
  color: #fff;
  padding: 1.1rem 2.5rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cta-btn i {
  margin-left: 0.8rem;
  transition: transform 0.4s ease;
}

.cta-btn:hover {
  background: var(--accent-orange-dark);
  padding-right: 3rem;
}

.cta-btn:hover i {
  transform: translateX(6px);
}

/* ============================================
   FOOTER PREMIUM (Mismo diseño que contacto)
   ============================================ */
.footer-premium {
  background: #000;
  position: relative;
  overflow: hidden;
}

.footer-border-top {
  display: flex;
  height: 3px;
}

.border-accent { flex: 1; }
.border-orange { background: var(--accent-orange); }
.border-blue { background: var(--accent-blue); }

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 3rem 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  display: block;
  line-height: 1;
}

.footer-logo-sub {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-orange);
  font-weight: 500;
  margin-top: 0.5rem;
  display: block;
}

.footer-description {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin: 1.5rem 0;
  font-weight: 300;
}

.footer-certifications {
  display: flex;
  gap: 1.5rem;
}

.cert-item {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

.cert-item i {
  color: var(--accent-blue);
  margin-right: 0.4rem;
}

.footer-heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.4s ease;
}

.footer-col:hover .footer-heading::after {
  width: 35px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 10px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  font-weight: 300;
}

.footer-contact-list li i {
  color: var(--accent-orange);
  margin-top: 3px;
}

.footer-contact-list li a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
  color: var(--accent-orange);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.4s ease;
  font-size: 0.9rem;
}

.social-icon-link:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  transform: translateY(-4px);
}

.footer-legal-bar {
  padding: 2.5rem 0;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--accent-orange);
}

.legal-divider {
  color: rgba(255,255,255,0.08);
}

.footer-copyright {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.footer-copyright sup {
  font-size: 0.55rem;
}

.footer-madeby {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.1);
  letter-spacing: 2px;
    /* font-style: italic; */
  font-family: 'Outfit', sans-serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .proyecto-content-wrapper {
    flex-direction: column !important;
    text-align: center;
    padding: 0 5%;
    gap: 2rem;
  }
  
  .proyecto-numero {
    font-size: 6rem;
    order: -1;
  }
  
  .proyecto-info {
    max-width: 100%;
  }
  
  .proyecto-info h2 {
    font-size: 2.5rem;
  }
  
  .proyecto-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .proyecto-acento {
    display: none;
  }
  
  .proyecto-bg-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%) !important;
  }
  
  .proyecto-fullscreen {
    min-height: 600px;
    height: auto;
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .filtros-container {
    padding: 0 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .proyecto-numero {
    font-size: 4rem;
  }
  
  .proyecto-info h2 {
    font-size: 2rem;
  }
  
  .modal-image-wrapper {
    height: 250px;
  }
  
  .modal-body {
    padding: 2rem;
  }
  
  .modal-body h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .legal-divider {
    display: none;
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-label {
    font-size: 0.6rem;
    letter-spacing: 4px;
  }
  
  .proyecto-fullscreen {
    min-height: 500px;
    padding: 4rem 0;
  }
  
  .proyecto-info h2 {
    font-size: 1.6rem;
  }
  
  .proyecto-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.7rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .footer-container {
    padding: 3rem 1.5rem 0;
  }
}