/*
Theme Name: Scaley Digital
Theme URI: https://scaleydigital.com
Author: Scaley Digital
Author URI: https://scaleydigital.com
Description: A custom one-page theme for a web & app development agency. Pink/black design system with layered CSS device mockups, services grid, process timeline, dark trust section, testimonials, and a contact form. Built as a single-page brochure site; additional WordPress pages/posts use the included fallback templates.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scaley-digital
*/

/* =========================================================
   Scaley Digital — Design tokens
   ========================================================= */
:root{
  --color-primary:#DB2777;        /* interactive pink (AA on white) */
  --color-primary-soft:#EC4899;   /* decorative / bg pink */
  --color-primary-tint:#FDF2F8;   /* page bg tint */
  --color-primary-tint-2:#FCE7F3;
  --color-on-primary:#FFFFFF;
  --color-dark:#0B0B10;
  --color-dark-soft:#17171F;
  --color-ink:#1A1523;            /* headings */
  --color-body:#5B5568;           /* body text on light */
  --color-muted:#8A8394;
  --color-border:#F1DCE7;
  --color-border-strong:#F5C3DB;
  --color-bg:#FFFFFF;
  --color-bg-alt:#FEF9FB;

  --font-sans:'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --radius-pill:999px;

  --space-1:.5rem;
  --space-2:1rem;
  --space-3:1.5rem;
  --space-4:2rem;
  --space-5:3rem;
  --space-6:4.5rem;
  --space-7:6rem;

  --shadow-sm:0 2px 8px rgba(26,21,35,.06);
  --shadow-md:0 8px 24px rgba(26,21,35,.09);
  --shadow-lg:0 24px 60px rgba(26,21,35,.14);
  --shadow-pink:0 16px 40px rgba(219,39,119,.25);

  --ease:cubic-bezier(.4,0,.2,1);
  --dur:220ms;
  --container:1200px;
}

@media (prefers-color-scheme: dark){
  :root{
    --color-bg:#141019;
    --color-bg-alt:#1A141F;
    --color-ink:#F5EFF7;
    --color-body:#C9C0D2;
    --color-muted:#8A8394;
    --color-border:#2E2436;
    --color-border-strong:#3D2E41;
    --color-primary-tint:#1E1420;
  }
}
:root[data-theme="dark"]{
  --color-bg:#141019;
  --color-bg-alt:#1A141F;
  --color-ink:#F5EFF7;
  --color-body:#C9C0D2;
  --color-muted:#8A8394;
  --color-border:#2E2436;
  --color-border-strong:#3D2E41;
  --color-primary-tint:#1E1420;
}
:root[data-theme="light"]{
  --color-bg:#FFFFFF;
  --color-bg-alt:#FEF9FB;
  --color-ink:#1A1523;
  --color-body:#5B5568;
  --color-muted:#8A8394;
  --color-border:#F1DCE7;
  --color-border-strong:#F5C3DB;
  --color-primary-tint:#FDF2F8;
}

