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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050505;
  color: #f5f5f5;
  overflow-x: hidden;
}

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

.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 86px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  display: flex;
  flex-direction: column;
  letter-spacing: 6px;
  font-size: 20px;
  font-weight: 300;
}

.logo small {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 2px;
  text-align: center;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.nav a {
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 6vw 80px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: brightness(0.85) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2)),
    linear-gradient(to top, rgba(0,0,0,0.8), transparent 40%);
}

.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 12px;
  color: #b7b7b7;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -3px;
  max-width: 900px;
}

.hero-text {
  max-width: 620px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.7;
  color: #d0d0d0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.btn {
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: #ffffff;
  color: #050505;
}

.secondary {
  border: 1px solid rgba(255,255,255,0.35);
}

.section-dark,
.about,
.portfolio,
.contact {
  padding: 110px 6vw;
}

.section-dark {
  background: #17141f;
}

.section-title,
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 300;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 300;
  margin-bottom: 18px;
}

.stat span {
  color: #cfcfcf;
  line-height: 1.7;
}

.about {
  background: #050505;
}

.about-content {
  max-width: 980px;
}

.about p {
  font-size: 20px;
  line-height: 1.8;
  color: #d1d1d1;
  margin-bottom: 24px;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
}

.portfolio {
  background: #0b0b0b;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.card-img {
  height: 360px;
}

.placeholder {
  background: linear-gradient(135deg, #272727, #090909);
}

.card h3 {
  font-size: 25px;
  padding: 24px 24px 8px;
}

.card p {
  padding: 0 24px 28px;
  line-height: 1.6;
  color: #bfbfbf;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  background: #17141f;
}

.contact-info p {
  font-size: 22px;
  line-height: 1.6;
  color: #d6d6d6;
  margin-bottom: 40px;
}

.contact-info li {
  list-style: none;
  margin-bottom: 14px;
  color: #c8c8c8;
}

.contact-form {
  display: grid;
  gap: 18px;
}

input,
textarea {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 14px;
  background: #ddd8ef;
  color: #111;
  font-size: 16px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button {
  padding: 18px;
  border: none;
  border-radius: 999px;
  background: white;
  color: black;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

footer {
  padding: 30px 6vw;
  background: #050505;
  color: #aaa;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.15);
  }
}

@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 10px;
  }

  .stats-grid,
  .portfolio-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 180px;
  }
}

.section-description {
  max-width: 760px;
  color: #bdbdbd;
  font-size: 18px;
  line-height: 1.7;
  margin-top: -25px;
  margin-bottom: 45px;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 330px;
  gap: 18px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  isolation: isolate;
}

.portfolio-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-card.wide {
  grid-column: span 2;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: brightness(0.72) contrast(1.08);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.portfolio-card:hover img {
  transform: scale(1.14);
  filter: brightness(0.48) contrast(1.15);
}

.portfolio-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px;
  background: linear-gradient(to top, rgba(0,0,0,0.92), transparent);
  transform: translateY(18px);
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: #cfcfcf;
  margin-bottom: 12px;
}

.portfolio-overlay h3 {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.portfolio-overlay p {
  max-width: 520px;
  color: #d4d4d4;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .pro-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 420px;
  }

  .portfolio-card.large,
  .portfolio-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: white;
  display: block;
  transition: 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #050505;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  z-index: 90;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 24px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

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

  .menu-toggle {
    display: flex;
  }
}

.portfolio-card {
  cursor: pointer;
}

.portfolio-card::after {
  content: "Reproducir";
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #050505;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.4s ease;
  z-index: 3;
}

.portfolio-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6vw;
}

.video-modal.active {
  display: flex;
}

.video-modal video {
  width: min(1100px, 100%);
  max-height: 78vh;
  border-radius: 24px;
  background: #000;
  display: block;
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}

