/* ============================================
   Chegada d'Ideias — Landing Page Styles
   ============================================ */

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

:root {
  --red: #C4192A;
  --red-dark: #9E1420;
  --red-light: #F8E8EA;
  --blue: #1A5CAB;
  --blue-dark: #134A8A;
  --blue-light: #E8F0FA;
  --green: #2E8B57;
  --green-dark: #1E6B3F;
  --green-light: #E8F5EE;
  --dark: #1A1A1A;
  --gray-900: #2D2D2D;
  --gray-700: #555555;
  --gray-400: #999999;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--dark);
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--gray-200);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 64px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-700);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--red);
  padding: 10px 24px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  min-height: min(100vh, 900px);
  min-height: min(100dvh, 900px);
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 40px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--red);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 25, 42, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 92, 171, 0.2);
}

/* Hero visual — network animation */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#networkCanvas {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 450;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- About --- */
.about {
  padding: var(--section-padding);
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.about-stat {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
}

.about-stat .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  display: block;
}

.about-stat:nth-child(2) .number,
.about-stat:nth-child(3) .number {
  color: var(--blue);
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
  display: block;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--red);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item:nth-child(2) .value-icon,
.value-item:nth-child(4) .value-icon {
  background: var(--blue-light);
}

.value-item:nth-child(2) .value-icon svg,
.value-item:nth-child(4) .value-icon svg {
  stroke: var(--blue);
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* --- Services --- */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.services-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
}

.tab-btn {
  padding: 12px 28px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.tab-btn:hover:not(.active) {
  border-color: var(--dark);
}

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

.service-card {
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: default;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Staggered card entrance when accordion opens */
.accordion-panel .service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-panel.open .service-card {
  opacity: 1;
  transform: translateY(0);
}

.accordion-panel.open .service-card:nth-child(1) { transition-delay: 0.05s; }
.accordion-panel.open .service-card:nth-child(2) { transition-delay: 0.1s; }
.accordion-panel.open .service-card:nth-child(3) { transition-delay: 0.15s; }
.accordion-panel.open .service-card:nth-child(4) { transition-delay: 0.2s; }
.accordion-panel.open .service-card:nth-child(5) { transition-delay: 0.25s; }
.accordion-panel.open .service-card:nth-child(6) { transition-delay: 0.3s; }

/* Icon bounce on card appear */
.accordion-panel .service-icon {
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-panel.open .service-icon {
  transform: scale(1);
}

.accordion-panel.open .service-card:nth-child(1) .service-icon { transition-delay: 0.15s; }
.accordion-panel.open .service-card:nth-child(2) .service-icon { transition-delay: 0.2s; }
.accordion-panel.open .service-card:nth-child(3) .service-icon { transition-delay: 0.25s; }
.accordion-panel.open .service-card:nth-child(4) .service-icon { transition-delay: 0.3s; }
.accordion-panel.open .service-card:nth-child(5) .service-icon { transition-delay: 0.35s; }
.accordion-panel.open .service-card:nth-child(6) .service-icon { transition-delay: 0.4s; }

/* Colored border on hover per area */
#panel-empresarial .service-card:hover {
  border-color: var(--red);
}

#panel-urbana .service-card:hover {
  border-color: var(--blue);
}

#panel-social .service-card:hover {
  border-color: var(--green);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.service-icon.icon-blue {
  background: var(--blue-light);
}

.service-icon.icon-blue svg {
  stroke: var(--blue);
}

.service-icon.icon-green {
  background: var(--green-light);
}

.service-icon.icon-green svg {
  stroke: var(--green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Contact --- */
.contact {
  padding: var(--section-padding);
  background: var(--gray-100);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.contact-card .contact-item-icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-card .contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card:nth-child(2) .contact-item-icon {
  background: var(--blue-light);
}

.contact-card:nth-child(2) .contact-item-icon svg {
  stroke: var(--blue);
}

.contact-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--blue);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--blue);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-reclamacoes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer-reclamacoes:hover {
  color: var(--white);
}

/* --- Privacy Page --- */
.privacy-content {
  padding: 80px 0 100px;
}

.privacy-body {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 32px;
}

.privacy-body p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 20px;
}

.privacy-body h2 {
  font-size: 1.3rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--dark);
  position: relative;
  padding-left: 20px;
}

.privacy-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}

.privacy-body h2:nth-of-type(even)::before {
  background: var(--blue);
}

.privacy-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.privacy-body ol li {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 8px;
  list-style: decimal;
}

.privacy-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-body a:hover {
  color: var(--red);
}

@media (max-width: 768px) {
  .privacy-content {
    padding: 48px 0 72px;
  }
}

