/*
Theme Name: Promocionales
Theme URI: https://promocionales.com
Author: Promocionales
Author URI: https://promocionales.com
Description: Tema personalizado para Promocionales - Regalos Corporativos
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: promocionales
Tags: business, corporate, custom-colors, full-width-template
*/

/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
  --color-bg: #0a0a0a;
  --color-bg-2: #111111;
  --color-bg-3: #1a1a1a;
  --color-white: #ffffff;
  --color-white-muted: rgba(255,255,255,0.7);
  --color-teal: #2dd4bf;
  --color-teal-dark: #0f9d8a;
  --color-teal-light: #5eead4;
  --color-gray: #888888;
  --color-border: rgba(255,255,255,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-teal: 0 0 40px rgba(45, 212, 191, 0.15);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { font-size: 1rem; color: var(--color-white-muted); }

.text-teal { color: var(--color-teal); }
.text-italic { font-style: italic; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-teal);
  display: block;
  margin-bottom: 0.75rem;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-dark { background: var(--color-bg); }
.section-light { background: var(--color-white); color: var(--color-bg); }
.section-light p { color: rgba(0,0,0,0.6); }
.section-mid { background: var(--color-bg-2); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-teal);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,212,191,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-bg);
  border: 1.5px solid rgba(0,0,0,0.2);
}
.btn-outline-dark:hover {
  border-color: var(--color-teal-dark);
  color: var(--color-teal-dark);
}

/* ===========================
   HEADER / NAV
   =========================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--color-teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  line-height: 1;
}
#main-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
#main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-white-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}
#main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-teal);
  transition: var(--transition);
}
#main-nav a:hover { color: var(--color-white); }
#main-nav a:hover::after { width: 100%; }
#main-nav .btn { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding-top: 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(45,212,191,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(45,212,191,0.04) 0%, transparent 60%);
}
.hero-grid-line {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--color-teal);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  margin-bottom: 1.2rem;
}
.hero-title .line-italic {
  font-style: italic;
  color: var(--color-teal);
  display: block;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--color-white-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-white-muted);
}
.feature-pill .icon {
  width: 36px; height: 36px;
  background: rgba(45,212,191,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.feature-pill strong { color: var(--color-teal); font-weight: 600; }

/* Hero image area */
.hero-visual {
  position: relative;
  height: 520px;
}
.hero-main-image {
  position: absolute;
  right: 0; top: 0;
  width: 90%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-main-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-bg-3), var(--color-bg-2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.hero-image-placeholder span {
  font-size: 0.85rem;
  color: var(--color-gray);
  font-family: var(--font-mono);
}
.hero-card-floating {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: rgba(20,20,20,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card-floating .card-icon {
  width: 40px; height: 40px;
  background: var(--color-teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--color-bg);
}
.hero-card-floating .card-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white);
}
.hero-card-floating .card-text span {
  font-size: 0.75rem;
  color: var(--color-gray);
}

/* ===========================
   WHY CHOOSE US
   =========================== */
#why-us {
  background: var(--color-white);
  color: var(--color-bg);
}
#why-us .section-label { color: var(--color-teal-dark); }
#why-us h2 { color: var(--color-bg); }
#why-us h2 .text-teal { color: var(--color-teal-dark); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.why-img-box {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.why-img-box:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}
.why-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.why-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-feature {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.why-feature .icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.why-feature h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-bg);
}
.why-feature p {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.5);
  line-height: 1.5;
}

/* ===========================
   PROPOSALS / PRODUCTS
   =========================== */
#proposals {
  background: var(--color-bg);
}
.proposals-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.proposals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-bottom: 3rem;
}
.proposal-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.proposal-card:hover {
  border-color: rgba(45,212,191,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}
.proposal-card-img {
  aspect-ratio: 1;
  background: var(--color-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.proposal-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.proposal-card:hover .proposal-card-img img {
  transform: scale(1.05);
}
.proposal-card-body {
  padding: 1rem;
}
.proposal-card-body h3 {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.proposal-card-body p {
  font-size: 0.78rem;
  color: var(--color-gray);
  line-height: 1.4;
}
.proposals-cta {
  text-align: center;
}

/* ===========================
   HOW WE WORK
   =========================== */
#how-we-work {
  background: var(--color-white);
  color: var(--color-bg);
}
#how-we-work .section-label { color: var(--color-teal-dark); }
#how-we-work h2 { color: var(--color-bg); }
#how-we-work h2 .text-teal { color: var(--color-teal-dark); }
.steps-header {
  text-align: center;
  margin-bottom: 4rem;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal-dark), var(--color-teal));
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-teal-dark);
  display: block;
  margin-bottom: 0.5rem;
}
.step-icon {
  width: 70px; height: 70px;
  background: var(--color-white);
  border: 2px solid var(--color-teal-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}
.step-item:hover .step-icon {
  background: var(--color-teal-dark);
  transform: scale(1.1);
}
.step-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-bg);
}
.step-item p {
  font-size: 0.83rem;
  color: rgba(0,0,0,0.5);
  line-height: 1.5;
}

/* ===========================
   FEATURED PROJECT
   =========================== */
#featured-project {
  background: var(--color-bg-2);
}
.project-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.project-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 1px solid var(--color-border);
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.8rem 0 2.2rem;
}
.project-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-white-muted);
}
.project-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(45,212,191,0.15);
  border: 1px solid var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-teal);
  flex-shrink: 0;
}

/* ===========================
   CLIENTS
   =========================== */
#clients {
  background: var(--color-white);
}
#clients .section-label { color: var(--color-teal-dark); }
.clients-header { text-align: center; margin-bottom: 3rem; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.client-logo {
  aspect-ratio: 2/1;
  background: #f0f0f0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #999;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.client-logo:hover {
  background: #e5e5e5;
}
.client-logo img { width: 70%; object-fit: contain; filter: grayscale(1); opacity: 0.5; }
.client-logo:hover img { filter: none; opacity: 1; }

/* ===========================
   CTA BANNER
   =========================== */
#cta-banner {
  background: var(--color-bg);
  padding: 4rem 0;
}
.cta-box {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,212,191,0.08), transparent 70%);
  pointer-events: none;
}
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.cta-content p {
  font-size: 1rem;
  color: var(--color-white-muted);
}
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
   =========================== */
#site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-gray);
  margin-top: 0.8rem;
  max-width: 260px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1.2rem;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-gray);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--color-teal); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-gray);
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 36px; height: 36px;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--color-teal);
  color: var(--color-bg);
  border-color: var(--color-teal);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .why-images { display: none; }
  .proposals-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .project-inner { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  #main-nav { display: none; }
  #main-nav.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  #main-nav.open ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  #main-nav.open a { font-size: 1.4rem; }
  .hamburger { display: flex; z-index: 1001; }
  .proposals-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .cta-box { padding: 2rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 4rem 0; }
  .proposals-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
