/*
Theme Name: Trinocex
Theme URI: https://trinocex.example
Author: Trinocex Studio
Author URI: https://trinocex.example
Description: Tema base generado por Trinocex Studio. Arquetipo landing_cta_unico.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trinocex
*/

:root {
  --brand-primary: #FF3D71;
  --brand-primary-hover: #e6356a;
  --bg-base: #FFFFFF;
  --bg-alt: #FAFAFB;
  --ink-primary: #111111;
  --ink-secondary: #4A4A55;
  --ink-muted: #7A7A85;
  --accent: #7C3AED;
  --secondary: #00C2A8;
  --border-subtle: rgba(17, 17, 17, 0.08);
  --shadow-soft: 0 12px 32px rgba(17, 17, 17, 0.06);
  --shadow-strong: 0 24px 60px rgba(17, 17, 17, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --container-max: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.4rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--ink-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand-primary); }

h1, h2, h3, h4 { color: var(--ink-primary); line-height: var(--lh-tight); margin: 0 0 var(--space-4); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 var(--space-4); color: var(--ink-secondary); }

.trx-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.trx-section { padding: var(--space-9) 0; position: relative; }
.trx-section--tight { padding: var(--space-7) 0; }
.trx-section--alt { background: var(--bg-alt); }

.trx-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

.trx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.trx-btn--primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 61, 113, 0.32);
}
.trx-btn--primary:hover {
  background: var(--brand-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 61, 113, 0.4);
}
.trx-btn--ghost {
  background: transparent;
  color: var(--ink-primary);
  border-color: var(--border-subtle);
}
.trx-btn--ghost:hover { border-color: var(--ink-primary); color: var(--ink-primary); }

.trx-btn--lg { padding: 20px 36px; font-size: 1.05rem; }

.trx-grid { display: grid; gap: var(--space-6); }
.trx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trx-grid--hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--space-8); }

@media (max-width: 960px) {
  .trx-grid--2, .trx-grid--3, .trx-grid--hero { grid-template-columns: 1fr; }
}

.trx-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.trx-skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-4);
  background: var(--ink-primary);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.trx-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.trx-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}
.trx-brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.trx-brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: inline-block;
}

.trx-site-footer {
  padding: var(--space-7) 0 var(--space-6);
  border-top: 1px solid var(--border-subtle);
  color: var(--ink-muted);
  font-size: var(--fs-small);
  text-align: center;
  background: var(--bg-alt);
}
.trx-site-footer a { color: var(--ink-secondary); }

.trx-visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--bg-alt);
}
.trx-visual-frame img { display: block; width: 100%; height: auto; }

.trx-card {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.trx-card__media {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--bg-alt);
}
.trx-card__media img { width: 100%; height: 100%; object-fit: cover; }
