body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7ee url('../images/fondo.webp') center/cover no-repeat fixed;
    color: #222;
    font-size: 1.07em;
    min-height: 100vh;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.5);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
header {
    background: #0033a0; /* Azul YPF */
    color: #fff;
    padding: 20px 0 12px 0;
    border-bottom: 5px solid #ffd200; /* Amarillo Shell */
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.logo-titulo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-header {
    max-height: 70px;
    width: auto;
    display: block;
}
header h1, h2, h3, h4 {
    text-shadow: 1px 2px 6px rgba(0,0,0,0.18), 0 1px 0 #fff;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
    text-align: center;
    width: 100%;
}
nav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
    font-weight: bold;
    font-size: 1.13em;
    justify-content: center;
    transition: max-height 0.3s;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 5px;
    transition: background .2s;
}
nav ul li a:hover {
    background: #ffd200;
    color: #0033a0;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
}
.menu-bar {
    width: 28px;
    height: 4px;
    background: #ffd200;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}
.menu-toggle.open .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open .menu-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
nav a {
    color: #ffd200; /* Amarillo Shell */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s, background 0.2s;
    padding: 6px 16px;
    border-radius: 5px;
}
nav a:hover {
    color: #fff;
    background: #e4002b; /* Rojo Shell/Valvoline */
}
.hero {

    color: #fff;
    text-shadow: 1px 1px 5px #222;
    padding: 80px 0 60px 0;
    text-align: center;
}
.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.18), 0 1px 0 #fff;
}
.servicios-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 32px;
    align-items: stretch;
    list-style: none;
    padding-left: 0;
}
@media (max-width: 700px) {
    .servicios-lista {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.servicio-item {
    background: #f9fafc;
    border: 1.5px solid #e0e3e8;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    padding: 22px 14px 22px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-height: 260px;
    border-bottom: 5px solid #ffd200;
}
.servicio-item:hover {
    box-shadow: 0 8px 32px rgba(0,51,160,0.13);
    transform: translateY(-3px) scale(1.025);
    border-bottom: 5px solid #e4002b;
}
.servicio-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
    gap: 12px;
}
@media (max-width: 700px) {
    .servicio-header {
        flex-direction: column;
        gap: 4px;
    }
    .img-servicio {
        margin-right: 0;
        margin-bottom: 8px;
        width: 70px;
        max-width: 70px;
    }
}
.servicio-item:hover {
    box-shadow: 0 8px 32px rgba(0,51,160,0.13);
    transform: translateY(-3px) scale(1.025);
}
.servicio-icono {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg,#ffd200 60%,#0033a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #0033a0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 0;
}
.servicio-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    color: #0033a0;
    font-size: 1.15em;
    font-weight: bold;
}
.servicio-item p {
    color: #222;
    text-align: center;
    font-size: 1em;
}
.img-servicio {
    margin-bottom: 0;
    max-width: 80px;
    width: 80px;
    height: auto;
    margin-right: 0;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
@media (max-width: 800px) {
    .servicios-lista {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .img-servicio {
        max-width: 98vw;
    }
}
section {
    padding: 40px 0;
    text-align: center;
}
.garantia-box {
    background: #fff;
    border-radius: 16px;
    border-bottom: 5px solid #ffd200;
    box-shadow: 0 4px 18px rgba(0,51,160,0.08);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 28px;
    margin: 36px auto 0 auto;
    max-width: 600px;
    text-align: left;
}
.garantia-icono {
    font-size: 2.5em;
    color: #0033a0;
    background: linear-gradient(135deg,#ffd200 60%,#0033a0 100%);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.garantia-box h4 {
    color: #0033a0;
    margin: 0 0 8px 0;
    font-size: 1.25em;
    font-weight: bold;
}
.garantia-box p {
    margin: 0;
    color: #222;
    font-size: 1.05em;
}
@media (max-width: 700px) {
    .garantia-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 18px 8px;
        gap: 10px;
    }
    .garantia-icono {
        margin-bottom: 4px;
    }
}
.horario {
    color: #0033a0;
    font-weight: 600;
    font-size: 1.09em;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.01em;
}
.hero {

    color: #fff;
    text-shadow: 1px 1px 5px #222;
    padding: 80px 0 60px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    background: #fff;
    padding: 32px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(13, 71, 161, 0.12);
    margin: 0 auto;
    align-items: center;
    text-align: center;
}
.terminos-check-centro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 13px;
}
.terminos-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.terminos-texto {
    text-align: center;
    font-size: 0.97em;
    margin-top: 3px;
}
.terminos-label input[type="checkbox"] {
    margin-top: 2px;
}
.terminos-label a {
    color: #0d47a1;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}
.terminos-label a:hover {
    color: #1565c0;
}
form label, form input, form textarea, form button {
    text-align: center;
}
input, textarea {
    padding: 14px;
    border: 1.5px solid #bbb;
    border-radius: 6px;
    font-size: 1.08em;
    background: #f9f9f9;
    transition: border 0.2s;
    width: 450px;
    max-width: 95vw;
    box-sizing: border-box;
}
textarea {
    min-height: 90px;
    resize: vertical;
}
@media (max-width: 700px) {
    input, textarea {
        width: 100%;
        font-size: 1em;
    }
}
input:focus, textarea:focus {
    border: 1.5px solid #0d47a1;
    outline: none;
}
footer {
    background: #0033a0;
    color: #ffd200;
    text-align: center;
    padding: 24px 0 10px 0;
    margin-top: 30px;
    font-size: 1em;
    border-top: 5px solid #e4002b;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.07);
}
.footer-direccion {
    color: #fff;
    background: #0033a0;
    border-radius: 7px;
    margin: 6px auto 3px auto;
    padding: 5px 12px;
    font-size: 1em;
    font-weight: 700;
    display: inline-block;
    border: 2px solid #ffd200;
}
.como-llegar-box {
    display: flex;
    align-items: flex-start;
    background: #f7f7ee;
    border-left: 5px solid #ffd200;
    border-radius: 9px;
    padding: 12px 18px;
    gap: 18px;
    max-width: 550px;
    margin: 14px auto 20px auto;
    font-size: 1em;
}
.como-llegar-icono {
    font-size: 2.3em;
    color: #0033a0;
    margin-top: 6px;
    flex-shrink: 0;
}
.como-llegar-detalle {
    flex: 1;
    text-align: left;
    color: #0033a0;
}
.como-llegar-direccion {
    display: inline-block;
    margin-bottom: 2px;
}
.btn-maps {
    background: #ffd200;
    color: #0033a0;
    padding: 5px 13px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-maps:hover {
    background: #0033a0;
    color: #ffd200;
}
.como-llegar {
    padding: 10px;
    background: #f7f7ee;
    border-radius: 7px;
}
.footer-nav {
    margin-top: 8px;
}
.footer-nav a {
    color: #ffd200;
    text-decoration: none;
    margin: 0 7px;
    font-size: 0.98em;
    font-weight: bold;
    transition: color 0.2s;
}


.volver-inicio-box {
    display: flex;
    justify-content: center;
    margin: 24px 0 0 0;
}
#btn-enviar {
    background: #0033a0;
    color: #ffd200;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, transform 0.1s;
    margin-top: 18px;
    letter-spacing: 1px;
}
#btn-enviar:hover:enabled {
    background: #ffd200;
    color: #0033a0;
    transform: translateY(-2px) scale(1.03);
}
#btn-enviar:disabled {
    background: #b0b0b0;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}
#mensaje-exito {
    background: #e6ffe6;
    color: #1a7f1a;
    border: 1.5px solid #70d870;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: bold;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: center;
    display: none;
}
.btn-volver {
    background: #0033a0;
    color: #ffd200;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    border: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: inline-block;
}
.btn-volver:hover {
    background: #ffd200;
    color: #0033a0;
    text-decoration: underline;
}

