/*
Theme Name: Varuna
Theme URI: https://varuna.com.co
Author: Varuna Mariscos & Más
Author URI: https://varuna.com.co
Description: Tema oficial de Varuna — Mariscos & Más. Diseñado para Elementor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Propietario
Text Domain: varuna
*/

/* ===========================
   TOKENS DE MARCA VARUNA
   =========================== */
:root {
  --vr-blue:        #1e6fd8;
  --vr-blue-light:  #4a9ef0;
  --vr-blue-dark:   #1455a8;
  --vr-navy:        #0a1020;
  --vr-navy-mid:    #0f1a30;
  --vr-navy-light:  #162040;
  --vr-navy-border: #1c2a45;
  --vr-white:       #ffffff;
  --vr-off-white:   #f5f7fc;
  --vr-warm-light:  #eef2fa;
  --vr-text:        #0a1020;
  --vr-text-mid:    #4a5568;
  --vr-text-light:  #8a9ab5;
  --vr-serif:       'Georgia', serif;
  --vr-radius:      4px;
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--vr-text);
  background: var(--vr-off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===========================
   TIPOGRAFÍA GLOBAL
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vr-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--vr-navy);
  letter-spacing: -0.3px;
}
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 38px); }
h3 { font-size: 22px; }
p  { font-size: 15px; color: var(--vr-text-mid); line-height: 1.75; }

/* ===========================
   UTILIDADES
   =========================== */
.vr-section        { padding: 5rem 2rem; }
.vr-section--navy  { background: var(--vr-navy); }
.vr-section--mid   { background: var(--vr-navy-mid); }
.vr-section--white { background: #ffffff; }
.vr-section--light { background: var(--vr-off-white); }
.vr-section--warm  { background: var(--vr-warm-light); }
.vr-container      { max-width: 1200px; margin: 0 auto; width: 100%; }
.vr-text-white     { color: #ffffff !important; }
.vr-text-blue      { color: var(--vr-blue) !important; }
.vr-text-blue-light{ color: var(--vr-blue-light) !important; }
.vr-text-muted     { color: rgba(255,255,255,0.5) !important; }
.vr-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vr-blue);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.vr-tag--light { color: var(--vr-blue-light); }

/* ===========================
   BOTONES
   =========================== */
.vr-btn,
.elementor-button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 0;
  line-height: 1;
}
.vr-btn--primary,
.elementor-button--primary {
  background: var(--vr-blue);
  color: #fff;
}
.vr-btn--primary:hover { background: var(--vr-blue-dark); color: #fff; }
.vr-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 0.5px solid rgba(255,255,255,0.2);
}
.vr-btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.vr-btn--outline {
  background: transparent;
  color: var(--vr-blue);
  border: 1px solid var(--vr-blue);
}
.vr-btn--outline:hover { background: var(--vr-blue); color: #fff; }

/* ===========================
   NAVEGACIÓN
   =========================== */
.vr-nav {
  background: var(--vr-navy);
  border-bottom: 0.5px solid var(--vr-navy-border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}
.vr-nav__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vr-nav__logo svg { width: 34px; height: 34px; }
.vr-nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.vr-nav__menu a {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.vr-nav__menu a:hover { color: var(--vr-blue-light); }
.vr-nav__cta {
  background: var(--vr-blue);
  color: #fff;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
}
.vr-nav__cta:hover { background: var(--vr-blue-dark); color: #fff; }
.vr-nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.vr-nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.6); margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ===========================
   HERO
   =========================== */
.vr-hero {
  background: var(--vr-navy);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.vr-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.vr-hero__glow--1 {
  width: 600px; height: 600px;
  background: rgba(30,111,216,0.07);
  top: -150px; right: -100px;
}
.vr-hero__glow--2 {
  width: 350px; height: 350px;
  background: rgba(30,111,216,0.04);
  bottom: -80px; left: 35%;
}
.vr-hero__content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.vr-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0.5px solid rgba(30,111,216,0.35);
  color: var(--vr-blue-light);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 2rem;
}
.vr-hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--vr-blue-light);
  border-radius: 50%;
  animation: vrPulse 2s ease-in-out infinite;
}
@keyframes vrPulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.vr-hero__title {
  font-family: var(--vr-serif);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}
.vr-hero__title em { font-style: italic; color: var(--vr-blue-light); }
.vr-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.vr-hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.vr-hero__stats {
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vr-hero__stat-num {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.vr-hero__stat-num span { color: var(--vr-blue-light); }
.vr-hero__stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

/* ===========================
   TARJETAS DE VALOR
   =========================== */
.vr-value-card {
  background: #fff;
  border: 0.5px solid rgba(0,0,0,0.07);
  border-top: 2px solid var(--vr-blue);
  padding: 1.5rem;
  transition: box-shadow 0.25s;
}
.vr-value-card:hover { box-shadow: 0 4px 20px rgba(30,111,216,0.08); }
.vr-value-card i { color: var(--vr-blue); font-size: 22px; margin-bottom: 0.75rem; display: block; }
.vr-value-card__title { font-size: 14px; font-weight: 600; color: var(--vr-navy); margin-bottom: 4px; font-family: inherit; }
.vr-value-card__desc  { font-size: 12px; color: var(--vr-text-light); line-height: 1.5; }

/* ===========================
   TARJETAS DE PRODUCTO
   =========================== */
.vr-product-card {
  background: var(--vr-navy-mid);
  border-top: 2px solid transparent;
  padding: 2rem 1.5rem;
  transition: background 0.25s, border-color 0.25s;
}
.vr-product-card:hover {
  background: var(--vr-navy-light);
  border-top-color: var(--vr-blue);
}
.vr-product-card__img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--vr-navy-light);
  border: 0.5px solid var(--vr-navy-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.vr-product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.vr-product-card__tag {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--vr-blue-light); font-weight: 600; margin-bottom: 6px;
}
.vr-product-card__name { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 8px; line-height: 1.3; font-family: var(--vr-serif); }
.vr-product-card__desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; }
.vr-product-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--vr-blue-light); margin-top: 1.25rem;
  transition: gap 0.2s;
}
.vr-product-card__link::after { content: '→'; }
.vr-product-card__link:hover { gap: 10px; }

