/*
Theme Name: Automate IT
Theme URI: https://yourbizupgraded.com
Author: Automate IT
Author URI: https://yourbizupgraded.com
Description: Custom theme for Automate IT - AI-powered business automation agency. Your business, upgraded.
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: automate-it
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  /* Colors */
  --color-bg: #FAFBFD;
  --color-bg-alt: #F0F2F7;
  --color-bg-dark: #0A0E1A;
  --color-bg-dark-alt: #111827;
  --color-text: #1A1F36;
  --color-text-light: #6B7394;
  --color-text-on-dark: #E8ECF4;
  --color-white: #FFFFFF;

  /* Brand Blues */
  --color-primary: #2B4C9B;
  --color-primary-dark: #1E3A7A;
  --color-primary-light: #4A6FD4;
  --color-accent: #00BFFF;
  --color-neon: #4FC3F7;
  --color-neon-glow: rgba(79, 195, 247, 0.4);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0E1A 0%, #111D3A 50%, #0A0E1A 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(43,76,155,0.03) 100%);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

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

  /* Sizes */
  --container-max: 1200px;
  --container-narrow: 900px;
  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 31, 54, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 31, 54, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 31, 54, 0.12);
  --shadow-neon: 0 0 20px var(--color-neon-glow), 0 0 60px rgba(79, 195, 247, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

.section--dark {
  background: var(--gradient-hero);
  color: var(--color-text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-text-on-dark);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__subtitle {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section--dark .section__subtitle {
  color: var(--color-neon);
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(43, 76, 155, 0.3);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

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

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.btn svg,
.btn .btn-icon {
  width: 18px;
  height: 18px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 251, 253, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 54, 0.06);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.site-logo img {
  height: 45px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.main-nav__list a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
}

.main-nav__list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.main-nav__list a:hover::after,
.main-nav__list .current-menu-item a::after {
  width: 100%;
}

.main-nav__list .current-menu-item a {
  color: var(--color-primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-neon);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}

.hero__tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-neon);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

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

.hero__description {
  font-size: 1.15rem;
  color: var(--color-text-on-dark);
  margin-bottom: var(--space-lg);
  max-width: 520px;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(79, 195, 247, 0.15);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--color-text-on-dark);
  font-family: var(--font-display);
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}

.hero__video-placeholder .play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.15);
  border: 2px solid var(--color-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-neon);
}

.hero__video-placeholder .play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--color-neon);
  margin-left: 4px;
}

/* ========================================
   Problem / Solution Section
   ======================================== */
.problem-solution {
  padding: var(--space-3xl) 0;
}

.problem-solution .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.problem-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 31, 54, 0.04);
}

.problem-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.problem-card__icon--red {
  background: rgba(239, 68, 68, 0.1);
}

.problem-card__icon--green {
  background: rgba(34, 197, 94, 0.1);
}

.pain-points {
  list-style: none;
  margin-top: var(--space-md);
}

.pain-points li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-bg-alt);
  font-size: 0.95rem;
}

.pain-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pain-points--problems li::before {
  background: #EF4444;
}

.pain-points--solutions li::before {
  background: #22C55E;
}

.pain-points li:last-child {
  border-bottom: none;
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 31, 54, 0.04);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.95rem;
}

.service-card__features {
  list-style: none;
  margin-top: var(--space-md);
}

.service-card__features li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.service-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ========================================
   Authority / Case Study Section
   ======================================== */
.authority {
  position: relative;
}

.authority__diagram {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 31, 54, 0.04);
}

.audit-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

.audit-step {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  background: var(--color-bg-alt);
  min-width: 160px;
  transition: all var(--transition-base);
}

.audit-step:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.audit-step__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-accent);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.audit-step h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.audit-step p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.audit-arrow {
  font-size: 1.5rem;
  color: var(--color-primary-light);
}

/* ========================================
   Methodology Section
   ======================================== */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.method-step {
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.method-step__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 15px rgba(43, 76, 155, 0.25);
}

.method-step h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.method-step p {
  font-size: 0.9rem;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 31, 54, 0.04);
  transition: all var(--transition-base);
}

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

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.blog-card__content {
  padding: var(--space-md);
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}

.blog-card__content h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.blog-card__content h3 a {
  color: var(--color-text);
}

.blog-card__content h3 a:hover {
  color: var(--color-primary);
}

.blog-card__content p {
  font-size: 0.9rem;
}

.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-sm);
}

.blog-card__read-more:hover {
  gap: 0.75rem;
}

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

.contact-info h3 {
  margin-bottom: var(--space-md);
}

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

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(43, 76, 155, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-calendar {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26, 31, 54, 0.04);
  text-align: center;
}

.contact-calendar h3 {
  margin-bottom: var(--space-sm);
}

.contact-calendar p {
  margin-bottom: var(--space-md);
}

/* Calendar placeholder */
.calendar-embed {
  width: 100%;
  min-height: 400px;
  border: 2px dashed rgba(43, 76, 155, 0.15);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: var(--color-bg-alt);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-2xl) 0 var(--space-lg);
}

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

.footer-brand p {
  color: rgba(232, 236, 244, 0.7);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 320px;
}

.footer-brand .site-logo {
  margin-bottom: var(--space-sm);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(232, 236, 244, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  color: rgba(232, 236, 244, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(232, 236, 244, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(232, 236, 244, 0.4);
}

/* ========================================
   WordPress Specific
   ======================================== */
.wp-block-image img {
  border-radius: var(--border-radius);
}

.entry-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.entry-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.entry-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
}

.page-header p {
  color: var(--color-text-on-dark);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
  font-size: 1.1rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xl) 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.pagination a {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.pagination a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.pagination .current {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design (Mobile-First)
   ======================================== */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__description {
    margin: 0 auto var(--space-lg);
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__media {
    max-width: 500px;
    margin: 0 auto;
  }

  .problem-solution .container {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    gap: var(--space-sm);
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    width: 100%;
  }

  .main-nav__list a {
    font-size: 1.1rem;
    padding: var(--space-xs) 0;
    display: block;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

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

  .audit-flow {
    flex-direction: column;
  }

  .audit-arrow {
    transform: rotate(90deg);
  }

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

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
