/*
Theme Name: Tech Tanishka
Theme URI: https://techtanishka.com
Author: Tech Tanishka
Description: Custom WordPress theme for Tech Tanishka — IT Support & AMC, Cloud Solutions, Networking, Cybersecurity, Software Development and Business Automation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: techtanishka
*/

/* =================================================
   DESIGN TOKENS
   ================================================= */
:root{
  --blue:        #1678AF;
  --blue-dark:   #0D5A87;
  --blue-tint:   #E9F2F8;
  --red:         #D8433D;
  --red-dark:    #B7332E;
  --ink:         #16232E;
  --muted:       #55697A;
  --paper:       #FFFFFF;
  --mist:        #F3F6F8;
  --line:        #DEE5EA;
  --line-strong: #C4CFD6;

  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;

  --maxw: 1160px;
  --radius: 6px;
}

/* =================================================
   RESET
   ================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--blue); text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.1rem, 4.2vw, 3.4rem); font-weight:700; }
h2{ font-size:clamp(1.6rem, 2.6vw, 2.2rem); }
h3{ font-size:1.15rem; }
p{ margin:0 0 1em; color:var(--muted); }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
:focus-visible{ outline:3px solid var(--red); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* =================================================
   BUTTONS
   ================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  padding:13px 24px;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background:var(--red); color:#fff; }
.btn-primary:hover{ background:var(--red-dark); }
.btn-outline{ border-color:var(--line-strong); color:var(--ink); background:transparent; }
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); }
.btn-ghost{ color:var(--blue); border-color:transparent; padding-left:0; padding-right:0; }
.btn-ghost:hover{ color:var(--blue-dark); }

/* =================================================
   HEADER
   ================================================= */
.site-header{
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.96);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%) blur(6px);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:44px; width:auto; }
.brand-name{ font-family:var(--font-head); font-weight:700; font-size:1.15rem; color:var(--ink); }
.brand-name span{ color:var(--red); }

