* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1c1c1c;
  --accent-color: #ebac00;
  --background-color: #fefefe;
  --font-color: #333;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  background: var(--background-color);
  color: var(--font-color);
  line-height: 1.6;
}

.main-header {
  background: var(--primary-color);
  color: #fff;
  padding: 1rem 1.5rem;
  animation: slideIn 1s ease-out forwards;
  transform: translateY(-100%);
  opacity: 0;
  background-color:#ebac00;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--accent-color);
  color: rgb(50, 47, 47);
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: rgb(40, 38, 38);
  cursor: pointer;
  display: block;
}

.nav-menu {
  list-style: none;
  display: none;
  flex-direction: column;
  width: 100%;
  margin-top: 1rem;
  font-weight: bold;
}

.nav-menu li {
  margin: 0.5rem 0;
}

.nav-menu a {
  color: rgb(26, 24, 24);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: white;
}

@keyframes slideIn {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .nav-menu li {
    margin: 0 1rem;
  }
}

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url('logo-el-campello-24h.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  background-color: rgba(28, 28, 28, 0.8); /* similar al header primary color */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 600px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--accent-color, #ebac00);
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-btn {
  background-color: var(--accent-color, #ebac00);
  color: #1c1c1c;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }

  .hero-btn {
    font-size: 1.3rem;
  }
}

.services-section {
  background-color: #f7f7f7;
  padding: 4rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color:#2a0463;
  margin-bottom: 2rem;
  position: relative;
}

.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.service-item {
  background-color: white;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent-color, #ebac00);
  border-radius: 4px;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 600px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 2.5rem;
  }
}

.apertura-section {
  background-color: #fff;
  padding: 3rem 1.5rem;
}

.apertura-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.apertura-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.apertura-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.apertura-content {
  text-align: center;
  max-width: 800px;
}

.apertura-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color, #1c1c1c);
}

.apertura-content p {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.6;
}

/* DESKTOP LAYOUT */
@media (min-width: 768px) {
  .apertura-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .apertura-image,
  .apertura-content {
    flex: 1;
  }

  .apertura-content h2 {
    font-size: 2.2rem;
  }

  .apertura-content p {
    font-size: 1.25rem;
  }
}

/* FAQ SECTION */
.faq-section {
  background-color: #f9f9f9;
  padding: 4rem 1.5rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color, #1c1c1c);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #fff;
  border-left: 5px solid var(--accent-color, #fff200);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: #333;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.2rem 1rem;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .faq-title {
    font-size: 2.5rem;
  }

  .faq-question {
    font-size: 1.25rem;
  }

  .faq-answer {
    font-size: 1.2rem;
  }
}

