/* ==========================================================================
   MURA AUTOMAÇÃO — Design System
   ========================================================================== */

:root {
  /* Brand colors — preto profundo / bronze / vinho / dourado claro
     (nomes de variável mantidos por compatibilidade com o CSS existente) */
  --blue-900: #100d0e;   /* preto profundo — fundo de hero/capa */
  --blue-800: #241c19;   /* preto quente, variação sutil de gradiente */
  --blue-700: #8b6a2c;   /* bronze_texto — legível sobre fundo branco */
  --blue-600: #b8893e;   /* bronze — cor principal de destaque */
  --blue-500: #c9a35c;   /* bronze claro — hover/foco */
  --blue-100: #f5efe1;   /* creme — fundo claro com leve realce */

  --green-700: #5e202f;  /* vinho escuro — gradiente */
  --green-600: #7f2c42;  /* vinho — acento secundário */
  --green-500: #7f2c42;  /* vinho */
  --green-400: #9c4058;  /* vinho claro — gradiente */
  --green-100: #f5efe1;  /* creme */

  --lime-300: #d9b86a;   /* dourado claro — realce SOMENTE sobre fundo escuro */

  --gray-50: #faf8f5;
  --gray-100: #f0ece6;
  --gray-200: #e5dfd7;
  --gray-300: #d3cbc0;
  --gray-400: #a69c8f;
  --gray-600: #6b6560;   /* texto secundário */
  --gray-800: #333333;   /* texto de corpo */
  --gray-900: #1a1816;
  --white: #ffffff;

  --gradient-blue: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  --gradient-green: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%);
  --gradient-hero: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 55%, var(--blue-700) 100%);

  --shadow-sm: 0 2px 10px rgba(16, 13, 14, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 13, 14, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 13, 14, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container-w: 1180px;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-900);
}

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