.close-video {
  position: fixed;
  top: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #050505;
  font-size: 34px;
  line-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1001;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.close-video:hover {
  transform: scale(1.08);
  background: #ffffff;
}

.video-modal video {
  background: #000;
  display: block;
}

.close-video {
  z-index: 1000;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(1100px, 100%);
}

.modal-info {
  color: white;
}

.modal-info h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.modal-info p {
  color: #cfcfcf;
  line-height: 1.6;
  max-width: 700px;
}

.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 22px;
  background: white;
  color: black;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.manifesto {
  padding: 120px 8vw;
  background: #050505;
}

.manifesto p {
  max-width: 1100px;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 1.05;
  letter-spacing: -3px;
  font-weight: 300;
}

.clients-section {
  padding: 120px 6vw;
  background: #0b0b0b;
}

.client-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.client-type {
  padding: 36px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s ease, background 0.4s ease;
}

.client-type:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.08);
}

.client-type h3 {
  font-size: 28px;
  margin-bottom: 18px;
}

.client-type p {
  color: #cfcfcf;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .client-types {
    grid-template-columns: 1fr;
  }
}

.clients-logos {
  padding: 120px 6vw;
  background: #050505;
  color: #f5f5f5;
}

.clients-logos .eyebrow {
  color: #9a9a9a;
}

.clients-logos h2 {
  max-width: 950px;
}

.logos-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 55px;
  align-items: center;
}

.logos-grid a {
    
    opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.logos-grid.reveal.active a {
  opacity: 1;
  transform: translateY(0);
}

.logos-grid img {
  max-width: 190px;
  max-height: 80px;
  object-fit: contain;
  filter: none;
  opacity: 0.75;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.logos-grid a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.12);
}

.logos-grid a:nth-child(1) { transition-delay: 0.05s; }
.logos-grid a:nth-child(2) { transition-delay: 0.1s; }
.logos-grid a:nth-child(3) { transition-delay: 0.15s; }
.logos-grid a:nth-child(4) { transition-delay: 0.2s; }
.logos-grid a:nth-child(5) { transition-delay: 0.25s; }
.logos-grid a:nth-child(6) { transition-delay: 0.3s; }
.logos-grid a:nth-child(7) { transition-delay: 0.35s; }
.logos-grid a:nth-child(8) { transition-delay: 0.4s; }
.logos-grid a:nth-child(9) { transition-delay: 0.45s; }
.logos-grid a:nth-child(10) { transition-delay: 0.5s; }
.logos-grid a:nth-child(11) { transition-delay: 0.55s; }
.logos-grid a:nth-child(12) { transition-delay: 0.6s; }

@media (max-width: 1000px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .logos-grid {
    grid-template-columns: 1fr;
  }

  .logos-grid img {
    max-width: 170px;
  }
}

.google-reviews {
  padding: 120px 6vw;
  background: #050505;
  color: #f5f5f5;
}

.reviews-widget {
  margin-top: 60px;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.about {
  position: relative;
  padding: 140px 6vw;
  overflow: hidden;
}

.about-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.08);
  z-index: 0;
  opacity: 0.35;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,5,0.1);
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.about-content h2 {
  font-size: clamp(40px, 6vw, 90px);
  margin-bottom: 30px;
  line-height: 1.05;
}

.about-content p {
  color: #cfcfcf;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =============================
   AJUSTE GENERAL PREMIUM COMPACTO
============================= */

.header {
  height: 72px;
  padding: 0 5vw;
}

.logo {
  font-size: 17px;
  letter-spacing: 5px;
}

.nav {
  gap: 22px;
  font-size: 11px;
  letter-spacing: 3px;
}

.hero {
  min-height: 90vh;
  padding: 120px 5vw 70px;
}

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

h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -2.5px;
}

.hero-text {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  margin-top: 24px;
}

.section-dark,
.about,
.portfolio,
.contact,
.clients-section,
.clients-logos,
.google-reviews {
  padding: 88px 5vw;
}

.manifesto {
  padding: 85px 6vw;
}

.manifesto p {
  max-width: 900px;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.section-title,
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 34px;
}

.section-description {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.6;
  margin-top: -18px;
  margin-bottom: 36px;
}

.stats-grid {
  gap: 24px;
}