/* SECCIÓN VENTAJAS */
.ventajas-section {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

.ventajas-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.ventajas-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.ventajas-title {
  font-size: 2rem;
  color: var(--primary-color, #1c1c1c);
  margin-bottom: 1.5rem;
  position: relative;
}

.ventajas-text {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.ventajas-text strong {
  color: var(--primary-color, #1c1c1c);
  font-weight: 600;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .ventajas-title {
    font-size: 2.4rem;
  }

  .ventajas-text {
    font-size: 1.3rem;
  }
}

.main-footer {
  background-color: #1c1c1c;
  color: #eee;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-color, #ebac00);
}

.call-button {
  background-color: var(--accent-color, #ebac00);
  color: #1c1c1c;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.call-button:hover {
  background-color: #ffbb1e;
  transform: scale(1.05);
}

.footer-copy {
  font-size: 1.2rem;
  color: #aaa;
}

/* ANIMACIÓN PULSE */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 168, 13, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(224, 168, 13, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(224, 168, 13, 0);
  }
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .footer-brand {
    font-size: 1.7rem;
  }

  .call-button {
    font-size: 1.6rem;
  }

  .footer-copy {
    font-size: 1.2rem;
  }
}

.contact-container {
      position: fixed;
      bottom: 18px;
      left: 50%;
      background-color: #fae100;
      border-radius: 20px;
      transform: translateX(-50%);
      width: calc(100%);
      max-width: 720px;
      z-index: 9999;
      display: flex;
      justify-content: center;
      pointer-events: none;
    }

    .contact-card {
      pointer-events: auto;
      width: 100%;
      backdrop-filter: blur(6px);
      border-radius: 14px;
      padding: 12px;
      display: flex;
      gap: 12px;
      align-items: center;
      color: #141313;
      letter-spacing: 1.5px;
    }

    .contact-info {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0;
    }

    .contact-text {
      display: flex;
      flex-direction: column;
      min-width: 0;
    }

    .contact-title {
      font-size: 1.24rem;
      font-weight: 600;
    }

    .contact-number {
      font-size: 1.5rem;
      font-weight: 500;
      letter-spacing: 2px;
    }

    .contact-actions {
      display: flex;
      gap: 10px;
      flex: 0 0 auto;
    }

    .contact-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;   /* icono arriba, texto debajo */
      padding: 12px 16px;
      border-radius: 12px;
      font-weight: 600;
      text-decoration: none;
      color: #fff;
      transition: transform .15s ease;
      font-size: 1.2rem;
      min-width: 70px;
    }

    .contact-call {
      margin-left: 20px;
    }
    .contact-call { background: linear-gradient(135deg,#282927 0%, #373b37 100%); }

    /* Responsive: en pantallas grandes los botones muestran icono + texto en fila */
    @media (min-width: 720px) {
      .contact-container {
        left: auto;
        right: 24px;
        transform: none;
        bottom: 24px;
        width: auto;
      }
      .contact-card {
        flex-direction: column;
        align-items: stretch;
        width: 220px;
      }
      .contact-actions {
        flex-direction: column;
        margin-top: 8px;
      }
      .contact-btn {
        flex-direction: row;  /* icono al lado del texto */
        font-size: 1.2rem;
        gap: 8px;
      }
    }

 .localizaciones-servicio {
    color: #232222;
    padding: 3rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .localizaciones-servicio .container {
    max-width: 800px;
    margin: 0 auto;
  }

  .localizaciones-servicio h2 {
    color: #21201f;
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .localizaciones-servicio .descripcion {
    text-align: center;
    font-size: 1.3rem;
    color: #292727;
  }

  .lista-localizaciones {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
    text-align: center;
  }

  .lista-localizaciones li {
    background-color: #e6e0e0;
    padding: 1rem;
    font-size: 1.5rem;
    text-decoration:#00bcd4;
    border-radius: 8px;
  }

  .lista-localizaciones li:hover {
    color: #000;
    cursor: pointer;
  }

  /* Responsive */
  @media (min-width: 600px) {
    .lista-localizaciones {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 900px) {
    .lista-localizaciones {
      grid-template-columns: repeat(3, 1fr);
    }
  }

 .servicio-blindadas {
    background-color: #f9f9f9;
    color: #111;
    padding: 3rem 1.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .servicio-blindadas .contenedor {
    max-width: 900px;
    margin: 0 auto;
  }

  .servicio-blindadas h2 {
    font-size: 1.6rem;
    text-align: center;
    color: #252423;
    margin-bottom: 1rem;
  }

  .servicio-blindadas .descripcion {
    text-align: center;
    font-size: 1.35rem;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .ventajas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ventaja {
    background: #fff;
    border-left: 5px solid #ffd000;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }

  .ventaja:hover {
    transform: translateY(-5px);
  }

  .ventaja h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #111;
  }

  .ventaja p {
    margin: 0.5rem 0 0;
    color: #666;
    line-height: 1.5;
    font-size: 1.3rem;
  }

  /* Responsive */
  @media (min-width: 700px) {
    .ventajas {
      grid-template-columns: repeat(3, 1fr);
    }
  }



.persianas-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #FFD100;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.persianas-container {
  max-width: 800px;
  width: 100%;
}

.persianas-content {
  background-color: #111;
  padding: 2.5rem 2rem;
  border: 2px solid #FFD100;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(255, 209, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persianas-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 209, 0, 0.25);
}

.persianas-content h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #FFD100;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.persianas-content p {
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.persianas-content strong {
  color: #FFD100;
}

.persianas-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background-color: #FFD100;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 209, 0, 0.3);
}

.persianas-btn:hover {
  background-color: #e6bc00;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 209, 0, 0.4);
}

@media (min-width: 640px) {
  .persianas-content h2 {
    font-size: 2.2rem;
  }

  .persianas-content p {
    font-size: 1.15rem;
  }

  .persianas-btn {
    font-size: 1.1rem;
  }
}

.vehiculos-section {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1c1c1c);
    color: #f1f1f1;
    padding: 3rem 1.5rem;
  }

  .vehiculos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2rem;
  }

  .vehiculos-image {
    width: 100%;
    height: 250px;
    background-image: url('/apertura-vehiculos.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }

  .vehiculos-content {
    text-align: center;
  }

  .vehiculos-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00bcd4;
    letter-spacing: 0.5px;
  }

  .vehiculos-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
  }

  .vehiculos-btn {
    display: inline-block;
    background: #00bcd4;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    padding: 0.9rem 1.6rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .vehiculos-btn:hover {
    background: #0097a7;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 188, 212, 0.3);
  }

  /* 💻 Diseño responsive */
  @media (min-width: 768px) {
    .vehiculos-container {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }

    .vehiculos-image {
      width: 48%;
      height: 320px;
    }

    .vehiculos-content {
      width: 48%;
      text-align: left;
    }

    .vehiculos-title {
      font-size: 2rem;
    }

    .vehiculos-text {
      font-size: 1.05rem;
    }
  }

  @media (min-width: 1024px) {
    .vehiculos-section {
      padding: 5rem 2rem;
    }

    .vehiculos-title {
      font-size: 2.4rem;
    }
  }

    .caja-fuerte-image {
    width: 100%;
    height: 250px;
    background-image: url('/caja-fuerte-el-campello.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }




.map-section-modern {
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  overflow: hidden;
  font-family: system-ui, sans-serif;
  color: #fff;
}

.map-container-modern {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.map-container-modern iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Efecto hover sutil */
.map-container-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: background 0.3s ease;
}

.map-container-modern:hover::after {
  background: rgba(0, 0, 0, 0.1);
}


/* --- Reset básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Banner Container --- */
.whatsapp-section {
    width: 100%;
    background: linear-gradient(135deg, #ccb100, #ebac00);
    padding: 20px 15px;
    display: flex;
    justify-content: center;
}

/* --- Banner Card --- */
.whatsapp-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* --- Contenido del Banner --- */
.whatsapp-card .text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* --- Botón WhatsApp --- */
.whatsapp-card .whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
}

.whatsapp-card .whatsapp-link:hover,
.whatsapp-card .whatsapp-link:focus {
    background: #128c7e;
    transform: scale(1.05);
    outline: none;
}

/* --- Ícono de WhatsApp --- */
.whatsapp-card .whatsapp-link::before {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- Responsive --- */
@media (min-width: 480px) {
    .whatsapp-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 25px 30px;
    }
    .whatsapp-card .text {
        font-size: 1.1rem;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .whatsapp-card .text {
        font-size: 1.2rem;
    }
    .whatsapp-card .whatsapp-link {
        font-size: 1.1rem;
        padding: 14px 24px;
    }
}