/*
Theme Name:  Bewalia – TEST (Gutenberg)
Theme URI:   https://bewalia.com
Description: Landing page con Gutenberg. Instala y activa para publicar directamente.
Version:     1.0.0
Author:      Bewalia
Author URI:  https://bewalia.com
Text Domain: bewalia-test
License:     Proprietary
Requires WP: 6.0
Requires PHP: 7.4
*/

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

:root {
  --primary: #c9a96e;
  --secondary: #8b6c42;
  --dark: #1a1a1a;
  --light: #f8f8f8;
  --white: #ffffff;
  --gray: #666666;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.05) 0%, rgba(139, 108, 66, 0.05) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-text h1 span {
  color: var(--primary);
  display: block;
}

.hero-text p {
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(201, 169, 110, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  padding: 16px 40px;
  border: 2px solid var(--secondary);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.hero-image-container::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
  animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(28px, 28px);
  }
}

.hero-image-icon {
  font-size: 120px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.services {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 169, 110, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.2);
  border-color: var(--primary);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
}

.about {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.03) 0%, rgba(139, 108, 66, 0.03) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 25px;
}

.about-text p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

.about-image {
  position: relative;
}

.about-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-icon {
  font-size: 100px;
  color: var(--white);
}

.process {
  padding: 100px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.process-step h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
}

.process-step p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
}

.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.05) 0%, rgba(139, 108, 66, 0.05) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 80px;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: var(--gray);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 3px;
}

.author-info p {
  font-size: 13px;
  color: var(--gray);
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--secondary);
}

.cta-section .btn-primary:hover {
  background: var(--light);
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s ease;
  border-radius: 3px;
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    align-items: flex-start;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .about-text h2 {
    font-size: 32px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
/* ── Bewalia guaranteed base — always injected by packager ─────────────────── */
/* Universal reset (safety net if AI omitted it) */
*,*::before,*::after{box-sizing:border-box;}
img,video,svg{display:block;max-width:100%;}
html{font-family:var(--font-body,'system-ui',sans-serif);}
body{font-family:var(--font-body,'system-ui',sans-serif);color:var(--color-text,#000);}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading,serif);}

/* Image placeholder containers (data-replace) */
.img-ph{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--color-surface,#f5f5f5) 0%,var(--color-border,#e0e0e0) 100%);}
.img-ph>svg{margin:auto;opacity:.18;}
.img-ph[data-replace]::after{content:"📸 Reemplazar imagen";position:absolute;bottom:.6rem;left:50%;transform:translateX(-50%);font-size:.6rem;font-family:monospace;letter-spacing:.05em;opacity:.4;white-space:nowrap;pointer-events:none;}

/* CTA centering — force all CTAs centered */
.cta,button[class*="cta"],a[class*="cta"]{text-align:center;display:inline-flex;justify-content:center;align-items:center;}

/* Spacing grid — consistent baseline */
:root{
  --space-xs:0.25rem;--space-sm:0.5rem;--space-md:1rem;--space-lg:1.5rem;--space-xl:2rem;--space-2xl:3rem;
}
section{padding:var(--space-xl) var(--space-lg);margin-bottom:var(--space-lg);}
article,div[class*="card"],div[class*="box"]{padding:var(--space-lg);margin-bottom:var(--space-md);}
h1,h2,h3{margin-bottom:var(--space-md);line-height:1.2;}
p{margin-bottom:var(--space-md);line-height:1.6;}
button,a[class*="btn"]{padding:var(--space-md) var(--space-lg);border-radius:var(--radius,8px);}

