/*
Theme Name: Pixolith Creative
Theme URI: https://pixolithmedia.com
Author: Pixolith Media
Author URI: https://pixolithmedia.com
Description: Custom theme for Pixolith Creative — Rio Grande Valley AI-powered creative studio.
Version: 1.0
License: Proprietary
Text Domain: pixolith-creative
*/

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:   #0D0D0D;
  --red:    #FF4D1C;
  --teal:   #1A9EAF;
  --teal2:  #1A7A8A;
  --white:  #FFFFFF;
  --offwhite: #F5F5F0;
  --gray:   #888780;
  --gray2:  #5F5E5A;
  --gray3:  #2A2A28;
  --border: #1F1F1F;
  --font:   'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray2);
  margin-bottom: 0.75rem;
}

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; border-top: 0.5px solid var(--border); }

/* ── NAVIGATION ────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.96);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo .tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-size: 13px;
  color: var(--red);
  border: 0.5px solid rgba(255,77,28,0.5);
  padding: 6px 16px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--red); color: var(--white); }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero { padding: 5rem 0 4rem; }
.hero-badge {
  display: inline-block;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255,77,28,0.12);
  border: 0.5px solid rgba(255,77,28,0.3);
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 3.5rem; }
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; color: var(--white); }
.btn-secondary {
  display: inline-block;
  color: var(--gray);
  border: 0.5px solid var(--border);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gray); color: var(--white); }

/* ── STATS BAR ─────────────────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.stat {
  padding: 1.25rem 1.5rem;
  border-right: 0.5px solid var(--border);
  background: #111;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 2px;
}
.stat-label { font-size: 12px; color: var(--gray2); }

/* ── TRUST BAR ─────────────────────────────────────────────────────────── */
.trust-bar { padding: 1.5rem 0; border-top: 0.5px solid var(--border); margin-top: 3rem; }
.trust-bar p { font-size: 11px; color: var(--gray3); letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.trust-tags { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-tags span { font-size: 13px; color: var(--gray2); }

/* ── SERVICE CARDS ─────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  background: #111;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.service-icon {
  width: 32px; height: 32px;
  background: rgba(255,77,28,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card h3 { color: var(--white); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--gray2); line-height: 1.6; margin-bottom: 1rem; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray);
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* ── PORTFOLIO ─────────────────────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 2rem; }
.portfolio-card {
  background: #111;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.portfolio-thumb {
  height: 160px;
  background: #161616;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb .play-btn {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,77,28,0.9);
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb .play-btn svg { margin-left: 3px; }
.portfolio-info { padding: 1rem; }
.portfolio-badge {
  display: inline-block;
  font-size: 10px; padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,77,28,0.1);
  color: var(--red);
  margin-bottom: 6px;
}
.portfolio-card h3 { font-size: 14px; color: var(--white); margin-bottom: 3px; }
.portfolio-card p { font-size: 12px; color: var(--gray2); }
.portfolio-cta { text-align: center; }
.btn-outline {
  display: inline-block;
  font-size: 13px;
  color: var(--red);
  border: 0.5px solid rgba(255,77,28,0.4);
  padding: 7px 20px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,77,28,0.08); color: var(--red); }

/* ── PRICING ───────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pricing-card {
  background: #111;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
}
.pricing-card.featured { border: 2px solid var(--red); }
.pricing-popular {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 10px; font-weight: 500;
  padding: 3px 14px;
  border-radius: 0 0 6px 6px;
  white-space: nowrap;
}
.pricing-tier { font-size: 12px; color: var(--gray); margin-bottom: 6px; margin-top: 12px; }
.pricing-price {
  font-size: 2.2rem; font-weight: 500;
  color: var(--white); margin-bottom: 2px;
}
.pricing-price span { font-size: 14px; color: var(--gray); font-weight: 400; }
.pricing-divider {
  border: none; border-top: 0.5px solid var(--border);
  margin: 1rem 0;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray);
}
.pricing-features li::before {
  content: '';
  width: 14px; height: 14px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,77,28,0.12);
  border: 0.5px solid rgba(255,77,28,0.3);
  margin-top: 3px;
}
.pricing-card .btn-primary { width: 100%; text-align: center; margin-top: 1.5rem; }
.pricing-card .btn-outline { width: 100%; text-align: center; margin-top: 1.5rem; }

/* ── HOW IT WORKS ──────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%; border: 0.5px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--red); font-weight: 500;
}
.step h3 { color: var(--white); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray2); line-height: 1.6; }

/* ── ABOUT ─────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--gray); margin-bottom: 1rem; font-size: 15px; line-height: 1.8; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 1.5rem; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray); }
.about-list li::before { content: '→'; color: var(--red); flex-shrink: 0; }
.about-badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-badge {
  background: #111; border: 0.5px solid var(--border);
  border-radius: 8px; padding: 1rem;
}
.about-badge .num { font-size: 1.8rem; font-weight: 500; color: var(--red); }
.about-badge .label { font-size: 12px; color: var(--gray2); }

/* ── CONTACT ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray); font-size: 15px; margin-bottom: 1.5rem; line-height: 1.8; }
.contact-detail { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.contact-detail svg { flex-shrink: 0; }
.contact-detail span { font-size: 13px; color: var(--gray); }
.contact-form {
  background: #111;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #161616;
  border: 0.5px solid var(--gray3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.2s;
}
.contact-form button:hover { opacity: 0.88; }
/* ── CONTACT FORM 7 OVERRIDES ──────────────────────────────────────────── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  background: #161616;
  border: 0.5px solid var(--gray3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  margin-bottom: 8px;
}
.wpcf7 input[type="submit"] {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}
.wpcf7 input[type="submit"]:hover { opacity: 0.88; }
/* ── FOOTER ────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 2rem 0;
  border-top: 0.5px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-logo { display: flex; align-items: baseline; gap: 8px; }
.footer-logo .name { font-size: 14px; font-weight: 500; color: var(--gray2); }
.footer-logo .tag { font-size: 9px; letter-spacing: 0.15em; color: var(--gray3); }
.footer-copy { font-size: 11px; color: var(--gray3); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: 12px; color: var(--gray3); transition: color 0.2s; }
.footer-social a:hover { color: var(--teal); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 0.5px solid var(--border); }
  .nav-links { display: none; }
  .about-badge-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-inner { padding: 1rem; }
  .hero { padding: 3rem 0; }
}
/* ── NAV FIX ───────────────────────────────────────────────────────────── */
.site-nav {
  width: 100%;
}
.site-nav .nav-inner {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}
.nav-logo {
  margin-right: auto;
  flex-shrink: 0;
}
.nav-links {
  margin-left: auto;
  flex-shrink: 0;
}