/* ==========================================================================
   POSIT & POSIT CENTRAL - Design System (Zinc Dark + POSIT Coral Accent)
   Clean, human-crafted, minimal, high-precision SaaS aesthetic.
   No tacky AI glows, no blurry rainbow gradients.
   ========================================================================== */

:root {
  /* shadcn/ui zinc dark palette */
  --background: #09090b;          /* zinc-950 */
  --foreground: #fafafa;          /* zinc-50 */
  
  --card: #101014;                /* custom dark surface */
  --card-foreground: #fafafa;
  
  --popover: #09090b;
  --popover-foreground: #fafafa;
  
  /* POSIT Official Coral/Salmon from SVG Vector Logo */
  --primary: #EA7C69;             /* POSIT official coral */
  --primary-hover: #de6a56;
  --primary-foreground: #ffffff;
  
  --secondary: #18181b;          /* zinc-900 */
  --secondary-foreground: #fafafa;
  
  --muted: #18181b;              /* zinc-900 */
  --muted-foreground: #a1a1aa;   /* zinc-400 */
  --muted-dim: #71717a;          /* zinc-500 */
  
  --accent: #27272a;             /* zinc-800 */
  --accent-foreground: #fafafa;
  
  --destructive: #ef4444;
  --destructive-foreground: #fafafa;
  
  --success: #22c55e;
  --success-foreground: #ffffff;

  --border: #27272a;             /* zinc-800 */
  --border-subtle: #1e1e24;
  --input: #27272a;
  --ring: #ff6b4a;

  --radius: 0.5rem;              /* 8px, shadcn standard */
  --radius-sm: calc(var(--radius) - 2px);
  --radius-lg: calc(var(--radius) + 4px);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --transition-base: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--foreground);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

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

.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-coral { color: var(--primary); }
.text-success { color: var(--success); }
.font-mono { font-family: var(--font-mono); }

/* shadcn Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  transition: border-color var(--transition-base);
}

.badge-coral {
  border-color: rgba(255, 107, 74, 0.35);
  background: rgba(255, 107, 74, 0.08);
  color: var(--primary);
}

.badge-success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  color: var(--success);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* shadcn Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.25rem; /* 36px */
  padding: 0 1rem;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

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

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

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--accent);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--muted-foreground);
}

.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

.btn-lg {
  height: 2.75rem; /* 44px */
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-wordmark {
  font-family: 'Outfit', var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.brand-v2-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 107, 74, 0.4);
  color: var(--primary);
  background: rgba(255, 107, 74, 0.08);
}

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

.nav-item {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-item:hover {
  color: var(--foreground);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  color: var(--foreground);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 1.25rem 0 1rem;
  color: var(--foreground);
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* shadcn Window Frame for UI Showcase */
.mockup-wrapper {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--card);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  text-align: left;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background-color: #0c0d10;
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
}

/* shadcn Segmented Tabs */
.tabs-list {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px;
  gap: 2px;
}

.tab-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.tab-trigger.active {
  background-color: #0c0d10;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* POSIT V2 Real UI Screen */
.screen-container {
  display: none;
}

.screen-container.active {
  display: block;
}

/* POSIT Screen Header */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  background-color: #111317;
  border-bottom: 1px solid var(--border);
}

.app-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-brand {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.app-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #171a20;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-dim);
  width: 200px;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-user-info {
  font-size: 0.75rem;
  line-height: 1.2;
}

.app-user-info strong {
  display: block;
  color: var(--foreground);
}

.app-user-info span {
  color: var(--muted-dim);
  font-size: 0.6875rem;
}

/* App Canvas */
.app-canvas {
  display: flex;
  min-height: 360px;
}

.app-sidebar {
  width: 48px;
  background-color: #0e1014;
  border-right: 1px solid var(--border);
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sidebar-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-dim);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.sidebar-btn.active {
  background-color: var(--primary);
  color: #ffffff;
}

.sidebar-btn:hover:not(.active) {
  color: var(--foreground);
  background-color: var(--secondary);
}

.sidebar-spacer {
  flex-grow: 1;
}

.app-workspace {
  flex-grow: 1;
  background-color: #090a0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 1.5rem;
}

.app-mode-card {
  background-color: #13161c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.app-mode-card:hover {
  border-color: rgba(255, 107, 74, 0.4);
  transform: translateY(-2px);
}

.app-mode-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #1a1e26;
  border: 1px solid rgba(255, 107, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.app-mode-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-mode-card p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.app-mode-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.app-mode-btn:hover {
  opacity: 0.9;
}

/* POSIT CENTRAL Screen */
.central-view {
  padding: 1.5rem;
  background-color: #090a0d;
}

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
}

.ui-table th {
  background-color: var(--secondary);
  color: var(--muted-foreground);
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
}

.ui-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--foreground);
}

