/*
Theme Name: Suvarna Global
Theme URI: https://suvarnaglobal.com
Author: Suvarna Global
Author URI: https://suvarnaglobal.com
Description: Custom WordPress theme for Suvarna Global - Web Design, WordPress Development & Meta Ads agency. Modern dark hero, gradient accents, responsive service and portfolio sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: suvarna-global
*/

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */
:root {
  --color-navy: #10182d;
  --color-navy-alt: #111a33;
  --color-blue: #3b82f6;
  --color-purple: #8b5cf6;
  --gradient-primary: linear-gradient(90deg, var(--color-blue), var(--color-purple));
  --color-light-bg: #f8f9fc;
  --color-white: #ffffff;
  --color-heading-dark: #1f2937;
  --color-text-gray: #6b7280;
  --color-text-light: #e5e7eb;
  --color-icon-bg: #eef1ff;
  --color-border: #e5e7eb;
  --color-whatsapp: #25d366;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);

  --container-width: 1280px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-heading-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--color-heading-dark); }

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  width: auto;
  height: auto;
  clip: auto;
  overflow: visible;
}

.site-branding-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-branding-text {
  display: flex;
  flex-direction: column;
}

.mobile-menu-cta {
  margin-top: var(--space-lg);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-xs);
}

.section-heading {
  text-align: center;
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: var(--space-xs);
}

.page-header-section {
  background: var(--color-navy);
  padding: 64px 0;
  text-align: center;
}

.page-header-title {
  color: var(--color-white);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.page-header-subtext {
  color: var(--color-text-gray);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.page-editor-content {
  padding: var(--space-lg) 0 0;
}

.section-subtext {
  text-align: center;
  color: var(--color-text-gray);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  font-size: 16px;
}

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

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-heading-dark);
  border: 1px solid var(--color-border);
}

