:root {
    --color-mar: #0a2540;
    --color-arena: #f4f2ed;
    --color-acento: #269be4;
    --color-blanco: #faf9f6;
    --color-texto: #2c2c2c;
    --sombra: 0 4px 20px rgba(10, 37, 64, 0.12);
    --radio: 12px;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Outfit', sans-serif;
    color: var(--color-texto);
    background: var(--color-blanco);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 37, 64, 0.96);
    backdrop-filter: blur(10px);
    padding: 1rem 1rem;
    box-shadow: var(--sombra);
  }

  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo-img {
    width: 140px;
    height: 140px;
    margin-right: 1.50rem;
    
  }

  .logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--color-arena);
    text-decoration: none;
    font-weight: 780;
  }

  nav {
    display: flex;
    gap: 1.8rem;
  }

  nav a {
    color: var(--color-arena);
    text-decoration: none;
    font-weight: 550;
    transition: color 0.2s;
    font-size: 1.25rem;
  }

  nav a:hover {
    color: var(--color-acento);
  }

  /* Hero */
  .hero {
    width: 100%;
    height: 650px;
    min-height: 0vh;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/vehiculoia.webp);
    background-size: cover;
    color: var(--color-blanco);
    text-align: center;
    padding: 4rem 1.5rem 4rem;
    position: relative;
    
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8dcc4' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: black;
  }

  .hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
  }

  .btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--color-acento);
    color: var(--color-mar);
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--radio);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(86, 171, 223, 0.4);
  }

  .btn-sec {
    background: transparent;
    color: var(--color-arena);
    border: 2px solid var(--color-arena);
    margin-left: 0.75rem;
  }

  /* Secciones */
  section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--color-mar);
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .section-sub {
    font-size: 20px;
    text-align: center;
    color: #3878e6;
    margin-bottom: 0.5rem;
  }

  /* Calculadora */
  .calculadora {
    background: linear-gradient(180deg, #f0ebe2 0%, var(--color-blanco) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--sombra);
    margin-bottom: 2rem;
  }

  .calculadora h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-mar);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }

  .calculadora p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }

  .form-calc {
    display: grid;
    gap: 1.25rem;
    max-width: 00px;
  }

  .form-calc label {
    font-weight: 600;
    color: var(--color-mar);
    display: block;
    margin-bottom: 0.35rem;
  }

  .form-calc input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #d8d38c;
    border-radius: var(--radio);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
  }

  .form-calc input:focus {
    outline: none;
    border-color: var(--color-acento);
  }

  .form-calc .input-group {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 0.75rem;
    align-items: end;
  }

  .form-calc .input-group input:last-child {
    text-align: center;
  }
  /* CONTENEDOR GENERAL */
.form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* FORMULARIOS */
.form-calc, .form-reserva {
  flex: 1;
  min-width: 300px;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* TITULOS */
.form-reserva h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
}

/* CAMPOS */
form div {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color .2s;
}

input:focus {
  border-color: #0077ff;
  outline: none;
}

/* BOTONES */
.btn {
  background: #0077ff;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: background .2s;
}

.btn:hover {
  background: #005fcc;
}

.resultado-precio {
  display: none;
}

.resultado-precio.visible {
  display: block;
}

/* RESULTADO PRECIO */
.resultado-precio {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.importe {
  color: #0077ff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-wrapper {
    flex-direction: column;
  }
}

  .resultado-precio {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--color-mar);
    color: var(--color-arena);
    border-radius: var(--radio);
    font-size: 1.25rem;
    font-weight: 700;
    display: none;
  }

  .resultado-precio.visible {
    display: block;
  }

  .resultado-precio .importe {
    font-size: 1.75rem;
    color: var(--color-acento);
  }

  .aviso-tarifa {
    font-size: 0.8rem;
    color: #777;
    margin-top: 1rem;
  }

  /* Servicios */
  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .servicio-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 37, 64, 0.15);
  }

  .servicio-card .icono {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-acento), #d4af37);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .servicio-card h3 {
    color: var(--color-mar);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
  }

  .servicio-card p {
    color: #555;
    font-size: 0.95rem;
  }

  /* Contacto */
  .contacto {
    background: var(--color-mar);
    color: var(--color-blanco);
    padding: 4rem 1.5rem;
  }

  .contacto .section-title {
    color: var(--color-arena);
  }

  .contacto .section-sub {
    color: rgba(232, 220, 196, 0.85);
  }

  .contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 950px;
    margin: 0 auto;
  }

  .contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }



 

  .contacto-item a:hover {
    text-decoration: underline;
  }

  

  /* Footer */
  footer {
    text-align: center;
    padding: 1rem 1.5rem;
    background: #061a2d;
    
    color: rgba(244, 241, 235, 0.7);
    font-size: 0.9rem;
  }

  footer a {
    color: var(--color-acento);
    text-decoration: none;
  }

  .contacto-item p {
    color: rgba(249, 249, 248, 0.8);
    font-size: 0.9rem;
  }

  .section-sub {
    font-size: 50px;
    color: rgba(249, 249, 248, 0.8);
  }

  .fin {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: rgba(247, 241, 229, 0.6);
  }

  /* Responsive */
  @media (max-width: 600px) {
    .header-inner {
      flex-direction: column;
      gap: 1rem;
    }

    nav {
      flex-wrap: wrap;
      justify-content: center;
    }
    
.hero-content {
      min-height: 86vh;
      color: rgb(245, 247, 232);
      font-weight: 400;
    }

    .hero {
      padding-top: 42rem;
    }

    .btn-sec {
      margin-left: 0;
      margin-top: 0.4rem;
    }

    .form-calc .input-group {
      grid-template-columns: 1fr;
    }

      .contacto-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding-left: 20%;
        
      }
  }