/* ===== SABRINOZ.COM — LIGHT THEME 2026 ===== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Playfair+Display:ital,wght@0,700;1,500&display=swap');

:root {
  --bg:          #f4f4f5;
  --bg-2:        #ececed;
  --bg-3:        #e3e3e5;
  --card:        #ffffff;
  --card-border: #dcdcde;

  --gold:        #c02828;
  --gold-light:  #d94040;
  --gold-dim:    #fde8e8;
  --red:         #8a1818;
  --red-soft:    #e86060;
  --cream:       #1e1a14;
  --brown:       #7a1e1e;

  --text-primary:   #1c1810;
  --text-secondary: #70706f;
  --text-muted:     #c0b8a8;

  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ===== CURSOR ===== */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
  position: fixed; width: 34px; height: 34px;
  border: 1.5px solid rgba(192,40,40,.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .22s, height .22s, border-color .22s;
}
body.hovering .cursor-dot  { width: 14px; height: 14px; background: var(--red-soft); }
body.hovering .cursor-ring { width: 50px; height: 50px; border-color: var(--red-soft); }

/* ===== GRAIN ===== */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 100; opacity: .25;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 500;
  transition: background .4s, border-bottom .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(244,244,245,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 2px 20px rgba(30,26,20,.06);
}
.navbar {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center;
  justify-content: flex-end; gap: 2.5rem; padding: 0 2rem;
}
.navbar a {
  font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none;
  position: relative; transition: color .25s;
}
.navbar a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s ease;
}
.navbar a:hover { color: var(--text-primary); }
.navbar a:hover::after { width: 100%; }

/* ===== HEADER LOGO ===== */
.header-logo {
  position: absolute;
  left: 2rem; top: 50%; transform: translateY(-50%);
  z-index: 502; display: flex; align-items: center;
  text-decoration: none;
}
.header-logo img {
  height: 56px; width: auto; display: block;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 8px; padding: 8px;
  transition: background .2s; z-index: 501;
}
.hamburger:hover { background: var(--card-border); }
.ham-line {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .25s;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1),
              transform .85s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== SECTION TITLE ===== */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  letter-spacing: .06em; color: var(--cream); line-height: 1;
}
.section-title.red   { color: var(--gold); }
.section-title.white { color: var(--cream); }
.section-title.left  { text-align: left; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 5%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(192,40,40,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bg-red {
  position: absolute; bottom: -10%; left: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(192,40,40,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; width: 100%;
  position: relative; z-index: 1;
}
.hero-image {
  display: flex; justify-content: center; align-items: flex-end;
}
.hero-image img {
  width: min(540px, 90%); height: auto; display: block;
  animation: floatAvatar 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(30,26,20,.12));
}
@keyframes floatAvatar {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  line-height: .93; letter-spacing: .03em; color: var(--cream);
  margin-bottom: .2em;
}
.hero-text h1 .accent {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: .88em; letter-spacing: .01em;
}
.hero-subtitle {
  font-size: .88rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-secondary); margin-bottom: 1.2rem; font-weight: 500;
}
.hero-text p {
  font-size: 1rem; line-height: 1.82;
  color: var(--text-secondary); max-width: 460px; margin-bottom: 2.5rem;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 2.4rem;
  background: var(--gold); color: #ffffff;
  font-family: 'DM Sans', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
  transition: transform .25s, box-shadow .25s, background .25s;
  box-shadow: 0 4px 20px rgba(192,40,40,.25);
}
.btn-hero::after { content: '→'; font-size: 1rem; transition: transform .25s; }
.btn-hero:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(192,40,40,.32);
}
.btn-hero:hover::after { transform: translateX(4px); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeInUp 1s 1.8s both;
}
.scroll-indicator span {
  font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50%       { transform: scaleY(.4); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== MARQUEE ===== */
.marquee-section { overflow: hidden; padding: 1.1rem 0; background: var(--gold); }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track span {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: .14em; color: #ffffff; padding: 0 2rem;
}
.marquee-track span.dot {
  color: rgba(255,255,255,.45); padding: 0; font-size: .5rem; vertical-align: middle;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SKILLS ===== */
.skills-section {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.skills-container { max-width: 1200px; margin: 0 auto; }
.skills-section .section-title { margin-bottom: 3rem; }
.skills-icons-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.skill-icon {
  width: 82px;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; padding: .85rem .75rem .65rem;
  transition: border-color .3s, transform .3s, box-shadow .3s; cursor: none;
  box-shadow: 0 2px 8px rgba(30,26,20,.05);
}
.skill-icon:hover {
  border-color: var(--gold);
  transform: translateY(-7px) scale(1.06);
  box-shadow: 0 14px 36px rgba(192,40,40,.18);
}
.skill-icon img {
  width: 36px; height: 36px;
  transition: filter .3s;
}
.skill-icon:hover img { filter: brightness(1.1); }
.skill-fa {
  font-size: 1.5rem; color: var(--text-secondary); transition: color .3s;
}
.skill-icon:hover .skill-fa { color: var(--gold); }
.skill-bar {
  width: 100%; height: 4px;
  background: var(--card-border); border-radius: 2px; overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}

/* ===== SOBRE MI ===== */
.sobre-section {
  padding: 7rem 2rem; position: relative; overflow: hidden;
}
.sobre-section::before {
  content: 'SABRINOZ';
  position: absolute; top: 1rem; right: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(7rem, 16vw, 16rem);
  color: var(--text-primary); opacity: .03;
  pointer-events: none; user-select: none; line-height: 1;
}
.sobre-section .section-title { margin-bottom: 3.5rem; }
.sobre-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.sobre-image {
  position: relative;
}
.sobre-image::after {
  content: '';
  position: absolute; bottom: -12px; left: 16px; right: 16px; height: 60px;
  background: radial-gradient(ellipse, rgba(192,40,40,.14) 0%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.sobre-image img {
  width: 100%; height: auto; display: block; position: relative; z-index: 1;
  animation: floatAvatar 6s .5s ease-in-out infinite;
  filter: drop-shadow(0 18px 50px rgba(30,26,20,.1));
}
.sobre-text { display: flex; flex-direction: column; gap: 1.5rem; }
.sobre-text p { font-size: 1.1rem; line-height: 1.9; color: var(--text-secondary); }
.sobre-text p strong { color: var(--gold); font-weight: 700; }
.sobre-divider { width: 48px; height: 2px; background: var(--gold); border-radius: 2px; }
.sobre-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.tag {
  padding: .35rem 1rem; border: 1px solid var(--card-border);
  border-radius: 100px; font-size: .76rem; font-weight: 500;
  letter-spacing: .06em; color: var(--text-secondary); background: var(--card);
  transition: border-color .25s, color .25s, background .25s;
  box-shadow: 0 1px 4px rgba(30,26,20,.05);
}
.tag:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ===== SERVICIOS ===== */
.proyectos-section {
  padding: 7rem 2rem; background: var(--bg-2);
  border-top: 1px solid var(--card-border);
}
.proyectos-wrapper { max-width: 1200px; margin: 0 auto; }
.proyectos-section .section-title { margin-bottom: 3.5rem; }
.proyectos-container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5px; background: var(--card-border);
  border: 1.5px solid var(--card-border);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,26,20,.07);
}
.project-card {
  background: var(--card); padding: 3rem 1.75rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  position: relative; overflow: hidden; cursor: none;
  transition: background .3s;
}
.project-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0;
  background: linear-gradient(to top, rgba(192,40,40,.06), transparent);
  transition: height .45s ease;
}
.project-card:hover::before { height: 100%; }
.project-card:hover { background: var(--bg-3); }
.project-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim); border: 1px solid rgba(192,40,40,.22);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.project-card:hover .project-icon {
  background: rgba(192,40,40,.08); border-color: var(--red-soft);
}
.project-icon i { font-size: 1.25rem; color: var(--gold); transition: color .3s; }
.project-card:hover .project-icon i { color: var(--red-soft); }
.project-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--cream);
  position: relative; z-index: 1;
}
.project-card p {
  font-size: .84rem; color: var(--text-secondary); line-height: 1.65;
  position: relative; z-index: 1;
}
.project-number {
  position: absolute; top: .75rem; right: 1.25rem;
  font-family: 'Bebas Neue', sans-serif; font-size: 5rem;
  color: var(--text-primary); opacity: .05; line-height: 1;
  user-select: none; transition: opacity .3s;
}
.project-card:hover .project-number { opacity: .12; }