/* =========================================================
   Reset / base
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}
body{
  margin:0;
  font-family:var(--font-sans);
  background:var(--color-bg);
  color:var(--color-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;}
h1,h2,h3,h4{color:var(--color-ink);line-height:1.15;margin:0 0 var(--space-2);font-weight:800;letter-spacing:-.02em;}
h1{font-size:clamp(2.25rem,4.5vw,3.5rem);}
h2{font-size:clamp(1.75rem,3.2vw,2.5rem);}
h3{font-size:1.15rem;font-weight:700;}
p{margin:0 0 var(--space-2);}
ul{margin:0;padding:0;list-style:none;}

.container{max-width:var(--container);margin:0 auto;padding:0 1.5rem;}
@media (min-width:768px){.container{padding:0 2.5rem;}}

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

.skip-link{
  position:absolute;top:-100px;left:1rem;background:var(--color-dark);color:#fff;
  padding:.75rem 1.25rem;border-radius:var(--radius-sm);z-index:200;transition:top var(--dur) var(--ease);
}
.skip-link:focus{top:1rem;}

:focus-visible{outline:2.5px solid var(--color-primary);outline-offset:3px;border-radius:4px;}

.eyebrow{
  font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--color-primary);margin:0 0 .75rem;
}
.eyebrow-light{color:#FBCFE8;}
.text-accent{color:var(--color-primary);}
.section-sub{color:var(--color-body);font-size:1.05rem;max-width:52ch;}
.section-sub.light{color:#D7CFE0;}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.6rem;border-radius:var(--radius-pill);font-weight:700;font-size:.95rem;
  border:1.5px solid transparent;cursor:pointer;transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  min-height:44px;white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn:active{transform:translateY(0);}
.btn-primary{background:var(--color-primary);color:#fff;box-shadow:var(--shadow-pink);}
.btn-primary:hover{background:#C21E6C;}
.btn-dark{background:var(--color-dark);color:#fff;}
.btn-dark:hover{background:#26202E;}
.btn-outline{background:transparent;color:var(--color-ink);border-color:var(--color-border-strong);}
.btn-outline:hover{border-color:var(--color-primary);color:var(--color-primary);}
.btn-lg{padding:1rem 2rem;font-size:1rem;}
.btn-sm{padding:.6rem 1.25rem;font-size:.875rem;}
.btn-block{width:100%;}

.link-arrow{
  display:inline-flex;align-items:center;gap:.4rem;color:var(--color-primary);font-weight:700;
  transition:gap var(--dur) var(--ease);
}
.link-arrow:hover{gap:.7rem;}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.85);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--color-border);
}
@media (prefers-color-scheme: dark){.site-header{background:rgba(20,16,25,.85);}}
:root[data-theme="dark"] .site-header{background:rgba(20,16,25,.85);}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:76px;gap:1.5rem;}

.logo{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.15rem;color:var(--color-ink);flex-shrink:0;}
.logo-mark{
  width:34px;height:34px;border-radius:9px;background:var(--color-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:1.05rem;font-weight:800;flex-shrink:0;
}
.logo-accent{color:var(--color-primary);}

.main-nav{display:none;gap:2rem;}
.main-nav a{font-weight:600;font-size:.95rem;color:var(--color-body);padding:.4rem 0;position:relative;transition:color var(--dur) var(--ease);}
.main-nav a:hover{color:var(--color-ink);}
.main-nav a::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--color-primary);
  transform:scaleX(0);transition:transform var(--dur) var(--ease);
}
.main-nav a:hover::after{transform:scaleX(1);}

.header-actions{display:flex;align-items:center;gap:1rem;}
.header-actions .btn-sm{display:none;}

.nav-toggle{
  width:44px;height:44px;border:none;background:transparent;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:var(--radius-sm);
}
.nav-toggle:hover{background:var(--color-primary-tint);}
.nav-toggle span{width:22px;height:2px;background:var(--color-ink);border-radius:2px;transition:transform var(--dur) var(--ease),opacity var(--dur) var(--ease);}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-nav{
  display:flex;flex-direction:column;gap:.25rem;padding:0 1.5rem;max-height:0;overflow:hidden;
  background:var(--color-bg);border-bottom:1px solid transparent;transition:max-height var(--dur) var(--ease), padding var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mobile-nav.open{max-height:420px;padding:1rem 1.5rem 1.5rem;border-color:var(--color-border);}
.mobile-nav a{padding:.85rem .25rem;font-weight:600;border-bottom:1px solid var(--color-border);}
.mobile-nav .btn{margin-top:.75rem;}

@media (min-width:960px){
  .main-nav{display:flex;}
  .header-actions .btn-sm{display:inline-flex;}
  .nav-toggle{display:none;}
  .mobile-nav{display:none;}
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding-top:var(--space-6);
  background:linear-gradient(180deg,var(--color-primary-tint) 0%, var(--color-bg) 68%);
}
.hero-inner{
  display:grid;gap:var(--space-5);align-items:center;justify-items:center;text-align:center;
}
.hero-copy{max-width:720px;}
.hero-sub{font-size:1.1rem;max-width:52ch;margin-left:auto;margin-right:auto;}
.hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin:var(--space-3) 0;}
.hero-meta{display:flex;align-items:center;justify-content:center;gap:.6rem;font-size:.9rem;color:var(--color-muted);margin-top:1.25rem;}
.rating-stars{color:#F59E0B;letter-spacing:1px;font-size:.95rem;}

.hero-visual{position:relative;height:420px;display:flex;align-items:center;justify-content:center;}
.blob{
  position:absolute;inset:6% 4%;background:linear-gradient(135deg,var(--color-primary-tint-2),var(--color-primary-tint));
  border-radius:40% 60% 55% 45%/50% 45% 55% 50%;
}

.device{position:absolute;filter:drop-shadow(0 20px 40px rgba(26,21,35,.16));}
.laptop{width:min(400px,72%);z-index:3;top:8%;left:50%;transform:translateX(-50%);}
.laptop-topbar{
  background:#EDEBF1;border-radius:12px 12px 0 0;padding:.6rem .8rem;display:flex;align-items:center;gap:6px;
}
.laptop-topbar.dark{background:#25202E;}
.dot{width:8px;height:8px;border-radius:50%;}
.dot-r{background:#F87171;}.dot-y{background:#FBBF24;}.dot-g{background:#34D399;}
.url-pill{height:14px;flex:1;margin-left:.75rem;background:#fff;border-radius:6px;}
.url-pill.dark{background:#3A3244;}
.laptop-screen{
  background:#fff;border-radius:0 0 12px 12px;padding:1.1rem;border:1px solid var(--color-border);border-top:none;
}
.laptop-screen.dark{background:var(--color-dark-soft);border-color:#2E2436;}
.mock-nav{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;}
.mock-logo-dot{width:16px;height:16px;border-radius:5px;background:var(--color-primary);margin-right:.25rem;flex-shrink:0;}
.mock-line{display:block;height:8px;border-radius:5px;background:#E9E4EE;}
.mock-line.dark{background:#3A3244;}
.mock-line.accent{background:var(--color-primary-soft);}
.mock-line.muted{background:#EEE8F2;height:6px;}
.mock-line.bold{height:10px;}
.mock-line.h{height:12px;margin-bottom:.5rem;}
.w20{width:20%;}.w30{width:30%;}.w40{width:40%;}.w50{width:50%;}.w60{width:60%;}.w70{width:70%;}.w80{width:80%;}
.mock-hero{padding:1rem 0;border-top:1px solid #F1EEF5;border-bottom:1px solid #F1EEF5;margin-bottom:1rem;}
.mock-pill{width:34%;height:22px;border-radius:var(--radius-pill);background:var(--color-primary);margin-top:.75rem;}
.mock-stats-row{display:flex;gap:.6rem;}
.mock-stat{flex:1;background:#FAF7FB;border-radius:8px;padding:.6rem;display:flex;flex-direction:column;gap:.4rem;}
.mock-stat.dark{background:#25202E;}

.mock-chart{display:flex;align-items:flex-end;gap:.4rem;height:70px;margin-bottom:.75rem;}
.mock-chart span{flex:1;background:var(--color-primary-soft);border-radius:4px 4px 0 0;}
.mock-chart.lg{height:110px;}

.phone{width:130px;z-index:2;}
.phone-left{top:52%;left:2%;transform:rotate(-8deg);}
.phone-right{top:44%;right:0;transform:rotate(9deg);z-index:1;}
.phone-notch{width:36%;height:14px;background:#fff;border:1px solid var(--color-border);border-bottom:none;border-radius:10px 10px 0 0;margin:0 auto;position:relative;top:1px;}
.phone-screen{
  background:#fff;border:1px solid var(--color-border);border-radius:20px;padding:.85rem .7rem;
  display:flex;flex-direction:column;gap:.55rem;
}
.phone-screen.dark{background:var(--color-dark-soft);border-color:#2E2436;}
.phone-app-header{display:flex;align-items:center;gap:.4rem;}
.mock-avatar{width:20px;height:20px;border-radius:50%;background:var(--color-primary-soft);flex-shrink:0;}
.mock-avatar.sm{width:22px;height:22px;border:2px solid #fff;margin-left:-8px;}
.mock-avatar.sm:first-child{margin-left:0;}
.mock-avatar.plus{background:#EEE8F2;color:var(--color-body);font-size:.6rem;display:flex;align-items:center;justify-content:center;font-weight:700;}
.phone-label{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-muted);margin:0;}
.phone-label.dark{color:#9C93A8;}
.phone-card{background:#FAF7FB;border-radius:8px;padding:.5rem;display:flex;flex-direction:column;gap:.35rem;}
.progress{height:5px;background:#EEE8F2;border-radius:3px;overflow:hidden;}
.progress-fill{height:100%;background:var(--color-primary);border-radius:3px;}
.big-metric{font-size:1.3rem;font-weight:800;color:var(--color-primary-soft);}
.avatar-row{display:flex;align-items:center;margin-top:.25rem;}
.timeline-row{display:flex;gap:.6rem;align-items:flex-start;}
.timeline-row > div{display:flex;flex-direction:column;gap:.3rem;flex:1;}
.tl-dot{width:10px;height:10px;border-radius:50%;margin-top:3px;flex-shrink:0;background:#EEE8F2;}
.tl-dot.done{background:var(--color-primary);}
.tl-dot.active{background:var(--color-primary-soft);box-shadow:0 0 0 3px var(--color-primary-tint-2);}
.phone-standalone{position:static;width:min(280px,100%);margin:0 auto;transform:none;}
.mock-bell{width:16px;height:16px;margin-left:auto;color:var(--color-muted);flex-shrink:0;}

/* Trust bar */
.trust-bar{padding:var(--space-4) 0 var(--space-5);}
.trust-label{text-align:center;font-size:.85rem;color:var(--color-muted);font-weight:600;margin-bottom:1.25rem;}
.trust-logos{
  display:flex;flex-wrap:wrap;justify-content:center;gap:2rem 2.75rem;
  color:var(--color-muted);font-weight:800;letter-spacing:.06em;font-size:.95rem;opacity:.75;
}

