/* =========================================
   VARIABLES - Negro cálido, blanco hueso & dorado elegante
========================================= */
:root {
  --black: #0D0D0D;
  --dark: #16110B;
  --dark-soft: #1F1810;
  --dark-card: #241C13;
  --ivory: #F5F0E6;
  --ivory-soft: #EFE9DC;
  --cream: #FBF8F3;
  --gold: #B8965A;
  --gold-light: #D4B47E;
  --gold-dark: #8C6E3E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --gray: #8A8378;
  --shadow: rgba(184, 150, 90, 0.22);
  --promo-h: 0px;

  --font-title: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--ivory);
  line-height: 1.7;
  position: relative;
  opacity: 0;
  transition: opacity 0.24s ease;
}
body.page-ready { opacity: 1; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-title); color: var(--black); }
.italic { font-style: italic; color: var(--gold); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 0.98rem; }
.section-sub.small { font-size: 0.88rem; margin-bottom: 20px; }
.section-head.light h2, .section-head.light .eyebrow { color: var(--ivory); }

/* =========================================
   ICONOS (sprite SVG reutilizable)
========================================= */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em; display: inline-block; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em;
}
.icon.icon-fill { fill: currentColor; stroke: none; }

.badge-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(184,150,90,0.12); color: var(--gold-dark);
  margin: 0 auto 18px; font-size: 1.4rem; transition: var(--transition);
}
.badge-icon.left { margin: 0 0 16px; }

/* =========================================
   CURSOR PERSONALIZADO — nodo de diseño + rastro conectado
========================================= */
html.custom-cursor, html.custom-cursor * { cursor: none !important; }

.cursor-core {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background: var(--gold); pointer-events: none; z-index: 9999; will-change: transform;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: background-color 0.2s ease, transform 0.15s cubic-bezier(0.2,0.8,0.2,1);
}
.cursor-core.is-pressing { background: var(--ivory); transform: translate(-50%, -50%) rotate(45deg) scale(1.6); }

.cursor-reticle {
  position: fixed; top: 0; left: 0; width: 60px; height: 60px;
  pointer-events: none; z-index: 9998; will-change: transform;
  transform: translate(-50%, -50%) scale(0.7);
  transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1);
}
.cursor-reticle svg { width: 100%; height: 100%; overflow: visible; display: block; }
.cursor-reticle .reticle-diamond {
  fill: none; stroke: var(--gold); stroke-width: 1.3;
  transition: stroke 0.2s ease;
}
.cursor-reticle .reticle-nodes polygon {
  fill: var(--gold-light); opacity: 0; transform-box: fill-box; transform-origin: center;
  transform: scale(0.3); transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2,0.8,0.2,1);
}
.cursor-reticle.is-hovering { transform: translate(-50%, -50%) scale(1); }
.cursor-reticle.is-hovering .reticle-diamond { stroke: var(--gold-light); }
.cursor-reticle.is-hovering .reticle-nodes polygon { opacity: 1; transform: scale(1); }

.cursor-trail-svg {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 9997; overflow: visible;
}
.cursor-trail-svg polyline { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.32; }
.cursor-trail-dot {
  position: fixed; top: 0; left: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 9997; will-change: transform, opacity;
  transform: translate(-50%, -50%);
}

.cursor-burst {
  position: fixed; top: 0; left: 0; height: 1.4px; width: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  pointer-events: none; z-index: 9997; transform-origin: 0 50%;
  animation: cursorBurst 0.5s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@keyframes cursorBurst {
  from { width: 4px; opacity: 0.9; }
  to { width: 30px; opacity: 0; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-core, .cursor-reticle, .cursor-trail-svg, .cursor-trail-dot { display: none; }
}

/* =========================================
   BOTONES (con destello al pasar el cursor)
========================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 0; font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); cursor: pointer;
  position: relative; isolation: isolate;
  --cut: 13px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.65s ease; pointer-events: none; z-index: 1;
}
.btn:hover::before { left: 130%; }
.btn > * { position: relative; z-index: 2; }

.btn-primary { background: var(--black); color: var(--ivory); width: 100%; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(140,110,62,0.3); }
.btn-outline { border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--ivory); transform: translateY(-3px); }
.btn-outline.on-dark { border-color: rgba(245,240,230,0.5); color: var(--ivory); }
.btn-outline.on-dark:hover { background: var(--ivory); color: var(--black); }
.btn-ghost { color: var(--gold-dark); font-weight: 600; padding: 12px 6px; }
.btn-ghost:hover { color: var(--gold); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }
.btn-lg { padding: 18px 42px; font-size: 1rem; --cut: 17px; }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-dark);
  font-size: 0.92rem; transition: var(--transition-fast);
}
.link-arrow .icon { transition: transform 0.3s ease; }
.link-arrow:hover { color: var(--black); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* =========================================
   PROMO BAR
========================================= */
.promo-bar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--dark); color: var(--gold-light);
  text-align: center; font-size: 0.8rem; padding: 9px 16px;
  z-index: 1060; letter-spacing: 0.3px;
}
.promo-bar strong { color: var(--ivory); }

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1060;
  background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(13,13,13,0.06);
  transform: translateY(var(--promo-h, 0px));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header.header-hidden { transform: translateY(-100%) !important; }

.navbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
.logo img { width: 38px; height: 38px; border-radius: 8px; }
.logo em { color: var(--gold-dark); font-style: italic; }

.nav-links {
  display: flex; gap: 26px; align-items: center;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.nav-link { font-weight: 500; font-size: 0.88rem; color: var(--black); position: relative; padding-bottom: 4px; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--gold-dark); }
.nav-link.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }
.header-cta .btn, .header-cta.btn { padding: 10px 22px; font-size: 0.82rem; --cut: 9px; }

.hamburger { display: none; flex-direction: column; gap: 5px; z-index: 5; flex-shrink: 0; position: relative; }
.hamburger span { width: 26px; height: 2px; background: var(--black); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(13,13,13,0.55);
  z-index: 1040; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.menu-backdrop.active {
  opacity: 1; visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

body.menu-open, body.modal-open { overflow: hidden; }

/* =========================================
   PAGE HERO (banner de páginas internas)
========================================= */
.page-hero {
  padding: 150px 0 70px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,150,90,0.12) 0%, transparent 60%), var(--ivory);
}
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--gray); margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: var(--gold-dark); font-weight: 600; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: var(--gray); max-width: 620px; margin: 0 auto; }

/* =========================================
   HERO (home)
========================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 20%, rgba(184,150,90,0.14) 0%, transparent 50%), var(--ivory);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(13,13,13,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(13,13,13,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.38; }
.g1 { width: 380px; height: 380px; background: var(--gold); top: -120px; left: -100px; }
.g2 { width: 320px; height: 320px; background: var(--gold-dark); bottom: -100px; right: -80px; opacity: 0.12; }

.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); opacity: 0.5; filter: blur(0.3px);
  animation: floatParticle 9s ease-in-out infinite;
}
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.15; }
  50% { transform: translateY(-38px) translateX(12px); opacity: 0.65; }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: 60px 24px 40px; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 18px; box-shadow: 0 20px 45px rgba(13,13,13,0.25); }
.hero-content h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); line-height: 1.2; margin-bottom: 24px; }
.hero-text { font-size: 1.08rem; color: var(--gray); max-width: 560px; margin: 0 auto 38px; }
.hero-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* =========================================
   MARQUEE
========================================= */
.marquee { background: var(--dark); padding: 15px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 24px; animation: scrollMarquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-title); letter-spacing: 2px; font-size: 1rem; color: var(--gold-light); }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================
   GLOW CARD (resplandor que sigue al cursor)
========================================= */
.glow-card { position: relative; }
.glow-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(184,150,90,0.16), transparent 65%);
  transition: opacity 0.4s ease; pointer-events: none; z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* =========================================
   VALUES
========================================= */
.values { padding: 110px 0; background: var(--ivory); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 50px; }
.value-card {
  display: block; width: 100%; background: var(--cream); padding: 34px 26px; border-radius: 18px; text-align: center;
  box-shadow: 0 10px 28px rgba(13,13,13,0.06); transition: var(--transition);
  border: 1px solid rgba(184,150,90,0.15); overflow: hidden; cursor: pointer;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px var(--shadow); border-color: rgba(184,150,90,0.35); }
.value-card:active { transform: translateY(-4px) scale(0.98); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { color: var(--gray); font-size: 0.88rem; }

.promise-banner {
  background: var(--dark); color: var(--ivory); text-align: center;
  padding: 36px; border-radius: 20px; font-family: var(--font-title); font-size: 1.2rem;
  position: relative; overflow: hidden;
}
.promise-banner strong { color: var(--gold-light); }

.brand-quote {
  text-align: center; max-width: 720px; margin: 0 auto 70px; font-family: var(--font-title);
  font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--black); position: relative;
  padding: 0 40px;
}
.brand-quote .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 12px; }

