/* ===================================================
   CONSULTI — Shared Styles
   Single source of truth for tokens, reset, header,
   footer, buttons, page-hero, CTA, forms, and all
   repeated component styles.
   =================================================== */

:root {
  --black: #1a1a1a;
  --gray-900: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-500: #535353;
  --gray-300: #9e9e9e;
  --white: #ffffff;
  --yellow: #f5c518;
  --yellow-dark: #e0b000;
  --bg-dark: #1a1a1a;
  --card-dark: #252525;
  --accent-red: #fd4c5c;
  --radius: 8px;
  --radius-lg: 12px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Merriweather', serif;
  --header-height: 5rem;
  --container: min(1400px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a,
button,
input,
textarea,
summary {
  transition: color 180ms ease, background-color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(245, 197, 24, 0.45);
  outline-offset: 3px;
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ===================================================
   HEADER / NAV
   =================================================== */
header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--black);
  text-decoration: none;
  position: relative;
  z-index: 21;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a,
.nav-actions a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  position: relative;
}

.nav-links a:hover,
.nav-actions a.nav-signin:hover {
  color: var(--black);
}

.nav-links a[aria-current="page"] {
  color: var(--black);
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after,
.nav-actions a.nav-signin:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.375rem;
  height: 2px;
  background: var(--yellow);
}

.nav-signin {
  color: var(--gray-700);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switcher a {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  background: var(--white);
  border-right: 1px solid #eee;
  white-space: nowrap;
}

.lang-switcher a:last-child {
  border-right: none;
}

.lang-switcher a:hover {
  background: #f5f5f5;
  color: var(--black);
}

.lang-switcher a.active {
  background: var(--black);
  color: var(--white);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 21;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid #eee;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.nav-toggle .nav-toggle-bar,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle::before {
  transform: translateY(-0.35rem);
}

.nav-toggle::after {
  transform: translateY(0.35rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn-primary,
.btn-subscribe {
  display: inline-block;
  padding: 18px 36px;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  min-height: 3rem;
}

.btn-primary:hover,
.btn-subscribe:hover {
  background: var(--gray-900);
  transform: translateY(-1px);
}

.btn-signup {
  display: inline-block;
  padding: 12px 24px;
  background: var(--white);
  border: 2px solid var(--black);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--radius);
  min-height: 3rem;
}

.btn-signup:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===================================================
   PAGE HERO (dark banner for inner pages)
   =================================================== */
.page-hero {
  padding: 160px 24px 80px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23333' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-hero p,
.page-hero .subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 32px;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.7;
}

/* ===================================================
   SECTION HEADER (centered title + subtitle)
   =================================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}

.section-header h2 .highlight {
  background: linear-gradient(transparent 65%, var(--yellow) 65%);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 533px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===================================================
   FEATURES / STATS BAR
   =================================================== */
.features {
  background: #f8f8f8;
  padding: 48px 24px;
}

.features-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
}

.feature-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid #e0e0e0;
}

.feature-item:last-child {
  border-right: none;
}

.feature-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.feature-label {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials {
  padding: 100px 24px 120px;
  background: #fafafa;
}

.testimonials-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.testimonial-card .avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
  margin: 0 auto 24px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 24px;
}

.testimonial-card .name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.testimonial-card .title {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ===================================================
   SERVICE CARDS (dark section)
   =================================================== */
.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.services-header h2 .highlight {
  color: var(--yellow);
}

.services-header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 595px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}

.services-grid:last-child {
  margin-bottom: 0;
}

.service-card {
  background: var(--card-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.service-card .link,
.service-card .btn-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  margin-top: auto;
}

.service-card .btn-link:hover {
  color: var(--white);
}

.services-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.service-card-cta {
  grid-column: span 2;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
}

.service-card-cta h3 {
  font-size: 1.75rem;
  font-weight: 800;
  max-width: 380px;
  line-height: 1.25;
}

.service-card-cta .btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 20px 36px;
}

/* ===================================================
   VIDEO SECTION
   =================================================== */
.video-section {
  padding: 80px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-section h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
  color: var(--black);
}

.video-section h2 .highlight {
  background: linear-gradient(transparent 65%, var(--yellow) 65%);
}

.video-section .desc,
.video-section > p {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 595px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.video-player,
.video-placeholder {
  width: 100%;
  aspect-ratio: 1020 / 550;
  background: linear-gradient(135deg, #d0d0d0 0%, #b0b0b0 100%);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 14px solid var(--black);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 6px;
}

/* ===================================================
   FORM + FAQ SECTION (side-by-side grid)
   =================================================== */
.form-faq {
  padding: 100px 24px 120px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-faq h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}

.form-faq .subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--yellow-dark);
  margin-bottom: 32px;
}

.form-faq form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-faq form input,
.form-faq form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 24px;
  background: transparent;
}

.form-faq form textarea {
  min-height: 80px;
  resize: vertical;
}

.form-faq .btn-primary {
  margin-top: 16px;
}

