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

:root {
  --ink: #0f0e0c;
  --paper: #f2ede4;
  --accent: #b85c38;
  --accent2: #4a6fa5;
  --soft: #e4ddd3;
  --white: #faf8f4;
  --muted: rgba(15, 14, 12, 0.38);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;

}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  mix-blend-mode: multiply;
}
.nav-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.nav-links a:hover {
  opacity: 1;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
}
.lang-btn {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--ink);
  opacity: 0.35;
  transition: opacity 0.3s;
  font-family: "DM Sans", sans-serif;
  padding: 2px 4px;
}
.lang-btn.active {
  opacity: 1;
  border-bottom: 1px solid var(--ink);
}
.lang-btn:hover {
  opacity: 0.8;
}

/* Hamburguesa oculta en desktop — solo visible ≤900px */
.menu-toggle {
  display: none;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 80%,
    rgba(184, 92, 56, 0.18) 0%,
    transparent 60%
  );
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-frame-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(110px, 16vw, 240px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 92, 56, 0.22);
  position: absolute;
  top: 60px;
  right: -10px;
  user-select: none;
  letter-spacing: -0.02em;
}
.hero-tag {
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.hero-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
.hero-name .accent-word {
  color: var(--accent);
}
.hero-slogan {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 248, 244, 0.55);
  margin-top: 20px;
  line-height: 1.5;
  max-width: 320px;
  position: relative;
  z-index: 1;
}

.hero-right {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 64px 80px;
  position: relative;
}
.hero-desc {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  max-width: 400px;
  margin-bottom: 52px;
}
.hero-desc strong {
  font-weight: 600;
  font-style: normal;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
  transition:
    gap 0.3s,
    color 0.3s,
    border-color 0.3s;
  width: fit-content;
}
.hero-cta:hover {
  gap: 28px;
  color: var(--accent);
  border-color: var(--accent);
}

/* Film strip decoration */
.film-strip {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.12;
}
.film-hole-row {
  display: flex;
  gap: 0;
}
.film-hole {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  margin: 4px;
}
.film-frames {
  display: flex;
  gap: 2px;
  padding: 8px 8px;
  flex-direction: column;
}
.film-frame {
  width: 80px;
  height: 54px;
  background: var(--soft);
  border: 1px solid rgba(15, 14, 12, 0.2);
}

/* Shutter animation */
.shutter-icon {
  position: absolute;
  bottom: 52px;
  right: 52px;
  width: 48px;
  height: 48px;
}
.shutter-icon svg {
  width: 100%;
  height: 100%;
}

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  padding: 0 36px;
}
.marquee-track .sep {
  color: rgba(255, 255, 255, 0.15);
  padding: 0;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.12s;
}
.reveal-delay-2 {
  transition-delay: 0.24s;
}
.reveal-delay-3 {
  transition-delay: 0.36s;
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ── PORTFOLIO ── */
#portafolio {
  padding: 120px 48px 80px;
}
.portafolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

/* Category tabs */
.porto-tabs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(15, 14, 12, 0.15);
}
.porto-tab {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 10px 24px;
  background: none;
  border: none;
  color: var(--ink);
  opacity: 0.4;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s;
  border-right: 1px solid rgba(15, 14, 12, 0.15);
}
.porto-tab:last-child {
  border-right: none;
}
.porto-tab.active {
  background: var(--ink);
  color: var(--white);
  opacity: 1;
}
.porto-tab:hover:not(.active) {
  opacity: 0.8;
}

.porto-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.porto-grid.hidden {
  display: none;
}
 /* TODAS LAS FOTOS IGUALES - 3 columnas en desktop */