.stat strong {
  font-size: clamp(34px, 3.8vw, 54px);
  margin-bottom: 12px;
}

.stat span {
  font-size: 15px;
}

.about-content {
  max-width: 760px;
}

.about-content h2 {
  font-size: clamp(34px, 4.4vw, 60px);
}

.about-content p {
  font-size: 17px;
  line-height: 1.7;
}

.client-types {
  margin-top: 42px;
  gap: 18px;
}

.client-type {
  padding: 28px;
  border-radius: 22px;
}

.client-type h3 {
  font-size: 24px;
}

.pro-grid {
  grid-auto-rows: 275px;
  gap: 14px;
}

.portfolio-card {
  border-radius: 18px;
}

.portfolio-overlay {
  padding: 24px;
}

.portfolio-overlay h3 {
  font-size: clamp(22px, 2.2vw, 32px);
}

.portfolio-overlay p {
  font-size: 15px;
}

.logos-grid {
  margin-top: 42px;
  gap: 30px 42px;
}

.logos-grid a {
  min-height: 68px;
}

.logos-grid img {
  max-width: 145px;
  max-height: 58px;
}

.reviews-widget {
  margin-top: 42px;
  padding: 24px;
  border-radius: 24px;
}

.contact {
  gap: 46px;
}

.contact-info p {
  font-size: 18px;
}

input,
textarea {
  padding: 14px 16px;
  border-radius: 11px;
}

textarea {
  min-height: 130px;
}

.floating-cta {
  bottom: 22px;
  right: 22px;
  padding: 13px 18px;
  font-size: 12px;
}

.stats.section-dark {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 5vw;
}

.stats .section-title {
  max-width: 1200px;
  margin-bottom: 70px;
}

.about-open {
  margin-top: 20px;
  padding: 0;
  background: transparent;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.about-panel {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.75s cubic-bezier(.83, 0, .17, 1);
  overflow-y: auto;
}

.about-panel-content {
  background: rgba(5, 5, 5, 0.72);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.about-panel.active {
  transform: translateX(0);
}

.about-close {
  position: fixed;
  top: 28px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: black;
  font-size: 34px;
  z-index: 1201;
  padding: 0;
}

.about-panel-content {
  min-height: 100vh;
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 1.6fr 0.55fr;
  gap: 60px;
  align-items: start;
}

.about-panel-media {
  max-width: 420px;
  justify-self: end;
}

.about-panel-media img {
  width: 100%;
  max-height: 760px;
  border-radius: 22px;
  object-fit: cover;
}

.about-panel-text h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  margin-bottom: 36px;
}

.about-panel-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #d0d0d0;
  margin-bottom: 24px;
}

.about-panel-media img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about-panel-content {
    grid-template-columns: 1fr;
    padding: 110px 6vw;
  }
}

.modal-gallery {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.88;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 70px 6vw;
}

.modal-content {
  width: min(960px, 100%);
  margin: 0 auto;
  padding-bottom: 80px;
}

.video-modal video {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.modal-gallery {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0.9;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.035);
}

@media (max-width: 700px) {
  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .video-modal {
    padding: 80px 5vw;
  }
}

.modal-gallery {
  overflow: visible;
}

.modal-gallery img {
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.18);
  z-index: 20;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
}

/* GALERÍA DEL MODAL - FOTOS COMPLETAS VERTICALES Y HORIZONTALES */

.modal-gallery {
  overflow: visible;
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.modal-gallery img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  opacity: 0.9;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}

.modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.18);
  z-index: 20;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
}

@media (max-width: 700px) {
  .modal-gallery {
    grid-template-columns: 1fr;
  }

  .modal-gallery img {
    height: 300px;
  }
}

/* GALERÍA EDITORIAL EN MODAL */

.modal-gallery {
  margin-top: 36px;
  display: block;
  columns: 2;
  column-gap: 18px;
  overflow: visible;
}

.modal-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
  object-fit: contain;
  border-radius: 16px;
  cursor: zoom-in;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-gallery img:hover {
  opacity: 1;
  transform: scale(1.025);
}