/* =========================================================
   Sections (generic)
   ========================================================= */
.section{padding:var(--space-7) 0;}
.section.alt{background:var(--color-bg-alt);}
.section-head{max-width:640px;margin:0 auto var(--space-5);text-align:center;}
.section-head .section-sub{margin:0 auto;}

/* Services grid */
.services-grid{display:grid;gap:1.5rem;grid-template-columns:1fr;}
@media (min-width:640px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr);}}
.service-card{
  background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-lg);
  padding:2rem;transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--color-border-strong);}
.service-icon{
  width:48px;height:48px;border-radius:12px;background:var(--color-primary-tint);color:var(--color-primary);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.1rem;
}
.service-icon svg{width:24px;height:24px;}
.service-card p{color:var(--color-body);font-size:.95rem;margin:0;}

/* Split layout */
.split{display:grid;gap:var(--space-5);align-items:center;}
.split-copy{max-width:520px;}
@media (min-width:960px){
  .split{grid-template-columns:1fr 1fr;gap:var(--space-6);}
  .split.reverse .split-copy{order:2;}
  .split.reverse .split-visual{order:1;}
}

.split-visual{position:relative;}
.photo-card{
  position:relative;aspect-ratio:4/3;border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(135deg,#2A1B2E,var(--color-primary) 60%,#F472B6);
}
.photo-blob{position:absolute;inset:0;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.18),transparent 60%);}
.photo-shape{position:absolute;border-radius:50%;background:rgba(255,255,255,.14);}
.shape-1{width:140px;height:140px;top:-30px;right:-30px;}
.shape-2{width:90px;height:90px;bottom:20px;left:-20px;}
.photo-glyph{position:absolute;bottom:1.5rem;left:1.5rem;width:56px;height:56px;background:rgba(255,255,255,.18);border-radius:14px;padding:12px;backdrop-filter:blur(4px);}

