/* ===========================
   Pescadería - styles.css
   Mantiene tu estructura de clases (header/hero/paintCard/etc.)
   =========================== */

   :root{
    /* Base marina clara */
    --bg: #f6fbff;
    --bg2:#eaf6ff;
    --card: rgba(255,255,255,.92);
    --alt: #ffffff;
  
    --txt:#0b1b2a;
    --muted:#4a637a;
    --line: rgba(12, 44, 72, .14);
  
    /* Acentos */
    --primary:#0ea5e9;   /* celeste océano */
    --primary2:#22c55e;  /* verde fresco (detalle opcional) */
  
    --radius:18px;
    --shadow: 0 22px 60px rgba(10, 40, 70, .14);
    --shadowSoft: 0 12px 30px rgba(10, 40, 70, .10);
  
    --topbar-h: 70px;
  }
  
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  html, body{ overflow-x:hidden; }
  
  body{
    margin:0;
    min-height:100vh;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  
    background-color:#f2f3f5;
    background-image:linear-gradient(
      rgba(255,255,255,.65),
      rgba(255,255,255,.65)
    ),
      url("../multimedia/fondobody.webp");
  
    background-repeat: repeat;
    background-size:  auto;     /* probá 600–900 */
    background-position: 0 0;
  
    background-attachment: scroll;
  }
  
  a{ color:inherit; text-decoration:none; }
  img{ max-width:100%; display:block; }
  .container{ width:min(1100px, 92%); margin:0 auto;  }
  .contnos{width:min(1100px, 92%); margin:0 auto; background: #eaf6ff;
     padding: 8px; border: 1px solid rgba(125, 203, 240, 0.938); border-radius: 12px;}
  .muted{ color:var(--muted); }
  
  /* ===========================
     Header
     =========================== */
  .header{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(246,251,255,.78);
    border-bottom: 1px solid var(--line);
  }
  
  .header__inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 14px;
    min-height: var(--topbar-h);
    position: relative;
  }
  
  .brand{
    display:flex;
    align-items:center;
    gap: 12px;
  }
  
  .brand__logo{
    width: 44px;
    height: 44px;
    display:grid;
    place-items:center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14,165,233,.25), rgba(34,197,94,.15));
    border: 1px solid rgba(14,165,233,.25);
    box-shadow: var(--shadowSoft);
    font-size: 20px;
  }
  
  .brand__text h1{
    margin:0;
    font-size: 16px;
    line-height: 1.05;
    letter-spacing: -.01em;
  }
  .brand__text small{
    display:block;
    color: var(--muted);
    margin-top: 4px;
  }
  
  .nav{
    display:flex;
    gap: 16px;
    align-items:center;
  }
  .nav a{
    font-weight: 600;
    color: rgba(11,27,42,.82);
    padding: 10px 10px;
    border-radius: 12px;
    transition: background-color .2s ease, transform .2s ease;
  }
  .nav a:hover{
    background: rgba(14,165,233,.10);
    transform: translateY(-1px);
  }
  
  /* Toggle móvil */
  /* botón hamburguesa */
/* Desktop */