.porto-item:nth-child(1),
.porto-item:nth-child(2),
.porto-item:nth-child(3),
.porto-item:nth-child(4),
.porto-item:nth-child(5),
.porto-item:nth-child(6),
.porto-item:nth-child(7),
.porto-item:nth-child(8),
.porto-item:nth-child(9),
.porto-item:nth-child(10),
.porto-item:nth-child(11),
.porto-item:nth-child(12),
.porto-item:nth-child(13),
.porto-item:nth-child(14),
.porto-item:nth-child(15),
.porto-item:nth-child(16),
.porto-item:nth-child(17){
  grid-column: span 4;
  aspect-ratio: 4/3;
}
/* Illustration grid — different layout */
/* ILUSTRACIONES IGUALES - 3 columnas en desktop */
.porto-grid.ilus .porto-item:nth-child(1),
.porto-grid.ilus .porto-item:nth-child(2),
.porto-grid.ilus .porto-item:nth-child(3),
.porto-grid.ilus .porto-item:nth-child(4),
.porto-grid.ilus .porto-item:nth-child(5),
.porto-grid.ilus .porto-item:nth-child(6) {
  grid-column: span 4;
  aspect-ratio: 4/3;
}

.porto-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.porto-item:hover .porto-bg {
  transform: scale(1.06);
}

/* Placeholder gradients — Fotografía */
.pc1 {
  background-image: url("img/foto1.webp");
  background-size: cover;
  background-position: center;
}
.pc2 {
  background-image: url("img/foto2.webp");
  background-size: cover;
  background-position: center;
}
.pc3 {
  background-image: url("img/foto3.webp");
  background-size: cover;
  background-position: center;
}
.pc4 {
  background-image: url("img/foto4.webp");
  background-size: cover;
  background-position: center;
}
.pc5 {
  background-image: url("img/foto5.webp");
  background-size: cover;
  background-position: center;
}
.pc6 {
  background-image: url("img/foto6.webp");
  background-size: cover;
  background-position: center;
}
.pc7 {
  background-image: url("img/foto7.webp");
  background-size: cover;
  background-position: center;
}
.pc8 {
  background-image: url("img/foto8.webp");
  background-size: cover;
  background-position: center;
}
.pc9 {
  background-image: url("img/foto9.webp");
  background-size: cover;
  background-position: center;
}
.pc10 {
  background-image: url("img/foto10.webp");
  background-size: cover;
  background-position: center;
}
.pc11 {
  background-image: url("img/foto11.webp");
  background-size: cover;
  background-position: center;
}
.pc12 {
  background-image: url("img/foto12.webp");
  background-size: cover;
  background-position: center;
}
.pc13 {
  background-image: url("img/foto13.webp");
  background-size: cover;
  background-position: center;
}
.pc14 {
  background-image: url("img/foto14.webp");
  background-size: cover;
  background-position: center;
}
.pc15 {
  background-image: url("img/foto15.webp");
  background-size: cover;
  background-position: center;
}
.pc16 {
  background-image: url("img/foto16.webp");
  background-size: cover;
  background-position: center;
}
.pc17 {
  background-image: url("img/foto17.webp");
  background-size: cover;
  background-position: center;
}

/* Placeholder gradients — Ilustraciones */
.pi1 {
  background-image: url("img/ilus1.webp");
  background-size: contain; /* <--- MUESTRA LA IMAGEN COMPLETA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper); /* Opcional: color de fondo si quedan espacios */
}
.pi2 {
  background-image: url("img/ilus2.webp");
 background-size: contain; /* <--- MUESTRA LA IMAGEN COMPLETA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper); /* Opcional: color de fondo si quedan espacios */}
.pi3 {
  background-image: url("img/ilus3.webp");
  background-size: contain; /* <--- MUESTRA LA IMAGEN COMPLETA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper); /* Opcional: color de fondo si quedan espacios */
}
.pi4 {
  background-image: url("img/ilus4.webp");
   background-size: contain; /* <--- MUESTRA LA IMAGEN COMPLETA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper); /* Opcional: color de fondo si quedan espacios */
}
.pi5 {
  background-image: url("img/ilus5.webp");
   background-size: contain; /* <--- MUESTRA LA IMAGEN COMPLETA */
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--paper); /* Opcional: color de fondo si quedan espacios */
}

.porto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 14, 12, 0.7) 0%,
    transparent 50%
  );
  transition: opacity 0.4s;
}
.porto-item:hover .porto-overlay {
  opacity: 0.85;
}

