/* ============================================================
   VALESTRA — Estilos globales (v2 — premium / dinámico)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --guinda:        #6B1E2E;
  --guinda-dark:   #4A1220;
  --guinda-deep:   #2E0A14;
  --guinda-light:  #8B2E42;
  --dorado:        #C9A84C;
  --dorado-light:  #E8C96A;
  --dorado-soft:   rgba(201, 168, 76, 0.18);
  --negro:         #1A1A1A;
  --negro-soft:    #2A2024;
  --blanco-calido: #F8F4EF;
  --gris-suave:    #EDE8E3;
  --gris-medio:    #B8B0A8;
  --blanco:        #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.45s var(--ease-out);
  --shadow-soft:   0 4px 24px rgba(26, 26, 26, 0.08);
  --shadow-medium: 0 8px 32px rgba(74, 18, 32, 0.18);
  --shadow-strong: 0 20px 60px rgba(74, 18, 32, 0.35);
  --shadow-gold:   0 8px 32px rgba(201, 168, 76, 0.25);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--negro);
  background: var(--blanco);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--negro);
}

h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.85rem); }

a { color: var(--guinda); text-decoration: none; transition: color 0.3s var(--ease-smooth); }
a:hover { color: var(--dorado); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--guinda); color: var(--dorado); }

/* Scrollbar elegante (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--gris-suave); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--guinda), var(--guinda-dark));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--dorado); }

/* ---------- Utilidades ---------- */
.text-dorado    { color: var(--dorado) !important; }
.text-guinda    { color: var(--guinda) !important; }
.text-blanco    { color: var(--blanco) !important; }
.bg-guinda      { background: var(--guinda) !important; }
.bg-guinda-dark { background: var(--guinda-dark) !important; }
.bg-negro       { background: var(--negro) !important; }
.bg-calido      { background: var(--blanco-calido) !important; }
.bg-gris        { background: var(--gris-suave) !important; }
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

.section-padding { padding: 100px 0; }
@media (max-width: 768px) { .section-padding { padding: 60px 0; } }

.label-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--dorado);
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 38px;
}
.label-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--dorado);
  animation: drawLine 1s var(--ease-out) forwards;
}
@keyframes drawLine {
  from { width: 0; opacity: 0; }
  to   { width: 28px; opacity: 1; }
}

.divider-gold {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-light), var(--dorado));
  background-size: 200% 100%;
  border: 0;
  margin: 1rem 0 1.5rem;
  animation: shimmerLine 4s linear infinite;
}
.divider-gold.center { margin-left: auto; margin-right: auto; }
@keyframes shimmerLine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Botones (con shine effect) ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.95rem 2rem;
  border-radius: 2px;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.65s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { left: 100%; }
.btn i { transition: transform 0.35s var(--ease-out); }
.btn:hover i { transform: translateX(4px); }

.btn-dorado {
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-light) 100%);
  color: var(--guinda-dark);
  border-color: var(--dorado);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}
