/* =====================================================
   GRUPO MATERA MARKETING — Design System
   ===================================================== */

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

/* --- Variables --- */
:root {
  --navy:       #233D63;
  --navy-dark:  #182b47;
  --navy-light: #2e5080;
  --gold:       #FFBE56;
  --gold-dark:  #e6a93a;
  --blue:       #4A7CED;
  --blue-dark:  #3366d6;
  --orange:     #FB9A00;
  --white:      #FFFFFF;
  --bg:         #F8F9FC;
  --bg-card:    #FFFFFF;
  --text:       #33373d;
  --text-muted: #5f6e84;
  --text-light: #b0bac7;
  --border:     #e4e8f0;
  --shadow-sm:  0 2px 8px rgba(35,61,99,.08);
  --shadow-md:  0 4px 20px rgba(35,61,99,.12);
  --shadow-lg:  0 8px 40px rgba(35,61,99,.16);
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --font-head:  'Sora', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --max-w:      1200px;
  --transition: .2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2558d0; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.8); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: .75rem auto 0; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255,190,86,.25);
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: .75rem;
}
.section--dark .section-eyebrow { color: var(--gold); background: rgba(255,190,86,.15); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn-block { width: 100%; justify-content: center; }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  opacity: .9;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark span {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: 1.1rem;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.nav-logo-text span {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .9rem;
  color: var(--text);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: rgba(35,61,99,.06); color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: background var(--transition);
  background: var(--bg);
}
.nav-cart:hover { background: var(--border); color: var(--navy); }
.nav-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.nav-cart-count.visible { display: flex; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: .5rem;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 6rem 0 5rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero h1, .hero h2, .hero h3, .hero h4 { color: var(--white); }
.hero p { color: rgba(255,255,255,.8); }
.hero em { color: var(--gold); font-style: normal; }
.hero .section-eyebrow { color: var(--gold); background: rgba(255,190,86,.15); }
.page-hero h2, .page-hero h3, .page-hero h4 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.75); }
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74,124,237,.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,190,86,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 em { color: var(--gold); font-style: normal; }
.hero-content p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.8); margin-top: .15rem; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-browser {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.hero-browser .mockup-bar {
  padding: .65rem 1rem;
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-browser-screen {
  height: 340px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.hero-browser-screen img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
  transform: translateY(0);
}
.hero-mockup {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(10px);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  padding: .3rem .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-left: .5rem;
}
.mockup-content { display: flex; flex-direction: column; gap: .75rem; }
.mockup-block {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .85rem 1rem;
}
.mockup-block-title { font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: .4rem; }
.mockup-block-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  margin-bottom: .3rem;
}
.mockup-block-bar.gold { background: rgba(255,190,86,.5); width: 75%; }
.mockup-block-bar.blue { background: rgba(74,124,237,.5); width: 55%; }
.mockup-block-bar.short { width: 40%; }
.mockup-products { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mockup-product {
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: .6rem;
  text-align: center;
}
.mockup-product-img {
  height: 40px;
  background: rgba(255,190,86,.2);
  border-radius: 4px;
  margin-bottom: .4rem;
}
.mockup-product-name { font-size: .65rem; color: rgba(255,255,255,.5); }
.mockup-product-price { font-size: .7rem; color: var(--gold); font-weight: 600; margin-top: .2rem; }

/* --- Cards genéricas --- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 1.5rem; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg); }
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-placeholder span { font-size: 2.5rem; }

/* --- Grid helpers --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Servicios / Products --- */
.service-card .card-img-placeholder {
  aspect-ratio: 4/3;
}
.service-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 2rem;
  background: rgba(74,124,237,.1);
  color: var(--blue);
  margin-bottom: .75rem;
}
.service-title { margin-bottom: .5rem; font-size: 1.2rem; }
.service-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.service-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: 1.25rem;
}
.service-price-amount {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}
.service-price-suffix { color: var(--text-muted); font-size: .85rem; }
.service-features { margin-bottom: 1.25rem; }
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  padding: .35rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.service-card-actions { display: flex; gap: .75rem; }

