@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary: #FF7A00;
  --primary-rgb: 255, 122, 0;
  --primary-hover: #E06B00;
  --dark-bg: #0C0C0E;
  --dark-card: #141417;
  --dark-border: rgba(255, 255, 255, 0.08);
  --light-bg: #F8F9FA;
  --light-card: #FFFFFF;
  --light-border: rgba(0, 0, 0, 0.06);
  --text-dark: #121214;
  --text-light: #F3F4F6;
  --text-muted: #8E929B;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(12, 12, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-light);
}

.logo span {
  color: var(--primary);
}

.logo svg {
  height: 36px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

nav a:hover, nav a.active {
  color: var(--text-light);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.btn-contact {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: var(--primary);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-contact:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections Global Styling */
section {
  padding: 6rem 2rem;
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, rgba(255, 122, 0, 0.12) 0%, rgba(12, 12, 14, 0) 60%),
              linear-gradient(180deg, #0C0C0E 0%, #121215 100%);
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 60%, #FFA857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.btn-secondary {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background-color: transparent;
  color: var(--text-light);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  border: 1px solid var(--dark-border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shield-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.18) 0%, rgba(255, 122, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-img-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield-outline {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: draw 3s ease-out forwards;
}


@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-icon-center {
  position: absolute;
  z-index: 2;
  width: 100px;
  height: 100px;
  background: rgba(20, 20, 23, 0.8);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.3);
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 122, 0, 0.3);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 122, 0, 0.5);
  }
}

/* Metrics Section */
.metrics-section {
  padding: 4rem 2rem;
  background-color: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.metric-card {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid var(--dark-border);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 992px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-card {
    border-right: none;
    border-bottom: 1px solid var(--dark-border);
  }
  .metric-card:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-card {
    border-bottom: 1px solid var(--dark-border);
  }
  .metric-card:last-child {
    border-bottom: none;
  }
}

/* About Section */
.about {
  background-color: var(--light-bg);
  color: var(--text-dark);
  border-radius: 40px 40px 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content .section-title {
  color: var(--text-dark);
}

.about-text {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-feat {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
}

.about-feat h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.about-feat p {
  font-size: 0.95rem;
  color: #6B7280;
}

.about-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-card-mockup {
  background: var(--light-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-border);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.about-shield-logo {
  width: 80px;
  height: 80px;
  background: rgba(255, 122, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  background-color: var(--dark-bg);
  position: relative;
}

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

.service-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 0, 0.3);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 122, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.3;
}

.btn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .btn-card-link {
  gap: 0.75rem;
}

/* Modals / Dialogs styling */
dialog {
  margin: auto;
  border: 1px solid var(--dark-border);
  background-color: var(--dark-card);
  color: var(--text-light);
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 580px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  dialog[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}

dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog-header {
  padding: 2rem 2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.dialog-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dialog-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.dialog-close-btn:hover {
  color: var(--text-light);
  transform: rotate(90deg);
}

.dialog-body {
  padding: 1rem 2rem 2.5rem;
}

.dialog-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.dialog-body p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Software Section */
.software {
  background-color: #121215;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.software-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.software-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.software-item:nth-child(even) {
  direction: rtl;
}

.software-item:nth-child(even) .software-content {
  direction: ltr;
}

.software-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.software-content h3 span {
  color: var(--primary);
}

.software-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.software-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.software-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 1rem;
}

.software-features-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.software-visual {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

/* Software Detail Pages Responsive Grid */
.software-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.software-detail-grid.align-start {
  align-items: start;
}

.software-detail-grid.grid-equal {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 992px) {
  .software-detail-grid, .software-detail-grid.grid-equal {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
}


/* Dashboard Mockup Styling */
.dashboard-mockup {
  background: #0E0E10;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  aspect-ratio: 1.6;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.db-title {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.db-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  flex-grow: 1;
}

.db-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.db-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 60px;
  padding-top: 0.5rem;
}

.db-bar {
  width: 14px;
  background: rgba(255, 122, 0, 0.2);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}

.db-bar.active {
  background: var(--primary);
}

.db-circle-chart {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 70%, #202024 0);
  margin: 0.5rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-circle-chart::after {
  content: '70%';
  position: absolute;
  width: 38px;
  height: 38px;
  background: #141417;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 600;
}

.partner-logos {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.partner-logo {
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Section */
.contact {
  background-color: var(--dark-bg);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-text p:first-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-item-text p:last-child {
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-form-container {
  background: var(--dark-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--dark-border);
}

.contact-form-container h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-hover);
}

/* Footer */
footer {
  background-color: #08080A;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--dark-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer p span {
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .software-item, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .software-item:nth-child(even) {
    direction: ltr;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero {
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--dark-border);
    padding: 1.5rem 2rem;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 1.25rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-container {
    padding: 1rem 1.25rem;
  }
  
  @media (max-width: 480px) {
    .nav-container {
      padding: 0.85rem 1rem;
    }
  }
  
  header .btn-contact {
    display: none;
  }
  
  section {
    padding: 4rem 1.5rem !important;
  }
  
  .service-detail-hero {
    padding: 8rem 1.5rem 4rem !important;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-ctas a, .hero-ctas button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  
  .hero-img-container {
    max-width: 280px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

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

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  background-color: #20ba5a;
  color: white;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 30px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 25px;
    right: 15px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* Clients Section */
.clients-section {
  padding: 3.5rem 2rem;
  background-color: #0E0E10;
  border-bottom: 1px solid var(--dark-border);
  text-align: center;
}

.clients-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo-item {
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35rem;
  opacity: 0.5;
  transition: var(--transition);
  cursor: default;
}

.client-logo-item:hover {
  opacity: 1;
  color: var(--text-light);
}

/* Value Pillars Grid */
.pillars-section {
  background-color: var(--dark-bg);
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--dark-border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.pillar-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: var(--shadow);
}

.pillar-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 122, 0, 0.1);
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.pillar-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Featured Services */
.featured-services-section {
  background-color: #121215;
  padding: 6rem 2rem;
  border-bottom: 1px solid var(--dark-border);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.featured-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.featured-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.15);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 2.5rem;
  background-color: var(--primary);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-card h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.featured-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-cotizar {
  width: 100%;
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--primary);
  padding: 0.85rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.featured-card.highlighted .btn-cotizar, .btn-cotizar:hover {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

/* Testimonial Section */
.testimonial-section {
  background: linear-gradient(180deg, #121215 0%, #0C0C0E 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--dark-border);
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-family: var(--font-title);
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 6rem;
  color: rgba(255, 122, 0, 0.15);
  position: absolute;
  top: -4rem;
  left: -2rem;
  font-family: serif;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.testimonial-company {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sedes Section */
.sedes-section {
  background-color: var(--light-bg);
  color: var(--text-dark);
  padding: 6rem 2rem;
}

.sedes-section .section-title {
  color: var(--text-dark);
}

.sedes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.sede-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: var(--transition);
}

.sede-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.sede-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.sede-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  color: #4B5563;
  list-style: none;
}

.sede-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sede-details svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer layout updates */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 4rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

@media (max-width: 992px) {
  .pillars-grid, .featured-grid, .sedes-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Service Detail Pages Layout */
.service-detail-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.08) 0%, rgba(12, 12, 14, 0) 60%),
              linear-gradient(180deg, rgba(12, 12, 14, 0.7) 0%, #121215 100%);
  border-bottom: 1px solid var(--dark-border);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.service-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomInBg 20s linear infinite alternate;
  opacity: 0.35;
}

@keyframes zoomInBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.service-detail-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  margin-top: 3rem;
}

.service-detail-main {
  margin-bottom: 3rem;
}

.service-detail-main h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 0.5rem;
}

.service-detail-main p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-detail-main ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-detail-main li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.service-detail-main li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.service-sidebar-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: 120px;
  box-shadow: var(--shadow);
}

.service-sidebar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service-sidebar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-sidebar-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .footer-col ul {
    grid-template-columns: 1fr !important;
  }
}

/* Hero Slideshow Styles */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-position: center 20% !important; /* Center the faces/heads */
}

.hero-slide.active {
  opacity: 0.85;
}

@media (max-width: 480px) {
  section {
    padding: 3rem 1rem !important;
  }
  .service-detail-hero {
    padding: 6rem 1rem 3rem !important;
  }
}





