/*
Theme Name: Texas Internet Pro
Theme URI: https://yoursite.com
Author: Your Company
Author URI: https://yoursite.com
Description: High-converting WordPress theme for Texas home internet & cable services. Built for Google Ads call campaigns with click-to-call CTAs, trust signals, and lightning-fast performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: texas-internet-pro
Tags: business, internet-services, call-to-action, conversion-optimized, responsive
*/

/* =============================================
   DESIGN DIRECTION: Industrial Texas Boldness
   - Deep navy + electric signal orange
   - Tight geometric grid, no fluff
   - Every section drives a phone call
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600&display=swap');

/* ─── CSS Variables ─── */
:root {
  --navy:       #0B1929;
  --navy-mid:   #112238;
  --navy-light: #1A3452;
  --orange:     #FF5C00;
  --orange-hot: #FF7A2E;
  --white:      #FFFFFF;
  --off-white:  #F5F3EE;
  --gray:       #8A9BB0;
  --gray-light: #D6DDE8;
  --green:      #22C55E;
  --red:        #EF4444;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-card: 0 4px 24px rgba(0,0,0,.18);
  --shadow-btn:  0 4px 16px rgba(255,92,0,.35);

  --max-w: 1160px;
  --section-pad: 80px 20px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section-pad { padding: var(--section-pad); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; letter-spacing: .04em; }
p  { font-size: 1rem; color: var(--gray); line-height: 1.7; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.accent { color: var(--orange); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--orange-hot); box-shadow: 0 6px 24px rgba(255,92,0,.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-lg { font-size: 1.25rem; padding: 20px 42px; }
.btn-icon { font-size: 1.3em; }

/* ─── Sticky CTA Bar ─── */
.sticky-cta {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta__text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .04em;
}
.sticky-cta__text span { color: var(--orange); }
.sticky-cta__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .03em;
  white-space: nowrap;
}
.sticky-cta__phone .phone-icon { color: var(--orange); font-size: 1.4rem; }

/* ─── Header / Nav ─── */
.site-header {
  background: var(--navy);
  padding: 0 20px;
  position: relative;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.site-logo span { color: var(--orange); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-light);
  transition: color .15s;
}
.main-nav a:hover { color: var(--orange); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  white-space: nowrap;
  background: var(--orange);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  transition: background .15s;
}
.header-phone:hover { background: var(--orange-hot); color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* ─── Hero Section ─── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 20px 90px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(255,92,0,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(17,34,56,.8) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,92,0,.04) 0%, rgba(255,92,0,.01) 100%);
  border-left: 1px solid rgba(255,92,0,.15);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
/* Animated signal lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-lines::before,
.hero-lines::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 300px;
  background: linear-gradient(90deg, transparent, rgba(255,92,0,.4), transparent);
  animation: signal 4s ease-in-out infinite;
}
.hero-lines::before { top: 30%; left: -300px; animation-delay: 0s; }
.hero-lines::after  { top: 60%; left: -300px; animation-delay: 2s; }
@keyframes signal {
  0%   { transform: translateX(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(200vw); opacity: 0; }
}

.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,92,0,.15);
  border: 1px solid rgba(255,92,0,.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange-hot);
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.7); }
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange); display: block; }
.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-light);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray);
}
.hero-trust-item svg { color: var(--green); flex-shrink: 0; }

/* Hero right: promo card */
.hero-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,92,0,.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
}
.hero-card-tag {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 12px;
}
.hero-card-promo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-card-sub {
  font-size: .95rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.plan-list { margin-bottom: 24px; }
.plan-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.plan-item:last-child { border-bottom: none; }
.plan-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.plan-speed { font-size: .82rem; color: var(--gray); }
.plan-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
}
.plan-price span { font-size: .7rem; font-weight: 400; color: var(--gray); }
.hero-card .btn { width: 100%; justify-content: center; }

/* ─── Trust Bar ─── */
.trust-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,92,0,.2);
  border-bottom: 1px solid rgba(255,92,0,.2);
  padding: 22px 20px;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-stat-icon {
  width: 40px; height: 40px;
  background: rgba(255,92,0,.12);
  border: 1px solid rgba(255,92,0,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.trust-stat-lbl {
  font-size: .75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ─── Plans Section ─── */
.plans { background: var(--off-white); padding: var(--section-pad); }
.section-header { margin-bottom: 56px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { max-width: 520px; font-size: 1.05rem; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.plan-card.featured {
  border-color: var(--orange);
  transform: scale(1.04);
}
.plan-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-card-top-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 8px;
}
.plan-card-speed {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-card-speed-unit { font-size: 1rem; color: var(--gray); font-weight: 400; }
.plan-card-price-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin: 16px 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.plan-card-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.plan-card-price-meta { font-size: .82rem; color: var(--gray); line-height: 1.4; }
.plan-card-features { margin-bottom: 24px; }
.plan-card-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--navy);
  padding: 5px 0;
  font-weight: 500;
}
.plan-card-feature .check { color: var(--green); font-size: 1rem; }
.plan-card .btn { width: 100%; justify-content: center; font-size: .95rem; padding: 14px; }

/* ─── Why Us ─── */
.why-us { background: var(--navy); padding: var(--section-pad); }
.why-us h2 { color: var(--white); }
.why-us .section-header p { color: var(--gray); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: rgba(255,92,0,.35);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(255,92,0,.12);
  border: 1px solid rgba(255,92,0,.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card p { font-size: .88rem; color: var(--gray); }

/* ─── Testimonials ─── */
.testimonials { background: var(--off-white); padding: var(--section-pad); }
.testimonials h2 { color: var(--navy); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text {
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}
.author-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 2px;
}
.author-city { font-size: .78rem; color: var(--gray); }

/* ─── Big CTA Section ─── */
.cta-section {
  background: var(--orange);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.04) 20px,
    rgba(255,255,255,.04) 21px
  );
}
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-section h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
}
.cta-section p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 32px; }
.cta-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .03em;
  background: rgba(0,0,0,.18);
  padding: 20px 40px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.4);
  margin-bottom: 16px;
  transition: background .15s;
  text-decoration: none;
}
.cta-phone-big:hover { background: rgba(0,0,0,.28); color: var(--white); }
.cta-note { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ─── FAQ ─── */
.faq { background: var(--off-white); padding: var(--section-pad); }
.faq h2 { color: var(--navy); }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border-bottom: 1.5px solid var(--gray-light);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .03em;
  gap: 12px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .25s;
  font-weight: 400;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ─── Footer ─── */
.site-footer {
  background: var(--navy);
  border-top: 2px solid rgba(255,92,0,.25);
  padding: 60px 20px 30px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; color: var(--gray); max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: .88rem;
  color: var(--gray);
  margin-bottom: 8px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-copy { font-size: .8rem; color: var(--gray); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: var(--gray); transition: color .15s; }
.footer-legal a:hover { color: var(--white); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 20px 60px; min-height: auto; }
  .hero-card { max-width: 480px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card.featured { transform: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy-mid);
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid rgba(255,92,0,.25);
    z-index: 99;
  }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }
  .hero h1 { font-size: 2.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-phone-big { font-size: 1.6rem; padding: 16px 24px; }
  .sticky-cta__text { display: none; }
  .hero-cta-group { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
