


:root{
  --bg1:#f5f5fa;
  --bg2:#f5f5fa;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e5e7eb;
  --shadow: 0 12px 30px rgba(2,6,23,.12);
  --blue:#0b5ed7;
  --blue2:#0a4fb6;
  --green:#22c55e;
  --green-whatsapp: #25D366;
  --green-whatsapp-dark: #1FA855;
  --green-whatsapp-darker: #168A45;
  --green-whatsapp-light: #DCF8C6;
  --pale-green: #4e8d6c;
  --radius:14px;
}

*{box-sizing:border-box}
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background-color: #f5f5fa;
  min-height:100vh;
  padding:24px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

html, body { height: 100%; }

footer {
  margin-top: auto;
  text-align: center;
  position: sticky;
  bottom: 0;
}

header {
  flex: 0 0 auto;
/*  background: #ffffff; */
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 134px;
  margin-top: -24px;
  width: 100vw;
  margin-left: -45px;
}

header img,
header .logo {
  display: block;
}

.main{
  flex: 1;
  padding: 24px;
}

.page{
  width: min(80%, 100%);
  text-align: center;
  padding: 10px 0 20px;
  margin: auto;
}

h1{
  margin: 0 0 8px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 .accent{ color: var(--blue); }
.subtitle{
  margin: 0 auto 14px;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.badges{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 13px 0 18px;
  color: #001e49;
  font-size: 13px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255, 255, 255);
  border: 1px solid #f9f9f9;
  backdrop-filter: blur(4px);
}

.card{
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.06);
  text-align:left;
  padding: 22px;
}