/* ===== CONTACTO ===== */
.contacto-section {
  padding: 7rem 2rem; position: relative; overflow: hidden;
  border-top: 1px solid var(--card-border);
}
.contacto-section::before {
  content: ''; position: absolute; top: -20%; right: -20%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(192,40,40,.05) 0%, transparent 65%);
  pointer-events: none;
}
.contacto-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
  position: relative; z-index: 1;
}
.contacto-title-responsive { display: none; }
.contacto-left { display: flex; flex-direction: column; gap: 2rem; }
.contacto-img-wrapper { position: relative; }
.contacto-img {
  width: 100%; height: auto; display: block;
  animation: floatAvatar 7s 1s ease-in-out infinite;
  filter: drop-shadow(0 18px 50px rgba(192,40,40,.15));
}
.redes-label {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: .25rem;
}
.social-icons { display: flex; gap: .65rem; }
.social-icons a {
  width: 44px; height: 44px; display: flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--card-border); border-radius: 8px;
  color: var(--text-secondary); font-size: 1rem; text-decoration: none;
  background: var(--card); box-shadow: 0 1px 6px rgba(30,26,20,.05);
  transition: border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.social-icons a:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(192,40,40,.15);
}
.contacto-right .section-title { margin-bottom: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label {
  font-size: .68rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 8px; padding: .85rem 1rem;
  color: var(--text-primary); font-family: 'DM Sans', sans-serif;
  font-size: .95rem; outline: none; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: 0 1px 4px rgba(30,26,20,.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192,40,40,.1);
}
.btn-submit {
  align-self: flex-start; padding: .9rem 2.4rem;
  background: transparent; border: 1.5px solid var(--gold);
  color: var(--gold); font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; border-radius: 3px; cursor: none;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn-submit:hover {
  background: var(--gold); color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,40,40,.28);
}
.form-msg { font-size: .85rem; margin-top: .4rem; }
.form-msg.success { color: var(--gold); }
.form-msg.error   { color: var(--red-soft); }

/* ===== FOOTER ===== */
.footer {
  background: #2a2a2a; border-top: none;
  padding: 2.5rem 2rem; display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
}
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a {
  font-size: .72rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.footer p { font-size: .73rem; color: rgba(255,255,255,.35); letter-spacing: .06em; }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--card); border: 1px solid var(--gold);
  border-radius: 50%; cursor: none; opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .25s, box-shadow .25s;
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(192,40,40,.15);
}
#backToTop::before {
  content: ''; border: 1.5px solid var(--gold);
  border-right: none; border-bottom: none;
  width: 9px; height: 9px;
  transform: rotate(45deg) translate(2px,-2px); display: block;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover {
  background: var(--gold);
  box-shadow: 0 6px 24px rgba(192,40,40,.3);
}
#backToTop:hover::before { border-color: #ffffff; }

/* ===== PROJECT CARD AS LINK ===== */
.project-card {
  text-decoration: none; color: inherit;
}
.project-link {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  margin-top: auto; transition: letter-spacing .25s;
  position: relative; z-index: 1;
}
.project-card:hover .project-link { letter-spacing: .18em; }

