/* ============================================================
   PATYTA PRO · PRECIOS MOBILE R2
   ============================================================ */

:root{
  --navy:#052F5E;
  --sky:#ACDCF2;
  --bg:#F7F9FB;
  --soft:#F1F4F6;
  --line:rgba(5,47,94,.09);
  --muted:#66798D;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#FFFFFF;
  color:var(--navy);
  font-family:"Poppins",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{
  color:inherit;
}

.ptprices-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:12px 16px 0;
  background:transparent;
}

.ptprices-header__pill{
  position:relative;

  width:min(100%,1380px);
  min-height:68px;
  margin:0 auto;
  padding:8px 10px 8px 16px;

  display:flex;
  align-items:center;
  gap:24px;

  border:1px solid var(--line);
  border-radius:22px;

  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(5,47,94,.07);

  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}

.ptprices-logo{
  flex:0 0 auto;
  display:block;
}

.ptprices-logo img{
  display:block;
  width:auto;
  height:40px;
}

.ptprices-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:4px;
}

.ptprices-nav a{
  padding:9px 10px;
  border-radius:999px;
  text-decoration:none;
  font-size:12px;
  font-weight:400;
}

.ptprices-nav a:hover,
.ptprices-nav a.is-active{
  background:#EAF7FC;
}

.ptprices-actions{
  display:flex;
  gap:7px;
}

.ptprices-actions a{
  min-height:38px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  font-size:12px;
  font-weight:500;
}

.ptprices-login{
  background:var(--sky);
  color:var(--navy);
}

.ptprices-register{
  background:var(--navy);
  color:var(--sky);
}

/* hamburger: sólo móvil */
.ptprices-menu-toggle,
.ptprices-mobile-menu{
  display:none;
}

.ptprices-hero{
  width:min(100% - 32px,900px);
  margin:0 auto;
  padding:112px 0 64px;
  text-align:center;
}

.ptprices-hero > span,
.ptprices-section-head > span,
.ptprices-verify > div:first-child > span,
.ptprices-final span{
  display:block;
  margin-bottom:12px;
  font-size:11px;
  line-height:1;
  letter-spacing:.2em;
  font-weight:600;
}

.ptprices-hero h1{
  margin:0;
  font-size:clamp(42px,5.3vw,76px);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:700;
}

.ptprices-hero p{
  max-width:690px;
  margin:20px auto 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}

.ptprices-cards{
  width:min(100% - 32px,1120px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:stretch;
}

.ptprices-card{
  position:relative;
  min-height:520px;
  padding:30px;

  display:flex;
  flex-direction:column;

  border:1px solid var(--line);
  border-radius:24px;
  background:#F7F8FA;
}

.ptprices-card--featured{
  background:#052F5E;
  color:#FFFFFF;
  transform:translateY(-12px);
}

.ptprices-card__badge{
  position:absolute;
  top:18px;
  right:18px;
  padding:7px 9px;
  border-radius:999px;
  background:var(--sky);
  color:var(--navy);
  font-size:9px;
  letter-spacing:.08em;
  font-weight:600;
}

.ptprices-card__plan{
  display:block;
  font-size:20px;
  font-weight:600;
}

.ptprices-card__price{
  margin:18px 0 12px;
}

.ptprices-card__price strong{
  display:block;
  font-size:48px;
  line-height:1;
  letter-spacing:-.05em;
  font-weight:700;
}

.ptprices-card__price small{
  display:block;
  margin-top:7px;
  font-size:11px;
  font-weight:400;
  opacity:.62;
}

.ptprices-card > p{
  min-height:70px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.ptprices-card--featured > p{
  color:rgba(255,255,255,.72);
}

.ptprices-card ul{
  margin:20px 0 28px;
  padding:0;
  list-style:none;
  display:grid;
  gap:11px;
  flex:1;
}

.ptprices-card li{
  position:relative;
  padding-left:21px;
  font-size:13px;
  line-height:1.5;
}

.ptprices-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  font-weight:600;
}

.ptprices-btn{
  min-height:48px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}

.ptprices-btn--primary{
  background:var(--sky);
  color:var(--navy);
}

.ptprices-btn--secondary{
  border:1px solid rgba(5,47,94,.12);
  background:#FFFFFF;
  color:var(--navy);
}

.ptprices-verify{
  width:min(100% - 32px,1120px);
  margin:76px auto 0;
  padding:32px 36px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;

  border:1px solid var(--line);
  border-radius:24px;
  background:
    radial-gradient(circle at 92% 10%,rgba(172,220,242,.45),transparent 230px),
    #F7F9FB;
}

.ptprices-verify h2{
  margin:0;
  font-size:32px;
  line-height:1.1;
  letter-spacing:-.04em;
  font-weight:700;
}

.ptprices-verify p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
}

.ptprices-verify__badge{
  min-width:330px;
  padding:16px 18px;
  display:flex;
  align-items:center;
  gap:13px;
  border-radius:18px;
  background:#FFFFFF;
}

