/*
Theme Name: Remove Mugshots
Description: Hand-coded theme for removemugshots.com, replacing the Enfold/Avia Layout Builder build.
Author: removemugshots.com
Version: 1.0.0
Text Domain: removemugshots
*/

:root{
  --navy:#1055a4;
  --navy-deep:#0b3d78;
  --red:#dc2525;
  --red-deep:#b81c1c;
  --success:#1c8a5c;
  --ink:#181b20;
  --ink-soft:#565f6c;
  --bg:#ffffff;
  --surface:#ffffff;
  --alt:#f7f8fa;
  --line:#e3e6ea;
  --line-soft:#eef0f3;
  --focus:#1a6fd1;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'helvetica neue','HelveticaNeue','Helvetica-Neue',Helvetica,Arial,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
/*
 * overflow-x:hidden deliberately lives on #main-content/footer, NOT on html/body:
 * overflow (even just overflow-x) on an ancestor of a position:sticky element
 * disables its stickiness in every major browser, and the site header is sticky.
 */
#main-content, footer.site-footer{overflow-x:hidden;}
h1,h2,h3,h4,h5,h6{margin:0; text-wrap:balance; color:var(--ink); font-weight:700;}
h1{font-size:clamp(1.9rem,4vw,2.75rem); line-height:1.14;}
h2{font-size:clamp(1.5rem,3vw,2.25rem); line-height:1.2;}
h3{font-size:1.3rem; line-height:1.3;}
h4{font-size:1.1rem; font-weight:600;}
h5{font-size:0.98rem; font-weight:600;}
h6{font-size:0.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;}
p{margin:0 0 1em; color:var(--ink-soft);}
a{color:inherit;}
img{max-width:100%; height:auto; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
.mono{font-family:"SF Mono",ui-monospace,Consolas,"Roboto Mono",monospace; font-variant-numeric:tabular-nums;}
:focus-visible{outline:3px solid var(--focus); outline-offset:2px;}
.screen-reader-text{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;}
.screen-reader-text:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto; padding:12px 18px;
  background:#fff; color:var(--ink); border-radius:8px; box-shadow:0 4px 16px rgba(0,0,0,.2); z-index:9999;
}

/* header */
header.site-header{background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40;}
.header-row{display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:20px; max-width:1180px; margin:0 auto;}
.logo-mark{height:40px; width:auto; flex-shrink:0; display:block;}
.logo-mark img{height:40px; width:auto;}
nav.main-nav{flex:1; min-width:0; display:flex; justify-content:center;}
nav.main-nav ul{list-style:none; display:flex; gap:22px; margin:0; padding:0;}
nav.main-nav li{flex-shrink:0;}
nav.main-nav a{font-size:0.92rem; text-decoration:none; color:#4a5568; font-weight:600; white-space:nowrap;}
nav.main-nav a:hover{color:var(--navy);}
.header-actions{display:flex; align-items:center; gap:16px; flex-shrink:0;}
.nav-toggle{
  display:none; flex-shrink:0; align-items:center; justify-content:center;
  width:30px; height:22px; padding:0; border:none; background:none; cursor:pointer; position:relative;
}
.nav-toggle-bar{
  position:absolute; left:0; right:0; height:2px; border-radius:2px; background:var(--ink);
  transition:transform .25s ease, opacity .2s ease, background-color .2s ease;
}
.nav-toggle-bar:nth-child(1){top:0;}
.nav-toggle-bar:nth-child(2){top:10px;}
.nav-toggle-bar:nth-child(3){top:20px;}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1){top:10px; transform:rotate(45deg); background:var(--red);}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2){opacity:0;}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3){top:10px; transform:rotate(-45deg); background:var(--red);}
@media (prefers-reduced-motion:reduce){.nav-toggle-bar{transition:none;}}
.phone-link{display:flex; align-items:center; gap:8px; font-weight:700; color:var(--navy); text-decoration:none; font-size:1.02rem; white-space:nowrap;}
.phone-link svg{width:17px; height:17px;}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:13px 24px; border-radius:8px; font-weight:700; text-decoration:none; font-size:0.95rem; border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;}
.btn-primary{background:var(--red); color:#fff;}
.btn-primary:hover{transform:translateY(-1px); box-shadow:0 8px 20px rgba(220,37,37,.3);}
.btn-outline{background:transparent; color:var(--navy); border-color:var(--line);}
.btn-outline:hover{border-color:var(--navy);}
@media (prefers-reduced-motion:reduce){ .btn{transition:none;} }

/* homepage hero layout (Hybrid 3 "Integrated Hero") — merged in from front-page.css
   so the homepage only needs one stylesheet request instead of two */
.hero{padding:56px 0 0;}
.hero-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding-bottom:40px;}
.hero h1{margin-bottom:16px;}
.hero h2.sub{font-weight:600; color:var(--ink-soft); font-size:1.15rem; line-height:1.5; margin-bottom:26px; max-width:48ch;}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
}

/* generic content sections (used by pages until they get dedicated templates) */
section{padding:80px 0;}
section.alt{background:var(--alt);}
.section-head{max-width:64ch; margin-bottom:44px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{margin-bottom:14px;}
.section-head p{font-size:1.05rem; margin:0;}

.entry-content{max-width:760px; margin:0 auto; padding:56px 24px;}
.entry-content h1{margin-bottom:24px;}
.entry-content h2{margin:2em 0 0.6em;}
.entry-content h3{margin:1.6em 0 0.5em;}
.entry-content p{font-size:1.05rem;}
.entry-content img{border-radius:10px; margin:1.5em 0;}
.entry-content a:not(.btn){color:var(--navy); text-decoration:underline;}
.entry-content a:not(.btn):hover{color:var(--navy-deep);}

[data-reveal]{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
[data-reveal].is-visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion:reduce){[data-reveal]{opacity:1; transform:none; transition:none;}}

/* footer */
footer.site-footer{background:#12161c; color:#c7cfd8; padding:44px 0 26px;}
.footer-row{display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; margin-bottom:28px;}
.footer-col h4{color:#fff; font-size:0.82rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:12px; font-weight:700;}
.footer-col a{display:block; color:#9aa5b3; text-decoration:none; font-size:0.9rem; margin-bottom:8px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{border-top:1px solid #2a323d; padding-top:18px; font-size:0.8rem; color:#7c8798; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

/* shared components, reused across the homepage and inner pages */
.eyebrow{font-size:0.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--red); font-weight:700; margin-bottom:14px; display:block;}
.actions{display:flex; flex-wrap:wrap; gap:14px; margin-bottom:16px;}
.fine{font-size:0.85rem; color:var(--ink-soft); margin:0;}
.btn-outline-invert{background:transparent; color:#fff; border-color:rgba(255,255,255,.5);}
.btn-outline-invert:hover{background:#fff; color:var(--red);}

/* "link being removed" SERP mockup — the site's signature proof visual */
.browser{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; box-shadow:0 24px 60px -24px rgba(16,21,28,.25);}
.browser-bar{display:flex; align-items:center; gap:10px; padding:12px 16px; background:var(--alt); border-bottom:1px solid var(--line);}
.dots{display:flex; gap:6px;}
.dots span{width:10px; height:10px; border-radius:50%; background:var(--line); display:block;}
.url-pill{flex:1; background:#fff; border:1px solid var(--line); border-radius:7px; padding:6px 12px; font-size:0.8rem; color:var(--ink-soft);}
.browser-body{padding:22px 20px 22px;}
.search-input{display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:24px; padding:10px 18px; margin-bottom:18px; color:var(--ink-soft); font-size:0.9rem;}
.search-input svg{width:16px; height:16px; flex:none;}
.result{padding:14px 0; border-bottom:1px solid var(--line-soft);}
.result .r-url{font-size:0.8rem; color:var(--ink-soft); margin-bottom:4px;}
.result .r-title{font-size:1.02rem; color:var(--navy); margin-bottom:4px; font-weight:600;}
.result .r-desc{font-size:0.85rem; color:var(--ink-soft); margin:0;}
.result.bad{position:relative; padding-right:104px;}
.exposure-badge{
  position:absolute; top:14px; right:0; background:var(--red); color:#fff; border-radius:8px;
  padding:6px 10px; text-align:center; line-height:1.15; min-width:90px;
}
.exposure-badge .lbl{font-size:0.58rem; letter-spacing:.05em; text-transform:uppercase; opacity:.85; display:block;}
.exposure-badge .val{font-family:"SF Mono",ui-monospace,Consolas,monospace; font-size:0.86rem; font-weight:700; font-variant-numeric:tabular-nums; display:block;}
.badge-flip{position:relative; min-height:150px;}
.state{position:absolute; inset:0; transition:opacity .5s ease, transform .5s ease;}
.state.hide{opacity:0; transform:translateY(6px); pointer-events:none;}
.removed-tag{display:inline-flex; align-items:center; gap:8px; background:rgba(28,138,92,.1); color:var(--success); font-weight:700; font-size:0.82rem; padding:8px 14px; border-radius:20px; margin-top:6px;}
.removed-tag svg{width:15px; height:15px;}
.mockup-caption{font-size:0.76rem; color:var(--ink-soft); padding:0 20px 18px; margin:0;}
@media (prefers-reduced-motion:reduce){.state{transition:none;}}
@media (max-width:900px){
  .result.bad{padding-right:0;}
  .exposure-badge{position:static; display:inline-block; margin-top:8px;}
}

/* response/exposure countdown clock — reused with different framing per page */
.clock-widget{display:inline-flex; gap:12px; background:var(--ink); border-radius:12px; padding:20px 24px;}
.clock-widget .unit{text-align:center; min-width:58px;}
.clock-widget .unit .v{font-family:"SF Mono",ui-monospace,Consolas,monospace; font-size:1.8rem; font-weight:700; color:#fff; font-variant-numeric:tabular-nums;}
.clock-widget .unit .l{font-size:0.65rem; letter-spacing:.06em; text-transform:uppercase; color:#98a3b3; margin-top:2px;}
.clock-widget .sep{font-family:"SF Mono",monospace; font-size:1.8rem; color:#3a4250; align-self:flex-start;}

.proof-strip{background:var(--navy); padding:30px 0;}
.proof-strip .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.proof-item{text-align:center; color:#fff;}
.proof-item .n{font-family:"SF Mono",ui-monospace,Consolas,monospace; font-size:2rem; font-weight:700; font-variant-numeric:tabular-nums;}
.proof-item .l{font-size:0.82rem; color:#c3d6ef; margin-top:4px;}
@media (max-width:900px){.proof-strip .wrap{grid-template-columns:1fr 1fr;}}

.flow{display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative;}
.flow-step{background:#fff; border:1px solid var(--line); padding:28px 24px; position:relative;}
.flow-step + .flow-step{border-left:none;}
.flow-step .n{font-family:"SF Mono",ui-monospace,Consolas,monospace; color:var(--navy); font-size:0.82rem; margin-bottom:12px; display:block;}
.flow-step h3{font-size:1.05rem; margin-bottom:8px;}
.flow-step h3 a{color:var(--navy); text-decoration:none;}
.flow-step h3 a:hover{text-decoration:underline;}
.flow-step p{font-size:0.9rem; margin:0;}
.flow-step:not(:last-child)::after{
  content:""; position:absolute; right:-1px; top:50%; transform:translateY(-50%); width:16px; height:16px;
  background:#fff; border-right:1px solid var(--line); border-top:1px solid var(--line); rotate:45deg; z-index:2;
}
@media (max-width:900px){.flow{grid-template-columns:1fr 1fr;} .flow-step:nth-child(2)::after{display:none;}}

.matters-block{background:#fff; border:1px solid var(--line); border-radius:16px; padding:44px clamp(24px,4vw,56px);}
.matters-block p{font-size:1.02rem;}
.matters-block p:last-child{margin-bottom:0;}

table.compare-table{width:100%; border-collapse:collapse; font-size:0.94rem; background:#fff; border:1px solid var(--line); border-radius:12px; overflow:hidden;}
table.compare-table th, table.compare-table td{padding:16px 20px; text-align:left; border-bottom:1px solid var(--line-soft);}
table.compare-table th{font-size:0.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); font-weight:700;}
table.compare-table td.yes{color:var(--success); font-weight:700;}
table.compare-table td.no{color:var(--ink-soft);}
table.compare-table tr:last-child td{border-bottom:none;}
.table-scroll{overflow-x:auto;}
td.us-col, th.us-col{background:rgba(16,85,164,.06);}

.faq-list{display:flex; flex-direction:column; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden;}
.faq-item{background:#fff; padding:22px 26px;}
.faq-item h3{font-size:1.02rem; margin-bottom:8px;}
.faq-item p{font-size:0.94rem; margin:0;}
.faq-more{margin-top:20px; font-size:0.94rem; text-align:center;}
.faq-more a{color:var(--navy); font-weight:700; text-decoration:none;}

.cta-band{background:var(--red); padding:56px 0; text-align:center;}
.cta-band h2{color:#fff; margin-bottom:14px;}
.cta-band p{color:#ffe0e2; margin:0 0 26px; max-width:56ch; margin-left:auto; margin-right:auto;}
.cta-band .actions{justify-content:center;}
.cta-band .btn-primary{background:#fff; color:var(--red);}
.cta-band .btn-primary:hover{box-shadow:0 8px 20px rgba(0,0,0,.2);}

.contact-block{display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px;}
.contact-copy h2{margin-bottom:16px;}
.contact-trust-list{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px;}
.contact-trust-list li{display:flex; align-items:center; gap:10px; font-size:0.95rem; color:var(--ink-soft);}
.contact-trust-list svg{width:18px; height:18px; flex:none; color:var(--navy);}
.contact-trust-list a{color:var(--navy); font-weight:700; text-decoration:none;}
.form-card{background:#fff; border:1px solid var(--line); border-radius:14px; padding:32px clamp(20px,4vw,36px);}
.form-card h3{font-size:1.2rem; margin-bottom:8px;}
.form-card .form-card-sub{font-size:0.9rem; margin-bottom:22px;}
@media (max-width:900px){.contact-block{grid-template-columns:1fr;}}

/*
 * Gravity Forms (legacy markup theme) visual alignment with the rest of the page.
 * Selectors and !important are deliberate: GF's own legacy stylesheet and per-instance
 * inline <style> block both load after this file and target the same elements with
 * comparable specificity, so without !important these rules get silently overridden.
 */
.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="text"],
.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="email"],
.form-card .gform_wrapper.gform_legacy_markup_wrapper textarea{
  width:100% !important;
  padding:12px 14px !important;
  border:1px solid var(--line) !important;
  border-radius:8px !important;
  font-size:0.94rem !important;
  font-family:inherit !important;
  background:var(--alt) !important;
  color:var(--ink) !important;
  box-shadow:none !important;
}

/*
 * Phone field uses GP Advanced Phone Field (intl-tel-input under the hood), which
 * inserts a country-flag dropdown via JS and sets padding-left on the input inline
 * to reserve room for it. Deliberately NOT forcing padding-left here — doing so
 * makes the flag overlap the placeholder text instead of sitting beside it.
 */
.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="tel"]{
  width:100% !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
  padding-right:14px !important;
  border:1px solid var(--line) !important;
  border-radius:8px !important;
  font-size:0.94rem !important;
  font-family:inherit !important;
  background:var(--alt) !important;
  color:var(--ink) !important;
  box-shadow:none !important;
}

.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="text"]:focus,
.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="email"]:focus,
.form-card .gform_wrapper.gform_legacy_markup_wrapper input[type="tel"]:focus{
  border-color:var(--navy) !important;
  outline:3px solid var(--focus) !important;
  outline-offset:1px !important;
}
.form-card .gform_wrapper.gform_legacy_markup_wrapper .gfield_label{
  font-family:inherit !important;
  color:var(--ink) !important;
  font-weight:600 !important;
  font-size:0.9rem !important;
}
.form-card .gform_wrapper.gform_legacy_markup_wrapper .gform_footer{margin-top:8px !important; padding:0 !important;}
.form-card .gform_wrapper.gform_legacy_markup_wrapper .gform_footer input[type="submit"]{
  display:flex !important; align-items:center !important; justify-content:center !important; gap:8px !important; width:100% !important;
  padding:14px 24px !important; border-radius:8px !important; font-weight:700 !important; font-size:0.95rem !important;
  border:2px solid transparent !important; background:var(--red) !important; color:#fff !important;
  cursor:pointer !important; font-family:inherit !important;
}
.form-card .gform_wrapper.gform_legacy_markup_wrapper .gform_footer input[type="submit"]:hover{
  background:var(--red-deep) !important;
}

/* legacy Avia shortcode fallback (temporary, until every page has a dedicated template) */
.legacy-content{max-width:820px; margin:0 auto; padding:56px 24px;}
.legacy-section{padding:0 0 32px;}
.legacy-section:last-child{padding-bottom:0;}
.legacy-col{margin-bottom:16px;}
.legacy-content details{border:1px solid var(--line); border-radius:8px; padding:14px 18px; margin-bottom:10px;}
.legacy-content summary{font-weight:700; cursor:pointer;}
.legacy-stat{display:inline-block; margin:0 24px 16px 0;}
.legacy-stat .n{font-family:"SF Mono",ui-monospace,Consolas,monospace; font-size:1.6rem; font-weight:700; color:var(--navy);}
.legacy-content hr{border:none; border-top:1px solid var(--line); margin:32px 0;}

/* mobile nav panel: hidden entirely on desktop, toggled via .nav-toggle on mobile */
.mobile-nav{display:none;}

@media (max-width:900px){
  nav.main-nav{display:none;}
  .nav-toggle{display:flex;}

  .mobile-nav{
    display:block; position:absolute; left:0; right:0; top:100%;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:0 16px 32px -16px rgba(16,21,28,.25);
    max-height:0; opacity:0; visibility:hidden; overflow:hidden;
    transition:max-height .3s ease, opacity .25s ease, visibility 0s linear .3s;
  }
  .mobile-nav.is-open{
    max-height:calc(100vh - 100%); opacity:1; visibility:visible; overflow-y:auto;
    transition:max-height .3s ease, opacity .25s ease;
  }
  .mobile-nav ul{list-style:none; margin:0; padding:8px 0;}
  .mobile-nav li{border-bottom:1px solid var(--line-soft);}
  .mobile-nav a{display:block; padding:15px 24px; font-size:1rem; font-weight:600; color:var(--ink); text-decoration:none;}
  .mobile-nav a:hover, .mobile-nav a:focus-visible{background:var(--alt); color:var(--navy);}
  .mobile-nav-actions{display:flex; flex-direction:column; gap:12px; padding:18px 24px 24px;}
  .mobile-nav-actions .phone-link{justify-content:center; padding:12px; border:1px solid var(--line); border-radius:8px;}
  .mobile-nav-actions .btn{width:100%;}
  @media (prefers-reduced-motion:reduce){
    .mobile-nav{transition:none;}
    .mobile-nav.is-open{transition:none;}
  }
}

@media (max-width:640px){
  .header-row{gap:12px; padding:12px 16px;}
  .logo-mark img{height:32px;}
  .header-actions{gap:10px;}
  .header-actions .btn{display:none;}
  .phone-link{font-size:0.92rem;}
}