/* ===== BROWSER MOCKUP ===== */
.browser-mockup {
  background: #ffffff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.05);
}
.browser-chrome {
  height: 34px; background: #f0f0f0; border-bottom: 1px solid #ddd;
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.bdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bdot--red    { background: #ff5f57; }
.bdot--yellow { background: #febc2e; }
.bdot--green  { background: #28c840; }
.burl { flex: 1; height: 18px; background: #e0e0e0; border-radius: 9px; margin-left: 8px; }
.browser-screen { display: flex; flex-direction: column; }
.bs-bar { height: 28px; background: var(--bs1, #c02828); }
.bs-hero-area {
  height: 115px;
  background: linear-gradient(135deg, var(--bs1, #c02828), var(--bs2, #e86060));
  display: flex; align-items: center; padding: 0 16px; gap: 14px;
}
.bs-copy { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.bs-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,.5); }
.bs-line--lg { width: 68%; }
.bs-line--md { width: 48%; }
.bs-line--sm { width: 34%; background: rgba(255,255,255,.3); }
.bs-btn-fake { width: 58px; height: 15px; border-radius: 3px; background: rgba(255,255,255,.4); margin-top: 4px; }
.bs-img-fake { width: 72px; height: 72px; border-radius: 8px; background: rgba(255,255,255,.22); flex-shrink: 0; }
.bs-grid { display: flex; gap: 8px; padding: 12px 14px 16px; background: var(--bs3, #fde8e8); }
.bs-card-fake {
  flex: 1; height: 54px; border-radius: 7px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(0,0,0,.05);
}

/* ===== DEVICE MOCKUPS ===== */

/* Layout contenedor */
.page-hero-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero-text { display: flex; flex-direction: column; gap: .25rem; }
.page-hero-text .section-title { margin-bottom: .75rem; }

.hero-devices {
  position: relative;
  height: 400px;
}

/* ── Laptop ── */
.mockup-laptop {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.28))
          drop-shadow(0 6px 16px rgba(0,0,0,.18))
          drop-shadow(0 0 80px rgba(192,40,40,.1));
}
.ml-lid {
  background: #1e1e1e;
  border-radius: 10px 10px 3px 3px;
  padding: 16px 8px 8px;
  position: relative;
}
.ml-lid::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px;
  background: #3a3a3a; border-radius: 50%;
}
.ml-screen {
  width: 380px; height: 238px;
  background: #000; border-radius: 3px;
  overflow: hidden; position: relative;
}
.ml-screen iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px;
  border: none; pointer-events: none;
  transform: scale(0.2969);
  transform-origin: top left;
}
.ml-base {
  background: linear-gradient(to bottom, #2a2a2a, #363636);
  height: 13px; border-radius: 0 0 8px 8px;
  width: 396px;
}
.ml-foot {
  width: 310px; height: 5px;
  background: #888; margin: 0 auto;
  border-radius: 0 0 6px 6px;
}

/* ── Tablet ── */
.mockup-tablet {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.32))
          drop-shadow(0 4px 12px rgba(0,0,0,.2));
}
.mt-frame {
  background: #1a1a1a;
  border-radius: 14px;
  padding: 10px 8px 22px;
  position: relative;
}
.mt-frame::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px;
  border: 1.5px solid #3a3a3a; border-radius: 50%;
}
.mt-screen {
  width: 132px; height: 190px;
  background: #000; border-radius: 3px;
  overflow: hidden; position: relative;
}
.mt-screen iframe {
  position: absolute; top: 0; left: 0;
  width: 768px; height: 1024px;
  border: none; pointer-events: none;
  transform: scale(0.1719);
  transform-origin: top left;
}

/* ── Phone ── */
.mockup-phone {
  position: absolute;
  left: 80px; bottom: 10px;
  z-index: 3;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.32))
          drop-shadow(0 4px 10px rgba(0,0,0,.2));
}
.mp-frame {
  background: #111;
  border-radius: 20px;
  padding: 20px 7px 12px;
  position: relative;
}
.mp-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 6px;
  background: #1e1e1e; border-radius: 3px;
}
.mp-frame::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px;
  background: #2a2a2a; border-radius: 2px;
}
.mp-screen {
  width: 82px; height: 154px;
  background: #000; border-radius: 3px;
  overflow: hidden; position: relative;
}
.mp-screen iframe {
  position: absolute; top: 0; left: 0;
  width: 390px; height: 844px;
  border: none; pointer-events: none;
  transform: scale(0.2103);
  transform-origin: top left;
}

/* ===== PAGE HERO (subpáginas) ===== */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 2rem 5rem;
  border-bottom: 1px solid var(--card-border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -20%; right: -15%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(192,40,40,.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.breadcrumb i { font-size: .55rem; }
.page-hero .section-title { margin-bottom: 1.5rem; }
.page-hero-lead {
  font-size: 1.1rem; line-height: 1.85; color: var(--text-secondary); max-width: 600px;
}

/* ===== TIPOS DE SERVICIO ===== */
.tipos-section {
  padding: 6rem 2rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--card-border);
}
.tipos-container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.tipo-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: 0 2px 12px rgba(30,26,20,.05);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.tipo-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 36px rgba(192,40,40,.1);
  transform: translateY(-4px);
}
.tipo-icon {
  width: 56px; height: 56px; background: var(--gold-dim);
  border: 1px solid rgba(192,40,40,.2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.tipo-icon i { font-size: 1.4rem; color: var(--gold); }
.tipo-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: .05em; color: var(--cream);
}
.tipo-card > p { font-size: .95rem; line-height: 1.75; color: var(--text-secondary); }
.tipo-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.tipo-list li {
  font-size: .88rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: .65rem;
}
.tipo-list li::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* ===== PORTAFOLIO WEB ===== */
.portafolio-section {
  padding: 7rem 2rem;
  border-top: 1px solid var(--card-border);
}
.portafolio-wrapper { max-width: 1200px; margin: 0 auto; }
.portafolio-section .section-title { margin-bottom: 1rem; }
.portafolio-sub {
  font-size: .95rem; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 5rem; max-width: 540px;
}
.pw-card {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 5rem; align-items: center; margin-bottom: 7rem;
}
.pw-card:last-child { margin-bottom: 0; }
.pw-card--flip .pw-visual { order: 2; }
.pw-card--flip .pw-info   { order: 1; }
.pw-visual {
  background: var(--tv, #fde8e8);
  border-radius: 22px; padding: 2.5rem;
}
.pw-info { display: flex; flex-direction: column; gap: 1.25rem; }
.pw-cat {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--gold);
}
.pw-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: .04em; color: var(--cream); line-height: 1.05;
}
.pw-desc { font-size: .95rem; line-height: 1.82; color: var(--text-secondary); }
.pw-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.pw-tags span {
  padding: .28rem .9rem; border: 1px solid var(--card-border);
  border-radius: 100px; font-size: .72rem; font-weight: 500;
  letter-spacing: .05em; color: var(--text-secondary); background: var(--card);
}

