/* ============================================
   PCEE — Premium Electrician Website
   Dark mode · Cyan/Amber accents
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-card: #14141c;
  --bg-card-hover: #1c1c28;

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;

  --accent-cyan: #00d4ff;
  --accent-blue: #3b82f6;
  --accent-amber: #f59e0b;
  --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));

  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(0, 212, 255, 0.3);
  --glow-cyan: 0 0 40px rgba(0, 212, 255, 0.25);
  --glow-amber: 0 0 30px rgba(245, 158, 11, 0.2);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --hero-mask-x: 50%;
  --hero-mask-y: 50%;
  --hero-mask-size: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Typography ---- */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header .section__desc {
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-gradient);
  color: var(--bg-primary);
  box-shadow: var(--glow-cyan);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-accent);
}

.btn--outline:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.logo:hover {
  color: var(--accent-cyan);
}

.logo__icon {
  width: 32px;
  height: 32px;
  color: var(--accent-cyan);
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition);
}

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

.nav__list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  --hero-mask-x: 50%;
  --hero-mask-y: 50%;
  --hero-mask-size: 0px;
}

.hero__reveal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__layer--base {
  z-index: 0;
}

.hero__layer--reveal {
  z-index: 1;
  opacity: 0;
  -webkit-mask-image: radial-gradient(
    circle var(--hero-mask-size) at var(--hero-mask-x) var(--hero-mask-y),
    #000 0%,
    #000 42%,
    transparent 72%
  );
  mask-image: radial-gradient(
    circle var(--hero-mask-size) at var(--hero-mask-x) var(--hero-mask-y),
    #000 0%,
    #000 42%,
    transparent 72%
  );
  transition: opacity 0.12s ease;
}

.hero.is-active .hero__layer--reveal {
  opacity: 1;
}

.hero__cursor-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.22) 0%,
    rgba(0, 212, 255, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  left: var(--hero-mask-x);
  top: var(--hero-mask-y);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.hero.is-active .hero__cursor-glow {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.88) 0%,
    rgba(10, 10, 15, 0.72) 50%,
    rgba(10, 10, 15, 0.82) 100%
  );
  transition: -webkit-mask-image 0.05s linear, mask-image 0.05s linear;
}

.hero.is-active .hero__overlay {
  -webkit-mask-image: radial-gradient(
    circle calc(var(--hero-mask-size) * 1.15) at var(--hero-mask-x) var(--hero-mask-y),
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 78%
  );
  mask-image: radial-gradient(
    circle calc(var(--hero-mask-size) * 1.15) at var(--hero-mask-x) var(--hero-mask-y),
    transparent 0%,
    transparent 38%,
    rgba(0, 0, 0, 0.45) 58%,
    #000 78%
  );
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: calc(var(--header-h) + 60px) 24px 80px;
  max-width: 800px;
  pointer-events: none;
}

.hero__content a,
.hero__content button {
  pointer-events: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Fade-in animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* ---- Services ---- */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, var(--bg-card) 40%);
}

.service-card--featured::before {
  opacity: 1;
}

.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.service-card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 3/2;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

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

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card__list {
  margin-bottom: 20px;
}

.service-card__list li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}

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

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.trust-badge:hover {
  border-color: var(--border-accent);
}

.trust-badge svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.trust-badge strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.trust-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about__card-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about__card h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
  position: relative;
}

.process-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

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

.process-list__num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  opacity: 0.6;
  flex-shrink: 0;
  width: 28px;
}

.process-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.process-list p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--bg-secondary);
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--text-secondary);
}

.rating-summary__stars {
  color: var(--accent-amber);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonials__slider {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

.testimonial-card blockquote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: border-color var(--transition);
}

.testimonial-card blockquote:hover {
  border-color: var(--border-accent);
}

.testimonial-card__stars {
  color: var(--accent-amber);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card footer span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.testimonials__btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  padding: 0;
  transition: all var(--transition);
  cursor: pointer;
}

.testimonials__dot--active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ---- FAQ ---- */
.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--accent-cyan);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item__answer.is-open {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-item__answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.contact__info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition);
}

.contact__method:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  color: var(--accent-cyan);
}

.contact__method svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact__method strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact__method span {
  font-size: 1rem;
  font-weight: 600;
}

.contact__hours h3,
.contact__areas h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.contact__hours dl div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.contact__hours dt {
  color: var(--text-secondary);
}

.contact__hours dd {
  font-weight: 600;
}

.contact__areas {
  margin-top: 24px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tags span {
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact__form h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 350px;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.8) invert(0.92) contrast(0.9);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer__nav h3,
.footer__contact h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer__nav ul li,
.footer__contact ul li {
  margin-bottom: 10px;
}

.footer__nav a,
.footer__contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--accent-cyan);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__bottom nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer__bottom nav a,
.footer__cookie-btn {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__cookie-btn:hover {
  color: var(--accent-cyan);
}

.footer__credit {
  padding: 0 0 24px;
  text-align: center;
}

.footer__credit p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer__credit a:hover {
  color: var(--accent-cyan);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

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

/* ---- Cookie Consent ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
}

.cookie-consent__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-consent__header h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cookie-consent__header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.cookie-consent__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.cookie-category__info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cookie-category__info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--text-muted);
  border-radius: 24px;
  transition: background var(--transition);
  cursor: pointer;
}

.toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle input:checked + .toggle__slider {
  background: var(--accent-cyan);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(20px);
}

.toggle--disabled .toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-consent__legal {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: calc(var(--header-h) + 48px) 0 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  color: var(--accent-cyan);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--accent-cyan);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__layer img {
    object-position: 70% center;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .testimonials__track {
    transition: none;
  }

  .hero__layer--reveal {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0;
  }

  .hero.is-active .hero__overlay {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---- Service pages ---- */
.service-page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--header-h);
}

.service-page-hero__bg {
  position: absolute;
  inset: 0;
}

.service-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.5) 0%, rgba(10, 10, 15, 0.95) 100%);
}

.service-page-hero__content {
  position: relative;
  z-index: 1;
  padding: 48px 24px 56px;
  max-width: 900px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent-cyan);
}

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

.service-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.service-page-hero__lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.service-detail__regions {
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.service-detail__block {
  margin-bottom: 36px;
}

.service-detail__block h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.service-detail__block ul {
  list-style: none;
}

.service-detail__block li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.service-detail__block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.service-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.service-sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-sidebar-card .btn {
  margin-bottom: 10px;
}

.service-sidebar-links li {
  margin-bottom: 8px;
}

.service-sidebar-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-sidebar-links a:hover {
  color: var(--accent-cyan);
}

.service-cta-band {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.service-cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.service-cta-band p {
  color: var(--text-secondary);
  max-width: 520px;
}

.service-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-summary {
  padding: 32px 0 48px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
}

.ai-summary__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 900px;
}

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

@media (max-width: 1024px) {
  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .service-detail__sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .service-page-hero__bg img {
    object-position: 70% center;
  }

  .service-cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .service-cta-band__actions {
    justify-content: center;
    width: 100%;
  }
}
