/* ── Portfolio Navigation Bar ───────────────── */
.pflio-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 40px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 13px;
  box-sizing: border-box;
}
.pflio-bar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.pflio-bar a:hover { color: #ffffff; }
.pflio-bar a:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 3px;
  border-radius: 3px;
}
.pflio-bar__back:hover .pflio-bar__arrow { margin-right: 4px; }
.pflio-bar__arrow { display: inline-block; transition: margin 0.2s ease; }
.pflio-bar__label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.pflio-bar__diamond {
  color: rgba(255, 255, 255, 0.25);
  margin-right: 6px;
  font-size: 10px;
}
.pflio-bar__arrow-right {
  display: inline-block;
  transition: transform 0.2s ease;
  margin-left: 4px;
}
.pflio-bar__all:hover .pflio-bar__arrow-right { transform: translateX(3px); }
.pflio-bar__all-short { display: none; }

@media (max-width: 600px) {
  .pflio-bar { height: 44px; padding: 0 16px; }
  .pflio-bar__all-text { display: none; }
  .pflio-bar__all-short { display: inline; }
}
@media (max-width: 480px) {
  .pflio-bar__label { display: none; }
}
body { padding-top: 40px; }
@media (max-width: 600px) { body { padding-top: 44px; } }
/* ── End Portfolio Navigation Bar ───────────── */

/* ═══════════════════════════════════════════════
   CONTÁBIL UK — Landing Page
   Slate Blue + Gold · Libre Baskerville + Inter
   Mobile-first · BEM-inspired
═══════════════════════════════════════════════ */
:root {
  --blue:       #2B4C7E;
  --blue-lt:    #3D6399;
  --blue-dk:    #1E3557;
  --blue-bg:    #F0F5FF;
  --gold:       #F0A500;
  --gold-lt:    #F8BC2A;
  --gold-dk:    #C88900;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --text:       #1E2A3A;
  --text-muted: #5A6A7A;
  --border:     rgba(43,76,126,.12);
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --header-h:   70px;
  --radius-sm:  8px; --radius-md: 16px; --radius-lg: 28px;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.07);
  --shadow-md:  0 8px 28px rgba(0,0,0,.10);
  --transition: 240ms ease;
  --sp-sm:1rem; --sp-md:1.5rem; --sp-lg:2.5rem; --sp-xl:4rem; --sp-2xl:6rem;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-sans);font-size:clamp(1rem,1.05vw,1.05rem);line-height:1.7;color:var(--text);background:var(--white);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:inherit;cursor:pointer}
.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}
.skip-link{position:absolute;top:-100%;left:1rem;background:var(--gold);color:var(--blue-dk);padding:.5em 1em;font-weight:700;z-index:9999;border-radius:0 0 6px 6px}
.skip-link:focus{top:0}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.container{width:min(92%,1200px);margin-inline:auto}

/* TYPOGRAPHY */
.eyebrow{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:.75rem;font-family:var(--font-sans)}
.section-title{font-family:var(--font-serif);font-size:clamp(1.7rem,3.5vw,2.5rem);font-weight:700;line-height:1.25;color:var(--blue-dk);margin-bottom:var(--sp-md)}
.section-sub{font-size:1.05rem;color:var(--text-muted);margin-bottom:var(--sp-md);max-width:60ch}
.section{padding-block:var(--sp-2xl)}
.section--light{background:var(--off-white)}

/* HEADER */
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;height:var(--header-h);background:rgba(30,53,87,.97);backdrop-filter:blur(12px);border-bottom:1px solid rgba(240,165,0,.2)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;height:100%}
.logo{display:flex;align-items:center;gap:.75rem}
.logo__text{display:flex;flex-direction:column;line-height:1.15}
.logo__name{font-family:var(--font-serif);font-size:1rem;font-weight:700;color:var(--white)}
.logo__domain{font-size:.65rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.header__tagline{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.4);display:none}
@media(min-width:640px){.header__tagline{display:block}}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:.85em 2em;font-family:var(--font-sans);font-size:.95rem;font-weight:600;border:2px solid transparent;border-radius:var(--radius-sm);transition:all var(--transition);white-space:nowrap;cursor:pointer}
.btn--primary{background:var(--gold);color:var(--blue-dk);border-color:var(--gold)}
.btn--primary:hover,.btn--primary:focus-visible{background:var(--gold-lt);border-color:var(--gold-lt);transform:translateY(-2px);box-shadow:0 6px 20px rgba(240,165,0,.35)}
.btn--full{width:100%}
@keyframes pulse-btn{0%,100%{box-shadow:0 0 0 0 rgba(240,165,0,.4)}50%{box-shadow:0 0 0 10px rgba(240,165,0,0)}}
.btn--pulse{animation:pulse-btn 2.8s ease-in-out infinite}
.btn--pulse:hover{animation:none}