/* ===== PW IMAGE PREVIEW (proyectos con imagen real) ===== */
.pw-visual--img { padding: 0; overflow: hidden; }
.pw-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 22px;
  cursor: zoom-in;
}
.pw-img-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform .45s ease;
  pointer-events: none;
  user-select: none;
}
.pw-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 16, 0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  gap: .6rem;
  transition: background .3s ease;
  border-radius: 22px;
}
.pw-img-zoom {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .5rem 1.2rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.pw-img-wrap:hover .pw-img-overlay { background: rgba(28, 24, 16, .35); }
.pw-img-wrap:hover .pw-img-zoom    { opacity: 1; transform: translateY(0); }
.pw-img-wrap:hover .pw-img-preview { transform: scale(1.03); }

@media (max-width: 860px) {
  .pw-img-wrap { height: 220px; border-radius: 16px; }
  .pw-visual--img { border-radius: 16px; }
}
@media (max-width: 480px) {
  .pw-img-wrap { height: 180px; }
}

/* ===== DUAL DEVICE (desktop + móvil juntos) ===== */
.pw-visual--dual { padding: 0; overflow: visible; }
.pw-dual-device {
  position: relative;
  height: 320px;
  border-radius: 22px;
  overflow: visible;
}
.pw-img-wrap--desk {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 22px;
  cursor: zoom-in;
}
.pw-img-wrap--desk {
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.pw-img-wrap--mob {
  position: absolute;
  bottom: -1.2rem;
  right: 1rem;
  width: 86px;
  height: 154px;
  border-radius: 12px;
  border: 3px solid #111;
  box-shadow: 0 14px 36px rgba(0,0,0,.32);
  overflow: hidden;
  z-index: 2;
  cursor: zoom-in;
}
.pw-img-wrap--mob .pw-img-preview {
  transform: scale(1.22);
  transform-origin: top center;
}
.pw-img-wrap--mob .pw-img-overlay {
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}
.pw-img-wrap--mob .pw-img-zoom {
  width: 2rem;
  height: 2rem;
  padding: 0;
  justify-content: center;
  font-size: .75rem;
  letter-spacing: 0;
}
@media (max-width: 860px) {
  .pw-dual-device { height: 220px; border-radius: 16px; }
  .pw-img-wrap--desk { border-radius: 16px; }
  .pw-img-wrap--mob { width: 66px; height: 118px; bottom: .75rem; right: .75rem; }
}
@media (max-width: 480px) {
  .pw-dual-device { height: 180px; }
  .pw-img-wrap--mob { width: 55px; height: 98px; }
}

/* ===== LIGHTBOX ===== */
.pw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 8, 6, .92);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.pw-lightbox--open { display: flex; }

.pw-lightbox-canvas {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pw-lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  object-fit: contain;
  transform-origin: center center;
  transition: transform .15s ease;
  user-select: none;
  pointer-events: none;
}
.pw-lightbox--dragging .pw-lightbox-img { transition: none; cursor: grabbing; }
.pw-lightbox--zoomed .pw-lightbox-canvas { cursor: grab; }

/* Controles del lightbox */
.pw-lightbox-controls {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .5rem;
  z-index: 9002;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: .4rem .6rem;
}
.pw-lb-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: opacity .2s, background .2s;
}
.pw-lb-btn:hover { opacity: 1; background: rgba(255,255,255,.15); }
.pw-lb-zoom-label {
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  min-width: 3rem;
  text-align: center;
}

.pw-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 9002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: opacity .2s, background .2s;
}
.pw-lightbox-close:hover { opacity: 1; background: rgba(255,255,255,.2); }

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 6rem 2rem; background: var(--bg-2);
  border-top: 1px solid var(--card-border); text-align: center;
}
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-section .section-title { margin-bottom: 1rem; }
.cta-section p { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .proyectos-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .ml-screen { width: 320px; height: 200px; }
  .ml-screen iframe { width: 1280px; transform: scale(0.25); }
  .ml-base { width: 336px; }
  .ml-foot { width: 260px; }
}
@media (max-width: 1024px) {
  .pw-card { gap: 3rem; }
}
/* ===== EC HERO VISUAL ===== */
.ec-hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override: laptop estático dentro del visual flex */
.ec-laptop {
  position: static !important;
  transform: none !important;
  animation: floatAvatar 5s ease-in-out infinite;
}

