/*
Theme Name: Host Me Ireland
Theme URI: https://hostme.ie
Description: Custom dark theme for Host Me Ireland - IT Support & Hosting.
Author: Konrad Walsh
Author URI: https://hostme.ie
Version: 2.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostme
*/

/* === CSS Variables === */
:root {
  --background: #0f0e17;
  --foreground: #fffffe;
  --card: #1a1828;
  --primary: #7c5bb5;
  --primary-foreground: #ffffff;
  --secondary: #252336;
  --muted: #94a1b2;
  --accent: #25da6a;
  --destructive: #ff6b6b;
  --border: #3a3650;
  --radius: 0.75rem;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; color: var(--primary-foreground); }
.btn-outline { border: 1px solid var(--border); color: var(--foreground); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--background); }
.btn-accent:hover { opacity: 0.9; color: var(--background); }
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.8rem; border-radius: 0.375rem; }
.btn-sm svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }

/* === Header === */
.site-header {
  background: rgba(15, 14, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.95rem;
}
.logo-link:hover { color: var(--foreground); }
.logo-link img { width: 44px; height: 44px; }

.nav-desktop { display: flex; align-items: center; gap: 1.75rem; }
.nav-desktop a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-desktop a:hover { color: var(--foreground); }
.nav-desktop a.nav-accent { color: var(--accent); font-weight: 600; }
.nav-desktop a.nav-accent:hover { color: var(--accent); opacity: 0.8; }
.nav-desktop .nav-icon { width: 14px; height: 14px; }

.nav-cta { margin-left: 0.5rem; }

.mobile-toggle { display: none; padding: 0.5rem; color: var(--foreground); }
.mobile-toggle svg { width: 24px; height: 24px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  z-index: 49;
}
.nav-mobile.active { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 1rem;
}
.nav-mobile a:hover { color: var(--foreground); }
.nav-mobile a.nav-accent { color: var(--accent); font-weight: 600; }

@media (max-width: 768px) {
  .nav-desktop, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* === Hero === */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 91, 181, 0.1);
  border: 1px solid rgba(124, 91, 181, 0.2);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}