.porto-info {
  display: none;
}
.porto-label {
  display: none;
}
.porto-title {
  display: none;
}

/* Placeholder text */
.porto-placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.18;
  white-space: nowrap;
}
.foto-placeholder {
  color: var(--white);
}
.ilus-placeholder {
  color: var(--ink);
}

/* ── SOBRE MÍ ── */
#sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.sobre-visual {
  background: var(--soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sobre-visual-inner {
  position: relative;
  width: 320px;
  height: 400px;
}
.sobre-frame {
  position: absolute;
  border: 1px solid rgba(15, 14, 12, 0.2);
}
.sobre-frame-1 {
  inset: 0;
  background: linear-gradient(145deg, #d4c4b0 0%, #c0ae98 100%);
}
.sobre-frame-2 {
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--accent);
  opacity: 0.4;
}
.sobre-initials {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sobre-initials-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 80px;
  letter-spacing: 0.1em;
  color: rgba(15, 14, 12, 0.12);
  line-height: 1;
}
.sobre-initials-sub {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(15, 14, 12, 0.3);
}
.sobre-stat-block {
  position: absolute;
  bottom: -32px;
  right: -48px;
  background: var(--ink);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sobre-stat {
  color: var(--white);
}
.sobre-stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  line-height: 1;
}
.sobre-stat-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-top: 2px;
}
.sobre-content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(15, 14, 12, 0.65);
  max-width: 460px;
}
.section-body p + p {
  margin-top: 20px;
}

/* ── SERVICIOS / CATEGORÍAS ── */
#categorias {
  background: var(--ink);
  padding: 100px 48px;
}
.categorias-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.categorias-header .section-label {
  color: rgba(255, 255, 255, 0.35);
}
.categorias-header .section-title {
  color: var(--white);
}
.categorias-count {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.cat-card {
  background: var(--ink);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0.06;
}
.cat-card:hover::before {
  transform: scaleX(1);
}
.cat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(184, 92, 56, 0.3);
  line-height: 1;
  margin-bottom: 24px;
}
.cat-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cat-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(250, 248, 244, 0.4);
}
.cat-tag {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(184, 92, 56, 0.3);
  padding: 5px 12px;
}