.btn-dorado:hover {
  color: var(--guinda-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-guinda {
  background: linear-gradient(135deg, var(--guinda) 0%, var(--guinda-dark) 100%);
  color: var(--blanco);
  border-color: var(--guinda);
}
.btn-guinda:hover {
  color: var(--blanco);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-blanco {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn-outline-blanco:hover {
  background: var(--blanco);
  color: var(--guinda);
  border-color: var(--blanco);
}

.btn-outline-dorado {
  background: transparent;
  color: var(--blanco);
  border-color: var(--dorado);
}
.btn-outline-dorado:hover {
  background: var(--dorado);
  color: var(--guinda-dark);
}

/* ---------- Logo: forzar a blanco con sombra dorada ---------- */
/* El logo del cliente es guinda → invertimos a blanco para contraste sobre fondos oscuros.
   Sustituir por SVG/PNG en blanco cuando el cliente lo proporcione. */
.logo-mono {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(201,168,76,0.18));
  transition: filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.logo-mono:hover {
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(201,168,76,0.45));
  transform: scale(1.02);
}

/* ---------- Scroll progress bar superior ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-light), var(--dorado));
  z-index: 1040;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
}

/* ---------- Navbar premium ---------- */
.navbar {
  padding: 1.1rem 0;
  background: linear-gradient(180deg, rgba(46,10,20,0.55) 0%, rgba(46,10,20,0) 100%);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  z-index: 1030;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(46, 10, 20, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.navbar.solid {
  background: rgba(46, 10, 20, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.navbar .navbar-brand { padding-top: 0; padding-bottom: 0; }
.navbar .navbar-brand img {
  max-height: 52px;
  width: auto;
  transition: max-height 0.4s var(--ease-out);
}
.navbar.scrolled .navbar-brand img,
.navbar.solid .navbar-brand img { max-height: 42px; }

.navbar .nav-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.92) !important;
  padding: 0.55rem 1.05rem !important;
  position: relative;
  transition: color 0.3s var(--ease-smooth);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.3rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link:hover { color: var(--dorado) !important; }

.navbar .dropdown-menu {
  background: rgba(46, 10, 20, 0.96);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  margin-top: 0.6rem;
  min-width: 240px;
  padding: 0.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: dropFade 0.32s var(--ease-out);
  transform-origin: top center;
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.navbar .dropdown-item {
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  padding-left: 1.5rem;
}
.navbar .dropdown-item::before {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dorado);
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s var(--ease-out);
}
.navbar .dropdown-item:hover {
  background: rgba(201,168,76,0.12);
  color: var(--dorado);
  padding-left: 1.8rem;
}
.navbar .dropdown-item:hover::before { transform: translateY(-50%) scale(1); }

/* Hamburger animado */
.navbar-toggler {
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.45rem 0.55rem;
  border-radius: 4px;
  transition: var(--transition);
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201,168,76,0.25); }
.navbar-toggler:hover { border-color: var(--dorado); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C9A84C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CTA del navbar */
.navbar .btn-nav-cta {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-light));
  color: var(--guinda-dark) !important;
  padding: 0.6rem 1.55rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  margin-left: 0.6rem;
  box-shadow: 0 4px 18px rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}
.navbar .btn-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
}
.navbar .btn-nav-cta:hover::before { transform: translateX(100%); }
.navbar .btn-nav-cta::after { display: none; }
.navbar .btn-nav-cta:hover {
  color: var(--guinda-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(46, 10, 20, 0.96);
    backdrop-filter: blur(14px);
    margin-top: 1rem;
    padding: 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(201,168,76,0.2);
  }
  .navbar .btn-nav-cta { margin: 0.75rem 0 0; display: inline-block; }
  .navbar .nav-link::after { left: 0; right: auto; width: 2px; height: 100%; bottom: auto; top: 0; transform-origin: top; }
  .navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleY(1); }
}

/* ---------- HERO principal ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--blanco);
  overflow: hidden;
  background-color: var(--guinda-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1589994965851-a8f479c573a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 0.2s ease-out;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(107,30,46,0.55) 0%, transparent 60%),
    linear-gradient(135deg, rgba(46,10,20,0.92) 0%, rgba(26,26,26,0.85) 100%);
  z-index: 1;
}
/* Ornamento decorativo dorado */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 50%;
  z-index: 1;
  animation: floatRing 8s ease-in-out infinite;
}
@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(8deg); }
}

.hero .container { position: relative; z-index: 2; }

.hero .label-eyebrow { animation: fadeUp 0.8s var(--ease-out) 0.2s both; }
.hero h1 {
  color: var(--blanco);
  font-weight: 600;
  margin: 1.5rem 0;
  max-width: 16ch;
  animation: fadeUp 0.9s var(--ease-out) 0.4s both;
}
.hero p.lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 580px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.9s var(--ease-out) 0.6s both;
}
.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.9s var(--ease-out) 0.8s both;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dorado);
  font-size: 1.4rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceArrow 2.2s infinite;
  transition: var(--transition);
}
.hero-scroll:hover {
  color: var(--dorado-light);
  border-color: var(--dorado);
  background: rgba(201,168,76,0.1);
}
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* Hero interno (páginas secundarias) — con imagen y overlay */
.hero-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--blanco);
  padding: 140px 0 70px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--guinda-dark) 0%, var(--guinda) 100%);
}
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1800&q=80'));
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,18,32,0.85) 0%, rgba(107,30,46,0.55) 100%);
  z-index: 0;
}
.hero-inner .container { position: relative; z-index: 1; }
.hero-inner h1 { color: var(--blanco); margin-bottom: 1rem; animation: fadeUp 0.8s var(--ease-out) 0.2s both; }
.hero-inner p {
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-weight: 300;
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
}
.hero-inner .label-eyebrow { animation: fadeUp 0.8s var(--ease-out) both; }