/* ── Tienda de ropa dentro de la pantalla ── */
.ec-laptop-store {
  width: 380px; height: 238px;
  background: #f7f7f7;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.ec-ls-nav {
  height: 28px;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
}
.ec-ls-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .82rem;
  letter-spacing: .1em;
  color: #1a1a1a;
  flex-shrink: 0;
}
.ec-ls-logo span { color: #c02828; }
.ec-ls-links {
  display: flex;
  gap: 8px;
  flex: 1;
}
.ec-ls-links span {
  font-size: .47rem;
  color: #888;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ec-ls-cart-icon {
  position: relative;
  font-size: .72rem;
  color: #1a1a1a;
  flex-shrink: 0;
}
.ec-ls-cart-icon em {
  position: absolute;
  top: -4px; right: -5px;
  width: 9px; height: 9px;
  background: #c02828;
  border-radius: 50%;
  font-size: .35rem;
  font-style: normal;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-ls-banner {
  height: 86px;
  background: linear-gradient(120deg, #1a1a1a 55%, #2e2e2e);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.ec-ls-banner-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ec-ls-banner-copy p {
  font-size: .46rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.ec-ls-banner-copy strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .06em;
  line-height: 1.1;
}
.ec-ls-banner-btn {
  margin-top: 5px;
  background: #c02828;
  color: #fff;
  font-size: .44rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}
.ec-ls-banner-img {
  width: 62px; height: 62px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: rgba(255,255,255,.65);
  flex-shrink: 0;
}

.ec-ls-section-label {
  font-size: .46rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #aaa;
  padding: 5px 12px 3px;
}

.ec-ls-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 10px 8px;
}
.ec-ls-prod {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ec-ls-prod-img {
  aspect-ratio: 3/4;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ec-ls-prod-img--1 { background: #fde8e8; color: #c02828; }
.ec-ls-prod-img--2 { background: #e8f0fe; color: #3b5bdb; }
.ec-ls-prod-img--3 { background: #e8fdf0; color: #2d8a4e; }
.ec-ls-prod-img--4 { background: #fef6e8; color: #d4800a; }
.ec-ls-prod-name {
  height: 5px; border-radius: 3px;
  background: #ddd; width: 80%;
}
.ec-ls-prod-price {
  height: 5px; border-radius: 3px;
  background: #c02828; width: 55%; opacity: .65;
}

/* Badges flotantes */
.ec-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: .5rem .9rem .5rem .55rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 28px rgba(30,26,20,.11);
  white-space: nowrap;
}
.ec-badge-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  flex-shrink: 0;
}
.ec-badge-icon--green {
  background: #e6f9ee;
  color: #1a8a45;
}

.ec-badge--mp    { top: 24px;  right: 0; animation: floatBadge1 4s   ease-in-out infinite; }
.ec-badge--stock { bottom: 70px; right: 8px; animation: floatBadge2 4.8s ease-in-out infinite; }
.ec-badge--sale  { bottom: 16px; left: 4px;  animation: floatBadge3 5.4s ease-in-out infinite; }

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
@keyframes floatBadge3 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ===== SM HERO VISUAL ===== */
.sm-hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-phone {
  animation: floatAvatar 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.3)) drop-shadow(0 6px 16px rgba(0,0,0,.18));
  flex-shrink: 0;
}
.sm-hero-img {
  animation: floatAvatar 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.3)) drop-shadow(0 6px 16px rgba(0,0,0,.18));
  max-height: 400px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.sm-phone-frame {
  background: #111;
  border-radius: 36px;
  padding: 26px 8px 16px;
  width: 188px;
  position: relative;
}
.sm-phone-notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 7px;
  background: #1e1e1e; border-radius: 4px;
}
.sm-phone-screen {
  width: 172px; height: 340px;
  background: #fff; border-radius: 4px; overflow: hidden;
}
.sm-phone-home {
  width: 48px; height: 3px;
  background: #333; border-radius: 2px;
  margin: 7px auto 0;
}

/* ── Instagram UI ── */
.sm-ig { width: 172px; background: #fff; overflow: hidden; }

.sm-ig-topbar {
  height: 26px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px;
  border-bottom: .5px solid #efefef;
}
.sm-ig-topbar i { font-size: .58rem; color: #262626; }
.sm-ig-topbar span { font-size: .56rem; font-weight: 700; color: #262626; letter-spacing: -.01em; }

.sm-ig-profile {
  display: flex; align-items: center;
  padding: 8px 10px 4px; gap: 8px;
}
.sm-ig-avatar { position: relative; flex-shrink: 0; width: 46px; height: 46px; }
.sm-ig-avatar-ring {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex; align-items: center; justify-content: center;
}
.sm-ig-avatar-img {
  width: 40px; height: 40px; border-radius: 50%;
  background: #e8d5f5; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #9b59b6;
}
.sm-ig-avatar-img--logo {
  background: #fff;
  padding: 2px;
  overflow: hidden;
}
.sm-ig-avatar-img--logo img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.sm-ig-stats { display: flex; gap: 4px; flex: 1; }
.sm-ig-stat {
  display: flex; flex-direction: column; align-items: center; gap: 1px; flex: 1;
}
.sm-ig-stat strong { font-size: .52rem; font-weight: 700; color: #262626; }
.sm-ig-stat span   { font-size: .4rem;  color: #737373; }

.sm-ig-bio { padding: 2px 10px 3px; display: flex; flex-direction: column; gap: 3px; }
.sm-ig-bio-name { height: 5px; width: 65px; background: #262626; border-radius: 3px; }
.sm-ig-bio-name--text {
  height: auto; width: auto; background: none; border-radius: 0;
  font-size: .46rem; font-weight: 700; color: #262626; letter-spacing: .01em;
}
.sm-ig-bio-line { height: 4px; border-radius: 2px; background: #dbdbdb; }
.sm-ig-bio-line--lg { width: 130px; }
.sm-ig-bio-line--md { width: 88px; }

.sm-ig-actions { display: flex; gap: 4px; padding: 4px 10px; }
.sm-ig-actions-btn {
  flex: 1; background: #efefef; border-radius: 6px;
  font-size: .44rem; font-weight: 600; color: #262626;
  text-align: center; padding: 4px 0; letter-spacing: .02em;
}
.sm-ig-actions-btn--icon {
  flex: 0 0 26px; display: flex; align-items: center; justify-content: center;
  font-size: .55rem;
}

.sm-ig-highlights {
  display: flex; gap: 8px; padding: 5px 10px 6px;
  border-bottom: .5px solid #efefef; overflow: hidden;
}
.sm-ig-hl { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.sm-ig-hl-circle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #dbdbdb;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; color: var(--gold); background: var(--gold-dim);
}
.sm-ig-hl span {
  font-size: .34rem; color: #262626; text-align: center;
  max-width: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sm-ig-tabs {
  display: flex; border-bottom: .5px solid #efefef;
}
.sm-ig-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 5px 0; font-size: .6rem; color: #dbdbdb;
}
.sm-ig-tab.active { color: #262626; border-bottom: 1px solid #262626; }

.sm-ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
}
.sm-ig-post {
  aspect-ratio: 1; overflow: hidden;
  display: flex; align-items: stretch;
}
.sm-ig-post--1 { background: #0d1117; }
.sm-ig-post--2 { background: #f4f4f5; }
.sm-ig-post--3 { background: #fff; }
.sm-ig-post--4 { background: #0d1117; }
.sm-ig-post--5 { background: #c02828; }
.sm-ig-post--6 { background: #1a1a1a; }

/* shared color tokens for post content */
.c-pink  { color: #ff79c6; }
.c-blu   { color: #8be9fd; }
.c-grn   { color: #50fa7b; }
.c-ylw   { color: #f1fa8c; }
.c-red   { color: #ff5555; }
.c-w     { color: #f8f8f2; }

/* ── Post 1: Code Editor ── */
.sm-post-editor {
  width: 100%; display: flex; flex-direction: column;
  font-family: 'Courier New', monospace;
}
.sm-pe-bar {
  background: #21262d; padding: 2px 3px;
  display: flex; gap: 2px; align-items: center;
}
.sm-pe-bar i {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%;
}
.sm-pe-bar i:nth-child(1) { background: #ff5f57; }
.sm-pe-bar i:nth-child(2) { background: #febc2e; }
.sm-pe-bar i:nth-child(3) { background: #28c840; }
.sm-pe-lines { padding: 3px 3px 2px; display: flex; flex-direction: column; gap: 1.5px; }
.sm-pe-ln { display: flex; gap: 1px; font-size: 3px; line-height: 1; white-space: nowrap; }
.sm-pe-ln--in  { padding-left: 4px; }
.sm-pe-ln--in2 { padding-left: 8px; }

/* ── Post 2: Website Mockup ── */
.sm-post-site {
  width: 100%; display: flex; flex-direction: column;
  border: 0.5px solid #ddd;
}
.sm-ps-chrome {
  background: #e8e8e8; padding: 2px 3px;
  display: flex; align-items: center; gap: 2px;
}
.sm-ps-dots { display: flex; gap: 1.5px; }
.sm-ps-dots i { display: inline-block; width: 2.5px; height: 2.5px; border-radius: 50%; }
.sm-ps-dots i:nth-child(1) { background: #ff5f57; }
.sm-ps-dots i:nth-child(2) { background: #febc2e; }
.sm-ps-dots i:nth-child(3) { background: #28c840; }
.sm-ps-url { flex: 1; background: #fff; height: 3px; border-radius: 2px; margin-left: 2px; }
.sm-ps-hero {
  background: linear-gradient(135deg, #c02828, #8b0000);
  padding: 4px 3px; display: flex; align-items: center; gap: 3px; flex: 1;
}
.sm-ps-hero-txt { display: flex; flex-direction: column; gap: 1.5px; flex: 1; }
.sm-ps-hero-txt div { height: 2px; border-radius: 1px; background: rgba(255,255,255,.7); }
.sm-ps-hero-txt div:first-child { width: 90%; background: #fff; }
.sm-ps-hero-txt div:last-child  { width: 60%; }
.sm-ps-hero-img { width: 12px; height: 12px; border-radius: 2px; background: rgba(255,255,255,.2); }
.sm-ps-cards { display: flex; gap: 1.5px; padding: 2px 2px; background: #fff; }
.sm-ps-cards div { flex: 1; height: 8px; border-radius: 1.5px; background: #f0f0f0; border: 0.5px solid #e0e0e0; }

/* ── Post 3: Paleta de marca ── */
.sm-post-palette {
  width: 100%; display: flex; flex-direction: column;
  padding: 4px; gap: 3px;
}
.sm-pal-label { height: 3px; width: 28px; background: #1a1a1a; border-radius: 2px; }
.sm-pal-swatches {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
}
.sm-pal-swatches div { height: 10px; border-radius: 1.5px; }
.sm-pal-typo { display: flex; flex-direction: column; gap: 2px; margin-top: 1px; }
.sm-pal-t1 { height: 3px; background: #1a1a1a; border-radius: 1px; width: 80%; }
.sm-pal-t2 { height: 2px; background: #c0c0c0; border-radius: 1px; width: 55%; }

/* ── Post 4: Terminal ── */
.sm-post-terminal {
  width: 100%; display: flex; flex-direction: column;
  font-family: 'Courier New', monospace;
}
.sm-term-top {
  background: #21262d; padding: 2px 3px;
  display: flex; gap: 2px; font-size: 3.5px; line-height: 1;
}
.sm-term-body { padding: 3px; display: flex; flex-direction: column; gap: 2px; }
.sm-tl { display: flex; gap: 1.5px; font-size: 2.8px; line-height: 1; white-space: nowrap; align-items: center; }
.sm-cursor {
  display: inline-block; width: 3px; height: 4px;
  background: #50fa7b; animation: blink .8s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Post 5: Dispositivos responsivos ── */
.sm-post-devices {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  padding: 4px;
}
.sm-dev-label { height: 2.5px; width: 30px; background: rgba(255,255,255,.6); border-radius: 1px; }
.sm-dev-row { display: flex; align-items: flex-end; gap: 3px; }
.sm-dev-desktop { display: flex; flex-direction: column; align-items: center; gap: 0; }
.sm-ddt-screen {
  width: 22px; height: 15px; border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 1.5px; background: rgba(255,255,255,.15);
  display: flex; flex-direction: column; gap: 2px; padding: 2px;
}
.sm-ddt-screen div { height: 2px; background: rgba(255,255,255,.5); border-radius: 1px; }
.sm-ddt-screen div:first-child { width: 100%; }
.sm-ddt-screen div:last-child  { width: 65%; }
.sm-ddt-stand { width: 6px; height: 3px; background: rgba(255,255,255,.5); }
.sm-ddt-base  { width: 12px; height: 1.5px; background: rgba(255,255,255,.7); border-radius: 1px; }
.sm-dev-phone {
  width: 9px; height: 16px;
  border: 1.5px solid rgba(255,255,255,.9); border-radius: 2px;
  background: rgba(255,255,255,.15); padding: 2px 1px;
  display: flex; flex-direction: column; gap: 1.5px;
}
.sm-dph-screen div { height: 1.5px; background: rgba(255,255,255,.5); border-radius: .5px; }
.sm-dph-screen div:nth-child(1) { width: 100%; }
.sm-dph-screen div:nth-child(2) { width: 75%; }
.sm-dph-screen div:nth-child(3) { width: 55%; }

/* ── Post 6: UI Card Design ── */
.sm-post-ui {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; gap: 1.5px;
  padding: 4px 3px; background: #1a1a1a;
}
.sm-ui-card {
  display: flex; gap: 2px; align-items: flex-start;
  background: #2a2a2a; border-radius: 2px; padding: 2px;
}
.sm-ui-card--sm { opacity: .6; }
.sm-ui-img {
  width: 14px; height: 14px; border-radius: 1.5px; flex-shrink: 0;
  background: linear-gradient(135deg, #c02828, #ff6060);
}
.sm-ui-card--sm .sm-ui-img { width: 10px; height: 10px; }
.sm-ui-info { display: flex; flex-direction: column; gap: 1.5px; flex: 1; justify-content: center; }
.sm-ui-title { height: 2px; background: #f0f0f0; border-radius: 1px; width: 85%; }
.sm-ui-sub   { height: 1.5px; background: #555; border-radius: 1px; width: 60%; }
.sm-ui-price { height: 2px; background: #c02828; border-radius: 1px; width: 40%; }
.sm-ui-btn   { height: 3px; background: #c02828; border-radius: 1px; width: 55%; margin-top: 1px; }

/* Floating badges */
.sm-float {
  position: absolute;
  display: flex; align-items: center; gap: .5rem;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: .48rem .9rem .48rem .6rem;
  font-size: .74rem; font-weight: 700; color: var(--text-primary);
  box-shadow: 0 8px 28px rgba(30,26,20,.11);
  white-space: nowrap;
}
.sm-float-icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; flex-shrink: 0;
}
.sm-float--heart { top: 28px; right: 0; animation: floatBadge1 4s ease-in-out infinite; }
.sm-float--heart .sm-float-icon { background: #fde8ef; color: #e03a5a; }
.sm-float--hash  { bottom: 72px; right: 8px; animation: floatBadge2 4.8s ease-in-out infinite; }
.sm-float--hash  .sm-float-icon { background: var(--gold-dim); color: var(--gold); }
.sm-float--comment { bottom: 18px; left: 4px; animation: floatBadge3 5.4s ease-in-out infinite; }
.sm-float--comment .sm-float-icon { background: #e8f0fe; color: #3b82f6; }
.sm-float--share { top: 44%; left: 0; animation: floatBadge1 5.8s 1s ease-in-out infinite; }
.sm-float--share .sm-float-icon { background: var(--bg-3); color: var(--text-secondary); }

/* 3-col tipos */
.tipos-container--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== SM PORTFOLIO CARDS ===== */
.sm-portafolio-section {
  padding: 7rem 2rem;
  border-top: 1px solid var(--card-border);
}
.sm-portafolio-wrapper { max-width: 1200px; margin: 0 auto; }
.sm-portafolio-section .section-title { margin-bottom: 1rem; }

.sm-pw-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(30,26,20,.06);
}
.sm-pw-card:last-child { margin-bottom: 0; }

.sm-pw-posts {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.sm-pw-img-wrap {
  height: 230px;
  border-radius: 14px;
}
.sm-pw-img-full {
  border-radius: 14px;
  overflow: hidden;
}
.sm-pw-img-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Instagram post mockup */
.ig-post-mockup {
  flex: 1;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
  transition: transform .3s, box-shadow .3s;
}
.ig-post-mockup:nth-child(2) {
  transform: translateY(-10px);
  box-shadow: 0 14px 32px rgba(0,0,0,.14);
}
.sm-pw-card:hover .ig-post-mockup:nth-child(1) { transform: translateY(-4px) rotate(-1deg); }
.sm-pw-card:hover .ig-post-mockup:nth-child(2) { transform: translateY(-16px); }
.sm-pw-card:hover .ig-post-mockup:nth-child(3) { transform: translateY(-4px) rotate(1deg); }

.ig-pm-header {
  height: 33px;
  display: flex; align-items: center;
  padding: 0 7px; gap: 5px;
  border-bottom: .5px solid #efefef;
}
.ig-pm-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  flex-shrink: 0;
}
.ig-pm-user { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ig-pm-user-line { height: 4px; border-radius: 2px; background: #262626; width: 42px; }
.ig-pm-user-sub  { height: 3px; border-radius: 2px; background: #dbdbdb; width: 28px; }
.ig-pm-dots { font-size: .5rem; color: #aaa; }

.ig-pm-image {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ig-pm-inner {
  width: 65%; display: flex; flex-direction: column;
  align-items: center; gap: 5px; text-align: center;
}
.ig-pm-inner-circle {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.4); margin-bottom: 3px;
}
.ig-pm-inner-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,.55); }
.ig-pm-inner-line--lg { width: 90%; }
.ig-pm-inner-line--md { width: 65%; }
.ig-pm-inner-line--sm { width: 45%; background: rgba(255,255,255,.35); }

.ig-pm-footer { padding: 5px 7px 7px; display: flex; flex-direction: column; gap: 3px; }
.ig-pm-actions { display: flex; align-items: center; gap: 6px; }
.ig-pm-actions i { font-size: .62rem; color: #262626; }
.ig-pm-actions .fa-heart { color: #e03a5a; }
.ig-pm-likes  { font-size: .42rem; font-weight: 700; color: #262626; }
.ig-pm-cap    { height: 3px; border-radius: 2px; background: #efefef; width: 72%; }

/* Responsive SM portfolio */
@media (max-width: 860px) {
  .sm-pw-card { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== BRANDING HERO VISUAL ===== */
.br-hero-visual {
  position: relative; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.br-hero-img {
  animation: floatAvatar 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.3)) drop-shadow(0 6px 16px rgba(0,0,0,.18));
  max-height: 400px;
  width: auto;
  display: block;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.br-artboard {
  width: 272px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 22px 60px rgba(30,26,20,.13), 0 4px 16px rgba(30,26,20,.07);
  animation: floatAvatar 5s ease-in-out infinite;
  background-image: radial-gradient(var(--card-border) 1px, transparent 1px);
  background-size: 18px 18px;
}
.br-ab-label {
  font-size: .42rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .85rem;
}
.br-ab-logo {
  background: var(--bg-2); border-radius: 10px;
  padding: .85rem 1rem; display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem;
}
.br-ab-logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem; flex-shrink: 0;
}
.br-ab-logo-lines { display: flex; flex-direction: column; gap: 5px; }
.br-ab-ll { height: 6px; border-radius: 3px; background: var(--text-primary); }
.br-ab-ll--lg { width: 110px; }
.br-ab-ll--md { width: 75px; opacity: .4; }

.br-ab-palette { display: flex; gap: 6px; margin-bottom: .9rem; }
.br-ab-swatch { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.13); }

.br-ab-typo {
  background: var(--gold); border-radius: 8px;
  padding: .65rem .85rem; display: flex; align-items: center; gap: .65rem;
}
.br-ab-aa { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; color: #fff; line-height: 1; }
.br-ab-info { display: flex; flex-direction: column; gap: 4px; }
.br-ab-info-name { height: 5px; border-radius: 3px; background: rgba(255,255,255,.7); width: 64px; }
.br-ab-info-abc  { height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); width: 84px; }

.br-float { position: absolute; display: flex; align-items: center; gap: .5rem;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 100px;
  padding: .48rem .9rem .48rem .58rem; font-size: .74rem; font-weight: 700;
  color: var(--text-primary); box-shadow: 0 8px 28px rgba(30,26,20,.11); white-space: nowrap; }
.br-float-icon { width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; flex-shrink: 0; }
.br-float--ai  { top: 26px; right: 0;   animation: floatBadge1 4s   ease-in-out infinite; }
.br-float--ai .br-float-icon   { background: #fff0e8; color: #e67e22; }
.br-float--manual { bottom: 68px; right: 8px; animation: floatBadge2 4.8s ease-in-out infinite; }
.br-float--manual .br-float-icon { background: var(--gold-dim); color: var(--gold); }
.br-float--color { bottom: 16px; left: 4px; animation: floatBadge3 5.4s ease-in-out infinite; }
.br-float--color .br-float-icon { background: #e8f0fe; color: #3b82f6; }
.br-float--typo { top: 42%; left: 0; animation: floatBadge1 5.8s 1s ease-in-out infinite; }
.br-float--typo .br-float-icon { background: #f0faf4; color: #2d8a4e; }

/* ===== BRAND BOARD PORTFOLIO ===== */
.br-portafolio-section { padding: 7rem 2rem; border-top: 1px solid var(--card-border); }
.br-portafolio-wrapper { max-width: 1200px; margin: 0 auto; }
.br-portafolio-section .section-title { margin-bottom: 1rem; }

.br-pw-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 22px; overflow: hidden; margin-bottom: 3.5rem;
  box-shadow: 0 4px 28px rgba(30,26,20,.07);
  transition: box-shadow .3s, transform .3s;
}
.br-pw-card:last-child { margin-bottom: 0; }
.br-pw-card:hover { transform: translateY(-4px); box-shadow: 0 14px 48px rgba(30,26,20,.11); }

.br-board-header {
  padding: 2rem 2.5rem 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.br-board-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: .06em; line-height: 1;
}
.br-board-sub {
  font-size: .65rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted); margin-top: .3rem;
}
.br-board-cat {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}

.br-logos-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--card-border);
  margin: 0 2.5rem; border-radius: 14px; overflow: hidden;
}
.br-logo-box { background: var(--bg-2); padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.br-logo-box-label {
  font-size: .5rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
}
.br-logo-visual {
  flex: 1; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: .75rem; background: var(--card);
}
.br-lv-primary { display: flex; align-items: center; gap: .5rem; }
.br-lv-icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: #fff; flex-shrink: 0;
}
.br-lv-text { display: flex; flex-direction: column; gap: 4px; }
.br-lv-t1 { height: 7px; border-radius: 3px; width: 72px; }
.br-lv-t2 { height: 5px; border-radius: 2px; width: 48px; opacity: .5; }
.br-lv-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}
.br-lv-sub {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: .04em; line-height: 1;
}

.br-palette-section { padding: 1.25rem 2.5rem; }
.br-palette-label {
  font-size: .5rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem;
}
.br-palette-row { display: flex; gap: .7rem; align-items: center; }
.br-pc { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.br-pc-dot { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 3px 10px rgba(0,0,0,.14); }
.br-pc-hex { font-size: .38rem; color: var(--text-muted); letter-spacing: .04em; }

.br-typo-section {
  margin: 0 2.5rem 1.25rem;
  border-radius: 12px; padding: 1rem 1.5rem;
  display: flex; gap: 3rem; align-items: center;
}
.br-ts-block { display: flex; align-items: center; gap: .75rem; }
.br-ts-aa { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: #fff; line-height: 1; }
.br-ts-info { display: flex; flex-direction: column; gap: 4px; }
.br-ts-n { height: 7px; border-radius: 3px; background: rgba(255,255,255,.75); width: 68px; }
.br-ts-a { height: 5px; border-radius: 2px; background: rgba(255,255,255,.4); width: 88px; }
.br-ts-n2 { height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); width: 52px; }

.br-mockups-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 0 2.5rem 2.5rem;
}
.br-mockup {
  border-radius: 10px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: rgba(255,255,255,.45);
  overflow: hidden;
}

.br-img-wrap {
  margin: 0 2.5rem 2rem;
  border-radius: 16px;
  overflow: hidden;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
.br-img-wrap img {
  width: 100%; height: auto; display: block;
}
@media (max-width: 860px) {
  .br-img-wrap { margin: 0 1.25rem 1.5rem; max-width: 100%; }
}

.br-info-row {
  padding: 1.4rem 2.5rem;
  border-top: 1px solid var(--card-border);
  display: flex; align-items: center; gap: 2.5rem;
}
.br-info-desc { font-size: .88rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.br-info-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.br-info-tags span {
  padding: .24rem .8rem; border: 1px solid var(--card-border);
  border-radius: 100px; font-size: .68rem; font-weight: 500;
  color: var(--text-secondary); white-space: nowrap;
}

@media (max-width: 860px) {
  .tipos-container { grid-template-columns: 1fr; }
  .tipos-container--3 { grid-template-columns: 1fr; }
  .pw-card { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
  .pw-card--flip .pw-visual,
  .pw-card--flip .pw-info { order: unset; }
  .portafolio-sub { margin-bottom: 3rem; }
  .page-hero-inner--split { grid-template-columns: 1fr; }
  .hero-devices { display: none; }
  .ec-hero-visual { display: none; }
  .sm-hero-visual { display: none; }
  .br-hero-visual { display: none; }
  .br-logos-row { margin: 0 1.25rem; }
  .br-palette-section { padding: 1rem 1.25rem; }
  .br-typo-section { margin: 0 1.25rem 1rem; }
  .br-mockups-row { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem 1.5rem; }
  .br-board-header { padding: 1.5rem 1.25rem 1rem; }
  .br-info-row { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
  .sm-pw-card { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero-image { order: -1; }
  .hero-image img { width: min(340px, 80%); }
  .hero-text p { margin-inline: auto; }
  .sobre-container { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-image { max-width: 380px; margin: 0 auto; }
  .contacto-container { grid-template-columns: 1fr; gap: 3.5rem; }
  .contacto-title-responsive { display: block; margin-bottom: 0; }
  .contacto-right .section-title { display: none; }
  .contacto-left  { order: 2; }
  .contacto-right { order: 1; }
}
@media (max-width: 860px) {
  .hamburger { display: flex; }

  .navbar {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    height: auto; max-width: 100%; margin: 0;
    flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0;
    padding: 0.5rem 2rem 1.75rem;
    background: rgba(244,244,245,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    /* estado oculto */
    opacity: 0; transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
    z-index: 498;
  }
  .navbar.open {
    opacity: 1; transform: translateY(0);
    pointer-events: all;
  }
  .navbar a {
    font-size: .85rem; padding: .95rem 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-secondary); letter-spacing: .06em;
  }
  .navbar a:last-child { border-bottom: none; }
  .navbar a::after { display: none; }
  .navbar a:hover { color: var(--gold); }
}
@media (max-width: 600px) {
  .proyectos-container { grid-template-columns: 1fr; }
}
