/*
Theme Name: ZephyricsStudio
Theme URI: https://zephyricsstudio.com
Author: ZephyricsStudio
Author URI: https://zephyricsstudio.com
Description: A modern, minimal, and tech-inspired dark theme with cyan accents. Mobile-first, SEO-optimized, and Elementor-compatible.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: zephyrics-studio
Tags: dark-theme, tech, modern, portfolio, agency, custom-colors, custom-logo, featured-images, footer-widgets, full-width-template, theme-options

ZephyricsStudio WordPress Theme
A pixel-perfect recreation of the Lovable.ai generated design.
*/

/* ==========================================================================
   CSS VARIABLES - Design Tokens
   ========================================================================== */

:root {
  /* Primary Colors */
  --primary-color: #00D4FF;
  --primary-dark: #00A3FF;
  --primary-glow: rgba(0, 212, 255, 0.4);
  --primary-glow-strong: rgba(0, 212, 255, 0.5);

  /* Background Colors */
  --background-color: #0A0A0B;
  --card-background: #0E0E10;
  --secondary-background: #1B1B1F;
  --muted-background: #232327;

  /* Text Colors */
  --text-color: #FAFAFA;
  --text-muted: #88888F;

  /* Border Colors */
  --border-color: #232327;
  --border-accent: rgba(0, 212, 255, 0.2);
  --border-accent-strong: rgba(0, 212, 255, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-default: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  --text-7xl: 72px;

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-button-glow: 0 4px 16px rgba(0, 212, 255, 0.3);
  --shadow-button-glow-hover: 0 8px 30px rgba(0, 212, 255, 0.5);
  --shadow-ambient: 0 0 40px rgba(0, 212, 255, 0.15);

  /* Container */
  --container-max: 1400px;
  --container-padding: 32px;

  /* Transitions */
  --transition-default: all 0.3s ease;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::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);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  background-color: var(--background-color);
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-color);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-background);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

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

h1 {
  font-size: var(--text-7xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-5xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.3;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}

/* Responsive Typography */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); line-height: 1.2; }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }
}

p {
  margin-bottom: 1em;
}

.text-large {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
}

.text-small {
  font-size: var(--text-sm);
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

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

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

/* ==========================================================================
   LAYOUT
   ========================================================================== */

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

.section {
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
}

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

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto var(--spacing-3xl);
}

.section-header h2 {
  margin-bottom: var(--spacing-md);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--spacing-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);
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

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

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

.flex-col {
  flex-direction: column;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-default);
}

/* Button Sizes */
.btn-sm {
  height: 36px;
  padding: 0 var(--spacing-md);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
}

.btn-md {
  height: 40px;
  padding: var(--spacing-sm) var(--spacing-xl);
  font-size: var(--text-sm);
  border-radius: var(--radius-default);
}

.btn-lg {
  height: 48px;
  padding: 0 var(--spacing-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-default);
}

.btn-xl {
  height: 56px;
  padding: 0 40px;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--background-color);
  box-shadow: var(--shadow-button-glow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-button-glow-hover);
  color: var(--background-color);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  border: 2px solid rgba(0, 212, 255, 0.6);
  color: var(--text-color);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--text-color);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.5);
  color: var(--primary-color);
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary-color);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  padding: var(--spacing-xl);
  background: linear-gradient(145deg, #0F0F12, #0A0A0D);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition-default);
}

.card:hover {
  border-color: var(--border-accent-strong);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.card-icon svg,
.card-icon img {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

.card-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Small Card Variant */
.card-small {
  padding: var(--spacing-lg);
  background: var(--background-color);
}

.card-small .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--spacing-md);
}

.card-small .card-title {
  font-size: var(--text-base);
  margin-bottom: var(--spacing-sm);
}

.card-small .card-description {
  font-size: var(--text-sm);
}

/* Process Card */
.card-process {
  text-align: center;
  position: relative;
  padding-top: 48px;
}

.card-process .step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 50%;
  color: var(--background-color);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-process .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-lg);
}

.card-process .card-icon svg,
.card-process .card-icon img {
  width: 28px;
  height: 28px;
}

/* CTA Card */
.card-cta {
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), transparent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(35, 35, 39, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 35, 39, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.1;
  pointer-events: none;
}

.card-cta h2,
.card-cta h3 {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .card-cta {
    padding: var(--spacing-xl);
  }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition-default);
}

.site-header.scrolled {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-display);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-color);
}

.logo-text span {
  color: var(--primary-color);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.main-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-default);
  transition: var(--transition-default);
}

.main-nav a:hover {
  color: var(--text-color);
}

.main-nav a.active,
.main-nav .current-menu-item > a {
  color: var(--primary-color);
  background: rgba(0, 212, 255, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--spacing-sm);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--text-color);
}

@media (max-width: 1024px) {
  .site-header {
    height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-xs);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: var(--spacing-md);
  }

  .logo-text {
    font-size: var(--text-lg);
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--spacing-4xl);
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(35, 35, 39, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 35, 39, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.05;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 6s ease-in-out infinite;
}

.hero-orb-1 {
  top: 25%;
  left: 25%;
  width: 288px;
  height: 288px;
  background: rgba(0, 212, 255, 0.2);
}

.hero-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 384px;
  height: 384px;
  background: rgba(0, 212, 255, 0.1);
  filter: blur(120px);
  animation-delay: -3s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-xl);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary-color);
}

.hero-badge span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary-color);
}

.hero h1 {
  margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 672px;
  margin: 0 auto var(--spacing-xl);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.hero-trust {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-3xl);
  border-top: 1px solid rgba(35, 35, 39, 0.5);
}

.hero-trust p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

.hero-trust-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xl);
  opacity: 0.6;
}

.hero-trust-brands span {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-muted);
}

.hero-bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: linear-gradient(to top, var(--background-color), transparent);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--card-background);
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-2xl);
}

.footer-cta {
  margin-bottom: var(--spacing-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: var(--spacing-2xl);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .site-logo {
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--muted-background);
  border-radius: var(--radius-default);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-default);
}

.footer-social a:hover {
  background: rgba(0, 212, 255, 0.2);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  color: var(--text-color);
  transition: var(--transition-default);
}

.footer-social a:hover svg {
  color: var(--primary-color);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

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

.footer-column li {
  line-height: 2;
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-lg) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.pt-section { padding-top: var(--spacing-4xl); }
.pb-section { padding-bottom: var(--spacing-4xl); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition-default);
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-button svg {
  width: 28px;
  height: 28px;
  color: white;
  fill: white;
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

/* Alignment */
.alignleft {
  float: left;
  margin-right: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.alignright {
  float: right;
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: calc(var(--container-max) + 200px);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Captions */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--spacing-sm);
}

/* Gallery */
.gallery {
  display: grid;
  gap: var(--spacing-md);
}

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

@media (max-width: 768px) {
  .gallery-columns-3,
  .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   ELEMENTOR COMPATIBILITY
   ========================================================================== */

/* Ensure Elementor containers inherit theme styles */
.elementor-section {
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
}

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

/* Elementor button overrides */
.elementor-button {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-default);
}

/* Elementor heading overrides */
.elementor-heading-title {
  font-family: var(--font-display);
  color: var(--text-color);
}

/* Elementor text editor */
.elementor-text-editor {
  font-family: var(--font-body);
  color: var(--text-muted);
}