.hero-badge .pulse {
  position: relative;
  width: 8px;
  height: 8px;
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.hero-badge .pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-carousel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 1.2em;
  transition: color 0.2s;
}
.hero-carousel svg { width: 2.5rem; height: 2.5rem; }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-trust span { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--primary); }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-carousel svg { width: 2rem; height: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* === Stats Banner === */
.stats-banner {
  padding: 3rem 0;
  background: rgba(124, 91, 181, 0.1);
  border-top: 1px solid rgba(124, 91, 181, 0.2);
  border-bottom: 1px solid rgba(124, 91, 181, 0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(124, 91, 181, 0.2);
  border-radius: 50%;
  margin: 0 auto 0.75rem;
}
.stat-icon svg { width: 24px; height: 24px; color: var(--primary); }
.stat-value { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; font-weight: 500; }
.stat-sublabel { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: 1.75rem; }
}

/* === Trust Badges === */
.trust-badges {
  padding: 2rem 0;
  background: rgba(37, 35, 54, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-badges-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.trust-badges p {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-badge svg { width: 20px; height: 20px; color: var(--primary); }

/* === Client Logos === */
.client-logos {
  padding: 3rem 0;
  border-top: 1px solid rgba(58, 54, 80, 0.5);
  border-bottom: 1px solid rgba(58, 54, 80, 0.5);
}
.logos-scroll-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.client-logos-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 2rem;
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  position: relative;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  flex-shrink: 0;
  height: 70px;
  width: 180px;
  position: relative;
  opacity: 0.7;
  filter: grayscale(1);
  transition: all 0.3s;
}
.logo-item:hover { opacity: 1; filter: grayscale(0); }
.logo-item img { width: 100%; height: 100%; object-fit: contain; }
/* Fade edges for testimonials scroll */
.logos-fade-left, .logos-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10rem;
  z-index: 10;
  pointer-events: none;
}
.logos-fade-left { left: 0; background: linear-gradient(to right, var(--background), var(--background), transparent); }
.logos-fade-right { right: 0; background: linear-gradient(to left, var(--background), var(--background), transparent); }

/* === Section Common === */
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.section-alt { background: rgba(37, 35, 54, 0.3); }

/* === About Me === */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.about-photo-wrap { position: relative; }
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.about-content h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-location { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
.about-location svg { width: 16px; height: 16px; }
.about-content p { color: var(--muted); margin-bottom: 1rem; line-height: 1.8; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--secondary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.about-feature svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo-wrap { margin: 0 auto; }
  .about-features { grid-template-columns: 1fr; }
}

/* === Comparison (WhatsApp Chats) === */
.comparison-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.comparison-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--card);
  transition: all 0.2s;
  cursor: pointer;
}
.comparison-tab:hover { color: var(--foreground); border-color: rgba(124, 91, 181, 0.5); }
.comparison-tab.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.comparison-tab svg { width: 16px; height: 16px; }

.phone-frame {
  max-width: 420px;
  margin: 0 auto 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.phone-header {
  background: var(--secondary);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.phone-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
}
.phone-name { font-size: 0.875rem; font-weight: 600; }
.phone-status { font-size: 0.75rem; color: var(--accent); display: flex; align-items: center; gap: 0.25rem; }
.phone-status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.phone-messages { padding: 1rem; min-height: 300px; display: flex; flex-direction: column; gap: 0.5rem; }
.msg {
  max-width: 80%;
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.msg-client {
  background: var(--secondary);
  border: 1px solid var(--border);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg-konrad {
  background: rgba(124, 91, 181, 0.1);
  border: 1px solid rgba(124, 91, 181, 0.2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg-time {
  font-size: 0.625rem;
  color: rgba(148, 161, 178, 0.5);
  margin-top: 0.25rem;
}
.msg-client .msg-time { text-align: right; }

.resolved-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--accent);
  background: rgba(37, 218, 106, 0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  margin: 0.5rem auto 0;
}
.resolved-badge svg { width: 12px; height: 12px; }

.contrast-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.contrast-box {
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}
.contrast-bad { background: rgba(255, 107, 107, 0.05); border: 1px solid rgba(255, 107, 107, 0.2); }
.contrast-good { background: rgba(37, 218, 106, 0.05); border: 1px solid rgba(37, 218, 106, 0.2); }
.contrast-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.contrast-bad .contrast-label { color: var(--destructive); }
.contrast-good .contrast-label { color: var(--accent); }
.contrast-text { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* === Services === */
.services-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.service-hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--card), var(--secondary));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  overflow: hidden;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity 0.5s;
}
.service-hero-card:hover .service-hero-bg { opacity: 0.25; }
.service-hero-card .card-content { position: relative; z-index: 1; }
.service-hero-card > .card-content > svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 1rem; }
.service-hero-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.service-hero-card .tagline { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.service-hero-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

.services-sub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.service-sub-card {
  background: rgba(37, 35, 54, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.service-sub-card:hover { background: var(--secondary); border-color: var(--primary); transform: translateY(-3px); }
.service-sub-card.active { border-color: var(--primary); background: var(--secondary); }
.service-sub-card .sub-icon {
  width: 40px;
  height: 40px;
  background: rgba(124, 91, 181, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.2s;
}
.service-sub-card:hover .sub-icon { background: rgba(124, 91, 181, 0.2); transform: scale(1.1); }
.service-sub-card svg { width: 20px; height: 20px; color: var(--primary); }
.service-sub-card .sub-name { font-size: 0.75rem; font-weight: 600; }

.service-expanded {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 20;
  width: 300px;
}
.service-expanded p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }

@media (max-width: 768px) {
  .services-hero-grid { grid-template-columns: 1fr; }
  .services-sub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(124, 91, 181, 0.2); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.pricing-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-description { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.25rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 700; }
.pricing-period { color: var(--muted); }
.pricing-users { font-size: 0.75rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 254, 0.9);
  margin-bottom: 0.75rem;
}
.pricing-features li svg { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

.oneoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}
.oneoff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(37, 35, 54, 0.5);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}
.oneoff-price { color: var(--primary); font-weight: 600; white-space: nowrap; margin-left: 0.75rem; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .oneoff-grid { grid-template-columns: 1fr; }
}

/* === How It Works === */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.how-step { position: relative; }
.how-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.how-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(124, 91, 181, 0.15);
  border: 2px solid rgba(124, 91, 181, 0.3);
  border-radius: 50%;
  color: var(--primary);
}
.how-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.how-step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

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

/* === Testimonials === */
.featured-testimonial {
  max-width: 640px;
  margin: 0 auto 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  position: relative;
}
.featured-testimonial .quote-icon { position: absolute; top: 1.25rem; left: 1.25rem; width: 32px; height: 32px; color: rgba(124, 91, 181, 0.2); }
.featured-testimonial .quote-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; padding-left: 1.75rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-left: 1.75rem; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--secondary);
}
.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 91, 181, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; }
.testimonial-company { font-size: 0.85rem; color: var(--muted); }