/* --- Animations (scroll reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Services Page --- */
.services-page-hero {
  padding: 160px 0 60px;
  background: var(--gray-100);
  text-align: center;
}

.services-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
  margin: 0 auto 20px;
}

.services-page-title span {
  color: var(--red);
}

.services-page-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.services-page-section {
  padding: 80px 0;
}

.services-page-section.section-alt {
  background: var(--gray-100);
}

.services-page-section-header {
  margin-bottom: 48px;
}

.services-page-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.services-page-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.services-page-dot.dot-red { background: var(--red); }
.services-page-dot.dot-blue { background: var(--blue); }
.services-page-dot.dot-green { background: var(--green); }

.services-page-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.services-page-section-header p {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 600px;
  line-height: 1.7;
}

.services-page-cards {
  padding: 80px 0;
}

.services-accordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.accordion-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.accordion-card:hover {
  border-color: var(--gray-400);
}

.accordion-card.open {
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.accordion-card.open#urbana {
  border-color: var(--blue);
}

.accordion-card.open#social {
  border-color: var(--green);
}

.accordion-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 28px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.accordion-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.accordion-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon.icon-red {
  background: var(--red-light);
}

.accordion-icon.icon-red svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-icon.icon-blue {
  background: var(--blue-light);
}

.accordion-icon.icon-blue svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-icon.icon-green {
  background: var(--green-light);
}

.accordion-icon.icon-green svg {
  width: 26px;
  height: 26px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-header h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.accordion-header p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.accordion-arrow {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.accordion-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--gray-700);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion-card.open .accordion-arrow {
  transform: rotate(180deg);
  background: var(--dark);
}

.accordion-card.open .accordion-arrow svg {
  stroke: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-panel-inner {
  padding: 8px 0 20px;
}

.accordion-panel .services-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services-page-cta {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
}

.services-page-cta-content h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.services-page-cta-content p {
  color: var(--gray-400);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- About Page --- */
.about-page-hero {
  padding: 160px 0 60px;
  background: var(--gray-100);
  text-align: center;
}

.about-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
  margin: 0 auto;
}

.about-page-title span {
  color: var(--red);
}

.about-page-content {
  padding: 80px 0 100px;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.about-page-intro {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.about-page-text .lead {
  font-size: 1.25rem;
  color: var(--gray-700);
  line-height: 1.9;
  font-weight: 500;
}

.about-page-block {
  margin-bottom: 40px;
}

.about-page-block h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--dark);
  position: relative;
  padding-left: 20px;
}

.about-page-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}

.about-page-block:nth-child(3) h2::before { background: var(--blue); }
.about-page-block:nth-child(4) h2::before { background: var(--red); }
.about-page-block:nth-child(5) h2::before { background: var(--blue); }

.about-page-block p {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.about-page-cta {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.about-page-cta .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
  font-style: italic;
}

.about-page-sidebar {
  position: sticky;
  top: 100px;
}

.about-page-values {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.about-page-values h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark);
  margin-bottom: 24px;
  font-size: 0.8rem;
}

.about-page-values .value-item {
  margin-bottom: 20px;
}

.about-page-values .value-item:last-child {
  margin-bottom: 0;
}

.about-page-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-page-stats .about-stat {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }

  .hero-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  #networkCanvas {
    max-width: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { order: -1; }

  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-page-sidebar {
    position: static;
  }

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

  #empresarial { order: 1; }
  #panel-empresarial { order: 2; }
  #urbana { order: 3; }
  #panel-urbana { order: 4; }
  #social { order: 5; }
  #panel-social { order: 6; }

  .accordion-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    gap: 24px;
  }

  .accordion-header-left {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .accordion-panel .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .services-tabs {
    flex-wrap: wrap;
  }


  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .services-page-hero {
    padding: 120px 0 40px;
  }

  .services-page-cards {
    padding: 48px 0;
  }

  .accordion-header {
    padding: 24px 20px;
    gap: 16px;
  }

  .accordion-header-left {
    gap: 16px;
  }

  .accordion-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .accordion-header h2 {
    font-size: 1.1rem;
  }

  .accordion-header p {
    font-size: 0.82rem;
  }

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

  .services-page-cta {
    padding: 48px 0;
  }

  .about-page-hero {
    padding: 120px 0 40px;
  }

  .about-page-content {
    padding: 48px 0 72px;
  }

  .about-page-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  color: var(--gray-200);
  z-index: 9999;
  padding: 20px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner a:hover {
  color: var(--red-light);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cookie-btn-accept {
  background: var(--red);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--red-dark);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--gray-200);
  border: 1px solid var(--gray-400);
}

.cookie-btn-reject:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
