/*
Theme Name: Cloud96
Theme URI: https://cloud96.co.uk
Author: Cloud96
Author URI: https://cloud96.co.uk
Description: Custom WordPress theme for Cloud96 IT Consultancy — converted from React/Vite Horizons export. Features video hero, animated sections, bento grid services, industry carousel, and contact form.
Version: 1.0.0
License: Private
Text Domain: cloud96
Tags: business, it-consulting, technology, modern, dark
*/

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES (matching original Tailwind theme) ===== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --accent: #00f5ff;
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --secondary: #2d3f55;
  --secondary-foreground: #ffffff;
  --muted: #e2e8f0;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --radius: 0.75rem;
  --overlay-opacity: 0.75;
  --glass-blur: 8px;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--foreground);
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 35px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

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

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  transition: box-shadow 0.3s;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; color: #fff; }
.logo-icon:hover { box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5); }
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
#site-header:not(.scrolled) .logo-text { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 2.5rem; }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
#site-header.scrolled .main-nav a { color: var(--muted-foreground); }
#site-header.scrolled .main-nav a:hover,
#site-header.scrolled .main-nav a.active { color: var(--primary); }

.nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(14,165,233,0.3);
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 6px 20px rgba(14,165,233,0.5) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #fff;
}
#site-header.scrolled .mobile-menu-btn { border-color: var(--border); color: var(--foreground); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 2rem;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  justify-content: flex-start;
}
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav > a { font-size: 1.25rem; font-weight: 600; color: var(--foreground); text-decoration: none; }
.mobile-nav > a:hover { color: var(--primary); }
.mobile-nav > div { margin-top: auto; }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}
.mobile-overlay.open { display: block; }

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  background: #0f172a;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  animation: subtle-zoom 20s ease-in-out infinite alternate;
}
.hero-mobile-bg {
  display: none;
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1690192079529-9fd57e5b24d0?q=80&w=1000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
@media (max-width: 640px) {
  .hero-video { display: none; }
  .hero-mobile-bg { display: block; }
}
.hero-glass-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(var(--glass-blur));
}
.hero-gradient-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.8), rgba(15,23,42,0.4), var(--background));
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--primary); }
.hero-h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #cbd5e1;
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

@keyframes subtle-zoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* ===== PARTNER STRIP ===== */
.partner-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.5);
}
.partner-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .partner-inner { flex-direction: row; justify-content: space-between; }
}
.partner-label h2 { font-size: 1.35rem; font-weight: 700; }
.partner-label p { color: var(--muted-foreground); font-size: 0.9rem; }
.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  opacity: 0.5;
  filter: grayscale(1);
}
@media (min-width: 640px) { .partner-logos { grid-template-columns: repeat(4, 1fr); } }
.partner-logos span { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.05em; text-align: center; }

/* ===== SERVICES BENTO GRID ===== */
.services-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 24rem; height: 24rem;
  background: rgba(14,165,233,0.08);
  border-radius: 50%;
  filter: blur(80px);
  transform: translateY(-50%);
  pointer-events: none;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-header p { color: var(--muted-foreground); font-size: 1.1rem; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
}
.bento-card:hover {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 20px 60px rgba(14,165,233,0.08);
  transform: translateY(-3px);
}
.bento-card-featured {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) { .bento-card-featured { grid-column: span 2; } }

.bento-card-featured-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transition: opacity 0.5s, transform 0.5s;
}
.bento-card-featured:hover .bento-card-featured-img {
  opacity: 0.3;
  transform: scale(1.05);
}
.bento-card-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card), rgba(255,255,255,0.8) 50%, transparent);
}
.bento-card-featured-content {
  position: relative;
  z-index: 1;
  padding: 3rem;
}
.bento-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(14,165,233,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(14,165,233,0.2);
  transition: background 0.3s;
}
.bento-card:hover .bento-card-icon { background: rgba(14,165,233,0.2); }
.bento-card-icon svg { width: 24px; height: 24px; color: var(--primary); }
.bento-card-featured-content h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.bento-card-featured-content p { color: var(--muted-foreground); font-size: 1.05rem; max-width: 480px; }

