/* === GRUPO GARAT — Projects & Subpages Design System === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Montserrat', sans-serif;
  --bg-dark: #08090A;
  --bg-card: #0F1011;
  --bg-card-hover: #16181A;
  --bg-surface: rgba(255, 255, 255, 0.03);
  
  --text-main: #F7F8F8;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.15);
  
  /* Accent Default */
  --accent-primary: #5E6AD2;
  --accent-glow: rgba(94, 106, 210, 0.25);
}

/* Biobots Theme Overrides */
.theme-biobots {
  --accent-primary: #00F2FE;
  --accent-glow: rgba(0, 242, 254, 0.25);
  --accent-secondary: #10B981;
}

/* GIS GCABA Theme Overrides */
.theme-gisgcaba {
  --accent-primary: #0284C7;
  --accent-glow: rgba(2, 132, 199, 0.25);
  --accent-secondary: #1E3A8A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Breadcrumb */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 9, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 64px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-link span {
  color: var(--accent-primary);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb .sep {
  color: var(--text-dim);
}

.breadcrumb .current {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Hero Section */
.hero-project {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  color: var(--accent-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Cards & Selector */
.selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .selector-grid {
    grid-template-columns: 1fr;
  }
}

.selector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.selector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-primary);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.selector-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--accent-glow);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 24px;
  margin-bottom: 24px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Feature Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

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

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
}

.feature-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Interactive Demo / Screenshot Mockup */
.demo-window {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.window-bar {
  background: #141618;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.dot-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #334155;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-title {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 12px;
  font-weight: 600;
}

.window-content {
  padding: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: #000;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-glow);
}

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

/* Table styling for specs */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.spec-table th {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}

/* Footer */
.footer-simple {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-simple a {
  color: var(--text-muted);
  text-decoration: none;
}

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