.ptprices-verify__badge i{
  flex:0 0 38px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--navy);
  color:var(--sky);
  font-style:normal;
  font-weight:600;
}

.ptprices-verify__badge b,
.ptprices-verify__badge small{
  display:block;
}

.ptprices-verify__badge b{
  font-size:13px;
  font-weight:600;
}

.ptprices-verify__badge small{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}

.ptprices-compare{
  width:min(100% - 32px,1120px);
  margin:110px auto 0;
}

.ptprices-section-head{
  margin-bottom:32px;
  text-align:center;
}

.ptprices-section-head h2{
  margin:0;
  font-size:clamp(34px,4vw,54px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:700;
}

.ptprices-compare-note{
  max-width:620px;
  margin:13px auto 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

.ptprices-table-wrap{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:#FFFFFF;
}

.ptprices-table{
  width:100%;
  table-layout:fixed;
  border-collapse:collapse;
  background:#FFFFFF;
}

.ptprices-col-feature{
  width:40%;
}

.ptprices-col-plan{
  width:20%;
}

.ptprices-table th,
.ptprices-table td{
  padding:17px 20px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  text-align:center;
  font-size:13px;
  font-weight:400;
}

.ptprices-table tr > *:last-child{
  border-right:0;
}

.ptprices-table tbody tr:last-child > *{
  border-bottom:0;
}

.ptprices-table thead th{
  padding-top:22px;
  padding-bottom:22px;
  background:#F7F8FA;
  font-size:15px;
  font-weight:600;
}

.ptprices-table th:first-child,
.ptprices-table td:first-child{
  text-align:left;
}

.ptprices-group th{
  padding-top:20px;
  padding-bottom:20px;
  background:#F7F8FA;
  font-size:13px;
  letter-spacing:.03em;
  font-weight:600;
}

.ptprices-final{
  width:min(100% - 32px,1120px);
  margin:82px auto 90px;
  padding:36px 42px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;

  border-radius:25px;
  background:#EAF7FC;
}

.ptprices-final h2{
  margin:0;
  font-size:clamp(30px,3.3vw,46px);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:700;
}

.ptprices-final p{
  margin:11px 0 0;
  color:var(--muted);
  font-size:14px;
}

.ptprices-final > a{
  flex:0 0 auto;
  min-height:50px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--navy);
  color:var(--sky);
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}

.ptprices-footer{
  padding:54px max(24px,calc((100vw - 1120px)/2)) 28px;
  display:flex;
  justify-content:space-between;
  gap:48px;
  background:#05080C;
  color:#FFFFFF;
}

.ptprices-footer__brand img{
  display:block;
  width:auto;
  height:45px;
}

.ptprices-footer__brand p{
  max-width:390px;
  margin:14px 0 0;
  color:rgba(255,255,255,.55);
  font-size:12px;
  line-height:1.6;
}

.ptprices-footer nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(120px,1fr));
  gap:9px 24px;
}

.ptprices-footer nav a{
  color:rgba(255,255,255,.64);
  text-decoration:none;
  font-size:12px;
}