/* ── SERVICIOS / PRECIOS ── */
#servicios { background: var(--ink); padding: 100px 48px; }
.servicios-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; flex-wrap: wrap; gap: 16px; }
.servicios-header .section-label { color: rgba(255,255,255,0.35); }
.servicios-header .section-title { color: var(--white); }
.servicios-subtitle { font-size: 0.8rem; color: rgba(250,248,244,0.35); font-style: italic; font-family: "Cormorant Garamond", serif; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); margin-bottom: 48px; }
.service-card {
  background: var(--ink); padding: 48px 36px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s, box-shadow 0.4s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover::before { transform: scaleX(1); }

.service-badge { display: flex; gap: 8px; margin-bottom: 24px; }
.badge-airbnb { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; background: var(--accent); color: var(--white); padding: 4px 10px; font-family: "DM Sans", sans-serif; font-weight: 700; }
.badge-popular { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid rgba(184,92,56,0.4); color: var(--accent); padding: 4px 10px; font-family: "DM Sans", sans-serif; }
.badge-b2b { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid rgba(74,111,165,0.4); color: var(--accent2); padding: 4px 10px; font-family: "DM Sans", sans-serif; }

.service-tier { margin-bottom: 16px; }
.tier-name { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 400; color: var(--white); line-height: 1.2; }
.service-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 20px; }
.price-amount { font-family: "Bebas Neue", sans-serif; font-size: 3.5rem; letter-spacing: 0.02em; color: var(--accent); line-height: 1; }
.price-currency { font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; color: var(--accent); opacity: 0.7; }
.price-period { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(250,248,244,0.3); margin-left: 4px; }
.service-desc { font-size: 0.8rem; line-height: 1.7; color: rgba(250,248,244,0.4); margin-bottom: 28px; flex-grow: 1; }
.service-features { list-style: none; padding: 0; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.service-features li { font-size: 0.72rem; letter-spacing: 0.05em; color: rgba(250,248,244,0.5); padding-left: 20px; position: relative; }
.service-features li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

.service-cta {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink); background: var(--white); padding: 12px 24px;
  font-family: "DM Sans", sans-serif; font-weight: 700;
  transition: background 0.3s, color 0.3s, gap 0.3s; width: fit-content;
}
.service-cta:hover { background: var(--accent); color: var(--white); gap: 16px; }
.service-cta-b2b { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.service-cta-b2b:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.services-terms { margin-top: 16px; }
.terms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.term-item { display: flex; align-items: center; gap: 8px; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(250,248,244,0.25); }
.term-icon { font-size: 0.8rem; }

/* ── CONTACTO ── */
#contacto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.contacto-left {
  background: var(--ink);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.contacto-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(184, 92, 56, 0.12) 0%,
    transparent 60%
  );
}
.contacto-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.contacto-title em {
  font-style: italic;
  color: var(--accent);
}
.contacto-sub {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(250, 248, 244, 0.38);
  max-width: 340px;
  position: relative;
  z-index: 1;
}
.contacto-links {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.contacto-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.4);
  transition: color 0.3s;
}
.contacto-link:hover {
  color: var(--accent);
}
.contacto-link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.contacto-right {
  background: var(--paper);
  padding: 100px 80px;
  display: flex;
  align-items: center;
}
.contacto-right form {
  width: 100%;
  max-width: 440px;
}
.form-group {
  margin-bottom: 32px;
}
.form-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 14, 12, 0.18);
  padding: 10px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(15, 14, 12, 0.25);
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
}
.form-textarea {
  resize: none;
  height: 90px;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background 0.3s,
    gap 0.3s;
}
.form-submit:hover {
  background: var(--accent);
  gap: 22px;
}
/* LIGHTBOX STYLES */
 
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.95); /* Fondo oscuro */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  width: 92vw;
  height: 88vh;
  max-width: 1400px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-bg {
  position: absolute;
  inset: 0;
  /* FORZAMOS 'CONTAIN' PARA QUE SE VEA ENTERA */
  background-size: contain !important; 
  background-position: center;
  background-repeat: no-repeat;
}

.lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  opacity: 0.8;
}

.lightbox-close {

   position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  line-height: 1;
  color: #ffffff; /* Blanco puro */
  z-index: 10000; /* Por encima de todo */
  transition: color 0.3s, transform 0.3s;
  user-select: none;
}