/* ===========================
   SECCIÓN POR QUÉ VARUNA
   =========================== */
.vr-why-item {
  padding: 2rem;
  background: var(--vr-off-white);
  transition: background 0.2s;
  border: 0.5px solid transparent;
}
.vr-why-item:hover { background: #fff; border-color: rgba(30,111,216,0.1); }
.vr-why-item__num {
  font-size: 40px; font-weight: 800;
  color: rgba(30,111,216,0.12); letter-spacing: -2px;
  font-family: var(--vr-serif); line-height: 1;
}
.vr-why-item__bar { width: 28px; height: 2px; background: var(--vr-blue); margin: 0.75rem 0 1rem; }
.vr-why-item__title { font-size: 16px; font-weight: 600; color: var(--vr-navy); margin-bottom: 6px; font-family: inherit; }
.vr-why-item__desc  { font-size: 13px; color: var(--vr-text-mid); line-height: 1.7; }

/* ===========================
   PROCESO — PASOS
   =========================== */
.vr-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}
.vr-step__circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(30,111,216,0.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  background: #fff;
  transition: border-color 0.25s, background 0.25s;
}
.vr-step__circle:hover { border-color: var(--vr-blue); background: rgba(30,111,216,0.04); }
.vr-step__circle i    { color: var(--vr-blue); font-size: 22px; }
.vr-step__num {
  position: absolute; top: -4px; left: calc(50% + 18px);
  width: 18px; height: 18px; background: var(--vr-blue);
  border-radius: 50%; font-size: 10px; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.vr-step__title { font-size: 13px; font-weight: 600; color: var(--vr-navy); margin-bottom: 4px; }
.vr-step__desc  { font-size: 12px; color: var(--vr-text-light); line-height: 1.55; }

/* ===========================
   CERTIFICACIONES
   =========================== */
.vr-cert-item {
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--vr-off-white);
  transition: background 0.2s;
}
.vr-cert-item:hover { background: #fff; }
.vr-cert-item i     { color: var(--vr-blue); font-size: 30px; display: block; margin-bottom: 0.75rem; }
.vr-cert-item__name { font-size: 13px; font-weight: 600; color: var(--vr-navy); margin-bottom: 4px; }
.vr-cert-item__body { font-size: 11px; color: var(--vr-text-light); line-height: 1.55; }

/* ===========================
   FORMULARIO B2B
   =========================== */
.vr-form { padding: 2rem; background: rgba(255,255,255,0.03); border: 0.5px solid var(--vr-navy-border); }
.vr-form__label {
  display: block; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  font-weight: 600; margin-bottom: 6px;
}
.vr-form__input,
.vr-form__select,
.vr-form__textarea {
  width: 100%;
  padding: 11px 12px;
  border: 0.5px solid var(--vr-navy-border);
  background: rgba(255,255,255,0.04);
  font-size: 14px; color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.vr-form__input::placeholder,
.vr-form__textarea::placeholder { color: rgba(255,255,255,0.2); }
.vr-form__input:focus,
.vr-form__select:focus,
.vr-form__textarea:focus { border-color: var(--vr-blue); }
.vr-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a9ef0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.vr-form__select option { background: #0f1a30; color: #fff; }
.vr-form__textarea { resize: vertical; min-height: 100px; }
.vr-form__group { margin-bottom: 1rem; }
.vr-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vr-form__submit {
  width: 100%; padding: 14px;
  background: var(--vr-blue); color: #fff; border: none;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; cursor: pointer; margin-top: 1rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  transition: background 0.2s;
}
.vr-form__submit:hover { background: var(--vr-blue-dark); }
.vr-form__success {
  display: none; align-items: center; gap: 10px; margin-top: 1rem;
  padding: 12px 16px;
  background: rgba(30,111,216,0.12);
  border: 0.5px solid rgba(30,111,216,0.3);
  color: var(--vr-blue-light); font-size: 13px;
}
.vr-form__success.active { display: flex; }

/* ===========================
   CONTACT INFO CARD
   =========================== */
.vr-contact-card {
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--vr-navy-border);
  border-left: 3px solid var(--vr-blue);
  margin-top: 2rem;
}
.vr-contact-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 2; margin: 0; }
.vr-contact-card strong { color: rgba(255,255,255,0.85); font-weight: 500; }

/* ===========================
   FOOTER
   =========================== */
.vr-footer {
  background: var(--vr-navy);
  border-top: 0.5px solid var(--vr-navy-border);
  padding: 4rem 2rem 2rem;
  color: #fff;
}
.vr-footer__logo {
  font-size: 20px; font-weight: 800; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem;
}
.vr-footer__logo-dot { width: 8px; height: 8px; background: var(--vr-blue); border-radius: 50%; display: inline-block; }
.vr-footer__tagline  { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 220px; }
.vr-footer__col-title {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 1rem;
}
.vr-footer__links { list-style: none; }
.vr-footer__links li { margin-bottom: 0.6rem; }
.vr-footer__links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.vr-footer__links a:hover { color: var(--vr-blue-light); }
.vr-footer__contact p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 2; }
.vr-footer__contact strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.vr-footer__bottom {
  border-top: 0.5px solid rgba(255,255,255,0.06);
  margin-top: 3rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.vr-footer__copy   { font-size: 12px; color: rgba(255,255,255,0.2); }
.vr-footer__social { display: flex; gap: 0.75rem; }
.vr-footer__social a {
  width: 34px; height: 34px;
  border: 0.5px solid var(--vr-navy-border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); font-size: 15px;
  transition: color 0.2s, border-color 0.2s;
}
.vr-footer__social a:hover { color: var(--vr-blue-light); border-color: rgba(30,111,216,0.4); }

/* ===========================
   ANIMACIONES DE ENTRADA
   =========================== */
.vr-fade-in,
.vr-fade-left,
.vr-fade-right {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.vr-fade-in    { opacity: 0; transform: translateY(22px); }
.vr-fade-left  { opacity: 0; transform: translateX(-22px); }
.vr-fade-right { opacity: 0; transform: translateX(22px); }
.vr-fade-in.vr-visible,
.vr-fade-left.vr-visible,
.vr-fade-right.vr-visible { opacity: 1; transform: none; }
.vr-delay-1 { transition-delay: 0.1s; }
.vr-delay-2 { transition-delay: 0.2s; }
.vr-delay-3 { transition-delay: 0.3s; }
.vr-delay-4 { transition-delay: 0.4s; }

/* ===========================
   ELEMENTOR — OVERRIDES
   =========================== */
.elementor-section.vr-section--navy,
.elementor-section.vr-hero { background: var(--vr-navy) !important; }
.elementor-section.vr-section--mid { background: var(--vr-navy-mid) !important; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--vr-serif) !important; font-weight: 400 !important; letter-spacing: -0.3px !important; }
.elementor-widget-button .elementor-button { border-radius: 0 !important; }
.elementor-widget-text-editor p { font-size: 15px; line-height: 1.75; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .vr-nav__menu { display: none; }
  .vr-nav__toggle { display: block; }
  .vr-nav__menu.vr-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--vr-navy);
    border-top: 0.5px solid var(--vr-navy-border);
    padding: 1.5rem 2rem; gap: 1.25rem; z-index: 998;
  }
  .vr-form__row { grid-template-columns: 1fr; }
  .vr-hero__stats { grid-template-columns: 1fr 1fr; }
  .vr-footer { padding: 3rem 1.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .vr-hero { padding: 4rem 1.25rem; min-height: auto; }
  .vr-section { padding: 3.5rem 1.25rem; }
  .vr-hero__actions { flex-direction: column; align-items: flex-start; }
  .vr-hero__stats { grid-template-columns: 1fr; gap: 1rem; }
}
