/* ============================
   CANONE — PHOTOGRAPHY
   ============================ */

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

:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --bg-3: #000000;
  --text: #ffffff;
  --text-muted: #777777;
  --text-dim: #444444;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.18);
  --accent: #e7e7e7;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==============================
   UTILITIES
   ============================== */

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ==============================
   REVEAL ANIMATIONS
   ============================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Stagger delays for grid children */
.serv-grid .serv-card:nth-child(1) { transition-delay: 0s; }
.serv-grid .serv-card:nth-child(2) { transition-delay: 0.12s; }
.serv-grid .serv-card:nth-child(3) { transition-delay: 0.24s; }

.proceso-steps .paso:nth-child(1) { transition-delay: 0s; }
.proceso-steps .paso:nth-child(3) { transition-delay: 0.12s; }
.proceso-steps .paso:nth-child(5) { transition-delay: 0.24s; }
.proceso-steps .paso:nth-child(7) { transition-delay: 0.36s; }

/* ==============================
   NAVBAR
   ============================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  border: 1px solid var(--border-hover) !important;
  color: var(--text) !important;
  padding: 9px 22px;
  font-size: 11px !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--text) !important;
  color: var(--bg) !important;
}

/* Menú hamburguesa → Menú icono */
.menu-icono {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.menu-icono span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.menu-icono.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-icono.open span:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Menú móvil */
.menu-movil {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(11,11,11,0.98);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.menu-movil.open { display: flex; }

.enlace-movil {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 5%;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
}
.enlace-movil:last-child { border-bottom: none; }
.enlace-movil:hover {
  color: var(--text);
  background: var(--bg-2);
}

/* ==============================
   HERO
   ============================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 80px;
}

/* Hero background image — REPLACE URL */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,11,11,0.5) 40%, rgba(0,0,0,0.95) 100%),
    url('fotos/Imagen1117.webp') center/cover no-repeat;
  z-index: 0;
}

/* Fallback dark bg if no image */
.hero-photo-placeholder {
  display: none;
}

/* Large background text */
.hero-bg-text {
  position: absolute;
  right: -2%;
  bottom: -5%;
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 260px);
  font-weight: 600;
  color: rgba(255,255,255,0.03);
  letter-spacing: 10px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 1s var(--ease-out) 0.3s both;
}

.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 14px;
  animation: fadeUp 1s var(--ease-out) 0.45s both;
}

.hero-h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-tagline {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.75s both;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  transition: all 0.35s var(--ease);
  font-weight: 400;
  cursor: pointer;
  border: none;
}

.btn-fill {
  background: var(--text);
  color: var(--bg);
}
.btn-fill:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}

/* Hero stats */
.hero-stats {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 1s var(--ease-out) 0.9s both;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
}

.stat-lbl {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeUp 1s var(--ease-out) 1.1s both;
}

.hero-scroll span {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ==============================
   SECTION DIVIDER
   ============================== */

.section-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 5%;
  max-width: 1180px;
  margin: 0 auto;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-label {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==============================
   SECTION HEADERS
   ============================== */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  color: var(--text);
}

.section-link {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.section-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ==============================
   PORTFOLIO
   ============================== */

.portfolio {
  padding: 20px 0 100px;
}

.masonry {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 6px;
}

.mcard {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
}

.mcard--tall {
  grid-row: span 2;
}

.mcard-img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
  background-size: cover;
  background-position: center;
  position: relative;
}

/* When real images are loaded */
.mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.mcard:hover .mcard-img {
  transform: scale(1.1);
}

.mcard-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mcard:hover .mcard-info {
  opacity: 1;
  transform: translateY(0);
}

.mcard-cat {
  display: block;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.mcard-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
}

.mcard-count {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  position: relative;
  padding-left: 16px;
}

.mcard-count::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 1px;
}

.mcard:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}

.mcard-num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
  font-weight: 400;
}

/* Placeholder text for empty image slots */
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 1px;
  text-align: center;
  padding: 0px;
  pointer-events: none;
}

/* ==============================
   SERVICIOS
   ============================== */