@media (max-width: 700px) {
  .modal-gallery {
    columns: 1;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.75);
}

.lightbox-close {
  position: fixed;
  top: 28px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  color: black;
  font-size: 34px;
  z-index: 1501;
  padding: 0;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover img {
  filter: sepia(1) saturate(1.4) hue-rotate(350deg) brightness(1.15);
  transform: translateY(-1px);
}

.header {
  gap: 28px;
}

.social-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-nav a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-nav a img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.social-nav a:hover {
  opacity: 1;
  border-color: #c8a45d;
  transform: translateY(-2px);
}

.mobile-social {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-social a {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.65;
}

.header {
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: 42px;
  
  padding-top: 0;
  padding-bottom: 0;

}

.logo {
  justify-self: start;
}

.logo img {
  height: auto;
  width: 150px;
  max-width: 150px;
}

.nav {
  justify-self: end;
  gap: 32px;
}

.social-nav {
  justify-self: end;
  gap: 14px;
}

@media (max-width: 900px) {
  .header {
    display: flex;
  }

  .logo img {
    width: 135px;
    max-width: 135px;
  }
}

.logo img {
  width: 250px;
  max-width: 250px;
  height: auto;
}

@media (max-width: 900px) {
  .logo img {
    width: 165px;
    max-width: 165px;
  }
}

.header {
  height: 82px;
  align-items: center;
}

.logo img {
  width: 180px;
  max-width: 180px;
  height: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

.map-section {
  width: 100%;
  height: 420px;
  background: #050505;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
  transform: scale(1.00);
  transform-origin: center;
}

.form-status {
  min-height: 22px;
  font-size: 14px;
  color: #cfcfcf;
}

.form-status.success {
  color: #9ee6b7;
}

.form-status.error {
  color: #ff9b9b;
}

.g-recaptcha {
  transform: scale(0.92);
  transform-origin: left center;
}

.legal-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 13px;
  color: #aaa;
  opacity: 0.8;
}

.legal-links a:hover {
  opacity: 1;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(10,10,10,0.92);
  color: white;
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
  backdrop-filter: blur(16px);
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner p {
  margin-top: 6px;
  color: #d0d0d0;
  line-height: 1.5;
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cookie-actions button {
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: white;
  color: black;
  cursor: pointer;
}

.cookie-actions a {
  font-size: 13px;
  color: #d0d0d0;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.reject-cookies {
  background: transparent !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
}

/* =============================
   PÁGINAS LEGALES
============================= */

.legal-page {
  min-height: 100vh;
  padding: 140px 6vw 100px;
  background: #050505;
  color: #f5f5f5;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: clamp(42px, 5vw, 72px);
  margin-bottom: 40px;
}

.legal-container h2 {
  margin-top: 45px;
  margin-bottom: 18px;
  font-size: 28px;
}

.legal-container p,
.legal-container li {
  color: #d0d0d0;
  line-height: 1.8;
  font-size: 17px;
}

.legal-container ul {
  padding-left: 20px;
  margin-top: 14px;
}
.legal-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 13px;
  color: #aaa;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.legal-links a:hover {
  opacity: 1;
}

/* =============================
   MENÚ MÓVIL PREMIUM
============================= */

@media (max-width: 900px) {
  .header {
    height: 82px;
    padding: 0 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .logo img {
    width: 190px;
    max-width: 190px;
  }

  .social-nav.desktop,
  .nav.desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    justify-content: center;
    align-items: center;
    gap: 7px;
    z-index: 1300;
  }

  .menu-toggle span {
    width: 30px;
    height: 2px;
    background: white;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.55s cubic-bezier(.83, 0, .17, 1);
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  .mobile-menu a {
    font-size: 22px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: white;
  }

  .mobile-social-icons {
    margin-top: 34px;
    display: flex;
    gap: 22px;
  }

  .mobile-social-icons a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-social-icons img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .menu-toggle.active span:nth-child(2) {
    transform: rotate(-45deg) translate(2px, -2px);
  }
}