/* =========================================
   SERVICES
========================================= */
.services { padding: 110px 0; background: var(--ivory-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; align-items: stretch; }

.service-card, .bundle-card {
  background: var(--cream); border-radius: 20px; padding: 32px 28px; position: relative;
  box-shadow: 0 10px 28px rgba(13,13,13,0.07); transition: var(--transition);
  border: 1px solid rgba(184,150,90,0.15);
  display: flex; flex-direction: column;
  height: 100%;
}
.service-card:hover, .bundle-card:hover { transform: translateY(-8px); box-shadow: 0 24px 46px var(--shadow); border-color: rgba(184,150,90,0.35); }

.service-glyph {
  width: 50px; height: 50px; flex-shrink: 0; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(184,150,90,0.12); color: var(--gold-dark);
  border-radius: 0; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: var(--transition);
}
.service-glyph .icon { width: 24px; height: 24px; }
.service-card:hover .service-glyph, .bundle-card:hover .service-glyph { background: rgba(184,150,90,0.22); transform: translateY(-2px) rotate(-4deg); }
.service-card.featured .service-glyph, .bundle-card.featured .service-glyph { background: rgba(245,240,230,0.12); color: var(--gold-light); }
.service-card.featured, .bundle-card.featured {
  background: radial-gradient(140% 100% at 0% 0%, #2A2114 0%, var(--dark) 60%);
  color: var(--ivory); border: 1px solid rgba(184,150,90,0.4);
  box-shadow: 0 0 0 1px rgba(184,150,90,0.1) inset, 0 25px 55px rgba(184,150,90,0.22);
}
.service-card.featured:hover, .bundle-card.featured:hover { box-shadow: 0 0 0 1px rgba(184,150,90,0.15) inset, 0 30px 65px rgba(184,150,90,0.32); }
.service-card.featured h3, .bundle-card.featured h3 { color: var(--ivory); }
.service-card.featured .service-desc, .bundle-card.featured .service-desc { color: rgba(245,240,230,0.7); }
.service-card.featured .service-meta li, .bundle-card.featured .service-meta li { color: rgba(245,240,230,0.75); }
.service-card.featured .price-old, .bundle-card.featured .price-old { color: rgba(245,240,230,0.5); }
.service-card.featured .price-new, .bundle-card.featured .price-new { color: var(--gold-light); }
.service-card.featured .btn-primary, .bundle-card.featured .btn-primary { background: var(--gold); color: var(--black); }
.service-card.featured .btn-primary:hover, .bundle-card.featured .btn-primary:hover { background: var(--gold-light); }
.service-card.featured .btn-details, .bundle-card.featured .btn-details { color: var(--gold-light); border-color: rgba(245,240,230,0.3); }

.discount-tag {
  position: absolute; top: -14px; right: 24px; background: var(--gold);
  color: var(--black); font-weight: 700; font-size: 0.85rem; padding: 6px 16px;
  border-radius: 50px; box-shadow: 0 6px 16px rgba(184,150,90,0.4);
}
.featured-tag {
  position: absolute; top: -14px; left: 24px; background: var(--ivory); color: var(--black);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 5px;
}
.featured-tag .icon { width: 12px; height: 12px; stroke-width: 2; flex-shrink: 0; }

.service-card h3, .bundle-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-desc { color: var(--gray); font-size: 0.88rem; margin-bottom: 18px; }

.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--gray); font-size: 0.95rem; }
.price-new { font-family: var(--font-title); font-weight: 700; font-size: 1.7rem; color: var(--gold-dark); }

.service-meta { margin-bottom: 18px; }
.service-meta li { font-size: 0.82rem; color: var(--gray); padding: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
.service-meta li .icon { width: 14px; height: 14px; margin-top: 3px; color: var(--gold); flex-shrink: 0; }

/* Countdown en vivo */
.countdown { display: flex; gap: 8px; margin-bottom: 20px; font-family: var(--font-title); }
.countdown .cd-box { background: rgba(13,13,13,0.05); border-radius: 8px; padding: 8px 4px; text-align: center; flex: 1; }
.service-card.featured .cd-box, .bundle-card.featured .cd-box { background: rgba(245,240,230,0.1); }
.countdown .cd-num { font-size: 1.15rem; font-weight: 700; display: block; color: var(--gold-dark); font-variant-numeric: tabular-nums; }
.service-card.featured .cd-num, .bundle-card.featured .cd-num { color: var(--gold-light); }
.countdown .cd-label { font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); font-family: var(--font-body); }
.service-card.featured .cd-label, .bundle-card.featured .cd-label { color: rgba(245,240,230,0.55); }
.countdown .cd-ended-msg { width: 100%; text-align: center; color: var(--gray); font-size: 0.85rem; padding: 10px 0; }

.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.btn-details {
  width: 100%; text-align: center; padding: 10px 18px; border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  border: 1px solid rgba(13,13,13,0.18); color: var(--black); font-weight: 600; font-size: 0.82rem;
  transition: var(--transition-fast);
}
.btn-details:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(184,150,90,0.08); }

.bundles-head { margin-top: 20px; }
.bundles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }

/* Tabla de dominio y hosting */
.hosting-table-wrap {
  background: var(--cream); border-radius: 20px; padding: 8px;
  border: 1px solid rgba(184,150,90,0.15); box-shadow: 0 10px 28px rgba(13,13,13,0.07);
  margin-bottom: 60px;
}
.hosting-table-scroll { overflow-x: auto; }
.hosting-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.hosting-table th, .hosting-table td { padding: 18px 20px; text-align: left; vertical-align: middle; }
.hosting-table thead th {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold-dark); border-bottom: 1px solid rgba(184,150,90,0.25);
}
.hosting-table tbody tr { border-bottom: 1px solid rgba(184,150,90,0.12); }
.hosting-table tbody tr:last-child { border-bottom: none; }
.hosting-table td { color: var(--gray); font-size: 0.88rem; }
.hosting-level { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-weight: 700; color: var(--black); font-size: 1rem; white-space: nowrap; }
.hosting-level .icon { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.hosting-price { font-family: var(--font-title); font-weight: 700; color: var(--gold-dark); font-size: 1.15rem; white-space: nowrap; }
.hosting-price span { font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; color: var(--gray); }
.hosting-cta { width: auto; padding: 9px 18px; font-size: 0.8rem; white-space: nowrap; }

.hosting-discount {
  display: inline-block; background: var(--gold); color: var(--black);
  font-weight: 700; font-size: 0.66rem; padding: 3px 10px; border-radius: 50px; margin-bottom: 8px;
}
.hosting-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.hosting-price-row .price-old { font-size: 0.82rem; }
.hosting-countdown { margin-bottom: 0; min-width: 190px; }
.hosting-countdown .cd-box { padding: 6px 3px; }
.hosting-countdown .cd-num { font-size: 0.92rem; }
.hosting-countdown .cd-label { font-size: 0.48rem; }

/* Countdown grande (banner destacado en Servicios) */
.promo-banner {
  background: radial-gradient(ellipse at 50% 0%, rgba(184,150,90,0.18), transparent 65%), var(--dark);
  border-radius: 24px; padding: 46px 36px; text-align: center; color: var(--ivory);
  margin-bottom: 60px; position: relative; overflow: hidden;
}
.promo-banner .eyebrow { color: var(--gold-light); }
.promo-banner h3 { font-size: 1.6rem; margin-bottom: 10px; color: var(--ivory); }
.promo-banner .promo-banner-sub { color: rgba(245,240,230,0.7); font-size: 0.92rem; max-width: 520px; margin: 0 auto 26px; }
.promo-banner .countdown { justify-content: center; max-width: 420px; margin: 0 auto 28px; }
.promo-banner .cd-box { background: rgba(245,240,230,0.08); min-width: 64px; }
.promo-banner .cd-num { color: var(--gold-light); font-size: 1.6rem; }
.promo-banner .cd-label { color: rgba(245,240,230,0.55); }
.promo-banner .btn-primary { background: var(--gold); color: var(--black); width: auto; padding: 15px 38px; }

.promo-glyph {
  width: 76px; height: 76px; margin: 0 auto 18px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; color: var(--gold-light);
}
.promo-glyph .icon { width: 100%; height: 100%; stroke-width: 1.3; }
.promo-glyph::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,180,126,0.35), transparent 70%);
  animation: promoGlyphPulse 2.6s ease-in-out infinite; z-index: -1;
}
@keyframes promoGlyphPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .promo-glyph::before { animation: none; } }
.promo-banner .btn-primary:hover { background: var(--gold-light); }

/* =========================================
   PROGRAMA DE REFERIDOS (banner destacado)
========================================= */
.referral-banner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(184,150,90,0.16), rgba(212,180,126,0.06));
  border: 1px solid rgba(184,150,90,0.35); border-radius: 24px; padding: 40px 44px;
  margin-top: 60px;
}
.referral-banner .badge-icon { margin: 0; width: 60px; height: 60px; font-size: 1.7rem; flex-shrink: 0; background: rgba(184,150,90,0.18); }
.referral-banner-text { flex: 1; min-width: 240px; }
.referral-banner-text h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.referral-banner-text p { color: var(--gray); font-size: 0.92rem; }
.referral-banner-text strong { color: var(--gold-dark); }
.referral-banner > .btn { flex-shrink: 0; }

.cta-referral { margin-top: 26px; font-size: 0.9rem; color: rgba(245,240,230,0.75); }
.cta-referral .link-arrow { color: var(--gold-light); }
.cta-referral .link-arrow:hover { color: var(--ivory); }

/* =========================================
   RIBBON DE OFERTA ESTRELLA (hero)
========================================= */
.hero-highlight {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: rgba(184,150,90,0.1); border: 1px solid rgba(184,150,90,0.4); border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  padding: 10px 22px; font-size: 0.86rem; color: var(--black); margin-bottom: 26px;
  transition: var(--transition-fast);
}
.hero-highlight:hover { background: rgba(184,150,90,0.18); transform: translateY(-2px); }
.hero-highlight-tag {
  background: var(--gold); color: var(--black); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px 4px 14px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  display: inline-flex; align-items: center; gap: 5px;
}
.hero-highlight-tag .icon { width: 12px; height: 12px; stroke-width: 2; flex-shrink: 0; }
.hero-highlight strong { color: var(--gold-dark); }