.ptprices-footer nav a:hover{
  color:#FFFFFF;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media(max-width:820px){
  html{
    scroll-padding-top:82px;
  }

  .ptprices-header{
    padding:8px 9px 0;
  }

  .ptprices-header__pill{
    min-height:58px;
    padding:7px 8px 7px 12px;
    gap:10px;
    border-radius:19px;
  }

  .ptprices-logo img{
    height:34px;
    max-width:155px;
  }

  .ptprices-nav,
  .ptprices-actions{
    display:none;
  }

  .ptprices-menu-toggle{
    position:relative;

    margin-left:auto;

    flex:0 0 42px;
    width:42px;
    height:42px;

    display:block;

    border:0;
    border-radius:50%;

    background:var(--navy);

    cursor:pointer;
  }

  .ptprices-menu-toggle span{
    position:absolute;
    left:50%;

    width:17px;
    height:1.5px;

    border-radius:999px;

    background:var(--sky);

    transform:translateX(-50%);
    transform-origin:center;

    transition:
      top .2s ease,
      transform .2s ease;
  }

  .ptprices-menu-toggle span:first-child{
    top:17px;
  }

  .ptprices-menu-toggle span:last-child{
    top:24px;
  }

  .ptprices-header.is-menu-open .ptprices-menu-toggle span:first-child{
    top:20.5px;
    transform:translateX(-50%) rotate(45deg);
  }

  .ptprices-header.is-menu-open .ptprices-menu-toggle span:last-child{
    top:20.5px;
    transform:translateX(-50%) rotate(-45deg);
  }

  .ptprices-mobile-menu{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 8px);

    width:100%;

    padding:12px;

    display:block;

    border:1px solid rgba(5,47,94,.08);
    border-radius:22px;

    background:rgba(255,255,255,.98);

    box-shadow:0 22px 60px rgba(5,47,94,.14);

    backdrop-filter:blur(22px) saturate(150%);
    -webkit-backdrop-filter:blur(22px) saturate(150%);

    opacity:0;
    visibility:hidden;

    transform:translateY(-7px) scale(.985);
    transform-origin:top center;

    pointer-events:none;

    transition:
      opacity .2s ease,
      visibility .2s ease,
      transform .2s ease;
  }

  .ptprices-header.is-menu-open .ptprices-mobile-menu{
    opacity:1;
    visibility:visible;

    transform:translateY(0) scale(1);

    pointer-events:auto;
  }

  .ptprices-mobile-menu nav{
    display:grid;
    grid-template-columns:1fr;
    gap:3px;
  }

  .ptprices-mobile-menu nav a{
    min-height:41px;

    padding:0 14px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:13px;

    color:var(--navy);

    text-align:center;
    text-decoration:none;

    font-size:12.5px;
    line-height:1.2;
    font-weight:500;
  }

  .ptprices-mobile-menu nav a:hover,
  .ptprices-mobile-menu nav a.is-active{
    background:#EAF7FC;
  }

  .ptprices-mobile-menu__actions{
    margin-top:10px;
    padding-top:10px;

    display:grid;
    grid-template-columns:1fr;
    gap:7px;

    border-top:1px solid rgba(5,47,94,.07);
  }

  .ptprices-mobile-menu__actions a{
    min-height:43px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:999px;

    text-decoration:none;

    font-size:12px;
    font-weight:500;
  }

  .ptprices-mobile-login{
    background:var(--sky);
    color:var(--navy);
  }

  .ptprices-mobile-register{
    background:var(--navy);
    color:var(--sky);
  }

  .ptprices-hero{
    padding:82px 0 46px;
  }

  .ptprices-hero p{
    font-size:15px;
  }

  .ptprices-cards{
    grid-template-columns:1fr;
    width:min(100% - 28px,620px);
  }

  .ptprices-card{
    min-height:auto;
    padding:26px;
  }

  .ptprices-card--featured{
    transform:none;
  }

  .ptprices-card > p{
    min-height:0;
  }

  .ptprices-verify{
    width:min(100% - 28px,620px);
    margin-top:54px;
    padding:26px;
    flex-direction:column;
    align-items:stretch;
  }

  .ptprices-verify__badge{
    min-width:0;
  }

  .ptprices-compare{
    width:calc(100% - 20px);
    margin-top:72px;
  }

  .ptprices-section-head{
    width:calc(100% - 18px);
    margin-left:auto;
    margin-right:auto;
    margin-bottom:23px;
  }

  .ptprices-section-head h2{
    font-size:34px;
  }

  /*
   * Tabla móvil: SIN min-width.
   * Los 4 campos caben simultáneamente.
   */
  .ptprices-table-wrap{
    width:100%;
    overflow:hidden;
    border-radius:16px;
  }

  .ptprices-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }

  .ptprices-col-feature{
    width:43%;
  }

  .ptprices-col-plan{
    width:19%;
  }

  .ptprices-table th,
  .ptprices-table td{
    padding:11px 5px;
    font-size:10px;
    line-height:1.28;
    overflow-wrap:anywhere;
    word-break:normal;
  }

  .ptprices-table thead th{
    padding:14px 4px;
    font-size:10.5px;
    white-space:nowrap;
  }

  .ptprices-table th:first-child,
  .ptprices-table td:first-child{
    padding-left:9px;
    padding-right:6px;
  }

  .ptprices-group th{
    padding:11px 9px;
    font-size:10px;
    letter-spacing:.04em;
  }

  .ptprices-final{
    width:min(100% - 28px,620px);
    margin:58px auto 68px;
    padding:28px;
    flex-direction:column;
    align-items:flex-start;
  }

  .ptprices-final > a{
    width:100%;
  }

  .ptprices-footer{
    padding:48px 22px 26px;
    flex-direction:column;
  }
}

@media(max-width:520px){
  .ptprices-hero h1{
    font-size:42px;
  }

  .ptprices-card__price strong{
    font-size:43px;
  }

  .ptprices-compare{
    width:calc(100% - 12px);
  }

  .ptprices-table th,
  .ptprices-table td{
    padding:9px 3px;
    font-size:9px;
  }

  .ptprices-table thead th{
    padding:12px 2px;
    font-size:9.5px;
  }

  .ptprices-table th:first-child,
  .ptprices-table td:first-child{
    padding-left:7px;
    padding-right:4px;
  }

  .ptprices-group th{
    padding:10px 7px;
    font-size:9px;
  }

  .ptprices-footer nav{
    grid-template-columns:1fr;
  }
}

@media(max-width:380px){
  .ptprices-table th,
  .ptprices-table td{
    font-size:8.2px;
  }

  .ptprices-table thead th{
    font-size:8.8px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ptprices-menu-toggle span,
  .ptprices-mobile-menu{
    transition:none!important;
  }
}
