/* ==========================================================================
   IntelligentConta - Stylesheet
   Servicio Profesional de Valoración de Empresas
   ========================================================================== */

:root {
  --primary: #0f172a;          /* Slate 900 */
  --primary-light: #1e293b;    /* Slate 800 */
  --brand: #2563eb;            /* Blue 600 */
  --brand-hover: #1d4ed8;      /* Blue 700 */
  --brand-light: #eff6ff;      /* Blue 50 */
  --accent: #0284c7;           /* Sky 600 */
  --accent-emerald: #059669;   /* Emerald 600 */
  --accent-emerald-light: #ecfdf5;
  --text-main: #0f172a;
  --text-muted: #475569;       /* Slate 600 */
  --text-light: #94a3b8;       /* Slate 400 */
  --bg-page: #f8fafc;          /* Slate 50 */
  --bg-white: #ffffff;
  --border-color: #e2e8f0;     /* Slate 200 */
  --border-focus: #3b82f6;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-logo .logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand) 0%, #1e40af 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.brand-logo .logo-text {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.03em;
}

.brand-logo .intelligent {
  color: #1e293b;
  font-weight: 800;
}

.brand-logo .conta {
  color: var(--brand);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 6px 4px;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-header-cta:hover {
  background: var(--brand-hover);
}

.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 7px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 60px;
  background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(14, 165, 233, 0.07) 0%, transparent 45%),
              #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero h1 .highlight-text {
  background: linear-gradient(135deg, var(--brand) 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-secondary {
  background: #ffffff;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-page);
  border-color: var(--text-light);
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Hero Right Side: Valuation Card Preview */
.hero-visual {
  position: relative;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-verified {
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.report-summary-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.report-summary-box .sub-label {
  font-size: 0.8rem;
  
  color: #166534;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.report-summary-box .valuation-figure {
  font-size: 2.2rem;
  font-weight: 800;
  color: #14532d;
  letter-spacing: -0.03em;
  margin: 4px 0;
}

.report-summary-box .interval-text {
  font-size: 0.85rem;
  color: #15803d;
  font-weight: 500;
}

.report-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric-pill {
  background: var(--bg-page);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.metric-pill .lbl {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  display: block;
}

.metric-pill .val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.report-badges-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
section {
  padding: 24px 0 80px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  
  color: var(--brand);
  background: var(--brand-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 16px;
}

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

/* ==========================================================================
   Use Cases (Cuándo valorar tu empresa)
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.case-icon-box {
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.case-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.case-highlight {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.06);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ==========================================================================
   Metodologías de Valoración
   ========================================================================== */
.methodologies {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.method-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.method-card.featured {
  background: #ffffff;
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.method-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.method-card .method-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  display: block;
}

.method-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.method-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.method-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.method-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calc-section {
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
              var(--bg-page);
}

.calc-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.calc-inputs-pane {
  padding: 40px;
}

.calc-inputs-pane h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.calc-inputs-pane p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.calc-results-pane {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-results-pane .res-tag {
  font-size: 0.8rem;
  
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-results-pane h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 24px;
}

.valuation-display-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.valuation-display-box .calc-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.03em;
  margin: 6px 0;
}

.valuation-display-box .calc-multiple-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.calc-disclaimer {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-calc-cta {
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 0;
  text-align: center;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-calc-cta span {
  min-width: 0;
}

.btn-calc-cta svg {
  flex-shrink: 0;
}

.btn-calc-cta:hover {
  background: var(--brand-hover);
}

/* ==========================================================================
   Process (Cómo trabajamos)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(37, 99, 235, 0.2);
  line-height: 1;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Deliverables Checklist (Qué incluye el informe)
   ========================================================================== */
.deliverables-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.deliverable-list {
  list-style: none;
}

.deliverable-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.deliverable-item:last-child {
  border-bottom: none;
}

.deliverable-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.deliverable-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.deliverable-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.deliverables-card-highlight {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.deliverables-card-highlight h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.deliverables-card-highlight p {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 28px;
}

.deliverables-guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  border-radius: var(--radius-md);
}

.deliverables-guarantee svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.deliverables-guarantee .text {
  font-size: 0.9rem;
  color: #e2e8f0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--bg-page);
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-direct-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-meta .lbl {
  font-size: 0.8rem;
  color: var(--text-light);
  
  font-weight: 600;
  display: block;
}

.channel-meta a, .channel-meta span {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.channel-meta a:hover {
  color: var(--brand);
}

.nda-commitment-box {
  margin-top: auto;
  background: var(--accent-emerald-light);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nda-commitment-box svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.nda-commitment-box p {
  font-size: 0.85rem;
  color: #14532d;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

/* Notification toast */
.toast-msg {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0b1329;
  color: #cbd5e1;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .brand-logo .intelligent {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Cookies Bar
   ========================================================================== */
#barracookies {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#barracookies p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

#barracookies .cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--brand);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-info {
  background: var(--bg-page);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .method-card.featured {
    transform: none;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid > * {
    min-width: 0;
  }

  .contact-channel-item,
  .channel-meta {
    min-width: 0;
  }

  .channel-meta a,
  .channel-meta span {
    overflow-wrap: anywhere;
  }

  .contact-form-card .btn-primary {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 980px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-header-cta {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .calc-inputs-pane,
  .calc-results-pane {
    min-width: 0;
    padding: 24px;
  }

  .calc-inputs-pane #btnCalculate {
    min-width: 0;
    white-space: normal;
    flex-wrap: nowrap;
  }

  .calc-inputs-pane #btnCalculate svg {
    flex-shrink: 0;
  }

  .calc-inputs-pane #btnCalculate span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .calc-results-pane .res-tag {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .btn-calc-cta {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .valuation-display-box .calc-val {
    font-size: clamp(1.125rem, 7.5vw, 2rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-trust-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #barracookies {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-header-cta {
    display: none;
  }
}