/* =========================================
   TERMS (ahora en claro, no negro)
========================================= */
.terms { padding: 110px 0; background: var(--cream); }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.term-card {
  background: var(--ivory); border: 1px solid rgba(184,150,90,0.22);
  border-radius: 18px; padding: 30px 26px; transition: var(--transition); overflow: hidden;
}
.term-card:hover { background: #fff; transform: translateY(-6px); box-shadow: 0 20px 40px var(--shadow); border-color: rgba(184,150,90,0.4); }
.term-card h3 { color: var(--black); font-size: 1.1rem; margin-bottom: 10px; }
.term-card p { color: var(--gray); font-size: 0.86rem; }
.term-card strong { color: var(--gold-dark); }

/* =========================================
   PORTFOLIO
========================================= */
.portfolio { padding: 110px 0; background: var(--ivory); }
.portfolio-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.portfolio-card {
  border-radius: 16px; overflow: hidden; position: relative; transition: var(--transition);
  box-shadow: 0 8px 22px rgba(13,13,13,0.08); cursor: pointer; border: none; text-align: left; width: 100%;
  display: block; background: none;
}
.portfolio-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(13,13,13,0.18); }
.portfolio-preview {
  height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  transition: var(--transition); position: relative;
}
.portfolio-preview::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28) 45%, transparent 60%);
  background-size: 220% 220%; background-position: -100% -100%; opacity: 0; transition: none;
}
.portfolio-card:hover .portfolio-preview::after { opacity: 1; animation: shineSweep 1.1s ease forwards; }
@keyframes shineSweep { from { background-position: 120% -100%; } to { background-position: -20% 20%; } }
.portfolio-card:hover .portfolio-preview { transform: scale(1.05); }
.portfolio-info { background: var(--cream); padding: 16px; }
.portfolio-info h3 { font-size: 1rem; margin-bottom: 4px; }
.portfolio-info p { font-size: 0.78rem; color: var(--gray); }
.portfolio-hint { font-size: 0.7rem; color: var(--gold-dark); display: flex; align-items: center; gap: 5px; margin-top: 8px; font-weight: 600; }
.portfolio-hint .icon { width: 12px; height: 12px; }

/* =========================================
   TESTIMONIALS
========================================= */
.testimonials { padding: 110px 0; background: var(--ivory-soft); }

.testimonials-carousel { display: flex; align-items: center; gap: 16px; margin-bottom: 60px; }
.carousel-viewport { flex: 1; overflow: hidden; }
.testimonials-grid {
  display: flex; gap: 22px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.testimonials-grid .testimonial-card,
.testimonials-grid .testimonials-empty {
  flex: 0 0 calc((100% - 44px) / 3);
}

.carousel-arrow {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); border: 1px solid rgba(184,150,90,0.3); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; transition: var(--transition-fast);
}
.carousel-arrow .icon { width: 18px; height: 18px; }
.carousel-arrow:hover { background: var(--black); color: var(--ivory); border-color: var(--black); transform: scale(1.06); }
.carousel-arrow:disabled { opacity: 0.35; pointer-events: none; }
.icon-flip { transform: scaleX(-1); }

.testimonial-card {
  background: var(--cream); border-radius: 18px; padding: 28px; box-shadow: 0 8px 22px rgba(13,13,13,0.06);
  border: 1px solid rgba(184,150,90,0.12); animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--black); font-size: 0.94rem; margin-bottom: 16px; }
.testimonial-name { font-weight: 600; font-size: 0.86rem; }
.testimonial-service { color: var(--gold-dark); font-size: 0.78rem; }

.testimonials-empty {
  text-align: center; padding: 50px 24px; border-radius: 20px;
  background: var(--cream); border: 1px dashed rgba(184,150,90,0.35);
}
.testimonials-empty .icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 16px; }
.testimonials-empty h3 { font-size: 1.2rem; margin-bottom: 8px; }
.testimonials-empty p { color: var(--gray); font-size: 0.9rem; max-width: 420px; margin: 0 auto; }

.review-form-wrap {
  max-width: 640px; margin: 0 auto; background: var(--cream); padding: 42px;
  border-radius: 22px; box-shadow: 0 16px 40px rgba(13,13,13,0.08); text-align: center;
}
.review-form-wrap h3 { font-size: 1.4rem; margin-bottom: 8px; }
.review-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.form-row { display: flex; gap: 14px; }
.review-form input, .review-form textarea, .review-form select {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(184,150,90,0.3); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.9rem; background: var(--ivory); color: var(--black);
  transition: var(--transition);
}
.review-form input:focus, .review-form textarea:focus, .review-form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,0.15);
}
.review-form textarea { resize: vertical; }

.rating-input { display: flex; gap: 6px; justify-content: center; font-size: 1.8rem; color: rgba(184,150,90,0.3); }
.rating-input span { cursor: pointer; transition: var(--transition); }
.rating-input span.active { color: var(--gold); }

.form-msg { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; min-height: 20px; text-align: center; }
.form-msg.error { color: #B0122E; }

/* =========================================
   FINAL CTA
========================================= */
.final-cta { padding: 120px 0; background: radial-gradient(ellipse at 50% 30%, rgba(184,150,90,0.18), transparent 60%), var(--dark); text-align: center; position: relative; overflow: hidden; }
.final-cta-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta h2 { color: var(--ivory); margin-bottom: 18px; }
.final-cta .section-sub { color: rgba(245,240,230,0.7); margin-bottom: 36px; }
.cta-number { color: var(--gold-light); margin-top: 20px; font-family: var(--font-title); font-size: 1.1rem; letter-spacing: 1px; }
.cta-secondary { margin-top: 22px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   CONTACTO: tarjetas de canal + modal rápido
========================================= */
.contact-channels { padding: 100px 0; background: var(--ivory); }
.channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }
.channel-card {
  background: var(--cream); border-radius: 20px; padding: 34px 28px; text-align: center;
  border: 1px solid rgba(184,150,90,0.15); transition: var(--transition);
}
.channel-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px var(--shadow); border-color: rgba(184,150,90,0.35); }
.channel-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.channel-card p { color: var(--gray); font-size: 0.88rem; margin-bottom: 20px; }

/* =========================================
   FOOTER
========================================= */
.footer { background: var(--dark-soft); color: var(--ivory); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { margin-bottom: 14px; }
.footer-brand p { color: rgba(245,240,230,0.65); font-size: 0.88rem; }
.footer-links h4, .footer-social h4 { font-family: var(--font-title); margin-bottom: 16px; color: var(--gold-light); font-size: 1rem; }
.footer-links a { display: block; color: rgba(245,240,230,0.75); padding: 6px 0; transition: var(--transition); font-size: 0.88rem; }
.footer-links a:hover { color: var(--ivory); padding-left: 6px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245,240,230,0.3);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.social-icons a .icon { width: 18px; height: 18px; }
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(245,240,230,0.1); padding: 22px 0; text-align: center; font-size: 0.82rem; color: rgba(245,240,230,0.55); }

/* =========================================
   FLOATING WHATSAPP
========================================= */
.floating-whatsapp {
  position: fixed; bottom: 28px; left: 28px; width: 64px; height: 64px; border-radius: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: var(--whatsapp); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45); z-index: 950; transition: var(--transition);
}
.floating-whatsapp svg { width: 23px; height: 23px; fill: #fff; z-index: 2; }
.floating-whatsapp:hover { transform: scale(1.08) rotate(90deg); }
.pulse-ring {
  position: absolute; inset: 0; border-radius: 0; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border: 2px solid var(--whatsapp);
  animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================
   BACK TO TOP
========================================= */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--dark); color: var(--ivory); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition);
  z-index: 900; box-shadow: 0 8px 20px rgba(13,13,13,0.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-dark); }

/* =========================================
   MODALES
========================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,11,7,0.68); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }
.modal-box {
  background: var(--cream); border-radius: 24px; max-width: 560px; width: 100%; max-height: 85vh;
  overflow-y: auto; padding: 44px 40px; position: relative;
  transform: translateY(24px) scale(0.97); transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35); border: 1px solid rgba(184,150,90,0.25);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(13,13,13,0.06);
  transition: var(--transition-fast); color: var(--black);
}
.modal-close:hover { background: var(--black); color: var(--ivory); transform: rotate(90deg); }
.modal-close .icon { width: 16px; height: 16px; }

.modal-preview {
  height: 130px; border-radius: 16px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  background: linear-gradient(150deg, var(--c1, var(--gold)), var(--c2, var(--gold-dark)));
}
.modal-eyebrow { color: var(--gold-dark); text-transform: uppercase; letter-spacing: 3px; font-size: 0.72rem; font-weight: 700; margin-bottom: 10px; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 14px; }
.modal-box p { color: var(--gray); font-size: 0.94rem; margin-bottom: 12px; }
.modal-box .modal-list { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.modal-box .modal-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--black); }
.modal-box .modal-list .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--gold); flex-shrink: 0; }
.modal-price { font-family: var(--font-title); font-size: 1.6rem; color: var(--gold-dark); font-weight: 700; margin: 16px 0; }
.modal-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 180px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; text-align: left; }

/* =========================================
   TEASERS (home)
========================================= */
.teaser-section { padding: 100px 0; }
.teaser-section.alt { background: var(--ivory-soft); }
.teaser-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 46px; flex-wrap: wrap;
}
.teaser-head .section-head { text-align: left; margin: 0; max-width: 560px; }
.teaser-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teaser-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.teaser-center { text-align: center; margin-top: 46px; }

