/*
Theme Name: OneStop Solar
Theme URI: http://localhost/OneStopSolar
Author: OneStop Solar
Author URI: http://localhost/OneStopSolar
Description: Professional solar energy services theme for OneStop Solar, Sheffield UK. SEO-friendly, mobile-responsive, modern design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onestopsolar
Tags: solar, energy, business, professional, responsive
*/

/* =========================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================= */
:root {
  /* Colors */
  --color-primary: #0A1628;
  --color-primary-light: #132240;
  --color-accent: #FF6B00;
  --color-accent-hover: #E05A00;
  --color-yellow: #FFD700;
  --color-yellow-light: #FFF3B0;
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-light-gray: #EEF0F4;
  --color-mid-gray: #9AA5B4;
  --color-dark: #1A1A2E;
  --color-text: #2D3748;
  --color-text-light: #718096;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A1628 0%, #132240 50%, #1a3a6b 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B00, #FFD700);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0 !important;
  padding-top: 0 !important;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

/* =========================================
   ACCESSIBILITY — SKIP LINK & FOCUS STYLES
   ========================================= */

/* Skip to main content link */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 999999;
  transition: top 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--color-yellow);
  outline-offset: 2px;
}

/* Focus-visible outline for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove default outline when not keyboard navigating */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

p {
  color: var(--color-text);
  line-height: 1.75;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--gray {
  background-color: var(--color-off-white);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white) !important;
}

.text-accent {
  color: var(--color-accent);
}

.section-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* =========================================
   CARDS
   ========================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--dark {
  background: var(--color-primary-light);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.card--glass {
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

/* =========================================
   GRID SYSTEMS
   ========================================= */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  align-items: center;
}

.flex--center {
  justify-content: center;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
  align-items: center;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* =========================================
   ICON BOXES
   ========================================= */
.icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(255, 215, 0, 0.15));
  flex-shrink: 0;
}

.icon-box--lg {
  width: 80px;
  height: 80px;
  font-size: 2.2rem;
  border-radius: var(--radius-lg);
}

/* Card Image Box (replacing icons) */
.card-img-box {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: var(--color-off-white);
  flex-shrink: 0;
  position: relative;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform var(--transition-normal);
}

.card:hover .card-img-box img {
  transform: scale(1.04);
}


/* =========================================
   BADGES & TAGS
   ========================================= */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--green {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.badge--orange {
  background: rgba(255, 107, 0, 0.15);
  color: var(--color-accent);
}

/* =========================================
   DIVIDERS & DECORATORS
   ========================================= */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  margin: var(--space-sm) auto;
}

.divider--left {
  margin-left: 0;
}

/* =========================================
   PAGE HERO (Inner Pages)
   ========================================= */
.page-hero {
  background: var(--gradient-hero);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--color-white);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.2);
  color: var(--color-yellow);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-yellow);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   STAT COUNTERS
   ========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-accent);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-dark);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.stars {
  color: var(--color-yellow);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-light-gray);
  overflow: hidden;
  transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  text-align: left;
  background: none;
  border: none;
  gap: var(--space-sm);
  font-family: var(--font-primary);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.faq-item.active .faq-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-off-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed !important;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 99999 !important;
  transition: all var(--transition-normal);
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: 75px;
  background: var(--color-dark);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

/* =========================================
   GO TO TOP FLOATING BUTTON
   ========================================= */