.primary-nav ul{ display:flex; align-items:center; gap:30px; }
.primary-nav a{
  color:var(--ink);
  font-weight:500;
  font-size:.96rem;
  padding:6px 0;
  border-bottom:2px solid transparent;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ color:var(--blue); border-bottom-color:var(--blue); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-phone{ display:flex; flex-direction:column; line-height:1.25; font-size:.85rem; color:var(--muted); }
.header-phone strong{ color:var(--ink); font-family:var(--font-head); font-size:.98rem; }

.nav-toggle{
  display:none;
  background:none; border:1.5px solid var(--line-strong); border-radius:var(--radius);
  width:42px; height:42px; align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--ink); position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

@media (max-width:900px){
  .primary-nav{
    position:fixed; inset:76px 0 0 0; background:#fff; padding:20px 24px;
    transform:translateY(-8px); opacity:0; pointer-events:none; transition:.18s ease;
    overflow-y:auto; border-top:1px solid var(--line);
  }
  .primary-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .primary-nav ul{ flex-direction:column; align-items:flex-start; gap:4px; }
  .primary-nav a{ display:block; padding:14px 0; width:100%; border-bottom:1px solid var(--line); }
  .header-phone{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* =================================================
   HERO
   ================================================= */
.hero{ position:relative; overflow:hidden; background:var(--paper); }
.hero .container{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
  padding-top:76px; padding-bottom:64px;
}
.hero-eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:18px; color:var(--blue); font-weight:600; font-size:.9rem; }
.hero-eyebrow::before{ content:""; width:26px; height:2px; background:var(--red); display:inline-block; }
.hero h1{ margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--blue); }
.hero-lead{ font-size:1.08rem; max-width:46ch; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
.hero-points{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-points li{ display:flex; align-items:center; gap:8px; font-size:.9rem; color:var(--muted); font-weight:500; }
.hero-points li::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--red); display:inline-block; flex:none; }

.hero-art{ position:relative; }
.hero-art svg{ width:100%; height:auto; }

.stat-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--mist); }
.stat-strip .container{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
.stat-strip .stat{ padding:28px 20px; text-align:left; border-left:1px solid var(--line); }
.stat-strip .stat:first-child{ border-left:none; }
.stat-num{ font-family:var(--font-head); font-size:1.9rem; font-weight:700; color:var(--blue); display:block; }
.stat-label{ font-size:.85rem; color:var(--muted); }
@media (max-width:760px){
  .stat-strip .container{ grid-template-columns:repeat(2,1fr); }
  .stat-strip .stat{ border-left:none; border-top:1px solid var(--line); }
  .stat-strip .stat:nth-child(1),.stat-strip .stat:nth-child(2){ border-top:none; }
}

/* =================================================
   SECTION SCAFFOLDING
   ================================================= */
.section{ padding:88px 0; }
.section-alt{ background:var(--mist); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-kicker{ color:var(--red); font-weight:600; font-size:.9rem; margin-bottom:10px; display:block; }
.section-head p{ margin-top:12px; }

/* =================================================
   SERVICES — technical directory list, not cards
   ================================================= */
.service-directory{ border-top:1px solid var(--line-strong); }
.service-row{
  display:grid; grid-template-columns:64px 1fr auto; gap:28px; align-items:center;
  padding:28px 0; border-bottom:1px solid var(--line-strong);
  transition:background-color .15s ease;
}
.service-row:hover{ background:var(--blue-tint); }
.service-mark{
  width:52px; height:52px; border:1.5px solid var(--line-strong); border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; color:var(--blue); flex:none;
}
.service-mark svg{ width:26px; height:26px; }
.service-body h3{ margin-bottom:4px; }
.service-body h3 a{ color:var(--ink); }
.service-row:hover .service-body h3 a{ color:var(--blue); }
.service-body p{ margin:0; font-size:.95rem; }
.service-go{ color:var(--muted); font-family:var(--font-head); font-weight:600; font-size:.85rem; white-space:nowrap; }
.service-row:hover .service-go{ color:var(--red); }
@media (max-width:640px){
  .service-row{ grid-template-columns:44px 1fr; }
  .service-go{ display:none; }
}

/* =================================================
   PROCESS — genuine sequence, numbered
   ================================================= */
.process-list{ counter-reset:step; display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.process-step{
  position:relative; padding:28px 24px 0 0; border-top:2px solid var(--line-strong);
}
.process-step::before{
  counter-increment:step; content:counter(step, decimal-leading-zero);
  font-family:var(--font-head); font-size:.85rem; color:var(--red); font-weight:700; display:block; margin-bottom:14px;
}
@media (max-width:860px){
  .process-list{ grid-template-columns:1fr 1fr; gap:32px 24px; }
}
@media (max-width:520px){
  .process-list{ grid-template-columns:1fr; }
}

/* =================================================
   ABOUT / CAPABILITIES
   ================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.capability-list li{
  display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--line);
  font-family:var(--font-head); font-weight:500; font-size:.98rem;
}
.capability-list li span:last-child{ color:var(--muted); font-family:var(--font-body); font-weight:400; text-align:right; }
@media (max-width:800px){ .about-grid{ grid-template-columns:1fr; gap:36px; } }

/* =================================================
   INDUSTRIES
   ================================================= */
.tag-row{ display:flex; flex-wrap:wrap; gap:12px; }
.tag{
  border:1.5px solid var(--line-strong); border-radius:999px; padding:9px 18px;
  font-size:.9rem; font-weight:500; color:var(--ink);
}

/* =================================================
   TESTIMONIAL / CTA BAND
   ================================================= */
.cta-band{ background:var(--blue); color:#fff; padding:64px 0; }
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; margin-bottom:6px; }
.cta-band p{ color:#D9EAF4; margin:0; }
.cta-band .btn-primary{ background:var(--red); }
.cta-band .btn-outline{ border-color:rgba(255,255,255,.5); color:#fff; }
.cta-band .btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

/* =================================================
   CONTACT
   ================================================= */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; }
.contact-info-item{ padding:18px 0; border-bottom:1px solid var(--line); }
.contact-info-item h4{ margin-bottom:4px; font-size:.85rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-family:var(--font-body); font-weight:600; }
.contact-info-item div{ font-family:var(--font-head); font-weight:600; font-size:1.05rem; }

.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line-strong); border-radius:var(--radius);
  font-family:var(--font-body); font-size:.95rem; color:var(--ink); background:#fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color:var(--blue); outline:none; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
.hp-field{ position:absolute; left:-9999px; }
.form-notice{ padding:14px 16px; border-radius:var(--radius); margin-bottom:20px; font-size:.92rem; font-weight:500; }
.form-notice.success{ background:#E6F4EA; color:#1E6B34; border:1px solid #BFE3C8; }
.form-notice.error{ background:#FBEAEA; color:#A32C27; border:1px solid #F0C2C0; }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } .form-grid{ grid-template-columns:1fr; } }

/* =================================================
   TOP BAR
   ================================================= */
.top-bar{ background:var(--ink); color:#9FB0BC; font-size:.82rem; }
.top-bar-inner{ display:flex; justify-content:space-between; align-items:center; height:38px; }
.top-bar a{ color:#C9D5DD; }
.top-bar a:hover{ color:#fff; }
.top-bar .sep{ margin:0 10px; color:#4C5C68; }
.top-bar-right{ display:flex; gap:16px; }
@media (max-width:760px){ .top-bar-inner{ flex-wrap:wrap; height:auto; padding:8px 0; gap:6px; } .top-bar-right{ display:none; } }

/* =================================================
   DROPDOWN NAV
   ================================================= */
.has-dropdown{ position:relative; }
.has-dropdown > a::after{ content:"\25BE"; font-size:.7em; margin-left:5px; opacity:.7; }
.dropdown{
  position:absolute; top:100%; left:0; min-width:230px; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 14px 28px rgba(22,35,46,.1);
  padding:8px; opacity:0; visibility:hidden; transform:translateY(6px); transition:.15s ease; z-index:60;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown li a{ display:block; padding:10px 12px; border-radius:4px; border-bottom:none !important; font-size:.9rem; }
.dropdown li a:hover{ background:var(--blue-tint); color:var(--blue); }
@media (max-width:900px){
  .dropdown{ position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none; padding:0 0 0 16px; display:none; }
  .has-dropdown.is-expanded .dropdown{ display:block; }
  .has-dropdown > a::after{ float:right; }
}

/* =================================================
   WHY CHOOSE US
   ================================================= */
.reasons-list{ display:flex; flex-direction:column; gap:22px; }
.reason{ display:flex; gap:16px; align-items:flex-start; }
.reason-num{
  font-family:var(--font-head); font-weight:700; color:var(--red); font-size:.85rem;
  width:34px; height:34px; border:1.5px solid var(--line-strong); border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex:none;
}
.reason h3{ margin-bottom:4px; font-size:1.02rem; }
.reason p{ margin:0; font-size:.93rem; }

/* =================================================
   INDUSTRY CARDS
   ================================================= */
.industry-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-strong); border:1px solid var(--line-strong); }
.industry-card{ background:#fff; padding:28px; }
.industry-card .service-mark{ margin-bottom:16px; }
.industry-card h3{ font-size:1rem; margin-bottom:6px; }
.industry-card p{ font-size:.9rem; margin:0; }
@media (max-width:820px){ .industry-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .industry-grid{ grid-template-columns:1fr; } }

/* =================================================
   TESTIMONIALS
   ================================================= */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testimonial-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.testimonial-stars{ color:var(--red); font-size:.85rem; letter-spacing:2px; margin-bottom:14px; }
.testimonial-card p.quote{ font-size:.95rem; color:var(--ink); margin-bottom:20px; }
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.avatar-circle{
  width:40px; height:40px; border-radius:50%; background:var(--blue-tint); color:var(--blue);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; flex:none;
}
.testimonial-person strong{ display:block; font-size:.92rem; }
.testimonial-person span{ display:block; font-size:.8rem; color:var(--muted); }
.sample-flag{ display:inline-block; margin-top:6px; font-size:.72rem; color:var(--red); font-weight:600; letter-spacing:.03em; text-transform:uppercase; }
@media (max-width:900px){ .testimonial-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .testimonial-grid{ grid-template-columns:1fr; } }

/* =================================================
   CLIENT LOGO STRIP
   ================================================= */
.logo-strip{ display:flex; flex-wrap:wrap; gap:16px; }
.logo-slot{
  flex:1 1 150px; height:76px; border:1.5px dashed var(--line-strong); border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:.82rem; text-align:center; padding:8px;
}

/* =================================================
   FAQ
   ================================================= */
.faq-list{ max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; padding:20px 0; font-family:var(--font-head); font-weight:600; font-size:1rem;
  display:flex; justify-content:space-between; align-items:center; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color:var(--blue); font-weight:400; }
.faq-item[open] summary::after{ content:"\2212"; }
.faq-item p{ padding-bottom:20px; margin:0; max-width:70ch; }

/* =================================================
   MAP
   ================================================= */
.map-embed{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.map-embed iframe{ width:100%; height:320px; border:0; display:block; }

.page-header{ padding:56px 0 44px; border-bottom:1px solid var(--line); background:var(--mist); }
.page-header .section-kicker{ display:block; }
.breadcrumb{ font-size:.85rem; color:var(--muted); margin-bottom:14px; }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--blue); }

/* =================================================
   FOOTER
   ================================================= */
.site-footer{ background:var(--ink); color:#B9C4CD; padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; margin-bottom:48px; }
.footer-brand img{ height:38px; margin-bottom:14px; filter:brightness(0) invert(1); }
.footer-brand p{ color:#8FA0AC; font-size:.92rem; max-width:32ch; }
.footer-col h4{ color:#fff; font-family:var(--font-head); font-size:.92rem; margin-bottom:16px; letter-spacing:.02em; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color:#B9C4CD; font-size:.92rem; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.82rem; color:#7E8E99;
}
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }

/* =================================================
   404 / misc
   ================================================= */
.not-found{ padding:120px 0; text-align:left; }
.not-found .big{ font-family:var(--font-head); font-size:6rem; color:var(--blue-tint); font-weight:700; line-height:1; }

/* Skip link */
.skip-link{
  position:absolute; left:-9999px; top:0; background:#fff; color:var(--ink); padding:12px 18px; z-index:100;
}
.skip-link:focus{ left:16px; top:16px; }
