/* =============================================================
   KARMA TECNICOMS — Custom CSS
   CSS custom properties + component styles not expressible in theme.json
   Fonts: Sora (display) + Manrope (body) via Google Fonts in functions.php
   ============================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Primary · Trust Blue */
  --blue-50:  #EEF4FE;
  --blue-100: #DCE7FB;
  --blue-200: #B9CEF6;
  --blue-300: #8FB0EE;
  --blue-500: #2563EB;
  --blue-600: #1A53C4;
  --blue-700: #143C8C;
  --blue-900: #0B2A5B;

  /* Accent · Warm Amber */
  --amber-100: #FDF0D5;
  --amber-300: #FBD27A;
  --amber-400: #FBB429;
  --amber-500: #F59E0B;
  --amber-600: #D6850A;

  /* Neutrals */
  --ink:      #0F1B2D;
  --gray-900: #1B2532;
  --gray-700: #3F4B5B;
  --gray-500: #6B7787;
  --gray-400: #97A1AE;
  --gray-300: #CBD2DB;
  --gray-200: #E4E8ED;
  --gray-100: #F1F4F7;
  --gray-50:  #F8FAFB;
  --white:    #FFFFFF;

  /* Semantic */
  --success:       #1F9D55;
  --whatsapp:      #25D366;
  --whatsapp-dark: #1EBE5A;
  --danger:        #DC2626;

  /* Text roles */
  --fg-1: var(--ink);
  --fg-2: var(--gray-700);
  --fg-3: var(--gray-500);
  --fg-on-dark:   #FFFFFF;
  --fg-on-dark-2: #B9C4D4;

  /* Surfaces */
  --bg-page: var(--white);
  --bg-alt:  var(--gray-50);
  --bg-dark: var(--blue-900);
  --border:  var(--gray-200);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 3.75rem);
  --fs-h1: clamp(2rem, 3.5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2rem);
  --fs-h3: 1.375rem;
  --fs-h4: 1.125rem;
  --fs-lead: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-body:  1.65;
  --container: 1200px;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11,42,91,.06), 0 2px 8px rgba(11,42,91,.05);
  --shadow-md: 0 4px 12px rgba(11,42,91,.08), 0 8px 24px rgba(11,42,91,.07);
  --shadow-lg: 0 12px 32px rgba(11,42,91,.12), 0 2px 8px rgba(11,42,91,.08);
  --shadow-focus: 0 0 0 2px var(--white), 0 0 0 4px var(--blue-500);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  180ms;
}

/* ---------- BASE RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-2);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
}
img { max-width: 100%; display: block; }
ul { margin: 0; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-1);
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: var(--lh-snug); }

.tc-display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 800; line-height: var(--lh-tight); letter-spacing: -0.025em; color: var(--fg-1); }
.tc-lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-2); }
p { margin: 0 0 16px; text-wrap: pretty; }
.tc-muted { color: var(--fg-3); }
.tc-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600); display: inline-block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- BUTTONS ---------- */
.tc-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1;
}
.tc-btn:active { transform: scale(0.98); }
.tc-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.tc-btn:hover { text-decoration: none; }

.tc-btn-primary   { background: var(--blue-600);  color: var(--white); box-shadow: var(--shadow-sm); }
.tc-btn-primary:hover  { background: var(--blue-700); box-shadow: var(--shadow-md); color: var(--white); }
.tc-btn-secondary { background: var(--white);     color: var(--blue-600); border-color: var(--blue-200); }
.tc-btn-secondary:hover { background: var(--blue-50); border-color: var(--blue-300); }
.tc-btn-amber     { background: var(--amber-500); color: var(--ink);   box-shadow: var(--shadow-sm); }
.tc-btn-amber:hover    { background: var(--amber-600); color: var(--white); box-shadow: var(--shadow-md); }
.tc-btn-whatsapp  { background: var(--whatsapp);  color: var(--white); box-shadow: var(--shadow-sm); }
.tc-btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: var(--shadow-md); }
.tc-btn-lg { min-height: 56px; padding: 0 32px; font-size: var(--fs-lead); }

/* ---------- LAYOUT HELPERS ---------- */
.tc-container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.tc-container-narrow { max-width: 820px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.tc-section       { padding: 88px 0; }
.tc-section-sm    { padding: 56px 0; }
.tc-section-alt   { background: var(--bg-alt); }
.tc-section-dark  { background: var(--bg-dark); color: var(--fg-on-dark-2); }
.tc-center        { text-align: center; }
.tc-mx-auto       { margin-left: auto; margin-right: auto; }

.tc-grid   { display: grid; gap: 24px; }
.tc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tc-grid-4 { grid-template-columns: repeat(4, 1fr); }

.tc-section-head { max-width: 640px; margin-bottom: 48px; }
.tc-section-head h2 { margin-top: 10px; }
.tc-section-head .tc-lead { margin-top: 14px; margin-bottom: 0; }
.tc-section-head.tc-center { margin-left: auto; margin-right: auto; }

/* ---------- HEADER ---------- */
.tc-site-header { position: sticky; top: 0; z-index: 50; }
.tc-topbar { background: var(--blue-900); color: #fff; }
.tc-topbar .tc-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px; font-size: 14px; font-weight: 600;
}
.tc-topbar .tb-hours { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-on-dark-2); }
.tc-topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.tc-topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.tc-topbar a:hover { text-decoration: underline; }
.tc-topbar .tb-wa { color: var(--whatsapp); }

