/* ===========================================
   TextMaster s.r.o. – style.css
   Minimal Professional Design
   =========================================== */

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

:root {
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eff6ff;
  --border: #e2e8f0;
  --success: #10b981;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
  --font: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1e293b;
  color: #fff;
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-content p {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
}
.cookie-content a {
  color: #93c5fd;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie-reject {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: background var(--transition);
}
.btn-cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-cookie-accept {
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: background var(--transition);
}
.btn-cookie-accept:hover {
  background: var(--accent-hover);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}
.logo-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.logo-text {
  font-size: 1.1rem;
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}
.logo strong {
  font-weight: 700;
}

/* Burger */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
}
.burger-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
}
.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav – mobile first */
.main-nav {
  display: none; /* Hidden on mobile by default */
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.main-nav.open {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  background: var(--accent-light);
  color: var(--accent);
  text-decoration: none;
}
.nav-cta {
  align-self: flex-start;
}

/* Desktop Nav */
@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .nav-list {
    flex-direction: row;
    gap: 2px;
    margin-bottom: 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  font-family: var(--font);
  line-height: 1.2;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
  text-decoration: none;
}
.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-white:hover {
  background: #eff6ff;
  color: var(--accent-hover);
  text-decoration: none;
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}
.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  background: url("/images/banner-hlavni.jpg") center/cover no-repeat;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.88) 0%,
    rgba(37, 99, 235, 0.72) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  padding: 80px 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  opacity: 0.92;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn-hero {
  padding: 14px 36px;
  background: var(--white);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: 2px solid var(--white);
}
.btn-hero:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--accent-hover);
}
.btn-hero-outline {
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  background: transparent;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.bg-light {
  background: var(--bg-light);
}
.bg-accent {
  background: var(--accent);
  color: var(--white);
}
.bg-accent .section-subtitle {
  opacity: 0.85;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header-light {
  text-align: center;
  margin-bottom: 48px;
  color: var(--white);
}
.section-header h2,
.section-header-light h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-title-center {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
}
.section-title-left {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
}
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

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

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 12px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}
.service-price {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

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

/* ---------- Steps Row ---------- */
.steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.step-item {
  text-align: center;
  flex: 1;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}
.step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.step-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  color: var(--white);
}
.step-arrow {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  transform: rotate(90deg);
}
@media (min-width: 768px) {
  .steps-row {
    flex-direction: row;
    align-items: flex-start;
  }
  .step-arrow {
    transform: rotate(0);
  }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--accent);
}
.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.testimonial-stars {
  font-size: 1.2rem;
  color: #f59e0b;
  margin-bottom: 12px;
}
.testimonial-card blockquote {
  margin-bottom: 16px;
}
.testimonial-card blockquote p {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.testimonial-author strong {
  display: block;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card-img {
  height: 200px;
  background: var(--bg-light);
}
.blog-card-body {
  padding: 20px;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.blog-card h3 a:hover {
  color: var(--accent);
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  margin: 0 6px;
}

/* ---------- Prose / Article ---------- */
.prose-content {
  max-width: 800px;
  margin: 0 auto;
}
.prose-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}
.article-main {
  min-width: 0;
}
.article-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  background: var(--bg-light);
}
.article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
}
.article-content p {
  margin-bottom: 16px;
  line-height: 1.75;
}
.article-content ul,
.article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-content li {
  margin-bottom: 6px;
  line-height: 1.65;
}
.article-content a {
  color: var(--accent);
}
.article-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.meta-sep {
  margin: 0 6px;
}
.article-footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
}
.article-cta {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.article-cta h2 {
  margin-bottom: 12px;
}
.article-cta p {
  color: var(--muted);
  margin-bottom: 20px;
}
.related-articles {
  margin-top: 48px;
}
.related-articles h2 {
  margin-bottom: 24px;
  font-size: 1.4rem;
}

/* ---------- Sidebar ---------- */
.article-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-widget {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sidebar-widget p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.sidebar-links {
  list-style: none;
}
.sidebar-links li {
  border-bottom: 1px solid var(--border);
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links a {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.sidebar-links a:hover {
  color: var(--accent);
}

/* ---------- Two Column Layout ---------- */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .two-col-layout {
    grid-template-columns: 1fr 340px;
    align-items: start;
  }
}
.two-col-sidebar {
  position: sticky;
  top: 80px;
}

/* ---------- Services Detail ---------- */
.services-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .services-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.service-detail-img {
  height: 200px;
  background: var(--bg-light);
}
.service-detail-body {
  padding: 28px;
}
.service-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 12px;
}
.service-detail-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.service-detail-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-detail-body p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.service-features {
  list-style: none;
  margin: 16px 0;
}
.service-features li {
  padding: 4px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: var(--success);
}
.service-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.price-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Steps Vertical ---------- */
.steps-vertical {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.step-vertical {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-v-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-v-content {
  flex: 1;
}
.step-v-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-v-content p {
  color: var(--muted);
  margin-bottom: 10px;
}
.step-img {
  height: 200px;
  border-radius: var(--radius);
  background: var(--bg-light);
  margin-bottom: 16px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1rem;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--bg-light);
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
}
details[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.team-card-img {
  height: 240px;
  background: var(--bg-light);
}
.team-card-body {
  padding: 24px;
}
.team-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-position {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.team-exp {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.team-spec {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.team-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.team-photo {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  padding: 20px;
  color: var(--white);
  font-size: 0.9rem;
}

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.value-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 12px;
}
.value-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
}
.pricing-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-header {
  margin-bottom: 24px;
}
.pricing-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.pricing-price {
  margin-bottom: 8px;
}
.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.price-period {
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: var(--success);
}
.pricing-no {
  color: var(--muted);
}
.pricing-no svg {
  stroke: var(--muted) !important;
}

/* ---------- Forms ---------- */
.contact-form {
  max-width: 600px;
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.required {
  color: var(--accent);
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea {
  resize: vertical;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}
.form-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.newsletter-input-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
}
.newsletter-btn {
  flex-shrink: 0;
}
.newsletter-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}
.newsletter-note a {
  color: var(--muted);
}

/* ---------- Alerts ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}
.alert-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.alert-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.alert-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}
.alert-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* ---------- Contact Info ---------- */
.contact-info-widget {
}
.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-item a {
  color: var(--text);
}
.contact-item a:hover {
  color: var(--accent);
}

/* ---------- Blog Page ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr 300px;
  }
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-list-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 600px) {
  .blog-list-item {
    flex-direction: row;
  }
  .blog-list-img-link {
    flex-shrink: 0;
    width: 240px;
  }
  .blog-list-img {
    height: 100% !important;
    min-height: 160px;
  }
}
.blog-list-img {
  height: 200px;
  background: var(--bg-light);
}
.blog-list-body {
  padding: 20px;
}
.blog-list-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-list-body h2 a {
  color: var(--text);
}
.blog-list-body h2 a:hover {
  color: var(--accent);
}
.blog-list-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 900px;
}
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 8px;
}
.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-content address {
  font-style: normal;
  margin-bottom: 16px;
}
.legal-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.cookies-table th,
.cookies-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.cookies-table th {
  background: var(--bg-light);
  font-weight: 700;
}
.cookies-table td code {
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.cookie-manage-btn {
  margin: 24px 0;
}

/* ---------- Lists ---------- */
.check-list {
  list-style: none;
  margin: 16px 0;
}
.check-list li {
  padding: 5px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-list li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: var(--success);
}
.ordered-list {
  padding-left: 20px;
  margin: 16px 0;
}
.ordered-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ---------- Discount Badge ---------- */
.highlight-widget {
  background: var(--accent-light);
  border-color: var(--accent);
  text-align: center;
}
.discount-badge {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #e2e8f0;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
  text-decoration: none;
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}
.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
}
.footer-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.footer-contact a {
  color: #94a3b8;
}
.footer-contact a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.social-link:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  font-size: 0.82rem;
  color: #94a3b8;
}
.footer-legal-links a:hover {
  color: var(--white);
}

/* ---------- Ad Placeholders ---------- */
.ad-placeholder {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border-radius: 4px;
}
.ad-leaderboard {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}
.ad-rectangle {
  width: 300px;
  height: 250px;
}
.ad-skyscraper {
  width: 160px;
  height: 600px;
}
.ad-mobile {
  width: 100%;
  max-width: 320px;
  height: 50px;
  margin: 0 auto;
}
.ad-billboard {
  width: 100%;
  max-width: 970px;
  height: 250px;
  margin: 0 auto;
}
.ad-container {
  padding: 16px 0;
  text-align: center;
}

/* Hide desktop leaderboard on mobile, show mobile ad */
.ad-leaderboard-wrap {
  display: none;
}
.ad-mobile-wrap {
  display: block;
}
@media (min-width: 768px) {
  .ad-leaderboard-wrap {
    display: block;
  }
  .ad-mobile-wrap {
    display: none;
  }
}

/* ---------- Slevy - Sidebar ---------- */
.btn-block {
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}
details[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item:hover {
  border-color: var(--accent);
}

/* ---------- Map ---------- */
.map-container {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}
