/*
Theme Name: TechiQ Consulting
Theme URI: https://techiqcs.com
Author: TechiQ Consulting Services Private Limited
Author URI: https://techiqcs.com
Description: Light, clean, professional theme for TechiQ Consulting Services — Salesforce Marketing Cloud, Salesforce CRM, GoHighLevel and AI automation consulting.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0.1
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: techiq
*/

/* ============ Tokens ============ */
:root {
  --navy: #16243d;
  --navy-deep: #0e1930;
  --ink: #22314e;
  --slate: #5b6b85;
  --orange: #ee7623;
  --orange-soft: #fdeee0;
  --cloud: #f6f8fb;
  --line: #e4e9f1;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 36, 61, 0.08);
  --shadow-sm: 0 4px 14px rgba(22, 36, 61, 0.06);
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); }

.section { padding: 88px 0; }
.section.alt { background: var(--cloud); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--slate); margin-top: 12px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; font-family: var(--font-display);
  font-weight: 600; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(238, 118, 35, 0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(238, 118, 35, 0.4); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.site-logo img { height: 46px; width: auto; }
.main-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.main-nav a {
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 500;
  color: var(--navy); text-decoration: none;
}
.main-nav a:hover { color: var(--orange); }
.main-nav .nav-cta a { background: var(--navy); color: #fff; padding: 10px 22px; border-radius: 999px; }
.main-nav .nav-cta a:hover { background: var(--orange); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(238, 118, 35, 0.10), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(22, 36, 61, 0.07), transparent 60%),
    var(--white);
  padding: 96px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .kicker {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 18px; display: block;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead { color: var(--slate); font-size: 1.12rem; margin: 22px 0 32px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero side panel — the "stack card" signature */
.stack-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 34px 30px;
  color: #dbe4f2;
  box-shadow: var(--shadow);
  position: relative;
}
.stack-card::after {
  content: ""; position: absolute; inset: 10px -10px -10px 10px;
  border: 2px solid var(--orange); border-radius: 20px; z-index: -1; opacity: 0.5;
}
.stack-card h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.stack-card ul { list-style: none; }
.stack-card li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.09);
  font-size: 0.96rem;
}
.stack-card li:last-child { border-bottom: none; }
.stack-card li::before { content: "▸"; color: var(--orange); font-size: 0.85rem; }
.stack-card li strong { color: #fff; font-weight: 600; }

/* ============ Trust strip ============ */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); padding: 22px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px 34px; flex-wrap: wrap; }
.trust span.label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.trust .chip {
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--navy);
  background: var(--cloud); border: 1px solid var(--line); padding: 7px 16px; border-radius: 999px;
}

/* ============ Services ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(238, 118, 35, 0.45); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.95rem; flex: 1; }
.card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.card .tags span {
  font-size: 0.74rem; font-weight: 600; color: var(--navy);
  background: var(--cloud); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px;
}

/* ============ Why ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-item { border-left: 3px solid var(--orange); padding-left: 20px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--slate); font-size: 0.93rem; }

/* ============ Process ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--orange); letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 0.92rem; }

/* ============ CTA band ============ */
.cta-band { background: linear-gradient(115deg, var(--navy-deep), var(--navy) 60%, #23375c); border-radius: 24px; padding: 60px 48px; color: #d9e2f0; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; color: #b9c6da; }
.cta-band .btn-primary { justify-self: start; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-actions .mail { color: #fff; font-family: var(--font-display); font-weight: 600; }

/* ============ Contact form ============ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--slate); margin-bottom: 22px; }
.contact-info .detail { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.contact-info .detail strong { color: var(--navy); min-width: 84px; font-family: var(--font-display); font-weight: 600; }
.tq-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.tq-form .field { margin-bottom: 18px; }
.tq-form label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--navy); margin-bottom: 7px; }
.tq-form input[type="text"],
.tq-form input[type="email"],
.tq-form input[type="tel"],
.tq-form select,
.tq-form textarea {
  width: 100%; padding: 13px 15px; font-family: var(--font-body); font-size: 0.96rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cloud); color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tq-form input:focus, .tq-form textarea:focus, .tq-form select:focus { border-color: var(--orange); background: #fff; outline: none; }
.tq-form textarea { min-height: 130px; resize: vertical; }
.form-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.94rem; }
.form-notice.success { background: #e8f7ee; color: #1c6b3c; border: 1px solid #bfe6cd; }
.form-notice.error { background: #fdecec; color: #a13030; border: 1px solid #f2c4c4; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: #a9b7cd; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-grid img { height: 40px; width: auto; margin-bottom: 16px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a { color: #a9b7cd; }
.footer-grid a:hover { color: var(--orange); }
.footer-legal { font-size: 0.82rem; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #7d8ca3; }

/* ============ Blog / generic pages ============ */
.page-wrap { padding: 72px 0; }
.entry-content { max-width: 760px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 18px; color: var(--ink); }
.entry-content h2, .entry-content h3 { margin: 32px 0 14px; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cards, .why-grid, .process-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0; }
  .main-nav li { padding: 12px 24px; }
  .main-nav .nav-cta a { display: inline-block; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .cta-band { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ WhatsApp floating button ============ */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55); text-decoration: none; }
@media (max-width: 700px) {
  .whatsapp-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