/* FORMS */
.form-group{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.85rem}
.form-label{font-size:.8rem;font-weight:600;color:var(--text-muted);letter-spacing:.03em}
.form-input{padding:.8em 1em;border:1.5px solid var(--border);border-radius:var(--radius-sm);font-family:var(--font-sans);font-size:.97rem;color:var(--text);background:var(--white);transition:border-color var(--transition),box-shadow var(--transition)}
.form-input::placeholder{color:#ABABBB}
.form-input:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(43,76,126,.15)}
.form-input[aria-invalid="true"]{border-color:#D32F2F;box-shadow:0 0 0 3px rgba(211,47,47,.1)}
.form-error{font-size:.78rem;font-weight:600;color:#C62828;min-height:1em;display:block}
.form-note{font-size:.78rem;color:var(--text-muted);text-align:center;margin-top:.5rem}
.form-success{width:100%}
.success-card{display:flex;align-items:flex-start;gap:1rem;background:rgba(43,76,126,.08);border:1.5px solid rgba(43,76,126,.2);border-radius:var(--radius-md);padding:1.25rem 1.5rem}
.success-card--lg{background:var(--blue-bg)}
.success-icon{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex-shrink:0;background:var(--blue);color:var(--white);border-radius:50%;font-size:.85rem;font-weight:900;margin-top:.1rem}
.success-card strong{font-size:.95rem;color:var(--blue-dk)}
.success-card p{font-size:.85rem;color:var(--text-muted);margin-top:.2rem}

/* HERO */
.hero{background:var(--blue-dk);padding-top:calc(var(--header-h) + var(--sp-xl));padding-bottom:var(--sp-xl);position:relative;overflow:hidden}
.hero__grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:60px 60px;pointer-events:none}
.hero__inner{display:grid;gap:var(--sp-2xl);align-items:start;position:relative;z-index:1}
@media(min-width:1024px){.hero__inner{grid-template-columns:1fr 1fr;align-items:center;min-height:calc(100svh - var(--header-h))}}
.hero__content .eyebrow{color:rgba(240,165,0,.85)}
.hero__headline{font-family:var(--font-serif);font-size:clamp(2rem,5vw,3.5rem);font-weight:700;line-height:1.2;color:var(--white);margin-bottom:var(--sp-md)}
.hero__em{font-style:italic;color:var(--gold);display:inline}
.hero__sub{font-size:1.05rem;color:rgba(255,255,255,.75);margin-bottom:var(--sp-md);line-height:1.7}
.hero__trust-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:var(--sp-lg)}
.trust-pill{font-size:.72rem;font-weight:600;padding:.35em .85em;border:1px solid rgba(240,165,0,.4);border-radius:20px;color:rgba(240,165,0,.85)}
.hero__form-card{background:var(--white);border-radius:var(--radius-md);padding:2rem;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.form-card__heading{font-family:var(--font-serif);font-size:1.2rem;font-weight:700;color:var(--blue-dk);margin-bottom:.35rem}
.form-card__sub{font-size:.85rem;color:var(--text-muted);margin-bottom:1.5rem}

/* PROBLEM */
.checklist-grid{display:grid;gap:1rem;margin-top:var(--sp-lg)}
@media(min-width:640px){.checklist-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.checklist-grid{grid-template-columns:1fr 1fr 1fr}}
.check-item{display:flex;align-items:center;gap:.85rem;padding:1rem 1.25rem;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius-sm);font-size:.95rem;color:var(--text)}
.check-item__icon{color:var(--blue);font-weight:900;font-size:1rem;flex-shrink:0}
.problem__cta-note{margin-top:var(--sp-lg);font-size:1.05rem;color:var(--text-muted);text-align:center}
.problem__cta-note strong{color:var(--blue)}

/* SERVICES */
.services__grid{display:grid;gap:1.5rem;margin-top:var(--sp-lg)}
@media(min-width:640px){.services__grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.services__grid{grid-template-columns:repeat(4,1fr)}}
.service-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius-md);padding:1.75rem;position:relative;transition:transform var(--transition),box-shadow var(--transition);border-top:3px solid transparent}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-top-color:var(--blue)}
.service-card--featured{border-top-color:var(--gold);box-shadow:var(--shadow-md)}
.service-card__popular{position:absolute;top:-1px;right:1rem;background:var(--gold);color:var(--blue-dk);font-size:.65rem;font-weight:700;padding:.25em .8em;border-radius:0 0 6px 6px;letter-spacing:.08em;text-transform:uppercase}
.service-card__icon{font-size:1.8rem;margin-bottom:.85rem}
.service-card__name{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;color:var(--blue-dk);margin-bottom:.5rem}
.service-card__desc{font-size:.88rem;color:var(--text-muted);line-height:1.6;margin-bottom:1rem}
.service-card__price strong{font-family:var(--font-serif);font-size:1.5rem;color:var(--blue)}
.service-card__price span{font-size:.82rem;color:var(--text-muted)}

