@charset "UTF-8";

/* =========================================================
   TOKENS
   ========================================================= */
:root{
  --rojo: #F15D5C;           /* primary brand red (buttons) */
  --rojoHover:#CC4F4E;       /* button hover */
  --rojoAlto:#B22222;        /* deep red for headings/links */
  --grisAlto:#1C1C1C;        /* body text */
  --gris:#747474;            /* muted text */
  --grisClaro:#F5F5F6;       /* light panel bg (TOC, sections) */
  --white:#FFFFFF;
  --shadow:0 8px 20px rgba(0,0,0,.08);
  --shadow-soft:0 3px 10px rgba(0,0,0,.06);

  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-10:40px;

  --radius:14px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*{box-sizing:border-box;margin:0}
img,svg{max-width:100%;height:auto;vertical-align:middle}
html{scroll-behavior:smooth;}
body{
  background:var(--white);
  color:var(--grisAlto);
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
}

/* Headings */
h1,h2,h3,h4,h5,h6{
  color:var(--rojoAlto);
  font-weight:900;
  line-height:1.2;
}
h1{font-size:clamp(2rem,6vw,4rem); margin-bottom:var(--space-4)}
h2{font-size:clamp(1.375rem,2.5vw,2rem); margin-bottom:var(--space-4)}
h3{font-size:clamp(1.125rem,2vw,1.5rem); margin-bottom:var(--space-3)}
p{margin:var(--space-4) 0}
i{color:var(--gris)}
strong{color:var(--gris);font-size:1.1em;line-height:1.25}
.muted{color:var(--gris);font-size:.95rem}

/* Links */
a{color:var(--rojoAlto);text-decoration:none}
a:hover{color:var(--rojo);text-decoration:underline;text-underline-offset:3px}
a:focus-visible{outline:3px solid var(--rojo);outline-offset:2px;border-radius:6px}

/* Link helpers (used in header/footer) */
.Link{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.Link--inverse{color:#fff}
.Link--inverse:hover{color:#fff;text-decoration:underline}
.EnlaceA,.EnlaceA:link,.EnlaceA:visited{color:#fff}
.EnlaceB,.EnlaceB:link,.EnlaceB:visited{color:var(--rojoAlto);font-weight:700}
.EnlaceB:hover{color:var(--rojo)}
.EnlaceC{font-weight:700;color:var(--rojo)}
.EnlaceC:hover{color:#fff}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.Centro{text-align:center;margin-left:auto;margin-right:auto}
.FondoSolido{background:var(--grisClaro)}
.EspacioVertical{display:flex;flex-direction:column;justify-content:space-around}
.EspacioHorizontal{display:flex;justify-content:space-around}
.SinFlex{display:block}

.Columna{max-width:1000px;margin:0 auto;padding:var(--space-10)}
.ConFlex{display:flex;flex-direction:row;gap:var(--space-8);align-items:center}
.ColPrimera{width:60%}
.ColSegunda{width:40%}

@media (max-width:768px){
  .ConFlex{flex-direction:column;align-items:stretch}
  .ColPrimera,.ColSegunda{width:100%}
}

/* Spacers */
.Separador,.SeparadorII{width:100%;height:1px;margin:var(--space-8) 0}
.Separador{background:#e6e6e6}
.SeparadorII{background:#fff}

/* =========================================================
   HEADER / TOP NAV
   ========================================================= */
.ElMenu{
  min-height:56px;
  padding:var(--space-4) var(--space-6);
  background-color:var(--rojoAlto);
  color:#fff;
}
.TopNav{
  display:flex;
  gap:var(--space-4);
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.TopNav-links{
  display:flex;
  align-items:center;
  gap:18px;
  white-space:nowrap; /* keep the two links on one line */
}
.TopNav-links a + a{
  position:relative;
  padding-left:18px;
}
.TopNav-links a + a::before{
  content:"";
  position:absolute;
  left:0; top:50%;
  width:1px; height:1em;
  transform:translateY(-50%);
  background:rgba(255,255,255,.45);
}
.ElMenu .TopNav a{ color:#fff !important; text-decoration:none; }
.ElMenu .TopNav a:hover,
.ElMenu .TopNav a:focus-visible{ text-decoration:underline; text-underline-offset:3px; }

@media (max-width:480px){
  .TopNav .Btn{ flex-basis:100%; display:inline-flex; justify-content:center; }
}

/* =========================================================
   HERO
   ========================================================= */
.AlturaPortada{
  min-height:calc(100vh - 56px);
  background:url("images/Plunger.png") right center/contain no-repeat;
}
@media (max-width:700px){
  .AlturaPortada{ background:none !important; }
  .PlungerBackground{
    background:url("images/Plunger.png") center/contain no-repeat;
    min-height:200px;
    margin-top:16px;
  }
}
.lede{font-size:1.125rem}
.byline{color:var(--gris);margin-top:4px}

/* =========================================================
   BUTTONS
   ========================================================= */
.Btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:12px 18px;
  font-weight:800;
  line-height:1;
  border:1px solid transparent;
  box-shadow:var(--shadow);
  transition:transform .05s ease, background .15s ease, border-color .15s ease, color .15s ease;
  cursor:pointer;
}
.Btn:active{transform:translateY(1px)}
.Btn--sm{padding:8px 12px;font-size:.95rem}

.Btn--primary{background:var(--rojo);color:#fff;border-color:var(--rojo)}
.Btn--primary:hover,
.Btn--primary:focus{background:var(--rojoHover);border-color:var(--rojoHover);color:#fff} /* keep text white on hover */

.Btn--outline{
  background:#fff;
  color:var(--rojoAlto);
  border-color:var(--rojoAlto);
  box-shadow:var(--shadow-soft);
}
.Btn--outline:hover,
.Btn--outline:focus{
  background:#fff5f5;
  border-color:var(--rojo);
  color:var(--rojoAlto);
}

.CTARow{display:flex;gap:var(--space-4);flex-wrap:wrap;margin-top:var(--space-6)}

/* =========================================================
   “AT A GLANCE” ICON ROW
   ========================================================= */
.AtGlance{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin:16px 0;
  padding:12px 0;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}
.glance-item{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 auto;
  min-width:220px;
}
.glance-svg{ width:22px; height:22px; color:var(--gris); flex-shrink:0; }
.glance-text{ font-size:1rem; color:var(--grisAlto); line-height:1.4; }
@media (max-width:600px){ .AtGlance{ flex-direction:column; gap:12px; } }

/* =========================================================
   HERO KEY POINTS (readability over image)
   ========================================================= */
.Keypoints {
  display: grid;
  gap: 10px;
  margin-top: var(--space-4);
  padding-left: 0;    /* remove default padding */
  list-style: none;   /* remove black bullets */
}
.Keypoints li {
  position: relative;
  padding-left: 28px;
  color: var(--grisAlto);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  list-style: none;   /* extra safeguard */
}
.Keypoints li::before{
  content:"";
  position:absolute;left:0;top:4px;
  width:18px;height:18px;border-radius:50%;
  border:2px solid var(--rojoAlto);
  background:#fff; box-shadow:var(--shadow-soft);
}
.Keypoints li::after{
  content:"";
  position:absolute;left:5px;top:8px;
  width:8px;height:4px;border-left:2px solid var(--rojoAlto);border-bottom:2px solid var(--rojoAlto);
  transform:rotate(-45deg);
}
/* Give bullets a faint white card on narrow screens so they stay readable
   even when the hero illustration sits behind them */
@media (max-width:640px){
  .Keypoints{ background:rgba(255,255,255,0.92); border-radius:12px; padding:12px 16px; box-shadow:0 2px 6px rgba(0,0,0,0.08); }
}

/* =========================================================
   STEPS / LISTS
   ========================================================= */
.StepsList{list-style:none;padding:0;margin:0}
.StepsList li{padding-bottom:var(--space-10)}
.HowToList{list-style:decimal;padding-left:1.5rem}
.bullets{list-style:disc;padding-left:1.25rem}
.bullets li{padding-bottom:8px}

/* =========================================================
   CALLOUTS & PRO TIPS
   ========================================================= */
.callout{
  background:#fff7e6;
  border:1px solid #ffebb8;
  border-left:5px solid #ffbb33;
  padding:var(--space-6);
  border-radius:var(--radius);
}
.callout--warning{background:#fff2f2;border-color:#ffd6d6;border-left-color:var(--rojo)}
.callout-title{margin:0 0 var(--space-3);color:var(--rojoAlto)}

.pro-tip{
  margin-top:8px;
  font-size:.95rem;
  line-height:1.5;
  background:#fafafa;
  border-left:4px solid var(--rojoAlto);
  padding:8px 12px;
  border-radius:4px;
  color:var(--grisAlto);
}
.pro-tip strong{ color:var(--rojoAlto); }

/* =========================================================
   TABLE OF CONTENTS — Variant B (Compact Shaded) + Mobile Animation
   ========================================================= */
.TOC{
  background:var(--grisClaro) !important;
  border-top:1px solid #eaeaea !important;
  border-bottom:1px solid #eaeaea !important;
  position:sticky; top:0; z-index:10;
}
.TOC .Columna{ padding:6px 10px !important; }

.toc-summary{
  font-weight:800;
  color:var(--grisAlto);
  padding:4px 0;
  letter-spacing:.01em;
  cursor:pointer;
}
.toc-summary::-webkit-details-marker{display:none;}
.toc-summary::after{content:" ▾";}

/* Links list */
.toc-list{
  display:flex; flex-wrap:wrap;
  margin:0; padding:4px 0 0;
  gap:12px;
}
.toc-list a{
  color:var(--rojoAlto);
  font-weight:600;
  font-size:.95rem;
  line-height:1.25;
  padding:6px 10px;
  border-radius:999px;
  text-decoration:none;
  transition:background .15s ease, color .15s ease;
}
.toc-list a:hover,
.toc-list a:focus-visible{
  background:#fff5f5;
  color:var(--rojo);
  text-decoration:none;
}

/* Desktop: single centered row, toggle hidden */
@media (min-width:769px){
  .toc-collapsible > summary{ display:none !important; }
  .toc-collapsible > nav{ display:block !important; }
  .toc-list{ justify-content:center; gap:10px; padding:0; }
}

/* Mobile: collapsed by default; vertical stack + smooth slide animation */
@media (max-width:768px){
  .toc-collapsible{ display:block; overflow:hidden; }
  .toc-collapsible nav{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease, opacity .3s ease;
    opacity:0;
  }
  .toc-collapsible[open] nav{
    max-height:500px; /* large enough for all links */
    opacity:1;
  }
  .toc-list{ flex-direction:column; gap:6px; padding:6px 0 0; }
  .toc-list a{ padding:6px 8px; font-size:.95rem; }
}

/* =========================================================
   AUTHOR / FOOTER
   ========================================================= */
.AuthorBox p{ margin-top:0 }
.ElPie{
  padding:var(--space-4);
  background-color:var(--rojoAlto);
  color:#fff;
  text-align:center;
}
.rojoClaro{color:#fff;font-size:.9rem}
.ElPie .Link--inverse:hover{ text-decoration:underline; }

.hide-on-print{display:initial}

/* =========================================================
   PRINT
   ========================================================= */
@media print{
  body{background:#fff;color:#000}
  .ElMenu,.TOC,.AlturaPortada,.PlungerBackground,.CTARow,.TopNav .Btn,.hide-on-print{display:none!important}
  a{color:#000;text-decoration:underline}
  a[href^="http"]:after{content:" (" attr(href) ")";font-size:.9em}
  img{max-width:100%;page-break-inside:avoid}
  .Columna{padding:16px}
  .callout{border-left:4px solid #000;background:#f6f6f6}
  h1{font-size:28pt} h2{font-size:18pt} h3{font-size:14pt}
}

/* =========================================================
   ANCHOR OFFSET (avoid headings hiding under sticky TOC)
   ========================================================= */
[id]{scroll-margin-top:90px;}

/* Remove default bullets in TOC */
.toc-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.toc-list li {
  list-style: none;
}
/* Match section gray to illustration gray */
:root{
  --illustrationGray: #efefef; /* tweak to #eeeeee or #ededed if your assets differ */
}

/* Scope it just to the areas that sit beside those GIFs */
#safety,
#DIYplunger,
#DIYauger {
  background-color: var(--illustrationGray) !important;
}

/* Optional: ensure figures blend when they sit on cards */
.FondoSolido { background-color: #efefef !important; }

/* =========================
   Recommended tools (full-width white band)
   ========================= */
.Section--fullwhite {
  background: #fff;
  padding: 48px 0;
}

/* Product grid / cards */
.ProdGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .ProdGrid { grid-template-columns: 1fr; }
}

.Prod {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.Prod:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.Prod h3 {
  margin: 8px 0 6px;
  color: var(--rojoAlto);
}

.Prod p { margin: 0 0 10px; }

/* Image wrapper keeps things tidy even before load */
.Prod-img {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
}
.Prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show the whole product */
  display: block;
}

/* CTA button inside cards */
.Btn--buy {
  margin-top: 6px;
}

/* Small helper text size */
.small { font-size: .92rem; }

/* Pro pick badge */
.badge {
  display: inline-block;
  background: #ffe7e7;
  color: #a01b1b;
  border: 1px solid #ffc9c9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Footer brand line = white text like copyright */
.ElPie .brand-note { color: #fff; margin-top: 12px; }
.ElPie .brand-note a { color: #fff; text-decoration: underline; }

/* Ensure product images always on white background */
.Prod-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* force white background */
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #f0f0f0;
}
.Prod-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff; /* safeguard */
}

/* Center the button under text */
.BtnWrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.Btn--buy {
  margin: 0 auto;
}

/* Update badge to Andrew’s Pro Pick */
.badge {
  display: inline-block;
  background: #ffe7e7;
  color: #a01b1b;
  border: 1px solid #ffc9c9;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ===== 24/7 Emergency block (Final Check) ===== */
.EmergencyPanel{
  border:1px solid #f0d6d6;
  background:#fff7f7;
  border-radius:14px;
  padding:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.EmergencyPanel-header{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px;
}
.Badge24{
  display:inline-block;
  background:#ffe4e4;
  color:#a01b1b;
  border:1px solid #ffc9c9;
  border-radius:999px;
  padding:4px 10px;
  font-weight:800; font-size:.82rem;
}
.EmergencyPanel-title{
  margin:0; font-size:1.1rem; color:#a01b1b; font-weight:900;
}
.EmergencyPanel-points{
  margin:.25rem 0 .75rem; padding-left:1.2rem; color:#333;
}
.EmergencyPanel-points li{ margin:.25rem 0; }

.CTAGroup{
  display:flex; gap:10px; flex-wrap:wrap;
}
.Btn--call{ white-space:nowrap; }

/* ===== Sticky emergency bar (mobile) ===== */
.EmergencyBar{
  position:fixed; left:0; right:0; bottom:0;
  display:none; /* default hidden on desktop */
  gap:10px; justify-content:center; padding:10px 12px;
  background:#ffffffd9; backdrop-filter:blur(6px);
  border-top:1px solid #eee; z-index:999;
}
@media (max-width: 768px){
  .EmergencyBar{ display:flex; }
  body{ padding-bottom:64px; } /* ensure content not hidden behind bar */
}

.Btn .icon {
  width: 1.1em;
  height: 1.1em;
  margin-right: 8px;
  vertical-align: -0.15em;
  display: inline-block;
}

.ToolCompare {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .95rem;
}
.ToolCompare th,
.ToolCompare td {
  border: 1px solid #ddd;
  padding: 8px 12px;
}
.ToolCompare th {
  background: #fafafa;
  font-weight: 700;
}
.ToolCompare tr:nth-child(even) td {
  background: #fcfcfc;
}

/* ---------- Responsive, polished tables ---------- */
.TableWrap{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:0;
  overflow:hidden;             /* rounds the table edges */
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  margin:16px 0 28px;
}

/* Desktop table */
.Table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:0.95rem;
}
.Table thead th{
  background:#fafafa;
  color:#333;
  text-align:left;
  font-weight:800;
  padding:12px 14px;
  border-bottom:1px solid #eee;
}
.Table td{
  padding:12px 14px;
  border-bottom:1px solid #f0f0f0;
  vertical-align:top;
}
.Table tr:last-child td{ border-bottom:none; }
.Table tbody tr:nth-child(even) td{ background:#fcfcfc; }

/* Rounded corners for thead row */
.Table thead th:first-child{ border-top-left-radius:14px; }
.Table thead th:last-child { border-top-right-radius:14px; }

/* Caption hidden but accessible */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);
  white-space:nowrap;border:0;padding:0;margin:-1px;
}

/* ----- Mobile: convert rows into labeled cards ----- */
@media (max-width: 720px){
  .TableWrap{ padding:10px; }         /* a bit of breathing room on mobile */
  .Table{ border:0; }
  .Table thead{ display:none; }
  .Table tbody tr{
    display:block;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    box-shadow:0 6px 16px rgba(0,0,0,.05);
    margin:0 0 12px 0;
  }
  .Table tbody tr:nth-child(even) td{ background:#fff; } /* remove zebra inside cards */

  .Table td{
    display:grid;
    grid-template-columns: 42% 1fr;   /* label | value */
    gap:8px;
    border:none;
    padding:10px 12px;
  }
  .Table td::before{
    content: attr(data-label);
    font-weight:700;
    color:#666;
  }
}

.AuthorContent {
  display: flex;
  align-items: center;       /* centers photo with text */
  gap: 32px;                 /* spacing between image and text */
  margin-top: 24px;
}

.AuthorPhoto {
  width: 200px;              /* larger, more balanced size */
  height: 200px;
  border-radius: 50%;        /* circular crop */
  object-fit: cover;         /* keeps face centered without distortion */
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border: 5px solid #fff;    /* white outline */
  background-color: #f5f5f5; /* subtle fallback */
}

.AuthorText {
  font-size: 0.95rem;        /* slightly smaller than body text */
  line-height: 1.55;
  color: #444;
  max-width: 700px;
}

.AuthorText strong {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
}

@media (max-width: 720px) {
  .AuthorContent {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .AuthorPhoto {
    width: 150px;
    height: 150px;
    border: 4px solid #fff;
  }

  .AuthorText {
    font-size: 0.9rem

.AuthorHeading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  text-align: left;
}

@media (max-width: 720px) {
  .AuthorHeading {
    text-align: center;
  }
}
