 body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background: #f9f9f9;
        }
        header {
            background: #620436;
            color: white;
            padding: 15px;
            text-align: center;
        }
          footer{
            margin-top: 26px;
            background: #620436;
            color: white;
            padding: 15px;
         
            position: relative;
    }
     div {
      position: relative;
      z-index: 1;
      border-radius: 7px;
     }

    footer::before{
      content:"";
      position:absolute; inset:0;
      background: rgba(69,10,54,.72); /* capa para legibilidad sobre el png */
    }
    .footer-wrap{
      position:relative;
      max-width: var(--max);
      margin: 0 auto;
      padding: 22px 16px 28px;
    }
    .footer-grid{
      display:grid;
      grid-template-columns: 1fr 1fr 1.2fr;
      gap: 18px;
      align-items:start;
    }
    @media (max-width: 980px){
      .footer-grid{ grid-template-columns: 1fr; }
    }
    .footer-block h3{
      margin:0 0 10px 0;
      font-size: 16px;
      letter-spacing: .2px;
    }
    .footer-block p, .footer-block a, .footer-block li{
      font-size: 14px;
      line-height:1.55;
      color:#fff;
      opacity:.95;
    }
    .footer-block a{ text-decoration: underline; text-underline-offset: 3px; }

    .footer-list{
      list-style:none;
      padding:0; margin:0;
      display:grid;
      gap:8px;
    }

    .social{
      display:flex; gap:10px; flex-wrap:wrap;
      margin-top: 10px;
    }
    .social a{
      width:40px;height:40px;
      display:grid; place-items:center;
      border-radius: 12px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      text-decoration:none;
      font-size: 16px;
    }

    .form{
      display:grid;
      gap:10px;
    }
    .field label{
      display:block;
      font-size: 13px;
      opacity: .95;
      margin-bottom: 6px;
    }
    .field input, .field textarea{
      width:100%;
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.96);
      outline:none;
      font-size: 14px;
    }
    .field textarea{ min-height: 120px; resize: vertical; }

    .actions{
      display:flex; gap:10px; flex-wrap:wrap;
      align-items:center;
      margin-top: 2px;
    }
    .btn{
      appearance:none;
      border:none;
      cursor:pointer;
      padding: 12px 14px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 14px;
      background: #fff;
      color: var(--vino-900);
      box-shadow: 0 12px 26px rgba(0,0,0,.22);
    }
    .btn.secondary{
      background: rgba(255,255,255,.14);
      border: 1px solid rgba(255,255,255,.22);
      color:#fff;
      box-shadow:none;
    }

    .fineprint{
      margin-top: 14px;
      font-size: 12px;
      opacity:.9;
    }
        .container {
            width: 95%;
            margin: auto;
            margin-top: 20px;
        }
        .section-title {
            background: #e1e1e1;
            padding: 10px;
            margin-top: 20px;
        }
        .links-list {
            list-style: none;
            padding-left: 0;
        }
        .links-list li {
            margin: 5px 0;
            padding-left: 10px;
            border-left: 3px solid #620436;            
            background: #fff;
            box-shadow: 1px 1px 2px 1px rgba(53, 11, 25, 0.1);
        }
        .links-list li a {
            text-decoration: none;
            color: #005bac;
        }
        .links-list li a:hover {
            text-decoration: underline;
        }
        .selector {
             width: 97%;
            margin: auto;
            background:#0a98f0;
            padding:20px 20px;
            color:#fff;
            font-size: 20px;

        }
        option {
           font-size:15px;
           padding: 15px 15px;
           background: #ffffff;
           cursor: pointer;          
        }
        option:hover {
          background-color: red;
          color: white;
        }

       option:checked {
          background-color:#005bac;
          color: white;
        }
        select:hover {
          border-color: #4a051b;
          background-color: #005bac;
        }
        h4 {
            text-align: justify;
            line-height: 1.6;
            color: #333;
            font-size: 15px;
        }

        #btnTop {
            position: fixed;
            bottom: 80px; /* ajusta si tu footer es alto */
            right: 20px;
            background-color: #0a98f0;
            color: #ffffff;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 22px;
            cursor: pointer;
            display: none;
            z-index: 999;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            transition: background-color 0.3s, transform 0.3s;
          }

          #btnTop:hover {
            background-color: #4a051b;
            transform: scale(1.1);
          }


.header {
    width: 100%;
    border-bottom: 2px solid #ddd;
    font-family: Arial, Helvetica, sans-serif;
}

/* Redes sociales */
.sociales {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    padding: 1px 55px 3px 30px;
}

.sociales a {
    text-decoration: none;
    font-size: 18px;
    color: #f8f5f5;
}

/* Contenido principal */
.header-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 40px 30px 30px;
}

.logo-izq {
    width: auto;
}


.logo-der {
    width: auto;
    padding-right: 20px;
}

/* Títulos */
.titulos {
    text-align: center;
    max-width: 700px;
}

.titulos h1 {
    font-size: 22px;
    margin: 0;
}

.titulos h2 {
    font-size: 16px;
    margin: 5px 0 0;
    font-weight: normal;
}
