/*
Theme Name: Astra Construction Child
Theme URI: https://aimktgagency.com
Author: Jorge Ayala
Author URI: https://aimktgagency.com
Description: Child theme de Astra para sitio de construcción - Mobile First
Template: astra
Version: 1.2.0
*/

/* ============ CSS Variables - Mobile First ============ */
:root {
  /* Brand Colors */
  --primary-orange: #FDB813;
  --primary-dark: #0A1B3D;
  --primary-blue: #1E3A8A;
  --accent-orange: #FF8C42;
  
  /* Text Colors - Improved Contrast */
  --text-dark: #1F2937;
  --text-gray: #4B5563;
  --text-light: #9CA3AF;
  --white: #FFFFFF;
  
  /* Background Colors */
  --light-bg: #F8FAFC;
  --border-light: #E5E7EB;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  
  /* Animation & Layout */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
  --border-radius-large: 12px;
  
  /* Container Settings */
  --container-width: 1200px;
  --container-padding: 16px;
}

/* ============ Base Reset & Astra Overrides ============ */

/* Container mejorado para Astra */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Override Astra container */
.ast-container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
}

/* Asegurar imágenes responsivas */
img {
  max-width: 100%;
  height: auto;
}

/* Reset de listas */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============ Links Override - Sin subrayados ============ */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
.ast-theme-transparent-header a,
.site-header a,
.main-header-menu a,
.ast-masthead-custom-menu-items a {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  text-underline-offset: 0 !important;
}

/* Override específico para Astra menu */
.main-header-menu .menu-link {
  text-decoration: none !important;
}

/* ============ Typography - Mobile First ============ */
.hero-title,
.about-main-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.advantage-content h3 {
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

/* ============ Buttons - Mobile First ============ */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
  text-decoration: none !important;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 12px 26px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-orange);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
  text-decoration: none !important;
}

/* ============ Hero Section - Mobile First ============ */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  color: white;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons,
.cta-button-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.hero-image {
  max-width: 300px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-xl);
}

/* ============ Services Section - Mobile First ============ */
.services {
  padding: 60px 0;
  background: var(--white);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: var(--border-radius-large);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--accent-orange));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  margin-bottom: 1rem;
}

.service-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 14px;
}

.service-link {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none !important;
}

.service-link:hover {
  color: var(--accent-orange);
  text-decoration: none !important;
}

/* ============ About Section - Mobile First ============ */
.about {
  padding: 60px 0;
  background: var(--light-bg);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 350px;
}

.about-image img {
  width: 100%;
  height: 350px;  /* Altura responsive para móvil */
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.about-image img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.about-content {
  text-align: center;
  max-width: 600px;
}

.about-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-content p strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.stat-number {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
}

.stat-text {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ============ Why Choose Section - Mobile First ============ */
.why-choose-section {
  padding: 60px 0;
  background: var(--white);
}

.advantages-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.advantage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.advantage-content p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ============ Portfolio Section - Mobile First ============ */
.portfolio {
  padding: 60px 0;
  background: var(--white);
}

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem 1.25rem 1.25rem;
}

.portfolio-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  margin-bottom: 0.375rem;
  display: block;
}

.portfolio-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: white;
}

.portfolio-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

/* ============ Testimonials Section - Mobile First ============ */
.testimonials {
  padding: 60px 0;
  background: var(--primary-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
}

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

.testimonials-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-large);
  padding: 1.5rem 1.25rem;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-card p {
  color: white;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.testimonial-author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.125rem;
  font-size: 15px;
}

.author-info span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* ============ FAQ Section - Mobile First ============ */
.faq-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: white;
  border-radius: var(--border-radius-large);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--primary-orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============ CTA Section - Mobile First ============ */
.cta {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  margin: 0 auto;
}

.cta-subtitle {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.cta .btn-primary {
  background: var(--primary-dark);
  font-size: 15px;
  padding: 16px 32px;
}

/* ============ Contact Section - Mobile First ============ */
.contact {
  padding: 60px 0;
  background: var(--light-bg);
}

.contact-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-subtitle {
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 2rem;
}

.contact-subtitle a {
  color: var(--primary-orange);
  font-weight: 600;
}

.contact-form {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ Contact Form 7 Styles ============ */
.wpcf7 {
  display: block;
  max-width: 100%;
}

.wpcf7 form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.wpcf7 .wpcf7-form-control,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 16px;
  background: white;
  color: var(--text-dark);
  transition: var(--transition);
  font-family: inherit;
  min-height: 44px;
  box-sizing: border-box;
}

.wpcf7 .wpcf7-form-control:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.1);
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7 ::placeholder {
  color: var(--text-light);
  opacity: 1;
}

.wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, var(--primary-orange), var(--accent-orange));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  min-height: 44px;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mensajes de validación CF7 */
.wpcf7 .wpcf7-not-valid {
  border-color: #ef4444 !important;
  background: #fff7f7;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  color: #b91c1c;
  margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  border: 2px solid transparent;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.925rem;
}

.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #16a34a;
  background: #ecfdf5;
  color: #065f46;
}

.wpcf7 .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #eab308;
  background: #fffbeb;
  color: #854d0e;
}

/* ============ Accessibility & Touch Targets ============ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-orange);
  outline-offset: 3px;
}

/* Asegurar tamaños de toque mínimos */
button,
.btn-primary,
.btn-secondary,
input,
textarea,
.service-link {
  min-height: 44px;
}

/* ============ Utility Classes ============ */
.section-padding {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

/* ============ Tablet Styles (768px+) ============ */
@media (min-width: 768px) {
  :root {
    --container-padding: 20px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .hero {
    padding: 80px 0;
    min-height: 70vh;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero-content {
    flex: 1;
    max-width: 500px;
    margin-bottom: 0;
    margin-right: 2.5rem;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-description {
    font-size: 17px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons,
  .cta-button-container {
    flex-direction: row;
    gap: 1.25rem;
    justify-content: flex-start;
    margin-top: 1.75rem;
  }

  .hero-image {
    max-width: 400px;
  }

  .btn-primary {
    padding: 16px 32px;
    font-size: 15px;
  }

  .btn-secondary {
    padding: 14px 30px;
    font-size: 15px;
  }

  .services {
    padding: 80px 0;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon img {
    width: 70px;
    height: 70px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 15px;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    flex-direction: row;
    gap: 3rem;
    text-align: left;
    align-items: flex-start;
  }

  .about-image {
    flex: 1;
    max-width: 450px;
  }

  .about-image img {
    height: 620px;
  }

  .about-content {
    flex: 1;
    text-align: left;
    max-width: none;
  }

  .about-subtitle {
    font-size: 14px;
  }

  .about-content p {
    font-size: 16px;
  }

  .why-choose-section {
    padding: 80px 0;
  }

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

  .advantage-item {
    padding: 1.5rem;
  }

  .advantage-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .advantage-content p {
    font-size: 15px;
  }

  .portfolio {
    padding: 80px 0;
  }

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

  .portfolio-item img {
    height: 280px;
  }

  .portfolio-number {
    font-size: 56px;
  }

  .portfolio-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }

  .portfolio-overlay h3 {
    font-size: 20px;
  }

  .portfolio-overlay p {
    font-size: 14px;
  }

  .testimonials {
    padding: 80px 0;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2rem 1.75rem;
  }

  .testimonial-card p {
    font-size: 17px;
  }

  .testimonial-author img {
    width: 55px;
    height: 55px;
  }

  .author-info h4 {
    font-size: 17px;
  }

  .author-info span {
    font-size: 14px;
  }

  .faq-section {
    padding: 80px 0;
  }

  .cta {
    padding: 80px 0;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .wpcf7 form {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
  }

  .wpcf7 textarea,
  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

/* ============ Desktop Styles (1024px+) ============ */
@media (min-width: 1024px) {
  :root {
    --container-padding: 24px;
  }

  .hero {
    min-height: 80vh;
    padding: 100px 0;
  }

  .services {
    padding: 100px 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .about {
    padding: 100px 0;
  }

  .about-grid {
    gap: 4rem;
  }

  .about-image {
    max-width: 500px;
  }

  .why-choose-section {
    padding: 100px 0;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .portfolio {
    padding: 100px 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .testimonials {
    padding: 100px 0;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .faq-section {
    padding: 100px 0;
  }

  .cta {
    padding: 100px 0;
  }

  .contact {
    padding: 100px 0;
  }
}
.wp-block-html {
  padding: 0 !important;
}
/* ============ HERO LUX (no cambia tu layout global) ============ */
.hero--lux{
  position:relative;
  min-height:100dvh; /* evita saltos en iOS */
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary-blue));
  color:#fff; text-align:center;
}

/* Fondo full-bleed (deja tu imagen como la tenías; si usas un DIV .hero-bg, se verá debajo) */
.hero--lux .hero-bg{
  position:absolute; inset:0;
  background:center/cover no-repeat;
  z-index:0; animation:heroLuxZoom 20s infinite alternate;
}
.hero--lux .hero-overlay{
  position:absolute; inset:0;
  background:rgba(10,27,61,.88); z-index:1;
}

/* Partículas ligeras (no afectan layout) */
.hero--lux .hero-particles{ position:absolute; inset:0; z-index:2; pointer-events:none; }
.hero--lux .hero-particles .particle{
  position:absolute; border-radius:50%; background:var(--primary-orange);
  opacity:.6; animation:heroLuxFloat 8s ease-in-out infinite; will-change:transform;
}
.hero--lux .hero-particles .p1{ top:20%; left:10%; width:4px; height:4px; animation-duration:6s; }
.hero--lux .hero-particles .p2{ top:60%; right:15%; width:6px; height:6px; animation-duration:8s; animation-direction:reverse; }
.hero--lux .hero-particles .p3{ bottom:30%; left:20%; width:3px; height:3px; animation-duration:7s; }
.hero--lux .hero-particles .p4{ top:40%; right:30%; width:5px; height:5px; animation-duration:9s; animation-direction:reverse; }

/* Contenido: NO tocamos tu .container global */
.hero--lux .container{ position:relative; z-index:3; }

/* Badge */
.hero--lux .hero-badge{
  display:inline-flex; align-items:center;
  background:rgba(253,184,19,.15);
  backdrop-filter:blur(20px);
  border:1px solid rgba(253,184,19,.3);
  border-radius:50px; padding:8px 20px; margin-bottom:24px;
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px;
  color:var(--primary-orange);
}

/* Título con gradiente (con fallback accesible) */
.hero--lux .hero-title{
  font-size:clamp(2.5rem,7vw,4.5rem); font-weight:900; line-height:1.1; margin-bottom:24px;
  background:linear-gradient(135deg,#fff 0%,#FDB813 50%,#fff 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero--lux .hero-title .accent{ color:var(--primary-orange); -webkit-text-fill-color:initial; }

/* Descripción */
.hero--lux .hero-subtitle{
  font-size:clamp(16px,3vw,22px); line-height:1.6;
  max-width:760px; margin:0 auto 32px; color:rgba(255,255,255,.9);
}

/* Stats */
.hero--lux .hero-stats{
  display:flex; justify-content:center; gap:32px; margin-bottom:40px; flex-wrap:wrap;
}
.hero--lux .hero-stats .stat{ text-align:center; }
.hero--lux .hero-stats .stat strong{
  display:block; font-size:clamp(24px,5vw,32px); font-weight:800; color:var(--primary-orange); line-height:1;
}
.hero--lux .hero-stats .stat span{
  font-size:12px; color:rgba(255,255,255,.85); text-transform:uppercase; letter-spacing:1px;
}

/* CTAs (mantengo tu look y tamaño touch) */
.hero--lux .hero-ctas{
  display:flex; flex-direction:column; gap:16px; align-items:center; margin-bottom:40px;
}
.hero--lux .btn-glow{
  background:linear-gradient(135deg,var(--primary-orange),var(--accent-orange));
  color:#fff; padding:18px 36px; border-radius:50px; font-weight:700;
  font-size:clamp(14px,3vw,18px); text-transform:uppercase; letter-spacing:.5px;
  box-shadow:0 10px 30px rgba(253,184,19,.4);
  transition:var(--transition); min-height:56px; display:inline-flex; align-items:center; gap:12px;
}
.hero--lux .btn-glow:hover{ transform:translateY(-2px) scale(1.05); box-shadow:0 15px 40px rgba(253,184,19,.6); }
.hero--lux .btn-ghost{
  background:rgba(255,255,255,.1); backdrop-filter:blur(20px);
  border:2px solid rgba(255,255,255,.2); color:#fff; padding:16px 32px; border-radius:50px;
  font-weight:600; font-size:clamp(14px,3vw,16px); text-transform:uppercase; letter-spacing:.5px;
  transition:var(--transition); min-height:52px; display:inline-flex; align-items:center; gap:8px;
}
.hero--lux .btn-ghost:hover{ background:rgba(255,255,255,.2); border-color:var(--primary-orange); transform:translateY(-1px); }

/* Trust chips */
.hero--lux .hero-trust{
  display:flex; justify-content:center; align-items:center; gap:24px; flex-wrap:wrap;
  color:rgba(255,255,255,.9); font-size:13px;
}
.hero--lux .hero-trust li{
  display:flex; align-items:center; gap:6px;
  background:rgba(255,255,255,.1); padding:8px 16px; border-radius:20px; backdrop-filter:blur(10px);
}

/* Animaciones */
@keyframes heroLuxZoom{ 0%{transform:scale(1)} 100%{transform:scale(1.1)} }
@keyframes heroLuxFloat{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

/* Accesibilidad – reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero--lux .hero-bg{ animation:none }
  .hero--lux .hero-particles .particle{ animation:none }
}

/* Tablet: respeta tu container y pasa a texto izq si prefieres */
@media (min-width:768px){
  .hero--lux{ text-align:left; }
  .hero--lux .hero-subtitle{ margin-left:0; margin-right:0; }
  .hero--lux .hero-ctas{ flex-direction:row; justify-content:flex-start; }
}