/* --- Blog --- */
.post-card .card-img-placeholder { aspect-ratio: 16/9; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.post-category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 2rem;
  background: rgba(255,190,86,.2);
  color: var(--navy);
}
.post-title { font-size: 1.1rem; margin-bottom: .5rem; }
.post-title a { color: var(--navy); }
.post-title a:hover { color: var(--blue); }
.post-excerpt { font-size: .875rem; color: var(--text-muted); }
.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: .75rem;
}
.post-read-more:hover { gap: .65rem; color: var(--blue-dark); }

/* --- Features / Value props --- */
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: rgba(74,124,237,.1);
}
.feature-icon.gold { background: rgba(255,190,86,.15); }
.feature-icon.blue { background: rgba(74,124,237,.1); }
.feature-icon.navy { background: rgba(35,61,99,.08); }
.feature-title { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-desc { font-size: .9rem; color: var(--text-muted); }

/* --- Team --- */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
}
.team-name { font-size: 1.05rem; margin-bottom: .25rem; }
.team-role { font-size: .85rem; color: var(--text-muted); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,190,86,.15), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 1rem 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--text-light); }

/* Breadcrumb sobre fondos oscuros (inner-hero, page-hero) */
.inner-hero-content .breadcrumb,
.page-hero .breadcrumb { color: rgba(255,255,255,.75); padding: 0; }
.inner-hero-content .breadcrumb a,
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.inner-hero-content .breadcrumb a:hover,
.page-hero .breadcrumb a:hover { color: var(--white); }
.inner-hero-content .breadcrumb-sep,
.page-hero .breadcrumb-sep { color: rgba(255,255,255,.4); }

/* --- Carrito / Checkout --- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.cart-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cart-item-info { display: flex; align-items: center; gap: 1rem; }
.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cart-item-name { font-weight: 600; font-size: .95rem; color: var(--navy); }
.cart-item-meta { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--border); }
.qty-val { font-weight: 600; min-width: 24px; text-align: center; }
.cart-remove {
  background: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  padding: .25rem;
  border-radius: 4px;
  transition: color var(--transition);
}
.cart-remove:hover { color: #e53e3e; }
.cart-price { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.order-summary {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.order-summary h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  padding-top: .75rem;
}
.summary-total span { color: var(--navy); font-size: 1.35rem; }

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-label .req { color: #e53e3e; margin-left: .2rem; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,124,237,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

/* --- Page hero (interno) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 3.5rem 0;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; }

/* --- Inner hero — páginas interiores con visual decorativo --- */
.inner-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 5rem 0 4rem;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74,124,237,.22) 0%, transparent 70%);
  pointer-events: none;
}
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 3%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,190,86,.1) 0%, transparent 70%);
  pointer-events: none;
}
.inner-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.inner-hero-content { display: flex; flex-direction: column; gap: .75rem; }
.inner-hero-content .breadcrumb { margin-bottom: .25rem; }
.inner-hero-content .section-eyebrow { color: var(--gold); background: rgba(255,190,86,.15); display: inline-block; }
.inner-hero-content h1 { color: var(--white); margin: 0; }
.inner-hero-content h1 em { color: var(--gold); font-style: normal; }
.inner-hero-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 480px; margin: 0; }
.inner-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-hero-icon {
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
}
.inner-hero-icon svg { width: 110px; height: 110px; }
.inner-hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: block;
}
@media (max-width: 768px) {
  .inner-hero-grid { grid-template-columns: 1fr; }
  .inner-hero-visual { display: none; }
  .inner-hero { padding: 3.5rem 0 3rem; }
}

/* --- Filters (Servicios) --- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .5rem 1.1rem;
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover,
.page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* --- Blog single --- */
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { margin-bottom: 1rem; }
.article-featured {
  width: 100%;
  aspect-ratio: 2/1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-featured span { font-size: 4rem; }
.article-featured-img { width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--radius); margin-bottom: 2.5rem; display: block; }
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.5rem 0 .75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body strong { color: var(--navy); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: rgba(255,190,86,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text);
}

