/* ==========================================================================
   GUEST - rates page (es/Precio.aspx, en/Rates.aspx) and add-on modules page
   (es/ModulosAdicionales.aspx, en/AddOns.aspx). Builds on the tokens in site.css.
   ========================================================================== */

/* ---------- Licence block ---------- */
.pr-licence { background: #fff; border: 2px solid var(--g-blue); border-radius: 18px; box-shadow: 0 20px 48px rgba(25, 136, 195, .14); padding: 2rem 2rem 1.75rem; position: relative; height: 100%; }
.pr-tag { position: absolute; top: -12px; left: 1.5rem; background: var(--g-orange); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .7rem; border-radius: 6px; }
.pr-licence h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 .35rem; }
.pr-licence > p { margin: 0 0 1.25rem; }
.pr-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .6rem; margin-bottom: .4rem; }
.pr-price small { font-size: .95rem; color: var(--g-muted); font-weight: 600; }
.pr-price strong { font-size: clamp(2.8rem, 5vw, 3.6rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; color: var(--g-navy); font-variant-numeric: tabular-nums; }
.pr-price em { font-style: normal; color: var(--g-muted); font-weight: 500; }
/* included list */
.pr-incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
@media (max-width: 575.98px) { .pr-incl { grid-template-columns: 1fr; } }
.pr-incl-item { display: flex; gap: .85rem; }
.pr-incl-item > i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: rgba(25, 136, 195, .1); color: var(--g-blue-dk); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.pr-incl-item h3 { font-size: 1rem; margin: .1rem 0 .15rem; }
.pr-incl-item p { margin: 0; font-size: .88rem; line-height: 1.5; }
/* ---------- Set-up ---------- */
.pr-setup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem; align-items: center; background: var(--g-bg); border-radius: 18px; padding: 2rem; }
@media (max-width: 767.98px) { .pr-setup { grid-template-columns: 1fr; padding: 1.5rem; } }
.pr-setup .pr-price strong { font-size: clamp(2.2rem, 4vw, 2.8rem); }
.pr-setup h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.pr-setup .check-list { margin: 0; }
.pr-note { font-size: .84rem; color: var(--g-muted); margin: .75rem 0 0; }

/* ---------- Add-ons list (rates page: name + "from" price, details live on the add-ons page) ---------- */
.pr-checks { margin: .5rem 0 0; }
.pr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 1000px; margin: 0 auto; }
@media (max-width: 767.98px) { .pr-list { grid-template-columns: 1fr; } }
.pr-item { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--g-line); border-radius: 12px; padding: 1rem 1.15rem; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pr-item:hover { border-color: rgba(25, 136, 195, .45); box-shadow: var(--g-shadow); color: inherit; transform: translateY(-2px); }
.pr-item > i { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: rgba(25, 136, 195, .1); color: var(--g-blue-dk); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.pr-item > span { flex: 1; min-width: 0; }
.pr-item b { display: block; color: var(--g-navy); font-size: 1rem; }
.pr-item small { display: block; color: var(--g-muted); font-size: .85rem; line-height: 1.4; }
.pr-item em { font-style: normal; white-space: nowrap; font-size: .82rem; color: var(--g-muted); text-align: right; }
.pr-item em span { display: block; font-size: 1.15rem; font-weight: 750; color: var(--g-navy); font-variant-numeric: tabular-nums; }
@media (hover: none) { .pr-item:hover { transform: none; box-shadow: none; } }
/* ---------- FAQ ---------- */
.pr-faq { max-width: 860px; margin: 0 auto; }
.pr-faq details { border-bottom: 1px solid var(--g-line); }
.pr-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 700; color: var(--g-navy); font-size: 1.05rem; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "\f067"; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; color: var(--g-blue-dk); transition: transform .25s; }
.pr-faq details[open] summary::after { transform: rotate(45deg); }
.pr-faq summary:focus-visible { outline: 3px solid rgba(25, 136, 195, .55); outline-offset: 2px; border-radius: 4px; }
.pr-faq details p { margin: 0 0 1.1rem; }

.pr-vat { text-align: center; font-size: .85rem; color: var(--g-muted); margin: 1.5rem 0 0; }

/* ---------- Add-on modules page ---------- */
.am-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.5rem; }
.am-nav a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--g-line); border-radius: 8px; padding: .45rem .9rem; font-weight: 700; font-size: .9rem; color: var(--g-navy); background: #fff; transition: border-color .2s, color .2s; }
.am-nav a:hover { border-color: var(--g-blue); color: var(--g-blue-dk); }
.am-nav a i { color: var(--g-blue-dk); font-size: .85rem; }
.am-mod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; padding: 3rem 0; border-top: 1px solid var(--g-line); scroll-margin-top: 90px; }
.am-mod:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 991.98px) { .am-mod { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.25rem 0; } }
.am-head i.am-ic { width: 52px; height: 52px; border-radius: 12px; background: var(--g-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.am-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .5rem; }
.am-head .lead { font-size: 1.08rem; margin-bottom: 1rem; }
.am-price { display: inline-flex; align-items: baseline; gap: .4rem; background: var(--g-bg); border-radius: 8px; padding: .45rem .85rem; font-weight: 750; font-size: 1.15rem; color: var(--g-navy); font-variant-numeric: tabular-nums; }
.am-price small { font-size: .82rem; font-weight: 500; color: var(--g-muted); }
.am-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
@media (max-width: 575.98px) { .am-feats { grid-template-columns: 1fr; } }
.am-feat b { display: block; color: var(--g-navy); margin-bottom: .15rem; }
.am-feat b i { color: var(--g-teal); margin-right: .4rem; font-size: .85rem; }
.am-feat p { margin: 0; font-size: .92rem; line-height: 1.55; }
.am-ideal { margin-top: 1.25rem; font-size: .9rem; color: var(--g-muted); }
.am-ideal b { color: var(--g-navy); }