.testimonials-scroll-wrap { position: relative; overflow: hidden; }
.testimonials-scroll {
  display: flex;
  gap: 1.25rem;
  animation: scroll 60s linear infinite;
}
.testimonials-scroll:hover { animation-play-state: paused; }
.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.testimonial-card:hover { border-color: rgba(124, 91, 181, 0.5); transform: scale(1.02); }
.testimonial-card.active { border-color: rgba(124, 91, 181, 0.6); box-shadow: 0 0 0 1px rgba(124, 91, 181, 0.3); }
.testimonial-card .quote-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 254, 0.9);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-card .testimonial-author { padding-left: 0; }
.testimonial-card .testimonial-avatar, .testimonial-card .testimonial-avatar-placeholder { width: 40px; height: 40px; font-size: 0.875rem; }
.testimonial-card .testimonial-name { font-size: 0.875rem; }
.testimonial-card .testimonial-company { font-size: 0.75rem; }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
}
.faq-question svg { width: 20px; height: 20px; color: var(--muted); transition: transform 0.2s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 1.25rem; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* === Contact === */
.contact-section { background: var(--card); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.contact-card:hover { background: rgba(124, 91, 181, 0.05); }
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.contact-card-icon.wa { background: var(--primary); }
.contact-card-icon.wa svg { color: var(--primary-foreground); stroke: var(--primary-foreground); }
.contact-card-icon.email, .contact-card-icon.phone { background: var(--secondary); }
.contact-card-icon.email svg, .contact-card-icon.phone svg { color: var(--foreground); stroke: var(--foreground); }
.contact-card-icon svg { width: 28px; height: 28px; }
.contact-card h3 { font-weight: 600; margin-bottom: 0.25rem; }
.contact-card .contact-detail { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* === Contact Popup / Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 23, 0.8);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.modal-title { font-weight: 600; font-size: 1.125rem; margin-bottom: 0.25rem; }
.modal-subtitle { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
.modal-preview {
  background: rgba(37, 35, 54, 0.5);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}
.modal-preview strong { color: var(--foreground); }
.modal-preview .preview-label { font-weight: 500; color: var(--foreground); margin-bottom: 0.25rem; }
.modal-buttons { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.modal-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.2s;
}
.modal-btn:hover { transform: scale(1.02); color: white; }
.modal-btn svg { width: 20px; height: 20px; }
.modal-btn.whatsapp { background: #25D366; }
.modal-btn.telegram { background: #0088CC; }
.modal-btn.sms { background: #5BC236; }
.modal-btn.email-btn { background: #EA4335; }
.modal-btn.call { background: #34B7F1; }
.modal-close {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--muted);
  transition: color 0.2s;
}
.modal-close:hover { color: var(--foreground); }
.modal-close svg { width: 20px; height: 20px; }

/* === Contact Bubble (FCTA) === */
.contact-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.bubble-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: all 0.3s;
}
.bubble-options.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bubble-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}
.bubble-option:hover { transform: scale(1.05); color: white; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4); }
.bubble-option svg { width: 20px; height: 20px; }
.bubble-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
  position: relative;
}
.bubble-toggle:hover { transform: scale(1.1); }
.bubble-toggle.closed { background: var(--primary); color: var(--primary-foreground); }
.bubble-toggle.open { background: var(--secondary); color: var(--foreground); }
.bubble-toggle svg { width: 24px; height: 24px; }
.bubble-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
  pointer-events: none;
}

/* === Cookie Consent === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1.25rem;
  display: none;
}
.cookie-banner.active { display: block; }
.cookie-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-inner p { flex: 1; font-size: 0.875rem; min-width: 200px; }
.cookie-inner p a { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; flex-shrink: 0; }

@media (max-width: 640px) {
  .cookie-buttons { width: 100%; }
  .cookie-buttons .btn { flex: 1; justify-content: center; }
}

/* === Footer === */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: var(--muted); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--foreground); }
.footer-info { text-align: right; }
.footer-info p { font-size: 0.85rem; color: var(--muted); }
.footer-info .version { font-size: 0.7rem; color: rgba(148, 161, 178, 0.7); }
.footer-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 54, 80, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--foreground); }
.footer-legal span { color: rgba(148, 161, 178, 0.3); }
.footer-legal button {
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.footer-legal button:hover { color: var(--foreground); }

@media (max-width: 768px) {
  .footer-main { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-info { text-align: center; }
}

/* === Blog (existing styles maintained) === */
.blog-header { margin-bottom: 2.5rem; }
.blog-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-header p { color: var(--muted); font-size: 0.95rem; }

.post-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(124, 91, 181, 0.5); transform: translateY(-2px); }
.post-card-image { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.75rem; }
.post-card-meta .category { color: var(--primary); }
.post-card-title { font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; line-height: 1.3; }
.post-card:hover .post-card-title { color: var(--primary); }
.post-card-excerpt { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* Single post */
.single-post-wrap { max-width: 720px; margin: 0 auto; padding: 2rem 0; }
.post-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.post-meta .category { color: var(--primary); }
.entry-title { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.post-featured-image { width: 100%; max-height: 350px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.entry-content { font-size: 1rem; line-height: 1.8; color: rgba(255, 255, 254, 0.9); }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin: 2.5rem 0 0.75rem; }
.entry-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--foreground); margin: 2rem 0 0.5rem; }
.entry-content strong { color: var(--foreground); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-style: italic;
}
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content a:hover { color: var(--accent); }
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }

.post-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.post-cta h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.post-cta p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.pagination a, .pagination span { padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 0.85rem; }
.pagination a { background: var(--secondary); color: var(--foreground); }
.pagination a:hover { background: var(--primary); color: var(--primary-foreground); }
.pagination .current { background: var(--primary); color: var(--primary-foreground); }

/* === Toast === */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}
.toast.active { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--primary); color: var(--primary-foreground); }
.toast.error { background: var(--destructive); color: white; }

/* === Utility === */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }
