/* ==========================================================================
   Webwinify theme stylesheet
   Loaded via wp_enqueue_style() in functions.php (cache-busted with
   filemtime()). Do not rename class names used in header.php,
   footer.php, front-page.php, or any file in /template-parts/ without
   updating this file to match.
   ========================================================================== */

:root{
  --cream:#F6F1E7;
  --cream-alt:#EFE7D6;
  --ink:#1C1712;
  --ink-soft:#2A241D;
  --text:#221D16;
  --text-muted:#71675A;
  --orange:#E2793D;
  --orange-dark:#C8632B;
  --white:#FFFFFF;
  --border:#E3DAC7;
  --border-soft:#EBE3D2;
  --green:#4E7A5C;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--text);
  font-family:'Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
h1,h2,h3,.brand,.stat-num{
  font-family:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing:-0.02em;
  color:var(--ink);
  margin:0;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
.eyebrow{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--orange-dark);
  margin-bottom:14px;
  display:block;
}

/* Accessibility: visually hidden but available to screen readers, and
   a visible skip link on keyboard focus. */
.screen-reader-text{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}
.skip-link.screen-reader-text:focus{
  position:fixed !important;
  top:10px;left:10px;
  width:auto;height:auto;
  clip:auto;
  background:var(--ink);
  color:#fff;
  padding:10px 16px;
  border-radius:8px;
  z-index:999;
  font-weight:600;
  font-size:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 24px;
  border-radius:9px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--orange); color:#fff; box-shadow:0 6px 18px -6px rgba(226,121,61,.55);}
.btn-primary:hover{ background:var(--orange-dark); }
.btn-primary:disabled{ opacity:.65; cursor:not-allowed; transform:none; }
.btn-ghost{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-ghost:hover{ background:var(--white); }
.btn-dark{ background:var(--ink); color:#fff; padding:11px 20px; font-size:14px; }
.btn-dark:hover{ background:#000; }

/* NAV */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(246,241,231,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 32px; max-width:1180px; margin:0 auto;}
.brand{ font-size:20px; font-weight:800; display:flex; align-items:center; gap:8px; }
.brand span{ color:var(--orange); }
.brand img{ max-height:40px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:34px; list-style:none; margin:0; padding:0; }
.nav-links li{ display:inline-flex; }
.nav-links a{ font-size:14.5px; font-weight:500; color:var(--text); }
.nav-links a:hover{ color:var(--orange-dark); }
.nav-right{ display:flex; align-items:center; gap:18px; }
.burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
.burger span{ width:22px; height:2px; background:var(--ink); border-radius:2px;}

/* HERO */
.hero{ padding:92px 0 100px; overflow:hidden; position:relative;}
.hero::before{
  content:"";
  position:absolute; top:-120px; right:-160px; width:560px; height:560px;
  background:radial-gradient(circle at center, rgba(226,121,61,0.16), transparent 70%);
  z-index:0;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; position:relative; z-index:1;}
.hero h1{ font-size:52px; font-weight:800; line-height:1.06; margin-bottom:22px; }
.hero p.lead{ font-size:17.5px; color:var(--text-muted); max-width:480px; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; margin-bottom:26px; flex-wrap:wrap;}
.checks{ display:flex; flex-direction:column; gap:8px; }
.checks span{ font-size:13.5px; color:var(--text-muted); display:flex; gap:8px; align-items:center;}
.checks svg{ flex-shrink:0; }

/* HERO VISUAL CARD */
.audit-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:20px;
  padding:22px;
  box-shadow:0 30px 60px -30px rgba(28,23,18,0.25);
  position:relative;
}
.browser-bar{
  display:flex; align-items:center; gap:8px;
  background:var(--cream-alt);
  border:1px solid var(--border-soft);
  border-radius:9px;
  padding:9px 12px;
  margin-bottom:20px;
}
.browser-bar .dot{ width:8px; height:8px; border-radius:50%; background:#D8CDB6;}
.browser-bar .url{ font-size:12px; color:var(--text-muted); margin-left:6px; font-family:'Inter',monospace; }
.score-copy h3{ font-size:16px; font-weight:700; line-height:1.3;}
.pill-row{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px;}
.pill{
  display:flex; align-items:center; gap:6px;
  background:var(--cream-alt);
  border:1px solid var(--border-soft);
  border-radius:20px;
  padding:6px 12px;
  font-size:12.5px;
  font-weight:600;
  color:var(--ink-soft);
}
.pill svg{ flex-shrink:0;}
.audit-note{
  border-top:1px solid var(--border-soft);
  padding-top:16px;
  font-size:13px;
  color:var(--text-muted);
  line-height:1.5;
}
.audit-note b{ color:var(--ink); }

/* SECTIONS shared */
section{ padding:92px 0; }
.section-head{ max-width:620px; margin-bottom:52px; }
.section-head h2{ font-size:36px; font-weight:800; line-height:1.15; margin-bottom:16px;}
.section-head p{ font-size:16px; color:var(--text-muted); }
.alt-bg{ background:var(--cream-alt); }

/* PORTFOLIO */
.portfolio-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.pf-card{
  display:flex; flex-direction:column;
  background:var(--white); border:1px solid var(--border); border-radius:16px; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.pf-card:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -28px rgba(28,23,18,.3);}
.pf-visual{ height:210px; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.pf-visual.salon{ background:linear-gradient(135deg,#EFDFC8,#E7CBA6);}
.pf-visual.auto{ background:linear-gradient(135deg,#2B2A28,#111110);}
.pf-visual.shop{ background:linear-gradient(135deg,#E9C9AE,#D89B79);}
.pf-visual.contractor{ background:linear-gradient(135deg,#DCCFB4,#B99B72);}
.pf-visual.boutique{ background:linear-gradient(135deg,#ECDCCB,#CBA88C);}
.pf-visual.cafe{ background:linear-gradient(135deg,#3B2E22,#1D1712);}
.mockup-laptop{ width:82%; background:#fff; border-radius:8px 8px 3px 3px; box-shadow:0 12px 24px -10px rgba(0,0,0,.35); overflow:hidden;}
.mockup-laptop .bar{ height:8px; background:#EDE6D8; display:flex; align-items:center; gap:3px; padding:0 6px;}
.mockup-laptop .bar i{ width:4px; height:4px; border-radius:50%; background:#D8CDB6;}
.mockup-laptop .body{ padding:10px;}
.mockup-laptop .row{ height:5px; background:#EFE7D8; border-radius:2px; margin-bottom:5px;}
.mockup-laptop .row.w60{ width:60%;} .mockup-laptop .row.w80{ width:80%;} .mockup-laptop .row.w40{ width:40%;}
.pf-body{ padding:20px; flex:1; display:flex; flex-direction:column; }
.pf-body-top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:6px;}
.pf-body-top h3{ font-size:16px; font-weight:700;}
.pf-body p{ font-size:13.5px; color:var(--text-muted); margin:0 0 14px; }
.pf-badge{ display:inline-block; font-size:11.5px; font-weight:600; background:var(--cream-alt); padding:5px 11px; border-radius:20px; color:var(--ink-soft); margin-top:auto; align-self:flex-start;}

/* SERVICES */
.services-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.svc-card{ background:var(--white); border:1px solid var(--border); border-radius:16px; padding:28px; }
.svc-icon{ width:44px; height:44px; border-radius:11px; background:#F3E3D2; display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.svc-card h3{ font-size:17px; font-weight:700; margin-bottom:8px;}
.svc-card p{ font-size:14px; color:var(--text-muted); margin:0 0 18px; }
.svc-foot{ border-top:1px solid var(--border-soft); padding-top:14px; font-size:13px; font-weight:600; color:var(--orange-dark);}

/* PROCESS */
.process-track{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative; }
.process-line{ position:absolute; top:26px; left:12.5%; right:12.5%; height:2px; background:var(--border); z-index:0; }
.process-step{ position:relative; z-index:1; text-align:center; padding:0 6px; }
.process-circle{
  position:relative; z-index:1; width:52px; height:52px; border-radius:50%;
  background:var(--cream); border:2px solid var(--orange);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
}
.step-num{ font-size:12px; font-weight:700; color:var(--orange-dark); letter-spacing:.04em; margin-bottom:10px; display:block; text-transform:uppercase;}
.process-step h3{ font-size:16.5px; font-weight:700; margin-bottom:8px;}
.process-step p{ font-size:13.5px; color:var(--text-muted); margin:0; max-width:230px; margin-left:auto; margin-right:auto;}

/* TESTIMONIAL */
.testi{ background:var(--ink); color:#fff; text-align:center; }
.testi blockquote{ font-family:"Space Grotesk", ui-sans-serif, system-ui, sans-serif; font-size:27px; font-weight:600; line-height:1.4; max-width:800px; margin:0 auto 20px; letter-spacing:-0.01em;}
.testi cite{ font-style:normal; font-size:13.5px; color:#B9B0A2; }

/* FAQ */
.faq-wrap{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:60px; align-items:start;}
details{ border-bottom:1px solid var(--border); padding:18px 0; }
details summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-size:15.5px; font-weight:600; color:var(--ink);}
details summary::-webkit-details-marker{ display:none;}
details summary .icon{ width:20px; height:20px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:50%; transition:transform .2s ease;}
details[open] summary .icon{ transform:rotate(45deg); background:var(--ink); border-color:var(--ink);}
details[open] summary .icon svg{ stroke:#fff; }
details p{ font-size:14px; color:var(--text-muted); margin:12px 0 0; max-width:520px;}

/* CONTACT */
.contact-wrap{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:start;}
.contact-form{ background:var(--white); border:1px solid var(--border); border-radius:18px; padding:32px; box-shadow:0 30px 60px -34px rgba(28,23,18,.2);}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.field label{ display:block; font-size:12.5px; font-weight:600; color:var(--ink-soft); margin-bottom:6px;}
.field input, .field select, .field textarea{
  width:100%; padding:11px 13px; border:1px solid var(--border); border-radius:9px;
  font-family:inherit; font-size:14px; background:var(--cream); color:var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--orange); outline-offset:1px; border-color:transparent;}
.field{ margin-bottom:16px; }
.field textarea{ resize:vertical; min-height:96px;}
.form-status{ font-size:13.5px; font-weight:600; margin-bottom:14px; min-height:1px; }
.form-status.success{ color:var(--green); }
.form-status.error{ color:#B3402A; }

/* FOOTER */
footer{ border-top:1px solid var(--border-soft); padding:28px 0; }
.footer-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;}
.footer-row p{ font-size:13px; color:var(--text-muted); margin:0;}
.footer-links{ display:flex; gap:24px; flex-wrap:wrap; list-style:none; margin:0; padding:0; }
.footer-links li{ display:inline-flex; }
.footer-links a{ font-size:13px; color:var(--text-muted); }
.footer-links a:hover{ color:var(--ink); }
.footer-contact{ display:flex; gap:20px; flex-wrap:wrap;}
.footer-contact a{ font-size:13px; color:var(--text-muted); font-weight:600; }
.footer-contact a:hover{ color:var(--orange-dark); }

/* ==========================================================================
   BLOG: archive + single post + comments
   ========================================================================== */
.blog-header{ padding-bottom:40px; }
.archive-description{ font-size:15px; color:var(--text-muted); max-width:560px; margin-top:8px; }
.blog-archive{ padding-top:0; }
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.blog-card{ background:var(--white); border:1px solid var(--border); border-radius:16px; overflow:hidden; transition:transform .2s ease, box-shadow .2s ease;}
.blog-card:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -28px rgba(28,23,18,.3);}
.blog-card-link{ display:flex; flex-direction:column; height:100%; }
.blog-card-thumb{ height:190px; overflow:hidden; background:var(--cream-alt); }
.blog-card-thumb img{ width:100%; height:100%; object-fit:cover; }
.blog-card-thumb-fallback{ width:100%; height:100%; background:linear-gradient(135deg,var(--cream-alt),var(--border)); }
.blog-card-body{ padding:20px; display:flex; flex-direction:column; flex:1; }
.blog-card-meta{ font-size:12px; color:var(--text-muted); display:flex; align-items:center; gap:6px; margin-bottom:10px; }
.blog-card-title{ font-size:17px; font-weight:700; margin-bottom:8px; line-height:1.3; }
.blog-card-excerpt{ font-size:13.5px; color:var(--text-muted); margin:0 0 14px; }
.blog-card-readmore{ font-size:13px; font-weight:600; color:var(--orange-dark); margin-top:auto; }

.pagination{ margin-top:48px; display:flex; justify-content:center; }
.pagination ul{ display:flex; gap:8px; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.pagination li{ display:inline-flex; }
.pagination a, .pagination span{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:38px; height:38px; padding:0 12px;
  border:1px solid var(--border); border-radius:8px;
  font-size:13.5px; font-weight:600; color:var(--text);
  background:var(--white);
}
.pagination a:hover{ background:var(--cream-alt); }
.pagination .current{ background:var(--ink); color:#fff; border-color:var(--ink); }

/* Single post */
.single-post-header{ padding:48px 0 40px; }
.back-to-blog{ display:inline-block; font-size:13.5px; font-weight:600; color:var(--text-muted); margin-bottom:18px; }
.back-to-blog:hover{ color:var(--orange-dark); }
.single-post-meta{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.single-post-meta img{ border-radius:50%; }
.author-name{ font-size:13.5px; font-weight:700; display:block; }
.single-post-thumb{ margin:-8px auto 0; border-radius:16px; overflow:hidden; }
.single-post-thumb img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius:12px;
}
.single-post-content{ padding:48px 0; font-size:16.5px; line-height:1.75; }
.single-post-content h2{ font-size:26px; font-weight:800; margin:40px 0 16px; }
.single-post-content h3{ font-size:21px; font-weight:700; margin:32px 0 14px; }
.single-post-content p{ margin:0 0 20px; }
.single-post-content ul, .single-post-content ol{ margin:0 0 20px; padding-left:22px; }
.single-post-content li{ margin-bottom:8px; }
.single-post-content a{ color:var(--orange-dark); text-decoration:underline; }
.single-post-content img{ border-radius:12px; margin:20px 0; }
.single-post-content blockquote{
  border-left:3px solid var(--orange); margin:24px 0; padding:4px 0 4px 20px;
  font-style:italic; color:var(--text-muted);
}
.page-links{ margin-top:24px; font-size:14px; font-weight:600; }

.single-post-nav{ display:flex; justify-content:space-between; gap:20px; padding-bottom:48px; border-top:1px solid var(--border-soft); padding-top:24px; flex-wrap:wrap; }
.single-post-nav a{ font-size:14px; font-weight:600; color:var(--ink); }
.single-post-nav a:hover{ color:var(--orange-dark); }

/* Comments */
.comments-area{ padding-bottom:60px; }
.comments-title{ font-size:22px; font-weight:800; margin-bottom:24px; }
.comment-list{ list-style:none; margin:0 0 32px; padding:0; }
.comment-list li{ margin-bottom:20px; }
.comment-body{ background:var(--white); border:1px solid var(--border); border-radius:14px; padding:20px; }
.comment-author{ font-weight:700; font-size:14px; }
.comment-metadata{ font-size:12px; color:var(--text-muted); margin-bottom:10px; }
.comment-content p{ font-size:14.5px; margin:0; }
.comment-reply-link{ font-size:12.5px; font-weight:600; color:var(--orange-dark); }
.comment-respond{ background:var(--white); border:1px solid var(--border); border-radius:14px; padding:24px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea{
  width:100%; padding:11px 13px; border:1px solid var(--border); border-radius:9px;
  font-family:inherit; font-size:14px; background:var(--cream); color:var(--text); margin-bottom:14px;
}
.comment-form label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:6px; }
.comment-form-cookies-consent{ display:flex; align-items:center; gap:8px; font-size:13px; }

/* Sidebar widgets (optional) */
.widget{ background:var(--white); border:1px solid var(--border); border-radius:14px; padding:22px; margin-bottom:20px; }
.widget-title{ font-size:15px; font-weight:700; margin-bottom:14px; }

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:40px; }
  .portfolio-grid{ grid-template-columns:1fr 1fr; }
  .blog-grid{ grid-template-columns:1fr 1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .process-line{ display:none; }
  .faq-wrap, .contact-wrap{ grid-template-columns:1fr; gap:32px;}
}
@media (max-width: 720px){
  .nav-links{ display:none; }
  .burger{ display:flex; }
  .nav-right .btn-dark{ display:none; }
  .wrap{ padding:0 20px; }
  .hero{ padding:52px 0 60px; }
  .hero h1{ font-size:32px; }
  section{ padding:60px 0; }
  .section-head h2{ font-size:27px; }
  .portfolio-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .process-line{ display:none; }
  .form-row{ grid-template-columns:1fr; }
  .testi blockquote{ font-size:21px; }
  .footer-row{ flex-direction:column; align-items:flex-start;}
  .single-post-nav{ flex-direction:column; }
}
@media (max-width:420px){
  .process-track{ grid-template-columns:1fr; row-gap:32px; }
}

.mobile-menu{
  display:none; flex-direction:column; gap:2px; background:var(--cream);
  border-bottom:1px solid var(--border-soft); padding:8px 20px 18px;
}
.mobile-menu.open{ display:flex; }
.mobile-menu ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.mobile-menu a{ padding:12px 0; font-size:15px; font-weight:600; border-bottom:1px solid var(--border-soft); display:block; }
.mobile-menu .btn-dark{ margin-top:14px; text-align:center; justify-content:center; }
