/* Contactarnos.com - Design System & UI Stylesheet */

:root {
  --color-primary: #1267f4;
  --color-primary-hover: #0b55d0;
  --color-primary-dark: #0b2b5c;
  --color-text: #172033;
  --color-muted: #687386;
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e5eaf1;
  --color-success: #3aa76d;
  --color-danger: #d9534f;
  
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: 'Playfair Display', Georgia, serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(18, 103, 244, 0.04);
  --shadow-md: 0 4px 20px rgba(18, 103, 244, 0.06);
  --shadow-lg: 0 10px 30px rgba(18, 103, 244, 0.10);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* --- HEADER & NAV --- */
header.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand-logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

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

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

.nav-links a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(18, 103, 244, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(18, 103, 244, 0.3);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-text);
  border-color: var(--color-border);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: rgba(18, 103, 244, 0.05);
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 4.5rem 0 3rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(18, 103, 244, 0.04) 0%, rgba(248, 250, 252, 0) 70%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- HERO VISUAL / NODES DEMO --- */
.hero-visual {
  position: relative;
  width: 100%;
  height: 380px;
  margin-top: 2rem;
}

.node-center-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.node-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3;
}

.node-card img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.node-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-success);
  background: rgba(58, 167, 109, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.node-card-1 { top: 10%; left: 10%; }
.node-card-2 { top: 15%; right: 10%; }
.node-card-3 { bottom: 10%; left: 20%; }

/* --- DEMO WIDGET --- */
.widget-section {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.steps-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: var(--color-background);
}

.step-card.active {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.step-card label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary-dark);
}

.step-card textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  font-family: var(--font-main);
  font-size: 0.88rem;
  resize: none;
  height: 60px;
  outline: none;
}

.step-card textarea:focus {
  border-color: var(--color-primary);
}

.char-counter {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: right;
  margin-top: 0.2rem;
}

.candidates-preview {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.candidate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.candidate-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.candidate-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* --- VALUE PROPS --- */
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 4rem 0;
}

.prop-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.prop-icon {
  font-size: 1.5rem;
  background: rgba(18, 103, 244, 0.08);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

/* --- FOOTER --- */
footer.site-footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: 3rem 0;
  margin-top: 5rem;
}

footer.site-footer a {
  color: #cbd5e1;
}

footer.site-footer a:hover {
  color: #ffffff;
}