.btn-outline-dark:hover {
  background: var(--color-white);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.btn-link {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link:hover { color: var(--color-purple); }

.btn-block { width: 100%; }

/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  background: var(--color-navy);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

body.menu-open {
  overflow: hidden;
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
}

.site-branding { grid-column: 1; }

.main-navigation { grid-column: 2; justify-self: center; }

.header-cta,
.menu-toggle {
  grid-column: 3;
  justify-self: end;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: block;
  flex-shrink: 0;
}

.site-title {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.site-tagline {
  color: var(--color-text-gray);
  font-size: 12px;
}

.main-navigation {
  display: flex;
}

.main-navigation ul {
  display: flex;
  gap: var(--space-md);
}

.main-navigation a {
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.header-cta { display: block; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--color-white);
  font-size: 24px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  z-index: 1000;
  padding: var(--space-lg) var(--space-md);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.is-open { display: block; }

.mobile-menu-drawer ul { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-lg); }

.mobile-menu-drawer a { color: var(--color-white); font-size: 18px; font-weight: 600; }

.mobile-menu-close { color: var(--color-white); font-size: 28px; align-self: flex-end; }

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  background: var(--color-navy);
  padding: 60px 0 var(--space-xl);
  overflow: hidden;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content { min-width: 0; }

.hero-badge {
  display: inline-block;
  max-width: 100%;
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  white-space: normal;
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: var(--space-md);
  overflow-wrap: break-word;
}

.hero-description {
  color: var(--color-text-gray);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.hero-feature-item .icon {
  width: 16px;
  height: 16px;
  color: var(--color-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-item .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media { position: relative; }

.hero-media img { width: 100%; height: auto; }

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */
.services-section { background: var(--color-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-icon-bg);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 26px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.service-title {
  font-size: 18px;
  margin-bottom: var(--space-xs);
}

.service-description {
  font-size: 14px;
  color: var(--color-text-gray);
  margin-bottom: var(--space-sm);
}

/* Mobile stacked list version */
.services-list-panel {
  display: none;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.service-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

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

.service-row .service-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  flex-shrink: 0;
  font-size: 18px;
}

.service-row .service-icon svg {
  width: 20px;
  height: 20px;
}

.service-row-content { flex: 1; }

.service-row-content .service-title { font-size: 15px; margin-bottom: 2px; }

.service-row .btn-link { font-size: 13px; white-space: nowrap; }

/* Services detail page (page-services.php) */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.service-detail-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.service-detail-row:last-child { border-bottom: none; padding-bottom: 0; }

.service-detail-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-icon-bg);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.service-detail-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.service-detail-content { flex: 1; min-width: 0; }

.service-detail-title { font-size: 22px; margin-bottom: var(--space-xs); }

.service-detail-description {
  color: var(--color-text-gray);
  margin-bottom: var(--space-sm);
}

.service-detail-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.service-detail-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-heading-dark);
}

.service-detail-points .icon {
  color: var(--color-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
}

.service-detail-points .icon svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   7. FEATURED PROJECTS / PORTFOLIO SECTION
   ========================================================================== */
.projects-section { background: var(--color-light-bg); }

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.projects-header .heading-block { text-align: left; }

.projects-header .section-heading,
.projects-header .eyebrow { text-align: left; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.project-card:hover { box-shadow: var(--shadow-md); }

.project-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img { transform: scale(1.06); }

.project-info { padding: var(--space-sm) var(--space-md) var(--space-md); }

.project-title { font-size: 17px; margin-bottom: 2px; }

.project-category {
  font-size: 13px;
  color: var(--color-text-gray);
  margin-bottom: var(--space-xs);
}

/* Portfolio page filters */
.portfolio-filter-section { padding: var(--space-md) 0 0; }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}

.filter-btn {
  padding: 10px 20px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover { border-color: var(--color-blue); color: var(--color-blue); }

.filter-btn.is-active {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: transparent;
}

.portfolio-empty-message {
  text-align: center;
  color: var(--color-text-gray);
  padding: var(--space-lg) 0;
}

/* About page */
.about-story-section { background: var(--color-white); }

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.about-story-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-story-content p {
  color: var(--color-text-gray);
  margin-bottom: var(--space-sm);
}

.about-values-section { background: var(--color-light-bg); }

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* Testimonials page */
.testimonials-section { background: var(--color-light-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.testimonial-rating { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }

.testimonial-quote {
  color: var(--color-heading-dark);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}

.testimonial-quote .quote-mark {
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 800;
  margin-right: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

.testimonial-author-info { display: flex; flex-direction: column; min-width: 0; }

.testimonial-name { font-size: 14px; font-weight: 700; }

.testimonial-role { font-size: 12px; color: var(--color-text-gray); }

/* Contact page */
.contact-info-section { background: var(--color-white); padding-top: var(--space-lg); }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.contact-info-card {
  display: block;
  background: var(--color-light-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.contact-info-card .service-icon { margin-bottom: var(--space-xs); }

.contact-info-card .service-title { font-size: 15px; margin-bottom: 4px; }

.contact-info-card .service-description {
  font-size: 13px;
  margin-bottom: 0;
  word-break: break-word;
}

.contact-form-section { background: var(--color-light-bg); }

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-form-intro p { color: var(--color-text-gray); margin-bottom: var(--space-sm); }

.contact-form-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-form-points .icon {
  color: var(--color-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
}

.contact-form-points .icon svg { width: 100%; height: 100%; display: block; }

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

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

.form-group {
  margin-bottom: var(--space-sm);
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-heading-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-heading-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--space-sm);
  font-size: 14px;
  text-align: center;
}

.form-status-success,
.form-status-error {
  margin: 0 0 var(--space-md);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.form-status-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-map-section { padding: 0; }

.contact-map-wrapper { line-height: 0; }

.contact-map-wrapper iframe {
  width: 100%;
  height: 400px;
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   7B. PRICING SECTION
   ========================================================================== */
.pricing-section { background: var(--color-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card-popular {
  border-color: transparent;
  box-shadow: 0 20px 45px -15px rgba(59, 130, 246, 0.35);
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--gradient-primary) border-box;
  border: 2px solid transparent;
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pricing-plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-heading-dark);
  margin-bottom: 4px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.pricing-amount {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-heading-dark);
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--color-text-gray);
}

.pricing-desc {
  color: var(--color-text-gray);
  font-size: 14px;
  margin-bottom: var(--space-md);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-heading-dark);
}

.pricing-features .icon {
  width: 16px;
  height: 16px;
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features .icon svg { width: 100%; height: 100%; display: block; }

.pricing-card .btn-block { width: 100%; justify-content: center; }


.stats-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--color-border);
  padding: 0 var(--space-sm);
}

.stat-item:last-child { border-right: none; }

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-icon-bg);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.stat-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-heading-dark);
}

.stat-label { font-size: 13px; color: var(--color-text-gray); }

/* ==========================================================================
   9. CTA SECTION
   ========================================================================== */
.cta-wrapper { padding: 0; }

.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  border-radius: var(--radius-lg);
}

.cta-section .section-heading,
.cta-section .section-subtext { color: var(--color-white); }

.cta-section .section-subtext { opacity: 0.9; }

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-navy);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--color-navy);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 15px;
  margin-bottom: var(--space-sm);
}

.footer-col p,
.footer-col a {
  color: var(--color-text-gray);
  font-size: 14px;
  line-height: 2;
}

.footer-col a:hover { color: var(--color-blue); }

.footer-social {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--gradient-primary);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 13px;
  color: var(--color-text-gray);
}

/* ==========================================================================
   11. MOBILE BOTTOM CONTACT BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  padding: 10px var(--space-sm);
  align-items: center;
  justify-content: space-between;
  z-index: 998;
}

.bottom-bar-link {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--color-heading-dark);
  font-weight: 500;
  white-space: nowrap;
}

.bottom-bar-link .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-bar-link .icon svg { width: 100%; height: 100%; display: block; }

.bottom-bar-cta {
  flex: 0 0 auto;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 72px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
}

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

/* ==========================================================================
   11b. SCROLL-REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   12. RESPONSIVE — TABLET (≤1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  .container { padding: 0 32px; }

  .main-navigation,
  .header-cta { display: none; }

  .menu-toggle { display: flex; }

  .hero-section .container { grid-template-columns: 1fr; text-align: center; }

  .hero-description { margin-left: auto; margin-right: auto; }

  .hero-actions { justify-content: center; }

  .hero-features { justify-content: center; }

  .hero-media { display: none; }

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

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

  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }

  .pricing-card-popular { transform: none; }


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

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

  .about-story-media { order: -1; }

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

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

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

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

/* ==========================================================================
   13. RESPONSIVE — MOBILE (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root { --space-xl: 56px; }

  .container { padding: 0 20px; }

  .hero-title { font-size: 32px; }

  .hero-actions { flex-direction: column; }

  .hero-actions .btn { width: 100%; }

  .hero-features { grid-template-columns: repeat(4, 1fr); display: grid; gap: var(--space-sm); text-align: center; }

  .hero-feature-item { flex-direction: column; font-size: 11px; }

  .section-heading { font-size: 26px; }

  .services-grid { display: none; }

  .services-list-panel { display: block; }

  .projects-header { flex-direction: column; align-items: center; gap: var(--space-sm); text-align: center; }

  .projects-header .heading-block,
  .projects-header .section-heading,
  .projects-header .eyebrow { text-align: center; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-md); }

  .stat-item:nth-child(2n) { border-right: none; }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-sm); }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }

  .footer-social { justify-content: center; }

  .mobile-bottom-bar { display: flex; }

  .whatsapp-float { display: flex; bottom: 76px; }

  body { padding-bottom: 76px; }

  .page-header-section { padding: 48px 0; }

  .service-detail-row { flex-direction: column; }

  .service-detail-icon { margin-bottom: 4px; }

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

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

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

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

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

  .contact-map-wrapper iframe { height: 280px; }
}

/* ==========================================================================
   14. RESPONSIVE — SMALL MOBILE (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
  .service-row { flex-wrap: wrap; }

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

  .stat-item { border-right: none !important; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-sm); }

  .stat-item:last-child { border-bottom: none; }

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

  .bottom-bar-link span:last-child { font-size: 10px; }

  .bottom-bar-cta { padding: 10px 14px; font-size: 12px; }
}
