/*
Theme Name: Sumukha Digitrix
Author: Hari Priya
Description: Premium "Royal Pixel" business theme custom-built for Sumukha Digitrix — a Bengaluru digital marketing studio. Royal blue brand color, pixel signature motif, hero with founder photo, services grid, process, testimonials, and contact. Everything editable via Appearance → Customize.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
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: sumukha-digitrix
Tags: business, services, custom-colors, custom-logo, custom-menu, featured-images
*/

/* ---------- Tokens ---------- */
:root {
  --sd-blue: #1a2be2;
  --sd-ink: #10153f;
  --sd-soft: #f4f6ff;
  --sd-line: #e2e4ee;
  --sd-muted: #5c627a;
  --sd-paper: #ffffff;
  --sd-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --sd-body: 'Inter', system-ui, sans-serif;
  --sd-max: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sd-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--sd-ink);
  background: var(--sd-paper);
}
img { max-width: 100%; height: auto; }
a { color: var(--sd-blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sd-blue); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--sd-display); line-height: 1.18; margin: 0 0 0.5em; color: var(--sd-ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.sd-container { max-width: var(--sd-max); margin: 0 auto; padding: 0 24px; }
.sd-section { padding: 96px 0; }
.sd-section--soft { background: var(--sd-soft); }
.sd-eyebrow {
  display: inline-block;
  font-family: var(--sd-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sd-blue);
  margin-bottom: 14px;
}
.sd-lead { color: var(--sd-muted); max-width: 62ch; }

/* ---------- Pixel signature ---------- */
.sd-pixels {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    20px 0 rgba(255,255,255,0.18), 60px 0 rgba(255,255,255,0.35),
    0 20px rgba(255,255,255,0.28), 40px 20px rgba(255,255,255,0.45),
    20px 40px rgba(255,255,255,0.2), 60px 40px rgba(255,255,255,0.32),
    40px 60px rgba(255,255,255,0.5), 0 60px rgba(255,255,255,0.15);
  pointer-events: none;
}
.sd-pixels--blue {
  background: rgba(26, 43, 226, 0.35);
  box-shadow:
    20px 0 rgba(26,43,226,0.12), 60px 0 rgba(26,43,226,0.24),
    0 20px rgba(26,43,226,0.18), 40px 20px rgba(26,43,226,0.3),
    20px 40px rgba(26,43,226,0.12), 60px 40px rgba(26,43,226,0.2),
    40px 60px rgba(26,43,226,0.34), 0 60px rgba(26,43,226,0.1);
}

/* ---------- Buttons ---------- */
.sd-btn {
  display: inline-block;
  font-family: var(--sd-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn--solid { background: var(--sd-blue); color: #fff; }
.sd-btn--solid:hover { background: var(--sd-ink); color: #fff; }
.sd-btn--white { background: #fff; color: var(--sd-blue); }
.sd-btn--white:hover { background: var(--sd-ink); color: #fff; }
.sd-btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.sd-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- Header ---------- */
.sd-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sd-line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.sd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.sd-brand { display: flex; align-items: center; text-decoration: none; }
.sd-brand img { height: 52px; width: auto; display: block; }
.sd-brand__name { font-family: var(--sd-display); font-size: 1.25rem; font-weight: 700; color: var(--sd-ink); }
.sd-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; flex-wrap: wrap; }
.sd-nav a {
  font-family: var(--sd-display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--sd-ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.sd-nav a:hover, .sd-nav .current-menu-item > a { color: var(--sd-blue); border-bottom-color: var(--sd-blue); }
.sd-header .sd-btn { padding: 11px 22px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.sd-hero { background: var(--sd-blue); color: #fff; position: relative; overflow: hidden; }
.sd-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 104px;
}
.sd-hero .sd-eyebrow { color: #b8e0ff; }
.sd-hero h1 { color: #fff; max-width: 19ch; }
.sd-hero__sub { font-size: 1.16rem; color: #cfd8ff; max-width: 54ch; margin: 0 0 38px; }
.sd-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.sd-hero__media { position: relative; }
.sd-hero__media img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 16px;
  border: 6px solid rgba(255, 255, 255, 0.16);
}
.sd-hero__media .sd-pixels { top: -28px; right: 6%; }
.sd-hero__media::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 4%;
  width: 110px;
  height: 110px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  pointer-events: none;
}

/* ---------- Stats strip ---------- */
.sd-stats { background: var(--sd-ink); color: #fff; padding: 34px 0; }
.sd-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.sd-stat__num { font-family: var(--sd-display); font-size: 1.9rem; font-weight: 700; color: #fff; display: block; line-height: 1.2; }
.sd-stat__label { font-size: 0.86rem; color: #aab3e8; }

/* ---------- Services ---------- */
.sd-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 44px; }
.sd-card {
  background: #fff;
  border: 1px solid var(--sd-line);
  border-radius: 14px;
  padding: 34px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sd-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(16, 21, 63, 0.1); border-color: var(--sd-blue); }
.sd-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--sd-soft);
  color: var(--sd-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.sd-card__icon svg { width: 26px; height: 26px; }
.sd-card p { margin: 0; color: var(--sd-muted); font-size: 0.98rem; }

/* ---------- Process ---------- */
.sd-process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin-top: 44px; counter-reset: step; }
.sd-step { background: #fff; border: 1px solid var(--sd-line); border-radius: 14px; padding: 30px 26px; position: relative; }
.sd-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--sd-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sd-blue);
  background: var(--sd-soft);
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 18px;
}
.sd-step p { margin: 0; color: var(--sd-muted); font-size: 0.95rem; }

/* ---------- Founder ---------- */
.sd-founder__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.sd-founder__media { position: relative; }
.sd-founder__media img { display: block; width: 100%; max-width: 380px; border-radius: 16px; }
.sd-founder__media .sd-pixels--blue { bottom: -24px; right: 14%; top: auto; }
.sd-founder__name { font-family: var(--sd-display); font-weight: 700; color: var(--sd-blue); }

/* ---------- Testimonials ---------- */
.sd-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 44px; }
.sd-quote {
  background: #fff;
  border: 1px solid var(--sd-line);
  border-top: 4px solid var(--sd-blue);
  border-radius: 0 0 14px 14px;
  padding: 30px 28px;
  margin: 0;
}
.sd-quote p { margin: 0 0 18px; color: #36405c; font-size: 1.02rem; }
.sd-quote cite { font-family: var(--sd-display); font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--sd-ink); }

/* ---------- Contact ---------- */
.sd-contact { background: var(--sd-blue); color: #fff; position: relative; overflow: hidden; }
.sd-contact .sd-pixels { top: 40px; right: 40px; }
.sd-contact h2 { color: #fff; }
.sd-contact .sd-eyebrow { color: #b8e0ff; }
.sd-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sd-contact__intro { color: #cfd8ff; }
.sd-contact__list { list-style: none; padding: 0; margin: 0 0 8px; }
.sd-contact__list li { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.sd-contact__list a { color: #fff; text-decoration: none; font-weight: 500; }
.sd-contact__list a:hover { text-decoration: underline; }
.sd-contact__label {
  display: block;
  font-family: var(--sd-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8e0ff;
  margin-bottom: 3px;
}
.sd-socials { display: flex; gap: 14px; margin-top: 26px; }
.sd-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.sd-socials a:hover { background: #fff; color: var(--sd-blue); }
.sd-socials svg { width: 20px; height: 20px; }

/* ---------- Blog / pages ---------- */
.sd-content { padding: 80px 0; }
.sd-article { max-width: 760px; margin: 0 auto 56px; }
.sd-article h2 a { text-decoration: none; color: var(--sd-ink); }
.sd-article h2 a:hover { color: var(--sd-blue); }
.sd-meta { font-size: 0.85rem; color: var(--sd-muted); margin-bottom: 16px; }
.sd-article img.wp-post-image { border-radius: 14px; margin-bottom: 20px; }
.sd-content .sd-btn--solid { color: #fff; }

/* ---------- Footer ---------- */
.sd-footer { background: var(--sd-ink); color: #aab3e8; padding: 56px 0 40px; font-size: 0.93rem; }
.sd-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.sd-footer__logo img { height: 64px; width: auto; display: block; }
.sd-footer a { color: #fff; text-decoration: none; }
.sd-footer a:hover { color: #b8e0ff; }
.sd-footer .sd-nav ul { gap: 22px; }
.sd-footer .sd-nav a { color: #d3d8f5; border: 0; font-weight: 500; }
.sd-footer__legal { width: 100%; border-top: 1px solid rgba(255,255,255,0.14); margin-top: 30px; padding-top: 22px; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .sd-section { padding: 68px 0; }
  .sd-hero__grid { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 76px; }
  .sd-hero__media img { max-width: 340px; }
  .sd-founder__grid, .sd-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .sd-header__inner { flex-wrap: wrap; justify-content: center; padding: 12px 0; }
}

/* ---------- WordPress core ---------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
}
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--sd-muted); }
.sticky, .gallery-caption, .bypostauthor { display: revert; }