.go-top-float {
  position: fixed !important;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 99998 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.go-top-float.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.go-top-float:hover {
  background: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.go-top-float svg {
  width: 28px;
  height: 28px;
}

/* =========================================
   PROCESS STEPS
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-yellow));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.step-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* =========================================
   ALERT / INFO BOXES
   ========================================= */
.info-box {
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin: var(--space-md) 0;
}

.info-box--green {
  background: rgba(34, 197, 94, 0.1);
  border-left: 4px solid #22c55e;
}

.info-box--orange {
  background: rgba(255, 107, 0, 0.1);
  border-left: 4px solid var(--color-accent);
}

.info-box--yellow {
  background: rgba(255, 215, 0, 0.15);
  border-left: 4px solid var(--color-yellow);
}

.info-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-box__text h4 {
  margin-bottom: 4px;
}

/* =========================================
   ABOUT PAGE COMPONENTS
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.about-value {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.about-value__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.about-stat-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
}

.about-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
  display: block;
}


/* =========================================
   TEAM CARDS
   ========================================= */
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  margin: 0 auto var(--space-sm);
}

.team-name {
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* =========================================
   CERTIFICATIONS GRID
   ========================================= */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.cert-item {
  text-align: center;
  padding: var(--space-lg);
}

.cert-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.cert-item h4 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.cert-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* =========================================
   CONTACT LAYOUT
   ========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-panel {
  position: sticky;
  top: 100px;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-info-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg,rgba(255,107,0,.12),rgba(255,215,0,.12));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--color-dark);
}

.contact-info-item span,
.contact-info-item small {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: block;
}

.contact-info-item a {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
  background: var(--gradient-hero);
  padding: var(--space-3xl) 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.cta-banner__text h2 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.cta-banner__text p {
  color: rgba(255,255,255,0.8);
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =========================================
   GRANTS HIGHLIGHT
   ========================================= */
.grants-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.grants-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.grants-check-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.9);
}

.grants-saving-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  backdrop-filter: blur(10px);
}

.grants-saving-card__header {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.grants-saving-card__amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.grants-saving-card__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.grants-saving-card__breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.breakdown-value {
  color: var(--color-yellow);
  font-weight: 600;
}

/* =========================================
   FOOTER GRID
   ========================================= */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
}

.footer-col__title {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-yellow);
}

.footer-cta-text {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* =========================================
   STEPS GRID
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  margin-top: var(--space-xl);
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-yellow));
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255,107,0,0.35);
}

.step-title {
  margin-bottom: 6px;
  font-size: 1rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* =========================================
   WHY ITEMS (Why Choose Us section)
   ========================================= */
.why-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-item .icon-box {
  margin: 0 auto var(--space-sm);
}

.why-item h4 {
  margin-bottom: 8px;
  color: var(--color-dark);
}

.why-item p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  max-width: 220px;
  margin: 0 auto;
}


/* =========================================
   SERVICE CARDS
   ========================================= */
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card--featured {
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 40px rgba(255,107,0,0.2);
}


.service-features {
  list-style: none;
  margin: var(--space-md) 0;
  flex: 1;
}

.service-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-light-gray);
}

.service-features li:last-child {
  border-bottom: none;
}

/* =========================================
   RESPONSIVE — TABLET (768px - 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .grants-highlight__inner {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    position: static;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
  }
}

/* =========================================
   RESPONSIVE — MOBILE (< 768px)
   ========================================= */
@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    position: static;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  /* About page */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-panel {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .about-stat-card {
    padding: var(--space-md);
  }

  .about-stat-num {
    font-size: 1.8rem;
  }


  /* Certs */
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  /* CTA banner */
  .cta-banner {
    padding: var(--space-2xl) 0;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .cta-banner__actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  /* Grants highlight */
  .grants-highlight__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-main {
    padding: var(--space-xl) 0;
  }

  /* Float buttons */
  .whatsapp-float {
    bottom: 80px !important;
    right: 14px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }

  .go-top-float {
    bottom: 80px !important;
    left: 14px !important;
    width: 52px !important;
    height: 52px !important;
  }

  .go-top-float svg {
    width: 24px;
    height: 24px;
  }

  /* Hero image */
  .hero__image-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__card-float--1 {
    top: -12px;
    left: -8px;
  }

  .hero__card-float--2 {
    bottom: -12px;
    right: -8px;
  }

  .hero__card-float--3 {
    display: none;
  }

  /* Card img height on mobile — keep enough to see full image */
  .card-img-box {
    height: 200px;
  }

  /* Page hero */
  .page-hero {
    padding: 100px 0 60px;
  }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (< 480px)
   ========================================= */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-panel {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    justify-content: center;
    text-align: center;
  }

  .contact-form {
    padding: var(--space-sm);
  }


}