.imagenes-inicio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.img-inicio, .img-servicio {
    width: 320px;
    height: 200px;
    max-width: 95vw;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    margin-bottom: 18px;
    border: 2px solid #f0f0f0;
    display: block;
}
.marcas-proveedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 36px 0 0 0;
}
.marcas-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.logo-marca {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin: 0 8px 12px 8px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1.5px solid #ececec;
    display: block;
}
.logo-marca[src$='.png'] {
    background: none;
    border-radius: 0;
    padding: 0;
}
@media (max-width: 700px) {
    .logo-marca {
        max-width: 90vw;
        padding: 4px 2vw;
    }
}
@media (max-width: 700px) {
    .marcas-grid {
        gap: 14px;
        flex-wrap: wrap;
    }
    .logo-marca {
        max-width: 40vw;
        padding: 4px 2vw;
    }
}
h1, h2, h3, h4 {
    color: #0056b3;
    background: linear-gradient(90deg,#ffd20022 0%,#fff 100%);
    border-left: 6px solid #ffd200;
    border-radius: 0 16px 16px 0;
    padding: 8px 22px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-block;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.18), 0 1px 0 #fff;
}
/* Si quieres que algún título tenga un color diferente, puedes agregar una clase específica en el HTML */

.datos-contacto {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin: 18px 0 24px 0;
}
.dato-contacto {
    color: #0056b3;
    background: linear-gradient(90deg,#ffd20022 0%,#fff 100%);
    border-left: 6px solid #ffd200;
    border-radius: 0 16px 16px 0;
    padding: 8px 22px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-block;
    font-size: 1.1em;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.10), 0 1px 0 #fff;
}
.dato-contacto a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}
.dato-contacto a:hover {
    color: #e4002b;
}

/* Agrega tus estilos aquí */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  padding: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  background: #20ba5a;
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .whatsapp-float img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px #333 !important;
  }
  .whatsapp-float span, .whatsapp-float .texto, .whatsapp-float .label {
    display: none !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
  }
}


.mensaje-exito {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 16px;
  margin: 16px 0;
  border-radius: 5px;
  text-align: center;
  font-size: 1.2em;
  display: none; /* Mostrar solo cuando sea necesario */
}

/* Ejemplo de estilo para .marcas-proveedor h3 (descomenta si lo necesitas): .marcas-proveedor h3 { ... } */

.logo-marca {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 0 12px 10px 12px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.07));
}
@media (max-width: 700px) {
    .container { padding: 0 8px; }
    nav ul { flex-direction: column; gap: 8px; }
    .hero { padding: 40px 0; }
    form { max-width: 100%; }
    .imagenes-inicio { flex-direction: column; gap: 16px; }
    .img-inicio { max-width: 98vw; }
}