.bento-card-standard { padding: 2rem; }
.bento-card-standard h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.bento-card-standard p { color: var(--muted-foreground); line-height: 1.6; }

/* ===== WHY CLOUD96 SECTION ===== */
.why-section {
  padding: 6rem 0;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}
.why-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  background: rgba(14,165,233,0.05);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.why-section h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; text-align: center; margin-bottom: 3rem; }
.why-quote {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--primary);
  padding: 2.5rem 3rem;
  border-radius: 0 1rem 1rem 0;
  margin-bottom: 4rem;
}
.why-quote p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.9); line-height: 1.7; font-weight: 500; }
.why-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .why-cards { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s;
}
.why-card:hover {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 15px 40px rgba(14,165,233,0.08);
  transform: translateY(-3px);
}
.why-card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.why-card:hover .why-card-icon { background: rgba(14,165,233,0.2); }
.why-card-icon svg { width: 28px; height: 28px; color: var(--primary); }
.why-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.why-card p { color: var(--muted-foreground); line-height: 1.6; }

/* ===== PROCESS SECTION ===== */
.process-section { padding: 6rem 0; }
.process-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline-line {
  position: absolute;
  left: 27px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
@media (min-width: 768px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .timeline-item:nth-child(odd)  { flex-direction: row-reverse; }
  .timeline-item:nth-child(odd) .timeline-content  { text-align: right; }
  .timeline-item .timeline-spacer { flex: 1; }
}
.timeline-dot {
  position: absolute;
  left: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--background);
  border: 3px solid var(--card);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .timeline-dot { left: 50%; transform: translateX(-50%); }
}
.timeline-dot span { font-weight: 800; font-size: 0.8rem; color: var(--primary); }
.timeline-content {
  flex: 1;
  padding-left: 5rem;
}
@media (min-width: 768px) {
  .timeline-content { padding-left: 0; padding-right: 4rem; }
  .timeline-item:nth-child(odd) .timeline-content { padding-right: 0; padding-left: 4rem; }
}
.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.3s;
}
.timeline-card:hover { border-color: rgba(14,165,233,0.3); }
.timeline-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-card p { color: var(--muted-foreground); }

/* ===== INDUSTRIES CAROUSEL ===== */
.industries-section {
  padding: 6rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.industries-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .industries-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.industries-header h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.industries-header p { color: var(--muted-foreground); font-size: 1.05rem; max-width: 560px; }

.carousel-track-wrapper { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.industry-card {
  min-width: calc(100% - 0px);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
@media (min-width: 640px) { .industry-card { min-width: calc(50% - 0.75rem); } }
@media (min-width: 1024px) { .industry-card { min-width: calc(33.333% - 1rem); } }
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.industry-card:hover img { transform: scale(1.05); }
.industry-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9), rgba(15,23,42,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}
.industry-card-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,0.2);
  border-radius: 10px;
  border: 1px solid rgba(14,165,233,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.industry-card-icon svg { width: 22px; height: 22px; color: var(--primary); }
.industry-card-overlay h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.industry-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.875rem; line-height: 1.5; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  color: var(--foreground);
}
.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.carousel-btn-group { display: flex; gap: 0.75rem; }

/* ===== CONTACT / CTA SECTION ===== */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), rgba(45, 63, 85, 0.3));
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: rgba(14,165,233,0.04);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-box {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}
.cta-box-inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .cta-box-inner { grid-template-columns: 1fr 1fr; } }

.cta-info {
  padding: 3rem 4rem;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-info h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta-info p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }
.cta-checklist { display: flex; flex-direction: column; gap: 0.875rem; }
.cta-checklist li { display: flex; align-items: center; gap: 0.75rem; color: #fff; font-size: 0.95rem; }
.cta-checklist li svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

.cta-form-wrap { padding: 3rem 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  padding: 0.875rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.form-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(14,165,233,0.3);
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-success {
  text-align: center;
  padding: 2rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  display: none;
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 300px;
  background: rgba(14,165,233,0.04);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.footer-inner { padding: 5rem 0 3rem; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1.5fr 1fr 1.5fr; } }
.footer-brand p { color: var(--muted-foreground); margin-top: 1rem; line-height: 1.7; max-width: 300px; font-size: 0.9375rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--foreground); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--muted-foreground); font-size: 0.9375rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--muted-foreground); font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--primary); }
.footer-contact-item svg { width: 18px; height: 18px; color: rgba(14,165,233,0.7); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ===== INNER PAGES ===== */
.page-hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero.dark-bg { background: var(--secondary); }
.page-hero.dark-bg h1 { color: #fff; }
.page-hero.dark-bg p { color: rgba(255,255,255,0.75); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.2rem; color: var(--muted-foreground); max-width: 640px; line-height: 1.7; }

/* About page */
.about-story { padding: 4rem 0 6rem; }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-story-grid { grid-template-columns: 1fr 1fr; } }
.about-story-img {
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  position: relative;
}
.about-story-img img { width: 100%; height: 100%; object-fit: cover; }
.about-story-content h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1.25rem; }
.about-story-content p { color: var(--muted-foreground); line-height: 1.8; margin-bottom: 1rem; font-size: 1.05rem; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }

.values-section { padding: 6rem 0; background: var(--secondary); }
.values-section h2 { color: #fff; font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800; text-align: center; margin-bottom: 0.75rem; }
.values-section .section-sub { color: rgba(255,255,255,0.65); text-align: center; font-size: 1.05rem; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2rem; }
.value-icon {
  width: 48px; height: 48px;
  background: rgba(14,165,233,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.value-icon svg { width: 24px; height: 24px; color: var(--primary); }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.value-card p { color: var(--muted-foreground); font-size: 0.925rem; line-height: 1.6; }

/* Services page */
.services-list { padding: 5rem 0; }
.service-item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
@media (min-width: 1024px) {
  .service-item { flex-direction: row; align-items: center; gap: 5rem; }
  .service-item.reverse { flex-direction: row-reverse; }
}
.service-img {
  flex: 1;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-img:hover img { transform: scale(1.04); }
.service-info { flex: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(14,165,233,0.1);
  border-radius: 14px;
  border: 1px solid rgba(14,165,233,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 26px; height: 26px; color: var(--primary); }
.service-info h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.service-info p { color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.service-benefits { display: flex; flex-direction: column; gap: 0.7rem; }
.service-benefit { display: flex; align-items: center; gap: 0.75rem; color: var(--foreground); font-size: 0.9375rem; }
.service-benefit svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* Contact page */
.contact-page-wrap { padding: 3rem 0 6rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1.5fr; } }
.contact-info-box h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info-box p { color: var(--muted-foreground); margin-bottom: 2rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(14,165,233,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-detail-text strong { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.contact-detail-text a, .contact-detail-text p { color: var(--foreground); font-size: 0.9375rem; }
.contact-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
.contact-form-box h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.75rem; }

/* Legal pages */
.legal-page { padding: 4rem 0 6rem; max-width: 800px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 3rem; }
.legal-page h2 { font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 0.75rem; }
.legal-page p { color: var(--muted-foreground); line-height: 1.8; margin-bottom: 1rem; }
.legal-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page ul li { color: var(--muted-foreground); line-height: 1.8; list-style: disc; margin-bottom: 0.25rem; }

/* Cookie consent bar */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: none;
}
.cookie-bar.show { transform: translateY(0); display: block; }
.cookie-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .cookie-bar-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cookie-bar p { color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.cookie-bar a { color: var(--primary); text-decoration: underline; }
.cookie-bar-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
}
.cookie-accept { background: var(--primary); color: #fff; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }

/* Scroll to top */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(14,165,233,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 500;
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* WP specific */
.wp-block-image { margin: 1.5rem 0; }
.alignnone, .alignleft, .alignright { max-width: 100%; }