/* FAQ items (details-based) */
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-item summary {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\25BE";
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ===================================================
   CTA SECTION (dark full-width)
   =================================================== */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23333' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  max-width: 1100px;
  margin: 0 auto 48px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.cta-section .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 48px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.cta-section .btn-cta:hover {
  background: var(--yellow-dark);
}

.cta-section .btn-book {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 40px rgba(83, 83, 83, 0.1);
  position: relative;
  z-index: 1;
}

.cta-section .btn-book .icon {
  width: 24px;
  height: 24px;
  background: var(--yellow);
  border-radius: 4px;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ===================================================
   FORMS (shared)
   =================================================== */
form {
  width: 100%;
}

label {
  display: inline-block;
  margin-bottom: 0.375rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-500);
  opacity: 0.8;
}

.field-group,
.form-group {
  margin-bottom: 1rem;
}

.stacked-form,
.newsletter-form {
  display: grid;
  gap: 0.875rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.form-status.is-success {
  color: #1d6b43;
}

.form-status.is-error {
  color: #b63a2b;
}

.btn-send,
.btn-submit {
  display: inline-block;
  padding: 18px 36px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-send:hover,
.btn-submit:hover {
  opacity: 0.9;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  padding: 80px 24px 40px;
  background: var(--white);
  border-top: 1px solid #eee;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: stretch;
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 324px;
}

.footer-email {
  display: flex;
  gap: 0;
  max-width: 330px;
}

.footer-email input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
}

.footer-email .btn-primary,
.footer-email .btn-subscribe {
  padding: 16px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 0.9375rem;
  color: var(--gray-500);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--black);
}

.footer-contact p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ===================================================
   SHARED IMAGE PLACEHOLDERS
   =================================================== */
.hero-image,
.about-image,
.lead-image,
.video-player,
.video-placeholder,
.map-placeholder,
.photo,
.image,
.thumb,
.post-image,
.service-image,
.content-image,
.solution-image,
.post-featured {
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
}

/* ===================================================
   SIDEBAR (shared: blog, blog-post, service-detail)
   =================================================== */
.main-wrap {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 40px rgba(83, 83, 83, 0.06);
  padding: 40px 27px;
  height: fit-content;
}

.search-wrap {
  margin-bottom: 30px;
}

.search-wrap input {
  width: 100%;
  padding: 18px 18px 18px 48px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 40px rgba(83, 83, 83, 0.06);
  font-size: 1rem;
  font-family: inherit;
}

.search-wrap input::placeholder {
  color: var(--black);
  opacity: 0.5;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
  color: var(--black);
  opacity: 0.8;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: inherit;
  text-decoration: none;
}

.recent-post {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.recent-post .thumb {
  width: 130px;
  height: 120px;
  flex-shrink: 0;
  background-color: #bdbdbd;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.recent-post .meta h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.4;
}

.recent-post .meta h4 a {
  color: inherit;
  text-decoration: none;
}

.recent-post .meta time {
  font-size: 0.875rem;
  color: var(--gray-500);
  opacity: 0.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tags a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 3px;
  text-decoration: none;
  opacity: 0.8;
}

.tags a.active {
  background: var(--black);
  color: var(--white);
  opacity: 1;
}

.tags a:hover:not(.active) {
  background: #f5f5f5;
}

/* ===================================================
   PAGINATION
   =================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  border-radius: 50%;
  text-decoration: none;
  background: var(--white);
  border: 1px solid #eee;
}

.pagination a:hover {
  background: #f5f5f5;
}

.pagination .active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ===================================================
   SCROLL MARGIN for anchor links
   =================================================== */
.hero,
.page-hero,
.about,
.services,
.testimonials,
.blog,
.lead-section,
.video-section,
.content-section,
.faq-section,
.contact-wrap,
.map-section,
.cta-section,
.form-faq {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

/* Prevent white-space wrapping on key links */
.hero-buttons a,
.cta-section a,
.footer-email button,
.site-nav a {
  white-space: nowrap;
}

/* ===================================================
   RESPONSIVE — TABLET (max 1024px)
   =================================================== */
@media (max-width: 1024px) {
  .features-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item:nth-child(2) {
    border-right: none;
  }

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

  .service-card-cta {
    grid-column: 1;
  }

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

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

  .form-faq {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .main-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   RESPONSIVE — MOBILE (max 900px)
   =================================================== */
@media (max-width: 900px) {
  .site-header {
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-height) + 0.5rem) 1rem auto;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: 0;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    display: flex;
  }

  /* Nav links in 2-column grid for compactness */
  .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    padding: 0.6rem 0.25rem;
    font-size: 0.875rem;
    text-align: center;
  }

  .nav-links a[aria-current="page"]::after,
  .nav-links a:hover::after,
  .nav-actions a.nav-signin:hover::after {
    bottom: 0.15rem;
  }

  /* Actions: lang switcher + CTA stacked and centered */
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding-top: 0.25rem;
  }

  .nav-actions .lang-switcher {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .lang-switcher a {
    flex: 1;
    text-align: center;
  }

  .nav-actions .btn-signup {
    font-size: 0.8125rem;
    padding: 8px 14px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
  }

  .hero-buttons,
  .footer-email {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ===================================================
   RESPONSIVE — SMALL (max 768px)
   =================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 4.5rem;
  }

  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero {
    padding: 120px 16px 60px;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .cta-section,
  .footer-email {
    gap: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}

/* ===================================================
   RESPONSIVE — EXTRA SMALL (max 480px)
   =================================================== */
@media (max-width: 480px) {
  :root {
    --header-height: 4rem;
  }

  .logo {
    font-size: 1.125rem;
  }

  .nav-toggle {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Stack nav links single column on very small phones */
  .nav-links {
    grid-template-columns: 1fr;
  }

  /* Stack actions vertically on very small screens */
  .nav-actions {
    flex-direction: column;
    align-items: center;
  }

  .nav-actions .btn-signup {
    text-align: center;
  }

  .lang-switcher a {
    padding: 5px 7px;
    font-size: 0.6875rem;
  }

  .page-hero {
    padding: 100px 12px 48px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn-signup {
    font-size: 0.8125rem;
    padding: 10px 16px;
  }
}

/* ===================================================
   ACCESSIBILITY — REDUCED MOTION
   =================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================
   VIDEO MODAL
   =================================================== */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  text-align: center;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: #f5f5f5;
  color: var(--black);
}

.video-modal-placeholder p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 8px;
}

.video-modal-placeholder p:last-child {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 0;
}