.lightbox-close:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .lightbox-content { width: 95vw; height: 70vh; }
  .lightbox-caption { bottom: -40px; font-size: 1rem; }
   .lightbox-close { top: 15px; right: 20px; font-size: 2.5rem; }
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: rgba(250, 248, 244, 0.35);
}
.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.2);
}
.footer-social {
  display: flex;
  gap: 28px;
}
.footer-social a {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: var(--accent);
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width: 900px) {
  /* ── Barra superior compacta: logo + idiomas + hamburguesa ── */
  nav {
    padding: 10px 16px;
    mix-blend-mode: normal;
    background: rgba(242, 237, 228, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 14, 12, 0.08);
  }
  .nav-logo {
    color: var(--ink) !important;
    font-size: 1.05rem;
    z-index: 103;
    text-shadow: none;
    flex-shrink: 0;
  }
  .nav-right {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  /* ── Idiomas fijos en el top (no flotantes abajo) ── */
  .lang-switcher {
    position: static;
    background: transparent;
    padding: 2px;
    border: 1px solid rgba(15, 14, 12, 0.14);
    border-radius: 20px;
    z-index: 103;
    display: flex;
    gap: 0;
    order: 1;
    flex-shrink: 0;
  }
  .lang-btn {
    color: var(--ink);
    opacity: 0.45;
    font-size: 0.6rem;
    padding: 6px 7px;
    border-bottom: none;
    border-radius: 14px;
    line-height: 1;
  }
  .lang-btn.active {
    opacity: 1;
    background: var(--ink);
    color: var(--white);
    border-bottom: none;
  }
  .lang-btn:hover {
    opacity: 1;
  }

  /* ── Hamburguesa compacta integrada en la barra ── */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static;
    z-index: 103;
    background: none;
    border: 1px solid rgba(15, 14, 12, 0.14);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    width: 38px;
    height: 38px;
    order: 2;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    margin: 2.5px 0;
    transition: all 0.3s;
    border-radius: 2px;
  }
  .menu-toggle.active {
    background: var(--ink);
    border-color: var(--ink);
  }
  .menu-toggle.active span {
    background: var(--white);
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ── Panel desplegable compacto (no ocupa toda la pantalla) ── */
  .nav-links {
    display: flex;
    position: fixed;
    top: 60px;
    left: 12px;
    right: 12px;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--ink);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2px;
    z-index: 102;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    text-align: center;
    color: var(--white);
    font-size: 0.68rem;
    opacity: 0.85;
    letter-spacing: 0.22em;
    padding: 13px 10px;
    border-radius: 9px;
    transition: background 0.25s, opacity 0.25s;
  }
  .nav-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
  }

  section[id] {
    scroll-margin-top: 70px;
  }

  /* ── RESTO DE TU RESPONSIVE ORIGINAL ── */
  #hero {
    grid-template-columns: 1fr;
  }
  .hero-left {
    padding: 100px 32px 52px;
    min-height: 55vh;
  }
  .hero-right {
    padding: 52px 32px 80px;
  }
  #sobre {
    grid-template-columns: 1fr;
  }
  .sobre-visual {
    min-height: 380px;
  }
  .sobre-content {
    padding: 60px 32px;
  }
  .sobre-stat-block {
    right: 16px;
    bottom: -16px;
  }
  #contacto {
    grid-template-columns: 1fr;
  }
  .contacto-left,
  .contacto-right {
    padding: 60px 32px;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .porto-grid {
    display: flex;
    flex-direction: column;
  }
  .porto-item {
    width: 100%;
    aspect-ratio: 4/3 !important;
  }
  #portafolio {
    padding: 80px 24px 60px;
  }
  .portafolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Servicios responsive */
  .services-grid { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 36px 28px; }
  #servicios { padding: 80px 24px; }
  .servicios-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  nav { padding: 8px 12px; }
  .nav-logo { font-size: 0.95rem; letter-spacing: 0.14em; }
  .nav-right { gap: 8px; }
  .lang-btn { font-size: 0.56rem; padding: 5px 5px; }
  .menu-toggle { width: 34px; height: 34px; }
  .nav-links { top: 54px; left: 8px; right: 8px; padding: 8px; }
  .nav-links a { font-size: 0.64rem; padding: 12px 8px; }
  .terms-grid { grid-template-columns: 1fr; }
}

/* Estilos para que la foto se muestre a la mitad y sea responsive */
.sobre-profile-img {
  width: 50%;              /* Ocupa la mitad del ancho de su contenedor padre (.sobre-initials) */
  max-width: 50%;          /* Refuerzo para asegurar que nunca supere la mitad */
  height: auto;            /* Mantiene la proporción original de la foto (evita que se deforme) */
  display: block;          /* Comportamiento predecible y consistente en todos los navegadores */
  margin: 1rem auto;       /* Centra la imagen horizontalmente y añade un pequeño espacio arriba/abajo */
  object-fit: cover;       /* Asegura que la imagen se vea bien si el contenedor tiene restricciones de altura */
  
  /* Opcional: mejora visual (puedes eliminar estas dos líneas si no las quieres) */
  border-radius: 8px;      /* Bordes ligeramente redondeados */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave para darle profundidad */
}

/* Aseguramos que el contenedor padre permita este comportamiento */
.sobre-initials {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centra todos los elementos (texto e imagen) horizontalmente */
  text-align: center;
  width: 100%;
}