.breadcrumb-nav {
  background: rgba(0,0,0,0.5);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  position: relative;
  z-index: 5;
}
.breadcrumb-nav a, .breadcrumb-nav span {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.breadcrumb-nav a:hover { color: var(--dorado); }
.breadcrumb-nav .sep { margin: 0 0.6rem; color: var(--dorado); }

/* ---------- Quiénes Somos ---------- */
.about-card {
  background: linear-gradient(160deg, var(--guinda-dark) 0%, var(--guinda-deep) 100%);
  color: var(--blanco);
  padding: 2.75rem 2.25rem;
  border-radius: 4px;
  border-top: 3px solid var(--dorado);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.about-card h4 {
  color: var(--dorado);
  font-family: var(--serif);
  margin-bottom: 1.5rem;
  font-size: 1.55rem;
  position: relative;
  z-index: 1;
}
.about-card ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.about-card li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--sans);
  transition: padding 0.3s var(--ease-out);
}
.about-card li:last-child { border-bottom: none; }
.about-card li i {
  color: var(--dorado);
  font-size: 0.95rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  transition: var(--transition);
}
.about-card li:hover { padding-left: 8px; }
.about-card li:hover i { background: var(--dorado); color: var(--guinda-dark); transform: scale(1.1); }

.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--guinda);
  border-left: 3px solid var(--dorado);
  padding: 0.3rem 0 0.3rem 1.4rem;
  margin: 1.75rem 0;
  position: relative;
}
.about-quote::before {
  content: '"';
  position: absolute;
  left: -8px;
  top: -25px;
  font-size: 5rem;
  color: rgba(201,168,76,0.15);
  font-family: var(--serif);
  line-height: 1;
}

/* ---------- Sección Servicios (dos bloques en home) ---------- */
.services-section {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(107,30,46,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(201,168,76,0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--negro) 0%, var(--guinda-deep) 100%);
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
  opacity: 0.3;
}

.service-card-large {
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(201,168,76,0.22);
  padding: 3.5rem 2.75rem;
  height: 100%;
  text-align: center;
  transition: var(--transition);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.service-card-large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107,30,46,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.service-card-large:hover {
  border-color: var(--dorado);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 0 40px rgba(201,168,76,0.1);
}
.service-card-large:hover::before { opacity: 1; }
.service-card-large > * { position: relative; z-index: 1; }

.service-card-large .icon-circle {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.04));
  border: 1px solid var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dorado);
  font-size: 2.2rem;
  transition: var(--transition);
  position: relative;
}
.service-card-large .icon-circle::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}
.service-card-large:hover .icon-circle {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, var(--dorado), var(--dorado-light));
  color: var(--guinda-dark);
}
.service-card-large:hover .icon-circle::before { opacity: 1; inset: -10px; }

.service-card-large h3 { color: var(--blanco); margin-bottom: 1rem; }
.service-card-large p { color: rgba(255,255,255,0.78); margin-bottom: 1.75rem; }
.service-card-large ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
  display: inline-block;
}
.service-card-large li {
  color: rgba(255,255,255,0.88);
  padding: 0.45rem 0;
  font-size: 0.96rem;
  transition: color 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.service-card-large li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--dorado);
  font-size: 0.75rem;
  margin-right: 0.75rem;
}
.service-card-large:hover li { color: var(--blanco); }