/* ---------- Utility ---------- */
.text-green { color: var(--green-600); }
.text-blue { color: var(--blue-700); }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green-500);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--blue-900);
  box-shadow: 0 10px 24px rgba(184, 137, 62, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184, 137, 62, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-dark-outline {
  background: transparent;
  color: var(--blue-800);
  border: 1.5px solid var(--gray-300);
}
.btn-dark-outline:hover { border-color: var(--blue-700); color: var(--blue-700); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header.is-scrolled {
  background: rgba(16, 13, 14, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}
.header.is-solid {
  background: rgba(16, 13, 14, 0.97);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  width: fit-content;
  font-size: 36px;
  transition: font-size 0.35s ease;
}
.header.is-scrolled .logo { font-size: 26px; }
.footer .logo { font-size: 26px; }
.logo-word {
  font-family: 'Audiowide', sans-serif;
  font-size: 1em;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.logo-tagline {
  font-family: 'Audiowide', sans-serif;
  font-size: 0.31em;
  letter-spacing: 0.35em;
  color: var(--lime-300);
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime-300);
  transition: width 0.25s ease;
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  color: var(--white);
  padding-top: 120px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media .hero-fallback {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.hero-fallback {
  display: none;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero-fallback svg { position: absolute; opacity: 0.16; }
.hero-fallback .house-outline {
  right: -6%; bottom: -10%;
  width: 62%; max-width: 720px;
}
.hero-fallback .grid-lines {
  inset: 0; width: 100%; height: 100%; opacity: 0.08;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,13,14,0.92) 0%, rgba(16,13,14,0.8) 32%, rgba(16,13,14,0.35) 55%, rgba(16,13,14,0.12) 75%, rgba(16,13,14,0.12) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 40px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-300); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime-300);
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto 38px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: floatY 2.4s ease-in-out infinite;
}
.scroll-cue .line { width: 1px; height: 30px; background: linear-gradient(rgba(255,255,255,0.7), transparent); }
@keyframes floatY { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 168px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(184,137,62,0.20), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--lime-300); }
.page-hero .eyebrow::before { background: var(--lime-300); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 620px; margin-top: 16px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--lime-300); }

/* ==========================================================================
   About summary (Home)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--gradient-blue);
  aspect-ratio: 4/5;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual .pattern { position: absolute; inset: 0; opacity: 0.5; }
.about-visual .quote-card {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--white);
}
.about-visual .quote-card p { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.about-text p { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 18px; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.mv-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border-top: 3px solid var(--blue-600);
}
.mv-card.vision { border-top-color: var(--green-500); }
.mv-card h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.mv-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ==========================================================================
   Values grid
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-circle {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-circle svg { width: 24px; height: 24px; }
.icon-circle.blue { background: var(--blue-100); color: var(--blue-700); }
.icon-circle.green { background: var(--green-100); color: var(--green-600); }
.value-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.value-card p { color: var(--gray-600); font-size: 0.94rem; }

/* ==========================================================================
   Services grid (Home + Services page)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--gray-600); font-size: 0.92rem; flex-grow: 1; }
.service-card .learn-more {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--blue-700);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s ease;
}
.service-card:hover .learn-more { gap: 10px; }

/* ==========================================================================
   Why us / differentiators
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.why-item .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green-500);
  flex-shrink: 0;
}
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { color: var(--gray-600); font-size: 0.92rem; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.project-media {
  aspect-ratio: 4/3;
  background: var(--gradient-blue);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-media:nth-child(odd) { }
.project-card:nth-child(3n+2) .project-media { background: var(--gradient-green); }
.project-card:nth-child(3n) .project-media { background: linear-gradient(135deg, var(--blue-700), var(--green-500)); }
.project-media svg { width: 64px; height: 64px; opacity: 0.5; color: var(--white); }
.project-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.project-info { padding: 22px; background: var(--white); }
.project-info h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project-info p { color: var(--gray-600); font-size: 0.9rem; }

.projects-soon {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  margin-top: 40px;
}
.projects-soon h3 { margin-bottom: 10px; }
.projects-soon p { color: var(--gray-600); max-width: 480px; margin: 0 auto; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-cover {
  aspect-ratio: 16/10;
  background: var(--gradient-blue);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.post-card:nth-child(3n+2) .post-cover { background: var(--gradient-green); }
.post-card:nth-child(3n) .post-cover { background: linear-gradient(135deg, var(--blue-700), var(--green-500)); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post-cover svg { width: 48px; height: 48px; opacity: 0.5; color: var(--white); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-date {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 10px;
}
.post-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.post-body p { color: var(--gray-600); font-size: 0.92rem; flex-grow: 1; }
.post-body .learn-more { margin-top: 18px; }

.post-article { max-width: 760px; margin: 0 auto; }
.post-article .post-cover { aspect-ratio: 21/9; border-radius: var(--radius-lg); margin-bottom: 36px; }
.post-article .post-date { margin-bottom: 12px; }
.post-article h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 24px; }
.post-content { color: var(--gray-800); font-size: 1.05rem; line-height: 1.8; }
.post-content p { margin-bottom: 20px; }
.post-content h2, .post-content h3 { margin: 32px 0 16px; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content img { border-radius: var(--radius-md); margin: 24px 0; }

.blog-empty {
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
}
.blog-empty h3 { margin-bottom: 10px; }
.blog-empty p { color: var(--gray-600); max-width: 480px; margin: 0 auto; }

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-card .stars { color: var(--blue-600); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--gray-800); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--gray-600); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--gradient-green);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); max-width: 460px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,0.82); margin-top: 8px; font-weight: 500; }
.cta-band .btn-primary { background: var(--blue-600); color: var(--blue-900); box-shadow: 0 10px 24px rgba(16,13,14,0.3); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.14); border-color: var(--white); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==========================================================================
   Service detail blocks (Services page)
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.service-detail-side {
  background: var(--gradient-blue);
  color: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.service-detail:nth-child(even) .service-detail-side { background: var(--gradient-green); }
.service-detail-side .index { font-family: var(--font-heading); font-weight: 800; opacity: 0.5; font-size: 0.9rem; margin-bottom: 20px; }
.service-detail-side .icon-circle { background: rgba(255,255,255,0.15); color: var(--white); }
.service-detail-side h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 12px; }
.service-detail-side p { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 22px; }
.tag-list { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.tag-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.95); }
.tag-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.service-detail-body {
  padding: 44px 40px;
  display: grid;
  gap: 26px;
}
.service-feature { padding-left: 20px; border-left: 3px solid var(--blue-500); }
.service-detail:nth-child(even) .service-feature { border-left-color: var(--green-500); }
.service-feature h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--blue-900); }
.service-feature p { color: var(--gray-600); font-size: 0.95rem; }
.service-detail-footer {
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid var(--gray-200);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue-800);
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.contact-info-card p { color: rgba(255,255,255,0.78); margin-bottom: 28px; }
.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-channel:first-of-type { border-top: none; }
.contact-channel .icon-circle { background: rgba(255,255,255,0.14); color: var(--white); margin-bottom: 0; flex-shrink: 0; }
.contact-channel strong { display: block; font-size: 0.98rem; }
.contact-channel span { font-size: 0.86rem; color: rgba(255,255,255,0.7); }
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--blue-600); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-800);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--gray-400); margin-top: 14px; text-align: center; }

.field-consent { margin-bottom: 20px; }
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.consent-check input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--blue-600);
  flex-shrink: 0;
  cursor: pointer;
}
.consent-check span { font-size: 0.86rem; color: var(--gray-600); line-height: 1.5; }
.consent-check a { color: var(--blue-600); text-decoration: underline; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-top: 48px;
  aspect-ratio: 21/7;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  gap: 10px;
}

/* ==========================================================================
   FAQ (contact page)
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--blue-900);
}
.faq-question .plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.faq-question .plus::before, .faq-question .plus::after {
  content: ''; position: absolute; background: var(--blue-700);
}
.faq-question .plus::before { width: 9px; height: 1.5px; }
.faq-question .plus::after { width: 1.5px; height: 9px; }
.faq-item.is-open .plus { transform: rotate(45deg); border-color: var(--green-500); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--gray-600);
  font-size: 0.94rem;
}
.faq-item.is-open .faq-answer { max-height: 220px; padding: 0 24px 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer h4 {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--lime-300); padding-left: 4px; }
.footer-contact li { margin-bottom: 14px; font-size: 0.92rem; display: flex; gap: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--blue-600); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.82); flex: 1 1 280px; margin: 0; }
.cookie-banner p a { color: var(--lime-300); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: 0.86rem; }
.cookie-banner-actions .cookie-reject {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.cookie-banner-actions .cookie-reject:hover { border-color: var(--white); }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* ==========================================================================
   Floating actions
   ========================================================================== */
.float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-btn.whatsapp { background: #25d366; color: var(--white); }
.float-btn.top {
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--gray-200);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.float-btn.top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.float-btn svg { width: 24px; height: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--blue-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 1050;
  }
  .nav.is-open a { font-size: 1.3rem; }
  .why-grid, .mission-vision, .form-row, .services-grid, .values-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 100px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
}