.tc-mainbar { background: #fff; box-shadow: 0 1px 0 var(--border); }
.tc-mainbar .tc-container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.tc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.tc-brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.tc-brand-text { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); }
.tc-brand-text .c { color: var(--blue-600); }
.tc-brand-text .d { color: var(--amber-500); }
.on-dark .tc-brand-text { color: #fff; }

.tc-nav { display: flex; align-items: center; gap: 28px; }
.tc-nav-link { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--fg-2); text-decoration: none; padding: 8px 0; position: relative; }
.tc-nav-link:hover { color: var(--blue-600); text-decoration: none; }
.tc-nav-link.is-active { color: var(--blue-700); }
.tc-nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.tc-nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 8px; }

/* Dropdown */
.tc-has-dropdown { position: relative; }
.tc-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 10px; width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 100;
}
.tc-has-dropdown:hover .tc-dropdown,
.tc-has-dropdown:focus-within .tc-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.tc-dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-md); text-decoration: none; color: var(--fg-1); transition: background var(--dur) var(--ease); }
.tc-dropdown a:hover { background: var(--blue-50); text-decoration: none; }
.tc-dropdown a span { font-size: 14.5px; font-weight: 600; }

/* Mobile drawer */
.tc-mobile-drawer { display: none; border-top: 1px solid var(--border); background: #fff; }
.tc-mobile-drawer.open { display: block; }
.tc-mobile-drawer .tc-container { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; padding-bottom: 20px; }
.tc-mobile-drawer a { font-weight: 600; font-size: 17px; color: var(--fg-1); padding: 13px 4px; text-decoration: none; border-bottom: 1px solid var(--gray-100); }
.tc-mobile-drawer a.sub { font-size: 15px; padding-left: 18px; color: var(--fg-2); font-weight: 500; }

/* ---------- HERO ---------- */
.tc-hero { position: relative; overflow: hidden; background: var(--blue-900); }
.tc-hero-bg { position: absolute; inset: 0; background: linear-gradient(120deg, #1B3B7A 0%, #0B2A5B 55%, #102a52 100%); }
.tc-hero-bg::after { content: ""; position: absolute; inset: 0; opacity: 0.2; background-image: radial-gradient(circle at 78% 28%, #5b8def 0, transparent 46%); }
.tc-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,91,0.94) 0%, rgba(11,42,91,0.72) 46%, rgba(11,42,91,0.28) 100%); }
.tc-hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 92px 0 100px; }
.tc-hero h1 { color: #fff; margin-top: 20px; }
.tc-hero h1 .accent { color: var(--amber-400); }
.tc-hero .tc-lead { color: var(--fg-on-dark-2); margin-top: 18px; margin-bottom: 32px; max-width: 560px; }
.tc-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.tc-hero-points { display: flex; gap: 24px; margin-top: 32px; color: var(--fg-on-dark-2); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.tc-hero-points span { display: inline-flex; align-items: center; gap: 8px; }

/* Page hero (compact) */
.tc-page-hero { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.tc-page-hero .tc-hero-bg { background: linear-gradient(120deg, #163269 0%, #0B2A5B 60%, #0e2a56 100%); }
.tc-page-hero-inner { position: relative; padding: 56px 0 64px; }
.tc-page-hero h1 { color: #fff; margin-top: 14px; }
.tc-page-hero .tc-lead { color: var(--fg-on-dark-2); margin-top: 14px; margin-bottom: 0; max-width: 640px; }
.tc-page-hero .tc-eyebrow { color: var(--amber-400); }

/* Breadcrumb */
.tc-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fg-on-dark-2); flex-wrap: wrap; }
.tc-breadcrumb a { color: var(--fg-on-dark-2); text-decoration: none; }
.tc-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.tc-breadcrumb .current { color: #fff; }

/* Chip */
.tc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: var(--fs-sm); }
.tc-chip-light { background: rgba(255,255,255,0.12); color: #fff; }
.tc-chip-amber { background: var(--amber-100); color: var(--amber-600); }

/* ---------- ICON BADGE ---------- */
.tc-icon-badge { width: 56px; height: 56px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex-shrink: 0; }
.tc-icon-badge svg, .tc-icon-badge i { width: 26px; height: 26px; }
.tc-icon-badge-lg { width: 64px; height: 64px; }

/* ---------- QUOTE CARD ---------- */
.tc-quote-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; }
.tc-field-stack { display: flex; flex-direction: column; gap: 12px; }
.tc-field { font-family: var(--font-body); font-size: 16px; color: var(--ink); padding: 13px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-md); background: #fff; width: 100%; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tc-field:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.tc-field-label { font-size: 14px; font-weight: 600; color: var(--fg-2); margin-bottom: 6px; display: block; }

/* ---------- TRUST ITEMS ---------- */
.tc-trust-item { display: flex; flex-direction: column; gap: 12px; }
.tc-trust-item h4 { margin: 0; }
.tc-trust-item p { font-size: var(--fs-sm); color: var(--fg-3); margin: 0; }

/* ---------- STEPS ---------- */
.tc-step { position: relative; padding-top: 8px; }
.tc-step-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--blue-200); line-height: 1; letter-spacing: -0.03em; }
.tc-step h3 { font-size: 20px; margin-top: 12px; }
.tc-step p { font-size: var(--fs-sm); color: var(--fg-3); margin-top: 8px; margin-bottom: 0; }

/* ---------- SERVICE CARD ---------- */
.tc-service-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 208px; text-decoration: none; color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tc-service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); text-decoration: none; }
.tc-service-card h3 { font-size: 20px; }
.tc-service-card p { font-size: var(--fs-sm); color: var(--fg-3); margin: 0; flex: 1; }
.tc-service-card .more { color: var(--blue-600); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- BRANDS ---------- */
.tc-brand-pill { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gray-500); letter-spacing: 0.02em; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tc-brand-pill:hover { color: var(--blue-700); border-color: var(--blue-200); }

/* ---------- TESTIMONIALS ---------- */
.tc-testimonial { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.tc-stars { display: inline-flex; gap: 2px; color: var(--amber-500); font-size: 18px; }
.tc-testimonial p { font-size: 16px; color: var(--fg-1); margin: 0; flex: 1; line-height: 1.55; }
.tc-testi-author { display: flex; align-items: center; gap: 12px; }
.tc-testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.tc-testi-author .name { font-weight: 700; color: var(--ink); font-size: 15px; display: block; }
.tc-testi-author .meta { font-size: 13px; color: var(--fg-3); display: block; }

/* ---------- FAQ ACCORDION ---------- */
.tc-faq-list { display: flex; flex-direction: column; gap: 12px; }
.tc-faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.tc-faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.tc-faq-q .tc-faq-icon { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; transition: transform var(--dur) var(--ease); font-style: normal; font-size: 22px; line-height: 1; }
.tc-faq-item.open .tc-faq-q .tc-faq-icon { transform: rotate(45deg); }
.tc-faq-a { max-height: 0; overflow: hidden; transition: max-height 240ms var(--ease); }
.tc-faq-a-inner { padding: 0 24px 22px; color: var(--fg-2); font-size: var(--fs-body); }

/* ---------- CTA BAND ---------- */
.tc-cta-band { background: var(--blue-600); border-radius: var(--radius-lg); padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.tc-cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.tc-cta-band h2 { color: #fff; position: relative; }
.tc-cta-band p { color: rgba(255,255,255,0.82); margin: 8px 0 0; position: relative; }
.tc-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- CHECK LIST ---------- */
.tc-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.tc-check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-body); color: var(--fg-2); }
.tc-check-list li .check-icon { color: var(--success); flex-shrink: 0; font-size: 22px; line-height: 1; margin-top: 1px; }

/* ---------- PHOTO BLOCK (Unsplash) ---------- */
.tc-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-photo-wide { aspect-ratio: 16 / 10; }
.tc-photo-tall { aspect-ratio: 4 / 5; }

/* ---------- SYMPTOM GRID ---------- */
.tc-symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tc-symptom { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; }
.tc-symptom span { font-size: 15px; font-weight: 600; color: var(--fg-1); }

/* ---------- ASIDE CTA ---------- */
.tc-aside-cta { background: var(--blue-50); border-radius: var(--radius-lg); padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tc-aside-cta h3 { font-size: 19px; margin: 0; }

/* ---------- PROSE (blog / legal) ---------- */
.tc-prose { max-width: 760px; }
.tc-prose h2 { font-size: 28px; margin-top: 48px; margin-bottom: 16px; }
.tc-prose h3 { font-size: 21px; margin-top: 32px; margin-bottom: 12px; }
.tc-prose p { font-size: 18px; line-height: 1.7; color: var(--fg-2); margin: 0 0 20px; }
.tc-prose ul, .tc-prose ol { font-size: 18px; line-height: 1.7; color: var(--fg-2); padding-left: 22px; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.tc-prose strong { color: var(--ink); }
.tc-prose .callout { background: var(--blue-50); border-radius: var(--radius-md); padding: 24px 28px; margin: 28px 0; display: flex; gap: 16px; align-items: flex-start; }
.tc-prose .callout p { margin: 0; font-size: 16px; }

/* ---------- CONTACT ---------- */
.tc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tc-contact-row { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.tc-contact-row .label { display: block; font-size: var(--fs-sm); color: var(--fg-3); }
.tc-contact-row strong { font-size: 18px; color: var(--ink); }

/* ---------- FOOTER ---------- */
.tc-site-footer { background: var(--blue-900); color: var(--fg-on-dark-2); }
.tc-site-footer .tc-container { padding-top: 60px; padding-bottom: 32px; }
.tc-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.tc-site-footer p { font-size: 15px; }
.tc-site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.tc-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.tc-footer-links a { color: var(--fg-on-dark-2); text-decoration: none; font-size: 15px; }
.tc-footer-links a:hover { color: #fff; text-decoration: underline; }
.tc-footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; font-size: 15px; }
.tc-footer-contact li { display: flex; gap: 10px; align-items: center; }
.tc-footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.tc-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }
.tc-footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.tc-footer-bottom a:hover { color: #fff; text-decoration: underline; }
.tc-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- BLOG ---------- */
.tc-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tc-post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.tc-post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.tc-post-card-thumb { aspect-ratio: 16/10; overflow: hidden; }
.tc-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tc-post-card-thumb .tc-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-100), var(--gray-100)); display: grid; place-items: center; }
.tc-post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tc-post-body h3 { font-size: 20px; }
.tc-post-body p { font-size: var(--fs-sm); color: var(--fg-3); margin: 0; flex: 1; }
.tc-post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-3); }
.tc-post-meta .cat { color: var(--blue-600); font-weight: 700; }
.tc-post-read { color: var(--blue-600); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.tc-post-featured { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--dur) var(--ease); }
.tc-post-featured:hover { box-shadow: var(--shadow-md); text-decoration: none; }
.tc-post-featured .tc-photo { border-radius: 0; height: 100%; min-height: 320px; }
.tc-post-featured .tc-post-body { padding: 44px; gap: 14px; }
.tc-post-featured h2 { font-size: 30px; }

/* ---------- LEGAL ---------- */
.tc-legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.tc-legal-toc { position: sticky; top: 120px; }
.tc-legal-toc .toc-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--fg-3); margin-bottom: 14px; }
.tc-legal-toc a { display: block; padding: 7px 0 7px 14px; font-size: 14.5px; font-weight: 600; color: var(--fg-2); text-decoration: none; border-left: 2px solid var(--gray-200); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.tc-legal-toc a:hover { color: var(--blue-600); border-color: var(--blue-300); text-decoration: none; }
.tc-legal-note { background: var(--amber-100); border-radius: var(--radius-md); padding: 18px 22px; margin-bottom: 32px; }
.tc-legal-note p { margin: 0; font-size: 14.5px; color: var(--amber-600); }

/* ---------- REVEAL ANIMATION ---------- */
.tc-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.tc-reveal.in { opacity: 1; transform: none; }

/* ---------- UTILITY ---------- */
.tc-flex { display: flex; }
.tc-gap-3 { gap: 12px; }
.tc-gap-4 { gap: 16px; }
.tc-wrap { flex-wrap: wrap; }
.tc-items-center { align-items: center; }
.tc-mt-3 { margin-top: 12px; }
.tc-mt-4 { margin-top: 16px; }
.tc-mt-6 { margin-top: 24px; }
.tc-mt-8 { margin-top: 32px; }
.tc-mb-0 { margin-bottom: 0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .tc-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tc-post-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .tc-legal-toc { position: static; }
}
@media (max-width: 900px) {
  .tc-nav { display: none; }
  .tc-nav-toggle { display: inline-flex; }
  .tc-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 72px; }
  .tc-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .tc-post-featured { grid-template-columns: 1fr; }
  .tc-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tc-cta-band { padding: 36px 32px; }
  .tc-section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .tc-grid-2, .tc-grid-3, .tc-grid-4, .tc-post-grid, .tc-symptom-grid { grid-template-columns: 1fr; }
  .tc-footer-grid { grid-template-columns: 1fr; }
  .tc-section { padding: 52px 0; }
  .tc-cta-band { flex-direction: column; align-items: flex-start; }
  .tc-post-featured .tc-post-body { padding: 28px; }
}

/* ---------- HERO PHOTO (home) — añadido en mantenimiento ---------- */
.tc-hero .tc-hero-bg {
  background-image:
    linear-gradient(120deg, rgba(27,59,122,0.92) 0%, rgba(11,42,91,0.86) 55%, rgba(16,42,82,0.86) 100%),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1600&q=80");
  background-size: cover;
  background-position: center;
}