/* ---------- Diferenciadores (banda guinda con patrón) ---------- */
.differentiators {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 50%),
    linear-gradient(135deg, var(--guinda) 0%, var(--guinda-dark) 100%);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.differentiators::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='none' stroke='%23C9A84C' stroke-opacity='0.08' d='M30 0v60M0 30h60'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.differentiator {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  transition: var(--transition);
}
.differentiator .icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dorado);
  font-size: 2rem;
  transition: var(--transition);
  position: relative;
}
.differentiator .icon-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(201,168,76,0.2);
  border-radius: 50%;
  animation: spinSlow 18s linear infinite;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.differentiator:hover .icon-wrap {
  background: var(--dorado);
  color: var(--guinda-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-gold);
}
.differentiator:hover .icon-wrap::before { opacity: 1; }
.differentiator p {
  color: rgba(255,255,255,0.92);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Videos ---------- */
.video-card {
  background: var(--blanco);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  position: relative;
}
.video-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0) 0%, rgba(201,168,76,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.video-card:hover::after { opacity: 1; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--negro);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Blog cards (preview) ---------- */
.article-card {
  background: var(--blanco);
  border: 1px solid var(--gris-suave);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.article-card:hover {
  border-color: var(--dorado);
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}
.article-card .article-img {
  aspect-ratio: 16 / 9;
  background-color: var(--guinda-dark);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.article-card .article-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(74,18,32,0.7) 100%);
}
.article-card .article-img i {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.85);
  z-index: 2;
}
.article-card .article-body {
  padding: 1.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .badge-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.badge-cat.guinda { background: var(--guinda); color: var(--blanco); }
.badge-cat.dorado { background: var(--dorado); color: var(--guinda-dark); }
.article-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--negro);
  transition: color 0.3s var(--ease-out);
}
.article-card:hover h3 { color: var(--guinda); }
.article-card .article-date {
  font-size: 0.82rem;
  color: var(--gris-medio);
  margin-bottom: 0.85rem;
}
.article-card .article-excerpt {
  color: rgba(26,26,26,0.75);
  font-size: 0.95rem;
  flex: 1;
}
.article-card .article-link {
  color: var(--guinda);
  font-weight: 500;
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s var(--ease-out);
}
.article-card .article-link:hover { color: var(--dorado); gap: 0.7rem; }

/* ---------- Clientes (placeholders) ---------- */
.client-placeholder {
  width: 100%;
  max-width: 180px;
  height: 80px;
  background: rgba(0,0,0,0.04);
  border: 1px dashed rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-medio);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 auto;
  transition: var(--transition);
  border-radius: 3px;
}
.client-placeholder:hover {
  border-color: var(--dorado);
  color: var(--guinda);
  background: rgba(201,168,76,0.06);
}

/* ---------- Formulario de contacto ---------- */
.contact-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(107,30,46,0.3) 0%, transparent 50%),
    linear-gradient(135deg, var(--negro) 0%, var(--negro-soft) 100%);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 50%;
}
.contact-section h2 { color: var(--blanco); }
.contact-section .subtitle { color: var(--dorado); font-weight: 400; letter-spacing: 0.05em; }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.toggle-tipo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.25);
  padding: 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(201,168,76,0.25);
}
.toggle-btn {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.7);
  padding: 0.95rem 1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.93rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.toggle-btn i { font-size: 1.05rem; transition: transform 0.3s var(--ease-out); }
.toggle-btn:hover i { transform: scale(1.15); }
.toggle-btn.active {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-light));
  color: var(--guinda-dark);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.toggle-btn:not(.active):hover { background: rgba(201,168,76,0.1); color: var(--blanco); }

.contact-form .form-control,
.contact-form .form-control:focus {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--blanco);
  border-radius: 3px;
  padding: 0.95rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  box-shadow: none;
  transition: var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--dorado);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,0.45); }
.contact-form label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.5rem;
}
.contact-form .form-check-label {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: normal;
}
.contact-form .form-check-input {
  background-color: transparent;
  border-color: rgba(255,255,255,0.4);
}
.contact-form .form-check-input:checked {
  background-color: var(--dorado);
  border-color: var(--dorado);
}

.field-empresa { display: none; opacity: 0; transition: opacity 0.35s var(--ease-out); }
.field-empresa.visible { display: block; opacity: 1; }

.honeypot { position: absolute; left: -9999px; top: -9999px; }

.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 3px;
  font-size: 0.93rem;
  display: none;
  animation: fadeUp 0.4s var(--ease-out);
}
.form-feedback.success {
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.5);
  color: #c8f0d0;
  display: block;
}
.form-feedback.error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #f5c2c7;
  display: block;
}

/* ---------- Sección servicios (empresas/trabajadores) ---------- */
.service-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--gris-suave);
  position: relative;
}
.service-block:nth-child(even) { background: var(--blanco-calido); }
.service-block-header { text-align: center; margin-bottom: 3.5rem; }
.service-block-header .icon-big {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--guinda) 0%, var(--guinda-dark) 100%);
  color: var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  transition: var(--transition);
}
.service-block-header .icon-big::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--dorado);
  border-radius: 50%;
  opacity: 0.3;
}
.service-block-header:hover .icon-big { transform: rotate(-6deg); }
.service-block-header p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(26,26,26,0.75);
  font-size: 1.05rem;
}