.ui-table tr:last-child td {
  border-bottom: none;
}

/* Sections General */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2.75rem;
}

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

.section-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.375rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 600px;
}

.section-header.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* Two Pillars Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* shadcn Card standard */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-base);
}

.card:hover {
  border-color: #3f3f46; /* zinc-700 */
}

.card-header-clean {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background-color: var(--secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #e4e4e7; /* zinc-200 */
}

.features-list li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.8125rem;
}

/* Bento Feature Grid (shadcn style) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition-base);
}

.bento-card:hover {
  border-color: #3f3f46;
}

.bento-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background-color: var(--secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.bento-card h4 {
  font-size: 1rem;
  font-weight: 600;
}

.bento-card p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  flex-grow: 1;
}

.bento-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-dim);
}

.bento-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
}

.bento-footer span i {
  color: var(--primary);
}

/* Rubros Clean Cards */
.rubros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.rubro-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  padding: 1.25rem;
  transition: border-color var(--transition-base);
}

.rubro-item:hover {
  border-color: var(--primary);
}

.rubro-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.rubro-item p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Calculator Card (shadcn form style) */
.calc-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2.25rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-label strong {
  font-family: var(--font-mono);
  color: var(--primary);
}

/* shadcn Range Slider */
.slider-clean {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--secondary);
  outline: none;
}

.slider-clean::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--background);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-dim);
}

/* shadcn Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Summary Card */
.calc-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #0c0d11;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.summary-description {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.summary-table {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-row strong {
  color: var(--foreground);
}

/* Accordion (shadcn clean style) */
.accordion {
  max-width: 760px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-base);
}

.accordion-trigger:hover {
  color: var(--primary);
}

.accordion-chevron {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: transform var(--transition-base);
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 250px;
  padding-bottom: 1.125rem;
}

/* Contact Section (shadcn card + form) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--card);
  padding: 2.5rem;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  text-decoration: none;
  color: var(--foreground);
  background-color: var(--secondary);
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

.contact-link:hover {
  border-color: var(--primary);
  background-color: var(--accent);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--primary);
  background-color: #0c0d10;
  border: 1px solid var(--border);
}

.contact-link-text span {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-link-text strong {
  font-size: 0.9375rem;
}

/* shadcn Form Inputs */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.input-field {
  width: 100%;
  height: 2.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: transparent;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color var(--transition-base);
}

.input-field:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}

select.input-field {
  cursor: pointer;
}

select.input-field option {
  background-color: var(--card);
  color: var(--foreground);
}

textarea.input-field {
  height: auto;
  min-height: 80px;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  font-size: 0.8125rem;
}

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

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-dim);
}

/* Floating Clean WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  height: 2.75rem;
  padding: 0 1rem;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .pillars-grid,
  .calc-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid,
  .rubros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 3.5rem;
    left: 0;
    width: 100%;
    background-color: #101014;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    z-index: 40;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .bento-grid,
  .rubros-grid {
    grid-template-columns: 1fr;
  }
  .app-cards-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 2.25rem;
  }
  .contact-layout,
  .calc-card {
    padding: 1.25rem;
  }
}
