body {
  padding-top: 70px;
  background-color: var(--color-bg);
}

/* =========================
   HERO – AUDIOCAR
========================= */

.hero {
  height: calc(100vh - 70px);
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.65) 40%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: var(--container-xl);
  padding: var(--space-16) var(--space-8);
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  color: var(--color-white);
}

.hero-eyebrow {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.hero-title {
  font-family: var(--font-title);
  font-size: var(--text-4xl);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-white);
}

.hero-description {
  font-family: var(--font-text);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero {
    min-height: 90vh;
  }

  .hero-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: var(--space-12) var(--space-6);
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 85vh;
  }

  .hero-eyebrow {
    font-size: var(--text-xs);
  }
}










/* =========================
   SERVICIOS – AUDIOCAR
========================= */

.services {
  background: var(--color-bg-light);
  padding: var(--space-16) var(--space-6);
}

.services-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* HEADER */
.services-header {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.section-eyebrow {
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

.section-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--color-text);
}

.section-description {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* LISTADO */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

/* CARD */
.service-card {
  flex: 1 1 calc(33.333% - var(--space-6));
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  gap: 15px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--color-primary-dark);
  font-size: var(--text-xl);
}

.service-icon i{
    color: var(--color-text-dark);
}

.service-title {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  color: var(--color-text-dark);
}

.service-text {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* CTA */
.services-cta {
  display: flex;
  justify-content: flex-start;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 calc(50% - var(--space-6));
  }
}

@media (max-width: 768px) {
  .services {
    padding: var(--space-12) var(--space-6);
  }

  .section-title {
    font-size: var(--text-2xl);
  }

  .service-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .section-eyebrow {
    font-size: var(--text-xs);
  }
}






/* =========================
   WHY US / BENEFICIOS
========================= */

.why-us {
  background-color: var(--color-bg);
  padding: var(--space-16) var(--space-6);
}

.why-us-wrapper {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

/* VISUAL */
.why-us-visual {
  flex: 0 0 38%;
  position: relative;
}

.why-us-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  opacity: var(--opacity-90);
  object-fit: cover;
}

/* CONTENT */
.why-us-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);

}

.why-us-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--color-text);
}

.why-us-text {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-dark);
  max-width: 520px;
}

.why-us-text.muted {
  color: var(--color-text-muted);
}

/* POINTS */
.why-us-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.why-us-points span {
  font-family: var(--font-text);
  font-size: var(--text-sm);
  color: var(--color-text);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .why-us-visual {
    flex: 0 0 42%;
  }
}

@media (max-width: 768px) {
  .why-us-wrapper {
    flex-direction: column;
    gap: var(--space-8);
  }

  .why-us-visual {
    width: 100%;
  }

  .why-us-visual img {
    max-height: 280px;
  }

  .why-us-title {
    font-size: var(--text-3xl);
  }

  .why-us-content{
      align-items: center;
      justify-content: center;
      display: flex;
      width: 100%;
      text-align: center;
  }
}



@media (max-width: 480px) {
  .why-us-content{
      align-items: flex-start;
      justify-content: flex-start;
      display: flex;
      width: 100%;
      text-align: start;
  }
}









/* =========================
   WORK GALLERY
========================= */

.work-gallery {
  background-color: var(--color-bg-light);
  padding: var(--space-16) var(--space-6);
}

.work-gallery-wrapper {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

/* TEXTO */
.work-gallery-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.work-gallery-title {
  font-family: var(--font-title);
  font-size: var(--text-4xl);
  line-height: 1.2;
  color: var(--color-text);
}

.work-gallery-text {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-dark);
  max-width: 520px;
}

.work-gallery-text.muted {
  color: var(--color-text-muted);
}

/* GALERÍA */
.work-gallery-visual {
  flex: 0 0 42%;
  display: flex;
  gap: var(--space-4);
}

/* COLUMNAS */
.gallery-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

/* Columna grande */
.gallery-column.large {
  flex: 1.1;
}

/* =========================
   IMÁGENES (ARREGLADO)
========================= */

.work-gallery-visual img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  opacity: var(--opacity-90);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Imagen grande */
.gallery-column.large img {
  height: 340px;
}

/* Imágenes chicas */
.gallery-column:not(.large) img {
  height: 160px;
}

/* Hover sutil */
.work-gallery-visual img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-medium);
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .work-gallery-wrapper {
    gap: var(--space-10);

    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    text-align: center;
  }

  .gallery-column.large img {
    height: 100%;
  }

  .gallery-column:not(.large) img {
    height: 140px;
  }

  .work-gallery-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  .work-gallery-wrapper {
    flex-direction: column;
    
  }

  

  .gallery-column.large img {
  }

  .gallery-column:not(.large) img {
    height: 150px;
  }
}


@media (max-width: 480px) {
  .work-gallery {
    padding: var(--space-12) var(--space-6);
  }

  .work-gallery-wrapper{
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    width: 100%;
    text-align: start;
  }

  .work-gallery-visual {
    width: 100%;
    flex-direction: column;
  }

  .gallery-column.large img,
  .gallery-column:not(.large) img {
    height: 200px;
  }
}





