/* ══════════════════════════════════════════
   TECNOADMIN CONSULTING — Shared Stylesheet
   Edita :root para cambiar toda la paleta
══════════════════════════════════════════ */
:root {
  --slate:      #ffffff;
  --slate2:     #dde6ec;
  --ink:        #f4f8fa;
  --txt:        #eef3f6;
  --mut:        #c0ccd4;
  --line:       #2e2b26;
  --soft:       #161411;
  --bg:         #1c1a17;
  --primary:    #c0455a;
  --primary-d:  #a5384b;
  --accent:     #ff9635;
  --radius:     16px;
  --radius-lg:  24px;
  --shadow:     0 12px 34px rgba(0,0,0,.35);
  --shadow-lg:  0 24px 60px rgba(0,0,0,.5);
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:  'Sora', 'Inter', sans-serif;
  --sec-pad:    96px 0;
}

/* BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 19px; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(rgba(18,16,14,.96), rgba(18,16,14,.96)),
    url('/assets/hero-bg.jpg') center/cover no-repeat fixed #121110; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* LAYOUT */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.sec-pad { padding: var(--sec-pad); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head h2 { font-size: 2.2rem; margin-bottom: 16px; color: var(--slate); }
.sec-head p { color: var(--mut); font-size: 1.06rem; }

/* UTILS */
.eyebrow { display: inline-block; font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; border-radius: 10px; padding: 13px 24px; cursor: pointer; border: 0; transition: transform .18s, box-shadow .18s; white-space: nowrap; text-decoration: none; }
.btn-primary  { background: linear-gradient(135deg,var(--primary),#d2553f); color:#fff; box-shadow:0 6px 18px rgba(192,69,90,.32); }
.btn-primary:hover  { transform:translateY(-2px); box-shadow:0 10px 26px rgba(192,69,90,.42); }
.btn-ghost   { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover   { background:rgba(255,255,255,.12); }
.btn-dark    { background:#35322c; color:#fff; border:1px solid #45413a; }
.btn-dark:hover    { background:var(--slate2); transform:translateY(-2px); }
.btn-wa      { background:#25d366; color:#fff; }
.btn-wa:hover      { background:#1ebe5a; transform:translateY(-2px); }
.btn-outline { background:transparent; color:var(--primary); border:1.5px solid var(--primary); }
.btn-outline:hover { background:var(--primary); color:#fff; }
.btn-soft    { background:var(--soft); color:var(--txt); border:1px solid var(--line); }
.btn-soft:hover { background:var(--line); }

/* PAGE HERO (páginas internas) */
.page-hero {
  background-image: url('/assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  position: relative;
  color: #fff;
  padding: 80px 0 88px;
}
.page-hero::before { content:''; position:absolute; inset:0; background:linear-gradient(160deg,rgba(24,20,16,.90),rgba(36,30,24,.82)); }
.page-hero .wrap { position:relative; z-index:1; max-width:760px; }
.page-hero .eyebrow { color:var(--accent); margin-bottom:12px; }
.page-hero h1 { font-size:2.8rem; font-weight:800; margin-bottom:16px; }
.page-hero p { font-size:1.12rem; color:#e8e2d9; max-width:600px; }
@media(max-width:560px){ .page-hero h1{font-size:2rem;} }

/* CARDS */
.cards-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.cards-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media(max-width:820px){ .cards-3,.cards-2{grid-template-columns:1fr;} }
.card { background:var(--soft); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; transition:box-shadow .22s,transform .22s; }
.card:hover { box-shadow:var(--shadow-lg); transform:translateY(-5px); }
.card-img-placeholder { height:180px; display:flex; align-items:center; justify-content:center; font-size:3rem; background:linear-gradient(135deg,var(--slate),var(--slate2)); }
.card-body { padding:28px; }
.card-body h3 { font-size:1.18rem; margin-bottom:10px; color:var(--slate); }
.card-body p { color:var(--mut); font-size:.92rem; line-height:1.65; }
.card-cta { margin-top:22px; }

/* STATS */
.stats-section { background:linear-gradient(135deg,var(--slate),#1a2e3a); color:#fff; padding:64px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
@media(max-width:700px){ .stats-grid{grid-template-columns:repeat(2,1fr);} }
.stat-box { text-align:center; padding:20px 16px; border-right:1px solid rgba(255,255,255,.1); }
.stat-box:last-child { border-right:none; }
.stat-num { font-family:var(--font-head); font-size:3rem; font-weight:800; background:linear-gradient(120deg,var(--accent),var(--primary)); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; margin-bottom:10px; }
.stat-label { color:rgba(255,255,255,.65); font-size:.88rem; font-weight:500; line-height:1.4; }

/* TRUST BAR */
.trust { background:var(--soft); border-bottom:1px solid var(--line); padding:22px 0; }
.trust-row { display:flex; align-items:center; justify-content:center; gap:36px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:8px; color:var(--mut); font-size:.86rem; font-weight:500; }

/* TESTIMONIOS */
.test-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
@media(max-width:820px){ .test-grid{grid-template-columns:1fr;} }
.test-card { background:var(--soft); border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px; position:relative; transition:box-shadow .22s,transform .22s; }
.test-card:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.test-quote { font-family:Georgia,serif; font-size:5rem; line-height:.8; color:var(--primary); opacity:.2; position:absolute; top:20px; left:28px; pointer-events:none; user-select:none; }
.test-stars { color:var(--accent); font-size:1.05rem; letter-spacing:2px; margin-bottom:18px; }
.test-card blockquote { color:var(--txt); font-size:1rem; line-height:1.7; margin-bottom:28px; position:relative; z-index:1; padding-top:12px; }
.test-author { display:flex; align-items:center; gap:18px; }
.test-photo-wrap { position:relative; flex-shrink:0; }
.test-photo { width:82px; height:82px; border-radius:50%; object-fit:cover; display:block; border:3px solid var(--primary); box-shadow:0 6px 20px rgba(192,69,90,.25); }
.test-photo-placeholder { width:82px; height:82px; border-radius:50%; background:linear-gradient(135deg,var(--slate),var(--primary)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:1.4rem; flex-shrink:0; border:3px solid var(--primary); box-shadow:0 6px 20px rgba(192,69,90,.25); }
.test-badge { position:absolute; bottom:-4px; right:-4px; width:26px; height:26px; background:var(--accent); border-radius:50%; display:flex; align-items:center; justify-content:center; border:2px solid var(--bg); font-size:.7rem; }
.test-name { font-weight:700; font-size:.96rem; color:var(--slate); margin-bottom:3px; }
.test-role { font-size:.8rem; color:var(--mut); }
.test-featured { grid-column:1/-1; background:linear-gradient(135deg,var(--slate),#1c3244); color:#fff; border-color:transparent; display:grid; grid-template-columns:auto 1fr; gap:36px; align-items:center; }
@media(max-width:620px){ .test-featured{grid-template-columns:1fr;} }
.test-featured blockquote { color:rgba(255,255,255,.85); font-size:1.1rem; }
.test-featured .test-name { color:#fff; }
.test-featured .test-role { color:rgba(255,255,255,.55); }
.test-featured .test-photo { border-color:var(--accent); box-shadow:0 8px 24px rgba(0,0,0,.4); width:110px; height:110px; }
.test-featured .test-quote { color:#fff; opacity:.12; }
.test-featured .test-stars { color:var(--accent); }
@media(max-width:820px){ .test-featured{grid-column:1;} }

/* CTA SECTION */
.cta-section { position:relative; background-image:url('/assets/cta-bg.jpg'); background-size:cover; background-position:center 55%; color:#fff; padding:100px 0; text-align:center; }
.cta-section::before { content:''; position:absolute; inset:0; background:linear-gradient(160deg,rgba(22,36,45,.92),rgba(34,50,61,.88)); }
.cta-section .wrap { position:relative; z-index:1; }
.cta-section .eyebrow { color:var(--accent); margin-bottom:14px; }
.cta-section h2 { font-size:2.4rem; margin-bottom:18px; }
.cta-section p { color:#cbd7e0; font-size:1.08rem; max-width:540px; margin:0 auto 38px; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* WA FLOAT */
.wa-float { position:fixed; bottom:26px; right:26px; width:60px; height:60px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 24px rgba(37,211,102,.48); z-index:200; transition:transform .18s,box-shadow .18s; }
.wa-float:hover { transform:scale(1.1); box-shadow:0 10px 32px rgba(37,211,102,.58); }

/* MÓVIL: que botones y textos largos no ensanchen la página */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  h1, h2, h3, p, li { overflow-wrap: break-word; }
}