/* =========================================
   SCROLL ANIMATION
========================================= */
[data-aos] { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
[data-aos].aos-visible { opacity: 1; transform: translateY(0) scale(1); }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .teaser-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card,
  .testimonials-grid .testimonials-empty { flex-basis: calc((100% - 22px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: 0; left: auto;
    width: 78%; max-width: 320px; height: 100vh;
    background: var(--ivory); flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; box-shadow: -10px 0 30px rgba(0,0,0,0.15); z-index: 5;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0s linear 0.4s;
  }
  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s ease, visibility 0s linear 0s;
  }
  .hamburger { display: flex; margin-left: auto; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .bundles-grid { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card,
  .testimonials-grid .testimonials-empty { flex-basis: 100%; }
  .testimonials-carousel { gap: 10px; }
  .carousel-arrow { width: 40px; height: 40px; }
  .teaser-grid-3 { grid-template-columns: 1fr; }
  .teaser-grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
  .floating-whatsapp { left: 20px; bottom: 20px; width: 52px; height: 52px; }
  .back-to-top { right: 20px; bottom: 20px; }
  .modal-box { padding: 34px 24px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .teaser-grid-4 { grid-template-columns: 1fr; }
}

/* =========================================
   HUD TAG (lectura técnica, tipografía mono)
========================================= */
:root { --font-mono: 'Space Mono', monospace; }

.hud-tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-dark); opacity: 0.85;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.hud-tag::before {
  content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 6px var(--gold); flex-shrink: 0;
}
.section-head.light .hud-tag, .final-cta .hud-tag { color: var(--gold-light); }

/* =========================================
   MARCO HUD — esquinas que aparecen al pasar el cursor
========================================= */
.hud-frame { position: relative; }
.hud-frame::before, .hud-frame::after {
  content: ''; position: absolute; width: 18px; height: 18px;
  border-color: var(--gold); border-style: solid; opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
  pointer-events: none; z-index: 3;
}
.hud-frame::before { top: 10px; left: 10px; border-width: 1.4px 0 0 1.4px; transform: translate(-6px, -6px); }
.hud-frame::after { bottom: 10px; right: 10px; border-width: 0 1.4px 1.4px 0; transform: translate(6px, 6px); }
.hud-frame:hover::before, .hud-frame:hover::after,
.hud-frame:focus-within::before, .hud-frame:focus-within::after { opacity: 0.9; transform: translate(0, 0); }

/* =========================================
   LOGO ANIMADO (rombo trazado + núcleo pulsante)
========================================= */
.logo-mark { width: 38px; height: 38px; overflow: visible; flex-shrink: 0; transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1); }
a.logo:hover .logo-mark, .hero-logo-mark:hover { transform: rotate(90deg); }
.logo-mark-outline, .logo-mark-inner { fill: none; stroke: var(--gold); stroke-linejoin: round; }
/* El rombo se dibuja SIEMPRE completo y cerrado (sin stroke-dasharray): un
   patrón de guiones que intenta seguir el perímetro exacto de un polígono
   cerrado es fràgil — cualquier diferencia mínima entre el valor puesto a
   mano y el perímetro real que calcula el navegador deja un hueco visible
   justo en el vértice de cierre. En vez de "dibujarse", el rombo APARECE
   con una entrada de escala + giro + fundido — el mismo espíritu, cero
   riesgo geométrico, porque la forma nunca se renderiza a medias. */
.logo-mark-outline, .logo-mark-inner {
  transform-box: fill-box; transform-origin: 50% 50%; opacity: 0;
}
.logo-mark-outline {
  stroke-width: 1.6; animation: logoRevealOutline 0.85s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.logo-mark-inner {
  stroke: var(--gold-light); stroke-width: 1.2;
  animation: logoRevealInner 0.85s cubic-bezier(0.2,0.8,0.2,1) 0.15s forwards;
}
.logo-mark-core { fill: var(--gold); transform-origin: center; animation: logoPulse 2.6s ease-in-out 1.6s infinite; }
.logo-mark-tick { stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0; animation: logoTick 0.4s ease 1.1s forwards; }
@keyframes logoRevealOutline {
  0% { opacity: 0; transform: scale(0.55) rotate(-14deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes logoRevealInner {
  0% { opacity: 0; transform: scale(0.55) rotate(-14deg); }
  100% { opacity: 0.8; transform: scale(1) rotate(0deg); }
}
@keyframes logoPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: 0.55; } }
@keyframes logoTick { to { opacity: 1; } }

.hero-logo-mark { width: 168px; height: 168px; }
@media (max-width: 1000px) { .hero-logo-mark { width: 128px; height: 128px; } }
@media (prefers-reduced-motion: reduce) {
  .logo-mark-outline, .logo-mark-inner { animation: none; opacity: 1; transform: none; }
  .logo-mark-inner { opacity: 0.8; }
  .logo-mark-tick { animation: none; opacity: 1; }
  .logo-mark-core { animation: none; }
}

/* =========================================
   HERO ASIMÉTRICO (index) — diagonal, no vertical puro
========================================= */
.hero-split {
  display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: 24px;
  min-height: 100vh; position: relative; overflow: hidden;
  padding: 150px 24px 60px; max-width: 1400px; margin: 0 auto;
}
.hero-split .hero-content-col { position: relative; z-index: 2; text-align: left; max-width: 620px; }
.hero-split .hero-visual-col { position: relative; z-index: 2; height: 100%; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.hero-diagonal-clip {
  position: absolute; top: 0; right: 0; width: 58%; height: 100%; z-index: 0;
  background: linear-gradient(155deg, var(--dark) 0%, var(--black) 100%);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 6% 100%);
}
.hero-diagonal-clip .hero-grid-bg { opacity: 0.5; mix-blend-mode: screen; }
.hero-visual-ring {
  position: absolute; width: min(340px, 60%); aspect-ratio: 1; border: 1px solid rgba(184,150,90,0.3);
  border-radius: 50%; animation: ringSpin 40s linear infinite;
}
.hero-visual-ring.ring-2 { width: min(240px, 44%); border-color: rgba(212,180,126,0.22); animation-duration: 28s; animation-direction: reverse; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }
.hero-spoke { stroke: rgba(184,150,90,0.45); stroke-width: 0.35; }
.hero-node { fill: var(--gold-light); }
.hero-node-label {
  position: absolute; z-index: 3; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-light); white-space: nowrap; pointer-events: none;
  background: rgba(13,13,13,0.55); backdrop-filter: blur(3px); padding: 4px 9px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}
.label-top { top: 1%; left: 50%; transform: translateX(-50%); }
.label-right { top: 50%; right: 2%; transform: translateY(-50%); }
.label-bottom { bottom: 1%; left: 50%; transform: translateX(-50%); }
.label-left { top: 50%; left: 2%; transform: translateY(-50%); }
@media (max-width: 1000px) { .hero-spokes, .hero-node-label { display: none; } }

@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; padding: 140px 24px 50px; gap: 44px; }
  .hero-split .hero-content-col { text-align: center; max-width: 100%; }
  .hero-diagonal-clip { display: none; }
  .hero-split .hero-visual-col { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .hero-visual-ring { animation: none; } }

/* =========================================
   GRID ESCALONADO (ritmo diagonal en tarjetas)
========================================= */
.grid-stagger > *:nth-child(2n) { margin-top: 26px; }
.grid-stagger > *:nth-child(3n) { margin-top: -12px; }
@media (max-width: 900px) { .grid-stagger > * { margin-top: 0 !important; } }

/* =========================================
   ACENTO DIAGONAL — page-hero de páginas internas
========================================= */
.page-hero { overflow: hidden; }
.hero-diagonal-accent {
  position: absolute; top: -15%; right: -6%; width: 44%; height: 150%; z-index: 0;
  background: linear-gradient(155deg, rgba(184,150,90,0.16), transparent 62%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* =========================================
   TRANSICIÓN DE ENTRADA — destellos de rombo, sutiles y dispersos
========================================= */
.page-diamond-sparkles { position: fixed; inset: 0; z-index: 10000; pointer-events: none; overflow: hidden; }
.diamond-spark {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  background: var(--gold-light); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0% 50%);
  filter: drop-shadow(0 0 7px rgba(184,150,90,0.9));
  opacity: 0; transform: scale(0.15);
  animation: diamondSpark 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes diamondSpark {
  0% { opacity: 0; transform: scale(0.15) rotate(0deg); }
  22% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(1.5) rotate(25deg); }
}

/* =========================================
   PHOTO PANEL — imagen con tilt + flash de clic
========================================= */
.photo-panel {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(13,13,13,0.28); perspective: 900px;
}
.photo-panel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.06); transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
  will-change: transform;
}
.photo-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(184,150,90,0.22), transparent 55%), linear-gradient(0deg, rgba(13,13,13,0.4), transparent 42%);
  mix-blend-mode: multiply;
}
.photo-panel::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border: 1px solid rgba(184,150,90,0.35); border-radius: inherit;
}
.photo-panel-tag {
  position: absolute; bottom: 16px; left: 16px; z-index: 3;
  background: rgba(13,13,13,0.55); backdrop-filter: blur(6px);
  padding: 7px 13px; border-radius: 50px; margin: 0;
}
.photo-panel-tag.hud-tag::before { box-shadow: 0 0 6px var(--gold-light); }
.photo-panel-tag.hud-tag { color: var(--gold-light); margin-bottom: 0; }
@media (hover: none) { .photo-panel img { transform: scale(1.06) !important; } }
@media (prefers-reduced-motion: reduce) { .photo-panel img { transition: none; } }

.promo-banner.texture-backdrop {
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(184,150,90,0.22), transparent 65%),
    linear-gradient(rgba(13,13,13,0.87), rgba(13,13,13,0.91)),
    url('https://images.unsplash.com/photo-1707338252277-3f66895b0532?auto=format&fit=crop&w=1600&q=60');
  background-size: cover; background-position: center;
}

.teaser-nosotros-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: stretch; }
.teaser-nosotros-grid .photo-panel { min-height: 320px; }
.teaser-nosotros-grid .values-grid,
.teaser-nosotros-grid .teaser-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) {
  .teaser-nosotros-grid { grid-template-columns: 1fr; }
  .teaser-nosotros-grid .photo-panel { min-height: 240px; order: -1; }
}
@media (max-width: 560px) {
  .teaser-nosotros-grid .values-grid,
  .teaser-nosotros-grid .teaser-grid-4 { grid-template-columns: 1fr; }
}