/* =========================
   EDITORIAL TESTIMONIALS
========================= */

.editorial-testimonials {
  background-color: var(--color-bg);
  padding: var(--space-16) var(--space-6);
}

.editorial-testimonials-wrapper {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* HEADER */
.editorial-testimonials-header {
  max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.editorial-testimonials-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  line-height: 1.2;
  color: var(--color-text);
}

/* LISTA */
.editorial-testimonials-list {
  display: flex;
  gap: var(--space-6);
}

/* ITEM */
.editorial-testimonial {
  flex: 1;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-card);
  border: var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TEXTO */
.editorial-testimonial p {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-dark);
}

/* AUTOR */
.editorial-testimonial span {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .editorial-testimonials-list {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .editorial-testimonials {
    padding: var(--space-12) var(--space-6);
  }

  .editorial-testimonials-title {
    font-size: var(--text-2xl);
  }
}







/* =========================
   NEEDS / SOLUCIONES
========================= */

.needs-section {
  background: var(--color-bg-light);
  padding: var(--space-16) var(--space-6);
}

.needs-wrapper {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* HEADER */

.needs-header {
  max-width: 560px;
}

.needs-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.needs-text {
  font-family: var(--font-text);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CARDS WRAPPER */

.needs-cards {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* CARD */

.need-card {
  flex: 1 1 240px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}

.need-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

/* ICON */

.need-card i {
  font-size: 1.6rem;
  color: var(--color-accent);
}

/* TITLE */

.need-card h3 {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  color: var(--color-text);
}

/* TEXT */

.need-card p {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* CTA */

.need-card a {
  margin-top: auto;
  align-self: flex-start;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: transparent;
  border: var(--border-light);
  font-family: var(--font-text);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.need-card a:hover {
  background: var(--color-bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-accent);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .needs-title {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 768px) {
  .needs-section {
    padding: var(--space-12) var(--space-6);
  }

  .needs-cards {
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .need-card {
    padding: var(--space-5);
  }
}










/* =========================
   FINAL CTA
========================= */

.final-cta {
  background: var(--gradient-dark);
  padding: var(--space-16) var(--space-6);
  color: var(--color-white);
}

.final-cta-wrapper {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.final-cta-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* EYEBROW */
.final-cta-eyebrow {
  font-size: var(--text-sm);
  color: var(--color-accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* TITLE */
.final-cta-title {
  font-family: var(--font-title);
  font-size: var(--text-4xl);
  line-height: 1.15;
  color: var(--color-white);
}

/* TEXT */
.final-cta-text {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto;
}

/* ACTIONS */
.final-cta-actions {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}


@media (max-width: 768px) {
  .final-cta {
    padding: var(--space-12) var(--space-6);
  }

  .final-cta-title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .final-cta-title {
    font-size: var(--text-2xl);
  }
}









/* =========================
   LOCAL TRUST / ZONA
========================= */

.local-trust {
  background-color: var(--color-bg-light);
  padding: var(--space-12) var(--space-6);
  border-top: var(--border-light);
  gap: var(--space-16);
  flex-direction: column;
  display: flex;
}

.local-trust-wrapper {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

/* CONTENT */

.local-trust-content {
  max-width: 520px;
}

.local-trust-title {
  font-family: var(--font-title);
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.local-trust-text {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ITEMS */

.local-trust-items {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.local-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  background-color: var(--color-bg-light);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-text);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.local-trust-item i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .local-trust-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .local-trust {
    padding: var(--space-10) var(--space-6);
  }

  .local-trust-title {
    font-size: var(--text-xl);
  }

  .local-trust-items {
    gap: var(--space-4);
  }
}










/* =========================
   CONTACT FORM
========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin: 0 auto;
  max-width: 850px;
  padding: var(--space-8);
  border-radius: var(--radius-xl);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.04),
      rgba(255,255,255,0.01)
    );

  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}

.contact-form select option{
  background-color: var(--color-bg-light)
}

/* GROUP */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* INPUTS */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;

  font-family: var(--font-text);
  font-size: var(--text-base);

  color: var(--color-text);
  background: rgba(255,255,255,0.03);

  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);

  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(47,128,237,0.2);
}

/* ERROR STATE */
.contact-form .error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 2px rgba(229,83,61,0.25);
}

/* BUTTON */
.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.contact-form .btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* STATUS MESSAGE */
.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.form-status.loading {
  color: var(--color-text-muted);
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: var(--color-error);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .contact-form {
    padding: var(--space-6);
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }
}



/* =========================
   CONTACT FORM HEADER
========================= */

.contact-form-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.contact-form-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.contact-form-title {
  font-family: var(--font-title);
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-text);
}

.contact-form-text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 420px;
}

/* Responsive ajuste */
@media (max-width: 640px) {
  .contact-form-title {
    font-size: var(--text-xl);
  }
}