/* Botón hamburguesa (oculto en desktop) */
.nav__toggle{
  display:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor:pointer;
}
  
  /* ===========================
     Botones (mantiene tus clases)
     =========================== */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    padding: 14px 22px;
    min-height: 48px;
  
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    border: 1px solid transparent;
  
    cursor:pointer;
    user-select:none;
    white-space:nowrap;
  
    transition:
      transform .25s ease,
      box-shadow .25s ease,
      background-color .25s ease,
      color .25s ease,
      border-color .25s ease;
  }
  
  .btn--small{ padding: 10px 14px; min-height: 40px; font-size: 14px; border-radius: 12px; }
  
  .btn--primary{
    background: linear-gradient(135deg, var(--primary), #39bdf7);
    color: #052433;
    box-shadow:
      0 16px 40px rgba(14,165,233,.30),
      inset 0 1px 0 rgba(255,255,255,.35);
  }
  .btn--primary:hover{
    transform: translateY(-2px);
    box-shadow:
      0 20px 55px rgba(14,165,233,.38),
      inset 0 1px 0 rgba(255,255,255,.35);
  }
  
  .btn--ghost{
    background: rgba(255,255,255,.72);
    border-color: rgba(14,165,233,.22);
    color: rgba(11,27,42,.88);
    box-shadow: 0 10px 24px rgba(10, 40, 70, .10);
  }
  .btn--ghost:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,.86);
  }
  
  .header__cta{ padding: 12px 16px; min-height: 44px; }
  
  /* ===========================
     Hero video
     =========================== */
  .hero{
    position:relative;
    overflow:hidden;
  }
  
  .hero.hero--video{
    min-height: 92vh;
    display:grid;
    place-items:center;
    padding: 70px 0 46px;
  }
  
  .hero__video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04) translateY(12%);
  }
  
  .hero__overlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(180deg, rgba(246,251,255,.10), rgba(246,251,255,.72)),
      radial-gradient(900px 500px at 20% 20%, rgba(14,165,233,.22), transparent 60%),
      radial-gradient(700px 520px at 80% 75%, rgba(34,197,94,.14), transparent 62%);
  }
  
  .hero__content{
    position: relative;
    z-index: 1;
    text-align: center;
    width: min(840px, 92%);
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
  
    /* animación */
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn .9s ease forwards;
    animation-delay: 3s; /* ⏱️ aparece a los 3 segundos */
  }
  @keyframes heroContentIn{
    to{
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  
  .hero__content h1{
    margin: 0 0 10px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -.02em;
  }
  .hero__content p{
    margin: 0;
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(11,27,42,.78);
    font-weight: 600;
  }
  
  .hero__actions{
    position:relative;
    z-index: 1;
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content:center;
    margin-top: 18px;
  
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .hero__actions.is-visible{
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ===========================
     Secciones
     =========================== */
  .section{
    padding: 64px 0;
    
  }
  
  .section--alt{
    background: transparent;
    border-top: 1px solid rgba(12, 44, 72, .10);
    border-bottom: 1px solid rgba(12, 44, 72, .10);
  }
  
  .section h2{
    margin: 0 0 10px;
    font-size: 34px;
    letter-spacing: -.01em;
  }
  
  .section__subtitle{
    margin: 0 0 28px;
    color: var(--muted);
    font-weight: 650;
  }
  
  /* ===========================
     About (usa tus clases paint-about)
     =========================== */
  .paint-about{
    display:grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 22px;
    align-items:start;
  }
  
  .paint-about__main p{ line-height: 1.7; }
  
  .paint-about__badges{
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }
  
  .paint-badge{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(14,165,233,.10);
    border: 1px solid rgba(14,165,233,.18);
    color: rgba(11,27,42,.85);
    font-weight: 700;
  }
  
  .paint-photo img{
    border-radius: 18px;
    border: 1px solid rgba(12, 44, 72, .12);
    box-shadow: var(--shadowSoft);
  }
  
  .paint-panel{
    margin-top: 14px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadowSoft);
  }
  .paint-panel__title{ margin: 0 0 10px; font-size: 18px; }
  .paint-panel__list{ margin: 0 0 14px; padding-left: 18px; color: rgba(11,27,42,.80); }
  .paint-panel__list li{ margin: 6px 0; }
  
  /* ===========================
     Promos / Cards (paintCard)
     =========================== */
  .promos{
    width:min(1100px, 92%);
    margin: 0 auto;
    padding-top: 26px;
    font-size: 26px;
    letter-spacing: -.01em;
  }
  
  .grid-tienda{
    width:min(1100px, 92%);
    margin: 0 auto 30px;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 18px 0 50px;
  }
  
  /* Si estabas usando grid-areas c1..c20, esto igual funciona,
     pero si querés mantenerlos, no hace falta tocar nada. */
  
  .paintCard__media{
    position:relative;
    border-radius: 18px 18px 0 0;
    overflow:hidden;
  }
  .paintCard__media img{
    width:100%;
    height: 170px;
    object-fit: cover;
    transform: scale(1.02);
  }
  .paintCard__tag{
    position:absolute;
    top: 12px;
    left: 12px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .04em;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(12, 44, 72, .12);
  }
  
  .paintCard__body{
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(12, 44, 72, .12);
    border-top: none;
    border-radius: 0 0 18px 18px;
    padding: 14px 14px 12px;
    box-shadow: var(--shadowSoft);
  }
  
  .paintCard__title{
    margin: 0 0 6px;
    font-size: 16px;
  }
  .paintCard__desc{
    margin: 0 0 12px;
    color: rgba(11,27,42,.78);
    font-weight: 600;
    line-height: 1.35;
  }
  
  .paintCard__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
  }
  .paintCard__price{
    margin:0;
    font-weight: 900;
    color: rgba(11,27,42,.92);
  }
  
  /* ===========================
     Categorías
     =========================== */
  .grid{ display:grid; gap: 16px; }
  .grid.categories{
    grid-template-columns: repeat(4, 1fr);
  }
  
  .category{
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 16px;
    padding: 16px 14px;
    font-weight: 800;
    color: rgba(11,27,42,.85);
    box-shadow: var(--shadowSoft);
  }
  
  .center{ display:flex; justify-content:center; margin-top: 18px; }
  
  /* ===========================
     Calc
     =========================== */
  .calc{
    width: min(620px, 100%);
    margin: 0 auto;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadowSoft);
    display:grid;
    gap: 12px;
  }
  
  .calc label{
    display:grid;
    gap: 6px;
    font-weight: 700;
    color: rgba(11,27,42,.85);
  }
  
  .calc input, .calc select, .contact input, .contact textarea{
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(12, 44, 72, .16);
    background: rgba(255,255,255,.92);
    outline: none;
    font: inherit;
  }
  
  .calc input:focus, .calc select:focus, .contact input:focus, .contact textarea:focus{
    border-color: rgba(14,165,233,.55);
    box-shadow: 0 0 0 4px rgba(14,165,233,.15);
  }
  
  .calc__result{
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(12, 44, 72, .24);
    font-weight: 900;
    background: rgba(14,165,233,.08);
  }
  
  /* ===========================
     Reviews
     =========================== */
  .reviews-demo{
    padding: 64px 0;
  }
  .reviews-demo__head{
    text-align:center;
    margin-bottom: 18px;
  }
  .reviews-demo__subtitle{ color: var(--muted); font-weight: 650; margin: 0; }
  
  .reviews-demo__grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
  }
  .review-card{
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadowSoft);
  }
  .review-badge{
    display:inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.20);
  }
  .review-text{ margin: 12px 0; color: rgba(11,27,42,.78); font-weight: 650; line-height: 1.5; }
  .review-meta{
    display:flex;
    justify-content:space-between;
    color: rgba(11,27,42,.82);
    font-weight: 800;
  }
  .reviews-demo__notice{
    margin-top: 18px;
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(12, 44, 72, .10);
    border-radius: 18px;
    padding: 14px;
    text-align:center;
  }
  
  /* ===========================
     Contacto
     =========================== */
  .contact{
    display:grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
    align-items:start;
  }
  .contact__info{
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadowSoft);
  }
  .infoBox h3{ margin: 0 0 6px; }
  .infoBox p{ margin: 0 0 12px; color: rgba(11,27,42,.78); font-weight: 650; }
  
  .contact__form{
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadowSoft);
    display:grid;
    gap: 12px;
  }
  .mens{ display:grid; gap: 8px; }
  .mensaj{ resize: vertical; min-height: 160px; }
  
  .map{
    margin-top: 18px;
    border-radius: 18px;
    overflow:hidden;
    border: 1px solid rgba(12, 44, 72, .12);
    box-shadow: var(--shadowSoft);
  }
  .map iframe{ width:100%; height: 320px; border:0; }
  
  /* ===========================
     WhatsApp flotante
     =========================== */
  .wa-float{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display:grid;
    place-items:center;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(12, 44, 72, .12);
    box-shadow: var(--shadow);
    z-index: 80;
    transition: transform .2s ease;
  }
  .wa-float:hover{ transform: translateY(-2px); }
  .wa-float img{ width: 60px; height: 60px; }
  
  /* ===========================
     Footer
     =========================== */
  .footer{
    border-top: 1px solid rgba(12, 44, 72, .10);
    background: rgba(255,255,255,.60);

  }
  .footer__inner{
    display:flex;
    align-items:center;
    justify-content:start;
    gap: 8px;
    padding: 18px 0;
  }
  .redes{ width: 40px; height: 40px; opacity: .85; }
  .redes:hover{ opacity: 1; }
  
  /* ===========================
     Side card
     =========================== */
     .side-card{
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
      
        max-width: 320px;
        padding: 16px 18px;
        border-radius: 16px;
      
        background: #e7d912;
        color: #eaf6ff;
      
        box-shadow: 0 18px 40px rgba(0,0,0,.35);
      
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
      
        transition:
          opacity .4s ease,
          transform .4s ease;
      }
      
      /* estado visible */
      .side-card.is-visible{
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
      }
      
      .side-card__title{
        font-weight: 700;
        margin: 0 0 6px;
      }
      
      .side-card__text{
        margin: 0;
        font-size: 14px;
        opacity: .9;
      }
      
     
      
      
  
  /* ===========================
     Modal
     =========================== */
  .modal{
    border: none;
    border-radius: 18px;
    padding: 0;
    overflow:hidden;
    width: min(920px, 92vw);
    box-shadow: var(--shadow);
  }
  .modal::backdrop{
    background: rgba(0,0,0,.55);
  }
  .modal img{ width:100%; height:auto; display:block; }
  .modal__close{
    position:absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.35);
    color: #fff;
    cursor:pointer;
  }
  
  /* ===========================
     Responsive
     =========================== */
  @media (max-width: 980px){
    .grid-tienda{ grid-template-columns: repeat(2, 1fr); }
    .grid.categories{ grid-template-columns: repeat(2, 1fr); }
    .reviews-demo__grid{ grid-template-columns: 1fr; }
    .paint-about{ grid-template-columns: 1fr; }
    .contact{ grid-template-columns: 1fr; }
  }
  
/* Mobile */
@media (max-width: 720px){
  .nav__toggle{
    display:inline-flex;
    position: relative;
    z-index: 201;
  }

  /* IMPORTANTE: apuntamos a [data-nav] para que coincida con el JS */
  [data-nav]{
    position:absolute;
    top: 100%;
    right: 4%;
    width: min(320px, 92vw);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(12, 44, 72, .12);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    gap: 6px;
    z-index: 999; /* por si algo lo tapa */
  }

  [data-nav].is-open{ display:flex; }


  .hero.hero--video{
    min-height: 98vh;
    padding-top: 78px;
  }
}
  @media (max-width: 520px){
    .grid-tienda{ grid-template-columns: 1fr; }
    .hero__content{ padding: 18px 14px; }
    .footer__inner{ flex-direction: column; gap: 10px; }
    .side-card{
        left: 12px;
        right: 12px;
        top: 12px;
        max-width: none;
      }
      .hero__video{
        object-position: 60% center;
        
          transform: translateY(10%) ;
      }
      .header__cta{
        display: none;
      }
  }
  
  