/* ==========================================================================
   ZIO - Design System & Custom CSS Stylesheet
   ========================================================================== */

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

:root {
  /* Color Palette Variables */
  --bg-color: #fcfbf9;         /* stone-50 */
  --text-main: #1c1917;        /* stone-900 */
  --text-muted: #78716c;       /* stone-500 */
  --text-light: #a8a29e;       /* stone-400 */
  --border-color: #e7e5e4;     /* stone-200 */
  
  --card-bg: #ffffff;
  --card-border: #e7e5e4;
  
  --primary: #2563eb;          /* blue-600 */
  --primary-hover: #1d4ed8;    /* blue-700 */
  --primary-light: #eff6ff;    /* blue-50 */
  
  --secondary: #f97316;        /* orange-500 */
  --secondary-hover: #ea580c;  /* orange-600 */
  
  --accent: #16a34a;           /* green-600 */
  --accent-light: #f0fdf4;     /* green-50 */
  
  --dark-bg: #1c1917;          /* stone-900 */
  --dark-surface: #292524;     /* stone-800 */
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: inherit;
}

p {
  color: var(--text-muted);
}

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

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.main-content {
  flex: 1;
}

/* Page Views SPA Handling */
.page-view {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.page-view.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: #ffffff;
  padding: 1.25rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-img {
  height: 2rem;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 1px solid var(--border-color);
  padding-left: 1.5rem;
}

.social-icon-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon-link:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-main);
  z-index: 60;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  z-index: 55;
  padding: 6rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--text-main);
  transition: var(--transition);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.mobile-actions {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-socials {
  display: flex;
  gap: 1rem;
}

.mobile-social-btn {
  padding: 0.75rem;
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-full);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.25;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background-color: var(--dark-surface);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background-color: #383230;
}

.btn-yellow {
  background-color: #e9a825;
  color: #1c1917;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(233, 168, 37, 0.35);
}

.btn-yellow:hover {
  background-color: #d4981e;
  transform: translateY(-1px);
}

/* Hero Section Base */
.hero-section {
  position: relative;
  background-color: var(--dark-bg);
  color: #ffffff;
  padding-top: 7rem;
  padding-bottom: 9rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 10rem;
    padding-bottom: 13rem;
  }
}

.hero-radial-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, #1d4ed8 0%, transparent 50%);
  opacity: 0.2;
  pointer-events: none;
}

.hero-radial-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom left, #ea580c 0%, transparent 45%);
  opacity: 0.1;
  pointer-events: none;
}

.hero-gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 80%, #1c1917 100%);
  pointer-events: none;
}

.dot-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.dot-pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #d6d3d1;
  margin-bottom: 1rem;
  max-width: 42rem;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1rem;
  color: #a8a29e;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