.subservice-card {
  background: var(--blanco);
  border: 1px solid var(--gris-suave);
  padding: 1.75rem 1.5rem;
  border-radius: 4px;
  height: 100%;
  transition: var(--transition);
  border-left: 3px solid var(--dorado);
  position: relative;
  overflow: hidden;
}
.subservice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--guinda) 0%, var(--guinda-dark) 100%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.subservice-card > * { position: relative; z-index: 1; }
.subservice-card:hover {
  border-left-color: var(--blanco);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.subservice-card:hover::after { opacity: 1; }
.subservice-card:hover h5,
.subservice-card:hover p { color: var(--blanco); }
.subservice-card:hover i { color: var(--dorado); transform: scale(1.06); }
.subservice-card h5 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--guinda);
  transition: color 0.4s var(--ease-out);
}
.subservice-card p {
  color: rgba(26,26,26,0.7);
  font-size: 0.93rem;
  margin: 0;
  transition: color 0.4s var(--ease-out);
}
.subservice-card i {
  color: var(--guinda);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  display: inline-block;
  transform-origin: left center;
  transition: color 0.4s var(--ease-out), transform 0.35s var(--ease-out);
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(107,30,46,0.4) 0%, transparent 50%),
    linear-gradient(180deg, var(--negro) 0%, #0F0A0C 100%);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}
.site-footer h5 {
  color: var(--dorado);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1.5px;
  background: var(--dorado);
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}
.site-footer a:hover { color: var(--dorado); transform: translateX(3px); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 0.32rem 0; }

.footer-logo img {
  max-height: 70px;
  margin-bottom: 1.25rem;
  /* Logo invertido a blanco con sombra dorada */
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(201,168,76,0.25));
  transition: var(--transition);
}
.footer-logo img:hover { filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(201,168,76,0.5)); }
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.7);
  max-width: 300px;
  line-height: 1.6;
}

.social-icons { display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.social-icons a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--guinda-dark);
  transform: translateY(-3px) rotate(8deg);
  box-shadow: var(--shadow-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.4);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .row { row-gap: 0.5rem; }
/* Espacio para que el botón flotante de WhatsApp no traslape la atribución Webzi */
@media (min-width: 768px) {
  .footer-bottom .text-md-end { padding-right: 88px; }
}

.webzi-attribution {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  flex-wrap: nowrap;
  transform: none !important;
}
.webzi-attribution > span { white-space: nowrap; }
.webzi-attribution img {
  max-height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s var(--ease-out);
}
.webzi-attribution:hover img { opacity: 1; }
.webzi-attribution:hover { color: rgba(255,255,255,0.85); }

/* ---------- WhatsApp flotante (con pulse) ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--blanco) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pulseRing 2.2s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--blanco) !important;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.7);
}
.whatsapp-float i { position: relative; z-index: 1; }

/* ---------- AOS overrides (suaviza) ---------- */
[data-aos] { transition-timing-function: var(--ease-out) !important; }

/* ---------- Artículo individual ---------- */
.article-hero {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--guinda-dark) 0%, var(--guinda) 100%);
  color: var(--blanco);
  padding: 160px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero h1 {
  color: var(--blanco);
  max-width: 880px;
  margin: 1.25rem auto 1.5rem;
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
}
.article-hero .article-meta {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.article-body-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(26,26,26,0.88);
}
.article-body-content p { margin-bottom: 1.5rem; }
.article-body-content p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--guinda);
  float: left;
  line-height: 1;
  padding: 0.2rem 0.8rem 0 0;
}
.article-source {
  background: var(--blanco-calido);
  border-left: 3px solid var(--dorado);
  padding: 1.35rem 1.6rem;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  border-radius: 0 4px 4px 0;
}

/* ---------- Responsive helpers ---------- */
@media (max-width: 768px) {
  .hero { min-height: 88vh; }
  .hero h1 { font-size: 2.4rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-inner { padding: 120px 0 60px; min-height: 340px; }
  .service-card-large { padding: 2.25rem 1.5rem; }
  .contact-form { padding: 1.75rem 1.25rem; }
  .footer-logo img { max-height: 56px; }
  .footer-bottom .text-md-end { text-align: center !important; margin-top: 0.5rem; }
  .footer-bottom .col-md-6 { text-align: center; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.65rem; bottom: 20px; right: 20px; }
}

/* Respeta preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