.stat-card{
  position:relative;margin:-2.5rem 1.25rem 0;background:var(--color-bg);border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);border:1px solid var(--color-border);padding:1.25rem 1rem;
  display:flex;justify-content:space-between;gap:.5rem;
}
@media (min-width:960px){.stat-card{margin:-2.5rem 2rem 0;}}
.stat{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;}
.stat-num{font-size:1.4rem;font-weight:800;color:var(--color-ink);}
.stat-label{font-size:.72rem;color:var(--color-muted);font-weight:600;margin-top:.15rem;}

.checklist{display:flex;flex-direction:column;gap:.9rem;margin-top:1.5rem;}
.checklist li{display:flex;align-items:center;gap:.65rem;font-weight:600;color:var(--color-ink);font-size:.95rem;}
.checklist svg{width:20px;height:20px;color:var(--color-primary);flex-shrink:0;}

/* Dark trust section */
.dark-section{background:var(--color-dark);color:#fff;}
.dark-inner{display:grid;gap:var(--space-6);align-items:center;}
.dark-copy{max-width:560px;}
@media (min-width:960px){.dark-inner{grid-template-columns:1.1fr 1fr;}}
.dark-visual{position:relative;min-height:340px;}
.dark-visual .laptop{position:static;width:100%;transform:none;}
.dark-visual .phone{position:absolute;bottom:-1rem;right:8%;top:auto;transform:rotate(6deg);}

.trust-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-top:var(--space-5);}
@media (min-width:560px){.trust-grid{grid-template-columns:1fr 1fr;}}
.trust-item{display:flex;gap:1rem;align-items:flex-start;}
.trust-ico{
  width:42px;height:42px;border-radius:11px;background:rgba(219,39,119,.18);color:#F472B6;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.trust-ico svg{width:22px;height:22px;}
.trust-item h4{margin:0 0 .25rem;color:#fff;font-size:1rem;font-weight:700;}
.trust-item p{margin:0;font-size:.88rem;color:#B8AFC4;}

/* Testimonials */
.testimonial-track{
  display:flex;gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.testimonial-track::-webkit-scrollbar{display:none;}
@media (min-width:768px){
  .testimonial-track{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;overflow:visible;}
}
.testimonial-card{
  background:var(--color-bg-alt);border:1px solid var(--color-border);border-radius:var(--radius-lg);
  padding:2rem;display:flex;flex-direction:column;flex:0 0 85%;scroll-snap-align:start;
}
@media (min-width:560px){.testimonial-card{flex-basis:60%;}}
@media (min-width:768px){.testimonial-card{flex-basis:auto;}}
.quote-mark{font-size:2.5rem;color:var(--color-primary-soft);line-height:1;font-weight:800;margin-bottom:.5rem;}
.testimonial-card p{color:var(--color-ink);font-size:.98rem;flex:1;}
.testimonial-author{display:flex;align-items:center;gap:.75rem;margin-top:1.25rem;}
.testimonial-author strong{display:block;font-size:.92rem;color:var(--color-ink);}
.testimonial-author span{font-size:.8rem;color:var(--color-muted);}

.dots{display:flex;justify-content:center;gap:.5rem;margin-top:2rem;}
.dots button{
  width:9px;height:9px;border-radius:50%;background:var(--color-border-strong);border:none;padding:0;cursor:pointer;
  transition:background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dots button[aria-selected="true"]{background:var(--color-primary);transform:scale(1.3);}

/* CTA band / contact */
.cta-band{background:var(--color-primary-tint);}
.cta-inner{max-width:640px;margin:0 auto;text-align:center;}
.contact-form{margin-top:var(--space-4);text-align:left;display:flex;flex-direction:column;gap:1rem;}
.form-row{display:grid;gap:1rem;}
@media (min-width:560px){.form-row{grid-template-columns:1fr 1fr;}}
.contact-form input,.contact-form textarea{
  width:100%;padding:.9rem 1rem;border-radius:var(--radius-sm);border:1.5px solid var(--color-border-strong);
  font-family:inherit;font-size:.95rem;background:var(--color-bg);color:var(--color-ink);
  transition:border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:none;border-color:var(--color-primary);box-shadow:0 0 0 4px rgba(219,39,119,.12);
}
.contact-form textarea{resize:vertical;min-height:100px;}
.form-note{min-height:1.2em;font-size:.9rem;color:var(--color-primary);font-weight:600;text-align:center;margin:0;}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{background:var(--color-dark);color:#B8AFC4;padding:var(--space-6) 0 var(--space-3);}
.footer-grid{display:grid;gap:var(--space-4);grid-template-columns:1fr;}
@media (min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;gap:var(--space-4);}}
.footer-brand p{max-width:32ch;font-size:.9rem;margin:1rem 0 1.25rem;}
.footer-brand .logo-text{color:#fff;}
.social-row{display:flex;gap:.75rem;}
.social-row a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;
  transition:background var(--dur) var(--ease);
}
.social-row a:hover{background:var(--color-primary);}
.social-row svg{width:16px;height:16px;}
.footer-col h5{color:#fff;font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;margin:0 0 1rem;}
.footer-col{display:flex;flex-direction:column;gap:.75rem;font-size:.9rem;}
.footer-col a{transition:color var(--dur) var(--ease);}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-top:var(--space-5);
  padding-top:var(--space-3);border-top:1px solid rgba(255,255,255,.08);font-size:.82rem;
}
.footer-legal{display:flex;gap:1.5rem;}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease), transform .6s var(--ease);}
.reveal.in-view{opacity:1;transform:translateY(0);}

/* =========================================================
   Basic WordPress core-output compatibility
   (comments, galleries, alignment classes used by the block editor)
   ========================================================= */
.alignleft{float:left;margin:.4rem 1.5rem 1rem 0;}
.alignright{float:right;margin:.4rem 0 1rem 1.5rem;}
.aligncenter{display:block;margin-left:auto;margin-right:auto;}
.wp-caption{max-width:100%;}
.wp-caption-text{font-size:.85rem;color:var(--color-muted);margin-top:.4rem;}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

.entry-content{max-width:720px;margin:0 auto;padding:var(--space-6) 1.5rem;}
.entry-content h1,.entry-content h2,.entry-content h3{margin-top:2rem;}
.entry-content p{font-size:1.05rem;color:var(--color-body);}
.entry-content img{border-radius:var(--radius-md);}
.entry-content a{color:var(--color-primary);text-decoration:underline;}

/* =========================================================
   Small screens tightening
   ========================================================= */
@media (max-width:539px){
  .hero-visual{height:340px;}
  .laptop{width:78%;}
  .phone{width:110px;}
  .stat-card{flex-direction:row;}
}