/* --- Checkout steps --- */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 1;
  position: relative;
}
.checkout-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(50% + 20px);
  right: 0;
  top: 50%;
  height: 2px;
  background: var(--border);
  transform: translateY(-50%);
}
.checkout-step.done::after { background: var(--blue); }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.checkout-step.active .step-num { background: var(--blue); color: var(--white); }
.checkout-step.done .step-num { background: var(--navy); color: var(--white); }
.step-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.checkout-step.active .step-label,
.checkout-step.done .step-label { color: var(--navy); }

/* --- Stripe payment box --- */
.stripe-box {
  background: var(--bg);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.stripe-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #635bff;
  margin-bottom: .5rem;
}
.stripe-box p { font-size: .875rem; color: var(--text-muted); }
.stripe-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* --- Contact --- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(74,124,237,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-title { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.contact-info-val { color: var(--text-muted); font-size: .9rem; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo-text strong { color: var(--white); }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,.6); }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.footer-heading {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  padding: .35rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: rgba(255,255,255,.85); }
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: var(--navy); }

/* --- Notificación Toast --- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }

/* --- Planes mensuales --- */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.plan-card--featured:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.plan-featured-label {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .4rem;
}
.plan-header {
  background: var(--bg);
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.plan-card--featured .plan-header { background: var(--navy); }
.plan-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.plan-card--featured .plan-badge { color: rgba(255,255,255,.85); }
.plan-price {
  display: flex;
  align-items: flex-start;
  gap: .2rem;
  margin-bottom: .5rem;
}
.plan-price-amount {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}
.plan-card--featured .plan-price-amount { color: var(--white); }
.plan-price-meta {
  display: flex;
  flex-direction: column;
  padding-top: .4rem;
}
.plan-price-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.plan-card--featured .plan-price-currency { color: var(--white); }
.plan-price-period {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.plan-card--featured .plan-price-period { color: rgba(255,255,255,.8); }
.plan-after {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
}
.plan-card--featured .plan-after { color: rgba(255,255,255,.78); }
.plan-card--featured .plan-after strong { color: var(--gold); }
.plan-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.plan-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.plan-features {
  margin-bottom: 1.5rem;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  padding: .35rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.planes-note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Pago único slider --- */
.unico-slider-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.unico-slider-viewport {
  flex: 1;
  overflow: hidden;
}
.unico-slider-track {
  display: flex;
  transition: transform .35s ease;
}
.unico-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 .5rem;
  box-sizing: border-box;
}
.unico-card-v {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.unico-card-v:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.unico-card-icon { font-size: 1.75rem; }
.unico-card-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.unico-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.unico-card-price {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.unico-card-price span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.unico-card-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.unico-card-features {
  flex: 1;
  margin: .25rem 0 .75rem;
}
.unico-card-features li {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .82rem;
  padding: .3rem 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.unico-card-features li:last-child { border-bottom: none; }
.unico-card-features li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.unico-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--navy);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.unico-arrow:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.unico-arrow:disabled,
.unico-arrow--hidden { opacity: .25; cursor: default; pointer-events: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .planes-grid { grid-template-columns: 1fr; }
  .plan-card--featured { transform: translateY(0); }
  .plan-card--featured:hover { transform: translateY(-3px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { gap: 1.25rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  .cta-banner { padding: 3rem 1.75rem; }
  .checkout-steps { gap: .5rem; }
  .step-label { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* --- Nav mobile open --- */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .65rem .85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-mobile a:hover { background: var(--bg); color: var(--navy); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.fw-bold { font-weight: 700; }
.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 2rem;
  background: rgba(74,124,237,.1);
  color: var(--blue);
}
.badge-gold { background: rgba(255,190,86,.2); color: var(--navy); }
.badge-green { background: rgba(40,200,80,.12); color: #22863a; }