.servicios {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.serv-card {
  background: var(--bg-2);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
  cursor: pointer;
}

.serv-card:hover {
  background: var(--bg-3);
}

.serv-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.serv-num {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.serv-icon {
  width: 22px;
  height: 22px;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.3s;
}

.serv-card:hover .serv-icon {
  color: var(--accent);
}

.serv-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
}

.serv-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.serv-footer {
  margin-top: 28px;
}

.serv-arrow {
  font-size: 18px;
  color: var(--text-dim);
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.serv-card:hover .serv-arrow {
  color: var(--text);
  transform: translateX(6px);
}

/* ==============================
   PROCESO
   ============================== */

.proceso {
  padding: 100px 0;
}

.proceso-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.paso {
  flex: 1;
  min-width: 180px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
  cursor: default;
}

.paso:hover {
  border-color: var(--border-hover);
  background: var(--bg-2);
}

.paso-num {
  font-family: var(--font-display);
  font-size: 42px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 600;
}

.paso-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.paso-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.paso-connector {
  width: 0;
  height: 1px;
  background: transparent;
  flex-shrink: 0;
}

/* ==============================
   CONTACTO
   ============================== */

.contacto {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-tag {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.contact-h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 360px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item svg {
  color: var(--text-dim);
  flex-shrink: 0;
}

.contact-item a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--text); }

.contact-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf6e;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(76,175,110,0.5);
  animation: pulse 2.5s ease-in-out infinite;
}

.contact-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,0.25);
}

.btn-submit {
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
  margin-top: 4px;
  border-radius: 0;
}

.btn-submit:hover {
  background: var(--accent);
}

.btn-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

.form-success {
  display: none;
  font-size: 13px;
  color: #4caf6e;
  letter-spacing: 0.5px;
  padding: 12px 0 0;
}

/* ==============================
   FOOTER
   ============================== */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-bottom-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-bottom-right a {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-right a:hover { color: var(--text-muted); }

.footer-copy {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-copy p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==============================
   GLIGHTBOX — TEMA CANONE
   ============================== */

.glightbox-container {
  background: rgba(6,6,6,0.97) !important;
}

.gslide-image img {
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.glightbox-container .gclose,
.glightbox-container .gnext,
.glightbox-container .gprev {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid var(--border-hover);
  border-radius: 0;
  opacity: 1;
  transition: background 0.25s, border-color 0.25s;
}

.glightbox-container .gclose:hover,
.glightbox-container .gnext:hover,
.glightbox-container .gprev:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: var(--accent);
}

.glightbox-container .gclose svg,
.glightbox-container .gnext svg,
.glightbox-container .gprev svg {
  fill: var(--text) !important;
  color: var(--text) !important;
}

.gslide-description.description-left,
.gslide-description.description-bottom {
  background: transparent !important;
}

.gslide-title {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px;
  color: var(--text) !important;
  text-align: center;
}

.gdesc-inner {
  padding: 18px 10px !important;
}

.glightbox-clean .gslide-media {
  box-shadow: none;
}

.goverlay {
  background: rgba(6,6,6,0.97) !important;
}

/* Loader */
.gloader {
  border-color: var(--border-hover) transparent var(--border-hover) transparent !important;
}

@media (max-width: 600px) {
  .glightbox-container .gclose,
  .glightbox-container .gnext,
  .glightbox-container .gprev {
    width: 40px;
    height: 40px;
  }
}

/* ==============================
   KEYFRAMES
   ============================== */

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(76,175,110,0.4); }
  50% { box-shadow: 0 0 10px rgba(76,175,110,0.8); }
}

/* ==============================
   RESPONSIVE — TABLET
   ============================== */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-icono { display: flex; }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
    gap: 24px;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero {
    flex-direction: column;
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }

  .mcard--tall {
    grid-row: span 1;
  }

  /* Full width for first card */
  .mcard:first-child {
    grid-column: span 2;
  }

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

  .proceso-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .paso-connector { display: none; }

  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* ==============================
   RESPONSIVE — MOBILE
   ============================== */

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .hero-h1 { font-size: 58px; }

  .hero-stats {
    gap: 18px;
  }

  .stat-num { font-size: 26px; }

  .masonry {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mcard {
    height: 220px;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .mcard-info {
    opacity: 1;
    transform: none;
  }

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

  .proceso-steps {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-bottom-right {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .hero-scroll { display: none; }

  .hero-bg-text { display: none; }

  .contact-sub { max-width: 100%; }
}