.card h2{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.card p{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.field{
  margin: 12px 0;
}
label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1f2937;
}
label .req{ color:#ef4444; margin-left:3px; }
.select-wrap{
  position:relative;
}
select{
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 44px 12px 12px;
  font-size: 14px;
  background: #fff;
  color: #111827;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
select:focus{
  border-color: rgba(11,94,215,.55);
  box-shadow: 0 0 0 4px rgba(11,94,215,.12);
}
.chev{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events:none;
  width: 18px;
  height: 18px;
  color:#64748b;
}

.btn{
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor:pointer;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  box-shadow: 0 10px 20px rgba(11,94,215,.18);
}
.btn:active{ transform: translateY(1px); }
.btn svg{ width:16px; height:16px; }

    :root{
      --bg: #f5f5fa;
      --card-bg: #fff;
      --border: #d6e4f2;
      --text: #0f172a;
      --muted: #64748b;
      --blue: #2563eb;
      --blue-700: #1d4ed8;
      --green: #16a34a;
      --orange: #f97316;
      --shadow: 0 8px 18px rgba(15, 23, 42, .08);
      --radius: 12px;
    }

    *{ box-sizing: border-box; }
    body{
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
    }

    .wrap{
      max-width: 1200px;
      margin: 28px auto;
      padding: 0 16px 32px;
    }

    /* 4 columns */
    .plans-grid{
      display: grid;
      grid-template-columns: repeat(4, minmax(240px, 1fr));
      gap: 18px;
      align-items: start;
    }

    /* Responsive */
    @media (max-width: 1100px){
      .plans-grid{ grid-template-columns: repeat(2, minmax(260px, 1fr)); }
    }
    @media (max-width: 640px){
      .plans-grid{ grid-template-columns: 1fr; }
    }

    .col{
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
    }

    .col-header{
      font-weight: 800;
      font-size: 18px;
      padding: 10px 6px 14px;
      position: sticky;
      top: 0;
      background: linear-gradient(to bottom, rgba(238,245,251,1), rgba(238,245,251,.75));
      backdrop-filter: blur(6px);
      z-index: 5;
      height: 72px;
    }

    .col-header::after{
      content:"";
      display:block;
      height: 3px;
      width: 100%;
      background: var(--blue);
      border-radius: 999px;
      margin-top: 10px;
      opacity: .9;
    }

    .card{
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 12px;
      position: relative;
      overflow: hidden;
    }

    .card-top{
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: flex-start;
    }

    .title{
      font-weight: 800;
      font-size: 14px;
      line-height: 1.25;
      margin: 0 0 8px 0;
    }

    .title img {
      margin-top: 0px;
      margin-left: 12px;
    }

    .price{
      text-align: right;
      min-width: 120px;
    }

    .price .old{
      color: #ef4444;
      text-decoration: line-through;
      font-weight: 700;
      font-size: 13px;
      display: block;
      margin-bottom: 2px;
    }
    .price .now{
      font-weight: 900;
      font-size: 22px;
      letter-spacing: -0.02em;
      display: block;
    }
    .price .note{
      color: var(--blue);
      font-weight: 800;
      font-size: 10px;
      letter-spacing: .08em;
      text-transform: uppercase;
      display: block;
      margin-top: 2px;
    }

    .badges{
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 13px 0 12px;
    }
   .badge{
      font-size: 12px;
      font-weight: 500;
      padding: 4px 8px;
      border-radius: 999px;
      border: 1px solid #f9f9f9;
      background: #ffffff;
      color: #001e49;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      line-height: 1;
      white-space: nowrap;
    }

    .badge--discount{ border-color: #fde68a; background: #fffbeb; color: #92400e; }
    .badge--green{ border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
    .badge--orange{ border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
    .badge--blue{ border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }

    .pill-top{
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 900;
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: 0 6px 12px rgba(15,23,42,.08);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .pill-top--blue{ border-color: #bfdbfe; }
    .pill-top--green{ border-color: #bbf7d0; }
    .pill-top--orange{ border-color: #fed7aa; }

    .actions{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .btn{
      border-radius: 10px;
      padding: 10px 12px;
      font-weight: 900;
      font-size: 13px;
      border: 1px solid var(--border);
      background: #fff;
      cursor: pointer;
    }

    .btn:hover{ filter: brightness(.98); }

    .btn-primary{
      border-color: transparent;
      background: var(--blue);
      color: #fff;
    }
    .btn-primary:hover{ background: var(--blue-700); }

    .btn-whatsapp{
      border-color: transparent;
      background: var(--green-whatsapp) !important;
      color: #fff;
     }

    .btn-whatsapp:hover{ background: var(--green-whatsapp-dark) !important; }


    .btn-outline{
      color: var(--blue);
      background: #fff;
      border-color: #bfdbfe;
    }

    /* Optional: make the "Coberturas" look like a dropdown */
    .btn-outline::after{
      content: " ▾";
      font-weight: 900;
    }


.foot{
  display:flex;
  gap:18px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 16px;
  color:#475569;
  font-size: 12px;
}
.foot .item{
  display:flex;
  align-items:center;
  gap:8px;
  opacity:.95;
}
.icon{
  width: 16px;
  height: 16px;
  display:inline-block;
}

/* small helpers */
x.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

#quotation-result {
}


header {
  position: sticky;
  top: 0;
  z-index: 1000;
/*  border-bottom: 1px solid #e5e7eb; */
}


/* Row */
#quotationDataBox .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

/* Columns base */
#quotationDataBox [class^="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

/* 12-column widths */
#quotationDataBox .col-1  { width: 8.3333%; }
#quotationDataBox .col-2  { width: 16.6667%; }
#quotationDataBox .col-3  { width: 25%; }
#quotationDataBox .col-4  { width: 33.3333%; }
#quotationDataBox .col-5  { width: 41.6667%; }
#quotationDataBox .col-6  { width: 50%; }
#quotationDataBox .col-7  { width: 58.3333%; }
#quotationDataBox .col-8  { width: 66.6667%; }
#quotationDataBox .col-9  { width: 75%; }
#quotationDataBox .col-10 { width: 83.3333%; }
#quotationDataBox .col-11 { width: 91.6667%; }
#quotationDataBox .col-12 { width: 100%; }