/* TRUST BAR */
.trust-bar{background:var(--blue);padding-block:var(--sp-lg)}
.trust-bar__grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--sp-md) var(--sp-lg)}
.trust-bar__item{display:flex;align-items:center;gap:.5rem;color:var(--white);font-size:.9rem;font-weight:500}
.trust-bar__icon{opacity:.8}
.trust-bar__divider{width:1px;height:1.5rem;background:rgba(255,255,255,.25);display:none}
@media(min-width:640px){.trust-bar__divider{display:block}}

/* TESTIMONIALS */
.tgrid{display:grid;gap:1.5rem;margin-top:var(--sp-lg)}
@media(min-width:768px){.tgrid{grid-template-columns:repeat(3,1fr)}}
.tcard{background:var(--off-white);border:1.5px solid var(--border);border-radius:var(--radius-md);padding:1.75rem;display:flex;flex-direction:column;transition:transform var(--transition),box-shadow var(--transition)}
.tcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.tcard__stars{color:#F59E0B;font-size:1rem;letter-spacing:.1em;margin-bottom:.85rem}
.tcard__quote{font-family:var(--font-serif);font-size:.9rem;line-height:1.75;color:var(--text);font-style:italic;flex:1;margin-bottom:1.5rem}
.tcard__footer{display:flex;align-items:center;gap:.85rem;border-top:1px solid var(--border);padding-top:1rem}
.tcard__avatar{width:2.75rem;height:2.75rem;flex-shrink:0;background:var(--blue);color:var(--white);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;font-family:var(--font-serif)}
.tcard__info{display:flex;flex-direction:column;gap:.1rem}
.tcard__info strong{font-size:.88rem;color:var(--blue-dk)}
.tcard__info span{font-size:.78rem;color:var(--text-muted)}

/* FAQ */
.faq__list{display:flex;flex-direction:column;gap:.75rem;margin-top:var(--sp-lg);max-width:800px}
.faq-item{border:1.5px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--white)}
.faq-item[open]{border-color:var(--blue)}
.faq-item__q{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;cursor:pointer;font-family:var(--font-serif);font-weight:700;font-size:.97rem;color:var(--blue-dk);list-style:none;gap:1rem}
.faq-item__q::-webkit-details-marker{display:none}
.faq-item__q::after{content:'+';font-size:1.3rem;font-weight:400;color:var(--blue);flex-shrink:0;transition:transform var(--transition)}
.faq-item[open] .faq-item__q::after{content:'−'}
.faq-item__a{padding:0 1.5rem 1.25rem;font-size:.92rem;color:var(--text-muted);line-height:1.7;animation:faq-open .25s ease}
.faq-item__a p strong{color:var(--blue-dk)}
@keyframes faq-open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* GUARANTEE */
.guarantee{background:var(--blue-dk);padding-block:var(--sp-xl)}
.guarantee__inner{display:flex;align-items:center;gap:var(--sp-lg);flex-direction:column;text-align:center}
@media(min-width:640px){.guarantee__inner{flex-direction:row;text-align:left}}
.guarantee__badge{flex-shrink:0}
.guarantee__title{font-family:var(--font-serif);font-size:1.4rem;font-weight:700;color:var(--white);margin-bottom:.5rem}
.guarantee__copy p{font-size:.95rem;color:rgba(255,255,255,.75);line-height:1.7}
.guarantee__copy p strong{color:var(--gold)}

/* FINAL CTA */
.final-cta{background:var(--blue-bg)}
.final-cta__inner{display:grid;gap:var(--sp-2xl);align-items:center}
@media(min-width:900px){.final-cta__inner{grid-template-columns:1fr 1fr}}
.final-cta__form-wrap{background:var(--white);border-radius:var(--radius-md);padding:2.5rem 2rem;border:1.5px solid var(--border);box-shadow:var(--shadow-sm)}

/* FOOTER */
.site-footer{background:var(--blue-dk);padding-block:var(--sp-lg);text-align:center}
.site-footer__inner p{font-size:.82rem;color:rgba(255,255,255,.45)}
.site-footer a{color:rgba(255,255,255,.65);transition:color var(--transition)}
.site-footer a:hover{color:var(--gold)}

/* REVEAL */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.revealed{opacity:1;transform:none}
.checklist-grid .reveal:nth-child(2){transition-delay:.07s}
.checklist-grid .reveal:nth-child(3){transition-delay:.14s}
.checklist-grid .reveal:nth-child(4){transition-delay:.21s}
.checklist-grid .reveal:nth-child(5){transition-delay:.28s}
.checklist-grid .reveal:nth-child(6){transition-delay:.35s}
.services__grid .reveal:nth-child(2){transition-delay:.1s}
.services__grid .reveal:nth-child(3){transition-delay:.2s}
.services__grid .reveal:nth-child(4){transition-delay:.3s}
.tgrid .reveal:nth-child(2){transition-delay:.1s}
.tgrid .reveal:nth-child(3){transition-delay:.2s}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.btn--pulse{animation:none}html{scroll-behavior:auto}}