/* Stats Bar */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 768px) {
  .stats-section {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.stats-card {
  background-color: var(--primary);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.stat-icon {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Section Common Styles */
.section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 42rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-line {
  height: 4px;
  width: 5rem;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
}

/* Services Grid (Home) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.3);
}

.service-icon-box {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--primary-light);
  width: max-content;
  border-radius: 0.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: #dbeafe;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 0.625rem;
}

/* Agro Section (Green Theme) */
.agro-section {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(135deg, #052e16 0%, #14532d 60%, #166534 100%);
  color: #ffffff;
  overflow: hidden;
}

.agro-texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.agro-blob-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background-color: rgba(74, 222, 128, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.agro-blob-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(52, 211, 153, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.agro-tag {
  color: #86efac;
}

.agro-title {
  color: #ffffff;
}

.agro-desc-1 {
  color: #dcfce7;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.agro-desc-2 {
  color: rgba(187, 247, 208, 0.7);
  font-size: 1rem;
}

.agro-line {
  background-color: #4ade80;
}

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

@media (min-width: 768px) {
  .agro-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agro-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.agro-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(74, 222, 128, 0.4);
}

.agro-icon-box {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: rgba(74, 222, 128, 0.15);
  width: max-content;
  border-radius: 0.75rem;
  color: #4ade80;
}

.agro-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.agro-card-desc {
  font-size: 0.875rem;
  color: rgba(220, 252, 231, 0.75);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.agro-feature-item {
  color: rgba(187, 247, 208, 0.75);
}

.agro-feature-icon {
  color: #4ade80;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.browser-header {
  background-color: #f5f5f4;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.browser-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.browser-address {
  margin-left: 0.5rem;
  flex: 1;
  background-color: #ffffff;
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  color: #a8a29e;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease-out;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 25, 23, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-btn {
  background-color: #ffffff;
  color: #1c1917;
  border-radius: 50%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transform: translateY(1rem);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay-btn {
  transform: translateY(0);
}

.portfolio-overlay-btn:hover {
  transform: scale(1.1);
}

.portfolio-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  width: max-content;
  margin-bottom: 0.75rem;
}

.tag-green { background-color: #dcfce7; color: #166534; }
.tag-blue { background-color: #dbeafe; color: #1e40af; }
.tag-amber { background-color: #fef3c7; color: #92400e; }

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-title {
  color: var(--primary);
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* CTA Section */
.cta-section {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.02) 50%, transparent 75%, transparent 100%);
  background-size: 4px 4px;
}

.cta-container {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

.cta-desc {
  font-size: 1.125rem;
  color: #a8a29e;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Detailed Services Page Styles */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .service-detail-card {
    grid-template-columns: 2fr 3fr;
    padding: 2.5rem;
  }
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.service-detail-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-detail-icon {
  padding: 1.25rem;
  border-radius: 1rem;
  width: max-content;
}

.bg-blue-light { background-color: #eff6ff; }
.bg-indigo-light { background-color: #e0e7ff; }
.bg-slate-light { background-color: #f1f5f9; }
.bg-orange-light { background-color: #fff7ed; }
.bg-amber-light { background-color: #fffbeb; }
.bg-purple-light { background-color: #faf5ff; }

.service-detail-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .service-detail-title {
    font-size: 1.75rem;
  }
}

.service-detail-intro {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-detail-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-detail-body p:last-child {
  margin-bottom: 0;
}

.included-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  list-style: none;
}

@media (min-width: 640px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Empresa Page Styles */
.prose-section {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
}

.prose-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .prose-lead {
    font-size: 1.5rem;
  }
}

.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.diff-item {
  display: flex;
  gap: 1rem;
}

.diff-icon-box {
  padding: 0.75rem;
  background-color: var(--primary-light);
  border-radius: var(--radius);
  color: var(--primary);
  height: max-content;
  flex-shrink: 0;
}

.diff-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.diff-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Founder Profile Card */
.profile-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .profile-card {
    flex-direction: row;
    padding: 3rem;
  }
}

.profile-avatar-box {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  background-color: #f5f5f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .profile-avatar-box {
    width: 12rem;
    height: 12rem;
  }
}

.avatar-initials {
  font-size: 3.5rem;
  font-weight: 700;
  color: #d6d3d1;
}

@media (min-width: 768px) {
  .avatar-initials {
    font-size: 4.5rem;
  }
}

.profile-info {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .profile-info {
    text-align: left;
  }
}

.profile-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .profile-name {
    font-size: 1.875rem;
  }
}

.profile-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.profile-bio {
  font-size: 0.9375rem;
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.profile-link:hover {
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: #d6d3d1;
  padding-top: 4rem;
  padding-bottom: 3rem;
  border-top: 1px solid #292524;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-link {
  color: #a8a29e;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #a8a29e;
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  padding: 0.625rem;
  background-color: var(--dark-surface);
  color: #d6d3d1;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid var(--dark-surface);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #78716c;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Icon Helper Sizing */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 2.5rem; height: 2.5rem; }
