/* =========================================================
   TERRA FARMA COLOMBIA — Sitio (front)
   Misma familia de diseño que Grupo Terra Farma (Fraunces + Inter,
   mismas proporciones) con paleta propia: vino / dorado / crema.
   Todo va dentro de .tfc-site para no chocar con otros estilos.
   ========================================================= */
.tfc-site{
  --wine:#7A1C2E; --wine-deep:#4A1020; --wine-soft:#9A2F43; --wine-tint:#F6ECEE;
  --gold:#C9A227; --gold-deep:#A8861C; --gold-tint:#F7EFD8;
  --ink:#1C1419; --plum:#2B1620; --plum-deep:#1B0D14;
  --white:#FFFFFF; --cream:#FAF7F4; --gray-50:#F7F5F4; --gray-100:#EFECEA;
  --gray-200:#E3DEDC; --gray-300:#CBC4C1; --gray-400:#9A9290; --gray-500:#6E6665;
  --gray-600:#524B4A; --gray-700:#3D3736; --gray-800:#2A2524;
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-serif:'Fraunces',Georgia,serif;
  --max-w:1180px; --radius-sm:8px; --radius:14px; --radius-lg:20px;
  --shadow:0 4px 16px -2px rgba(43,22,32,.08),0 2px 6px -1px rgba(43,22,32,.04);
  --shadow-lg:0 20px 50px -12px rgba(43,22,32,.2),0 8px 16px -4px rgba(43,22,32,.06);
  --ease:cubic-bezier(.4,0,.2,1); --ease-out:cubic-bezier(.16,1,.3,1);
}
.tfc-site,.tfc-site *,.tfc-site *::before,.tfc-site *::after{box-sizing:border-box;margin:0;padding:0}
.tfc-site{font-family:var(--font-sans);color:var(--ink);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;font-size:16px;scroll-behavior:smooth}
.tfc-site img,.tfc-site svg{display:block;max-width:100%}
.tfc-site a{color:inherit;text-decoration:none}
.tfc-site button{font-family:inherit;border:none;background:none;cursor:pointer}
.tfc-site ul{list-style:none}
.tfc-site .container{width:100%;max-width:var(--max-w);margin:0 auto;padding:0 48px}
.tfc-site [id]{scroll-margin-top:100px}

/* Tipografía común */
.tfc-site .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--wine)}
.tfc-site .eyebrow::before{content:"";width:32px;height:1px;background:var(--gold)}
.tfc-site .eyebrow.on-dark{color:var(--gold)}
.tfc-site .eyebrow.on-dark::before{background:var(--gold)}
.tfc-site .section-title{font-family:var(--font-serif);font-weight:400;font-size:clamp(30px,4vw,48px);line-height:1.1;letter-spacing:-.02em;color:var(--wine-deep);margin-top:18px}
.tfc-site .section-title em{font-style:italic;color:var(--wine);font-weight:300}
.tfc-site .section-title.on-dark{color:#fff}
.tfc-site .section-title.on-dark em{color:var(--gold)}
.tfc-site .section-lead{margin-top:18px;font-size:17px;color:var(--gray-600);max-width:640px;line-height:1.7}
.tfc-site .section-lead.on-dark{color:rgba(255,255,255,.72)}
.tfc-site .section-lead strong{color:var(--ink);font-weight:600}

/* Botones */
.tfc-site .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 26px;font-size:14px;font-weight:600;border-radius:999px;transition:all .35s var(--ease-out);white-space:nowrap;cursor:pointer;line-height:1.2}
.tfc-site .btn svg{transition:transform .35s var(--ease-out);flex-shrink:0}
.tfc-site .btn:hover svg{transform:translateX(4px)}
.tfc-site .btn-primary{background:var(--wine)!important;color:#fff!important;box-shadow:0 4px 16px rgba(122,28,46,.22)}
.tfc-site .btn-primary:hover{background:var(--wine-deep)!important;transform:translateY(-2px);box-shadow:0 10px 28px rgba(122,28,46,.32)}
.tfc-site .btn-gold{background:var(--gold)!important;color:var(--plum-deep)!important;box-shadow:0 4px 16px rgba(201,162,39,.28)}
.tfc-site .btn-gold:hover{background:#DBB43A!important;transform:translateY(-2px)}
.tfc-site .btn-light{background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px)}
.tfc-site .btn-light:hover{background:#fff!important;color:var(--wine-deep)!important;transform:translateY(-2px)}
.tfc-site .btn-wa{background:#25D366!important;color:#fff!important}
.tfc-site .btn-wa:hover{background:#1DB954!important;transform:translateY(-2px)}
.tfc-site .btn-block{width:100%}

/* Barra superior */
.tfc-site .topbar{background:var(--plum-deep);color:#E8DCDF;font-size:13px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.tfc-site .topbar .container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.tfc-site .topbar-contact{display:flex;gap:24px;flex-wrap:wrap;align-items:center}
.tfc-site .topbar-contact a{display:inline-flex;align-items:center;gap:8px;color:#E8DCDF;transition:color .25s}
.tfc-site .topbar-contact a:hover{color:#fff}
.tfc-site .topbar-contact svg{opacity:.75}
.tfc-site .topbar-wa{color:#7CE39B!important}
.tfc-site .topbar-social{display:flex;gap:8px;align-items:center}
.tfc-site .topbar-social a{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);transition:all .25s;color:#fff}
.tfc-site .topbar-social a:hover{background:var(--gold);color:var(--plum-deep);transform:translateY(-2px)}
.tfc-site .topbar-social svg{width:14px;height:14px}

/* Menú */
.tfc-site .navbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid rgba(74,16,32,.08);transition:all .35s var(--ease)}
.tfc-site .navbar.scrolled{background:rgba(255,255,255,.97);box-shadow:0 6px 24px rgba(43,22,32,.08)}
.tfc-site .nav-inner{display:flex;align-items:center;justify-content:space-between;height:78px;gap:24px}
.tfc-site .brand{display:flex;align-items:center;gap:14px}
.tfc-site .brand-logo{height:52px;width:auto;display:block;transition:transform .3s var(--ease-out)}
.tfc-site .brand:hover .brand-logo{transform:scale(1.04)}
.tfc-site .brand-text{font-family:var(--font-serif);font-size:24px;font-weight:500;letter-spacing:-.02em;color:var(--wine-deep);white-space:nowrap}
.tfc-site .brand-text em{font-style:italic;font-weight:300;color:var(--wine)}
.tfc-site .brand-text.on-dark{color:#fff}
.tfc-site .brand-text.on-dark em{color:var(--gold)}
.tfc-site .nav-links{display:flex;align-items:center;gap:28px}
.tfc-site .nav-links a{font-size:14px;font-weight:500;color:var(--gray-700);position:relative;padding:8px 0;transition:color .25s}
.tfc-site .nav-links a::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--gold);transition:width .35s var(--ease-out)}
.tfc-site .nav-links a:hover{color:var(--wine-deep)}
.tfc-site .nav-links a:hover::after,.tfc-site .nav-links a.active::after{width:100%}
.tfc-site .nav-links a.active{color:var(--wine-deep);font-weight:600}
.tfc-site .nav-cta{display:flex;align-items:center;gap:14px}
.tfc-site .nav-cta .btn{padding:11px 22px;font-size:13.5px}
.tfc-site .menu-toggle{display:none;width:42px;height:42px;border-radius:10px;background:var(--gray-50);align-items:center;justify-content:center}
.tfc-site .menu-toggle span{display:block;width:18px;height:2px;background:var(--wine-deep);position:relative}
.tfc-site .menu-toggle span::before,.tfc-site .menu-toggle span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:var(--wine-deep)}
.tfc-site .menu-toggle span::before{top:-6px}
.tfc-site .menu-toggle span::after{top:6px}

/* Menú móvil */
.tfc-site .mobile-drawer{position:fixed;inset:0;background:rgba(43,22,32,.97);backdrop-filter:blur(20px);z-index:200;display:flex;flex-direction:column;padding:30px 28px;transform:translateX(100%);transition:transform .4s var(--ease-out)}
.tfc-site .mobile-drawer.open{transform:translateX(0)}
.tfc-site .mobile-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:50px}
.tfc-site .mobile-drawer .brand-text{color:#fff}
.tfc-site .mobile-drawer .brand-text em{color:var(--gold)}
.tfc-site .mobile-close{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;display:flex;align-items:center;justify-content:center}
.tfc-site .mobile-nav-links{display:flex;flex-direction:column;gap:6px}
.tfc-site .mobile-nav-links a{padding:18px 0;font-family:var(--font-serif);font-size:26px;font-weight:300;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center}
.tfc-site .mobile-nav-links a svg{color:rgba(255,255,255,.4);transition:transform .3s}
.tfc-site .mobile-nav-links a:hover svg{transform:translateX(6px);color:var(--gold)}
.tfc-site .mobile-drawer-foot{margin-top:auto;padding-top:30px}

/* Portada */
.tfc-site .hero{position:relative;color:#fff;overflow:hidden;isolation:isolate;background:var(--plum);min-height:calc(100vh - 118px);display:flex;align-items:center;padding:100px 0}
.tfc-site .hero-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tfc-site .hero-overlay{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 15% 20%,rgba(201,162,39,.22) 0%,transparent 50%),linear-gradient(110deg,rgba(43,22,32,.96) 0%,rgba(74,16,32,.85) 50%,rgba(43,22,32,.6) 100%)}
.tfc-site .hero-overlay::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:60px 60px;mask-image:radial-gradient(ellipse at center,black 30%,transparent 75%);-webkit-mask-image:radial-gradient(ellipse at center,black 30%,transparent 75%)}
.tfc-site .hero-content{max-width:720px}
.tfc-site .hero h1{font-family:var(--font-serif);font-weight:300;font-size:clamp(36px,5.2vw,66px);line-height:1.06;letter-spacing:-.025em;color:#fff;margin-top:22px}
.tfc-site .hero h1 em{font-style:italic;color:var(--gold)}
.tfc-site .hero-desc{font-size:clamp(15px,1.3vw,18px);color:rgba(255,255,255,.78);max-width:600px;margin-top:22px;line-height:1.65}
.tfc-site .hero-buttons{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap}
.tfc-site .hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:40px}
.tfc-site .hero-chip{font-size:12px;font-weight:600;letter-spacing:.04em;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.85)}

/* Franja de propuesta de valor */
.tfc-site .value-strip{background:var(--gold-tint);border-bottom:1px solid #EFE3C2;padding:46px 0}
.tfc-site .value-strip p{font-family:var(--font-serif);font-weight:300;font-size:clamp(18px,2.2vw,25px);line-height:1.5;color:var(--wine-deep);text-align:center;max-width:900px;margin:0 auto}
.tfc-site .value-strip p em{font-style:italic;color:var(--wine)}
.tfc-site .value-strip p strong{font-weight:600;color:var(--wine)}

/* Secciones */
.tfc-site .section{padding:110px 0;position:relative}
.tfc-site .section.alt{background:var(--cream)}
.tfc-site .section.dark{background:var(--plum);color:#fff;position:relative;overflow:hidden;isolation:isolate}
.tfc-site .section.dark::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at top right,rgba(201,162,39,.18),transparent 50%),radial-gradient(ellipse at bottom left,rgba(122,28,46,.5),transparent 55%)}
.tfc-site .section-head{margin-bottom:56px}

/* Resumen de servicios */
.tfc-site .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tfc-site .service-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:36px;position:relative;overflow:hidden;transition:all .4s var(--ease-out);display:flex;flex-direction:column}
.tfc-site .service-card::before{content:"";position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--wine),var(--gold));transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease-out)}
.tfc-site .service-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-6px);border-color:transparent}
.tfc-site .service-card:hover::before{transform:scaleX(1)}
.tfc-site .service-icon{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,var(--wine-deep),var(--wine));display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:22px;transition:transform .3s}
.tfc-site .service-icon svg{width:26px;height:26px}
.tfc-site .service-card:hover .service-icon{transform:scale(1.08)}
.tfc-site .service-card h3{font-family:var(--font-serif);font-size:22px;font-weight:400;color:var(--wine-deep);margin-bottom:12px;letter-spacing:-.01em}
.tfc-site .service-card p{font-size:14.5px;color:var(--gray-600);line-height:1.7;flex:1}
.tfc-site .service-link{display:inline-flex;align-items:center;gap:7px;margin-top:22px;font-size:13.5px;font-weight:600;color:var(--wine);transition:gap .3s}
.tfc-site .service-card:hover .service-link{gap:12px}

/* Quiénes somos */
.tfc-site .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.tfc-site .about-visual{position:relative}
.tfc-site .about-img{width:100%;aspect-ratio:4/5;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}
.tfc-site .about-img img{width:100%;height:100%;object-fit:cover}
.tfc-site .about-badge{position:absolute;bottom:-24px;right:-24px;background:#fff;border-radius:var(--radius);padding:20px 24px;box-shadow:var(--shadow-lg);z-index:2;max-width:260px;display:block;border-left:3px solid var(--gold)}
.tfc-site .about-badge strong{display:block;font-family:var(--font-serif);font-size:19px;font-weight:500;color:var(--wine-deep);line-height:1.2}
.tfc-site .about-badge p{font-size:13px;color:var(--gray-600);margin-top:6px;line-height:1.5}
.tfc-site .about-text h2{margin-top:18px}
.tfc-site .about-features{display:grid;grid-template-columns:1fr;gap:16px;margin-top:32px}
.tfc-site .about-feat{display:flex;align-items:start;gap:14px}
.tfc-site .about-feat-icon{width:40px;height:40px;border-radius:10px;background:var(--wine-tint);display:flex;align-items:center;justify-content:center;color:var(--wine);flex-shrink:0;margin-top:2px}
.tfc-site .about-feat-icon svg{width:20px;height:20px}
.tfc-site .about-feat h4{font-size:15px;font-weight:600;color:var(--wine-deep)}
.tfc-site .about-feat p{font-size:13.5px;color:var(--gray-500);margin-top:3px;line-height:1.5}

/* Capacitación en sitio (texto + foto) */
.tfc-site .split-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;align-items:center}
.tfc-site .split-img{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3}
.tfc-site .split-img img{width:100%;height:100%;object-fit:cover}
.tfc-site .check-list{margin-top:30px;display:flex;flex-direction:column;gap:12px}
.tfc-site .check-list li{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:16px 18px;font-size:15px;color:var(--gray-700);line-height:1.5;transition:all .3s var(--ease-out)}
.tfc-site .check-list li:hover{border-color:var(--wine);transform:translateX(4px);box-shadow:var(--shadow)}
.tfc-site .check-ico{width:26px;height:26px;border-radius:50%;background:var(--wine-tint);color:var(--wine);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.tfc-site .check-ico svg{width:15px;height:15px}
.tfc-site .split-btn{margin-top:32px}

/* Cursos virtuales (fondo oscuro) */
.tfc-site .courses-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tfc-site .course-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-lg);padding:28px 28px 30px;transition:all .35s var(--ease-out);position:relative}
.tfc-site .course-card:hover{background:rgba(255,255,255,.09);border-color:rgba(201,162,39,.5);transform:translateY(-4px)}
.tfc-site .course-num{font-family:var(--font-serif);font-size:15px;font-style:italic;color:var(--gold);letter-spacing:.06em}
.tfc-site .course-card h3{font-family:var(--font-serif);font-size:21px;font-weight:400;color:#fff;line-height:1.3;margin-top:12px;letter-spacing:-.01em}
.tfc-site .courses-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:40px;padding-top:30px;border-top:1px solid rgba(255,255,255,.1)}
.tfc-site .courses-foot p{font-size:14.5px;color:rgba(255,255,255,.65)}

/* Servicios técnicos */
.tfc-site .norm-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.tfc-site .norm-pill{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:7px 13px;border-radius:999px;background:var(--gold-tint);color:var(--gold-deep);border:1px solid #EDDFB4}
.tfc-site .tech-list{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tfc-site .tech-item{background:var(--cream);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:32px;position:relative;overflow:hidden;transition:all .4s var(--ease-out)}
.tfc-site .tech-item::before{content:"";position:absolute;left:0;top:0;width:3px;height:100%;background:linear-gradient(180deg,var(--wine),var(--gold));transform:scaleY(0);transform-origin:top;transition:transform .4s var(--ease-out)}
.tfc-site .tech-item:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px);background:#fff;border-color:transparent}
.tfc-site .tech-item:hover::before{transform:scaleY(1)}
.tfc-site .tech-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,var(--wine-deep),var(--wine));color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.tfc-site .tech-icon svg{width:24px;height:24px}
.tfc-site .tech-body h3{font-family:var(--font-serif);font-size:21px;font-weight:400;color:var(--wine-deep);line-height:1.25;letter-spacing:-.01em}
.tfc-site .tech-body p{font-size:14.5px;color:var(--gray-600);line-height:1.7;margin-top:10px}

/* A quiénes van dirigidos */
.tfc-site .audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1000px;margin:0 auto}
.tfc-site .audience-tile{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:26px 24px;display:flex;align-items:center;gap:16px;transition:all .35s var(--ease-out)}
.tfc-site .audience-tile:hover{border-color:var(--gold);box-shadow:var(--shadow);transform:translateY(-3px)}
.tfc-site .audience-icon{width:48px;height:48px;border-radius:12px;background:var(--wine-tint);color:var(--wine);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tfc-site .audience-icon svg{width:24px;height:24px}
.tfc-site .audience-tile p{font-size:14.5px;font-weight:500;color:var(--gray-700);line-height:1.45}
.tfc-site .audience-tile:nth-child(4),.tfc-site .audience-tile:nth-child(5){grid-column:span 1}

/* Contacto */
.tfc-site .contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:start}
.tfc-site .contact-cards{display:flex;flex-direction:column;gap:12px;margin-top:34px}
.tfc-site .contact-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius);padding:18px 20px;transition:all .3s var(--ease-out)}
.tfc-site .contact-card:not(.static):hover{border-color:var(--wine);transform:translateX(4px);box-shadow:var(--shadow)}
.tfc-site .contact-card-icon{width:46px;height:46px;border-radius:12px;background:var(--wine-tint);color:var(--wine);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tfc-site .contact-card-icon.wa{background:#E7F8EC;color:#1DB954}
.tfc-site .contact-card-label{display:block;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gray-500)}
.tfc-site .contact-card strong{display:block;font-size:15.5px;color:var(--wine-deep);font-weight:600;margin-top:2px;word-break:break-word}
.tfc-site .contact-form-wrap{background:var(--cream);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:40px}
.tfc-site .contact-form-wrap h3{font-family:var(--font-serif);font-size:26px;font-weight:400;color:var(--wine-deep);margin-bottom:24px}
.tfc-site .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tfc-site .form-group{margin-bottom:16px}
.tfc-site .form-group label{display:block;font-size:13px;font-weight:600;color:var(--gray-700);margin-bottom:7px}
.tfc-site .form-group label span{color:var(--wine)}
.tfc-site .form-control{width:100%;padding:13px 16px;border:1px solid var(--gray-200);border-radius:10px;font-size:14.5px;font-family:inherit;color:var(--ink);background:#fff;transition:all .25s;min-height:0;line-height:1.4}
.tfc-site .form-control:focus{outline:none;border-color:var(--wine);box-shadow:0 0 0 4px rgba(122,28,46,.1)}
.tfc-site textarea.form-control{min-height:130px;resize:vertical}
.tfc-site select.form-control{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E6665' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}
.tfc-site .form-trap{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.tfc-site .privacy-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--gray-600);margin:4px 0 20px;line-height:1.5}
.tfc-site .privacy-check input{width:17px;height:17px;margin-top:2px;flex-shrink:0;accent-color:var(--wine)}
.tfc-site .privacy-check a{color:var(--wine);text-decoration:underline}
.tfc-site .form-success{display:none;text-align:center;padding:30px 10px}
.tfc-site .form-success-icon{width:72px;height:72px;border-radius:50%;background:#E7F8EC;color:#1DB954;display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.tfc-site .form-success h3{margin-bottom:8px}
.tfc-site .form-success p{color:var(--gray-600)}

/* Pie de página */
.tfc-site .footer{background:var(--plum-deep);color:rgba(255,255,255,.7);padding:80px 0 24px}
.tfc-site .footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:60px;padding-bottom:50px;border-bottom:1px solid rgba(255,255,255,.08)}
.tfc-site .footer-brand{display:inline-flex;align-items:center;gap:14px;margin-bottom:20px}
.tfc-site .footer-tag{font-size:14px;color:rgba(255,255,255,.55);line-height:1.65;max-width:360px;margin-bottom:24px}
.tfc-site .footer-col h5{font-size:13px;font-weight:700;color:#fff;letter-spacing:.12em;text-transform:uppercase;margin-bottom:22px;position:relative;padding-bottom:14px}
.tfc-site .footer-col h5::after{content:"";position:absolute;left:0;bottom:0;width:24px;height:2px;background:var(--gold)}
.tfc-site .footer-col ul li{margin-bottom:11px}
.tfc-site .footer-col ul a{font-size:14px;color:rgba(255,255,255,.6);transition:all .25s;display:inline-flex;align-items:center;gap:8px}
.tfc-site .footer-col ul a:hover{color:#fff;gap:12px}
.tfc-site .footer-contact svg{opacity:.7;flex-shrink:0}
.tfc-site .footer-city{font-size:14px;color:rgba(255,255,255,.6)}
.tfc-site .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:24px;font-size:12.5px;color:rgba(255,255,255,.45)}
.tfc-site .footer-legal{display:flex;gap:20px;flex-wrap:wrap}
.tfc-site .footer-legal a{color:rgba(255,255,255,.45);transition:color .25s}
.tfc-site .footer-legal a:hover{color:#fff}

/* WhatsApp flotante */
.tfc-site .wa-float{position:fixed;right:22px;bottom:22px;z-index:150;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(37,211,102,.4);transition:transform .3s var(--ease-out)}
.tfc-site .wa-float:hover{transform:scale(1.08) translateY(-2px)}

/* Animación al hacer scroll */
.tfc-site .reveal{opacity:0;transform:translateY(30px);transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
.tfc-site .reveal.visible{opacity:1;transform:translateY(0)}
.tfc-site .reveal-delay-1{transition-delay:.1s}
.tfc-site .reveal-delay-2{transition-delay:.2s}

/* Responsive */
@media(max-width:1100px){
  .tfc-site .services-grid,.tfc-site .tech-list,.tfc-site .courses-grid{grid-template-columns:1fr 1fr}
  .tfc-site .about-grid,.tfc-site .split-grid,.tfc-site .contact-grid{grid-template-columns:1fr;gap:50px}
  .tfc-site .about-visual{max-width:520px}
  .tfc-site .about-badge{right:0}
  .tfc-site .audience-grid{grid-template-columns:1fr 1fr}
  .tfc-site .footer-top{grid-template-columns:1fr 1fr;gap:40px}
}
@media(max-width:900px){
  .tfc-site .nav-links{display:none}
  .tfc-site .menu-toggle{display:flex}
  .tfc-site .nav-cta .btn{display:none}
  .tfc-site .hero{min-height:0;padding:90px 0}
}
@media(max-width:640px){
  .tfc-site .container{padding:0 24px}
  .tfc-site .topbar .container{justify-content:center}
  .tfc-site .topbar-contact{font-size:11.5px;gap:14px}
  .tfc-site .section{padding:70px 0}
  .tfc-site .services-grid,.tfc-site .tech-list,.tfc-site .courses-grid,.tfc-site .audience-grid,.tfc-site .form-row{grid-template-columns:1fr}
  .tfc-site .footer-top{grid-template-columns:1fr}
  .tfc-site .footer-bottom{flex-direction:column;text-align:center}
  .tfc-site .contact-form-wrap{padding:26px 20px}
  .tfc-site .brand-text{font-size:20px}
  .tfc-site .value-strip{padding:34px 0}
  .tfc-site .wa-float{right:16px;bottom:16px;width:52px;height:52px}
}

/* =========================================================
   LOGO SOBRE FONDOS OSCUROS (caja blanca) y tamaño del logo
   ========================================================= */
.tfc-site .nav-inner{height:88px}
.tfc-site .brand-logo{height:72px}
.tfc-site [id]{scroll-margin-top:110px}
.tfc-site .logo-box{background:#fff;border-radius:10px;padding:6px 10px}
.tfc-site .logo-box .brand-logo{height:56px}
.tfc-site .footer-brand.logo-box{display:inline-flex}

/* Próximas fechas (sección Cursos virtuales de la página principal) */
.tfc-site .next-dates{margin-top:40px;padding-top:30px;border-top:1px solid rgba(255,255,255,.1)}
.tfc-site .next-dates h3{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
.tfc-site .next-dates-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tfc-site .next-date{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius);padding:14px 16px;color:#fff;transition:all .3s var(--ease-out)}
.tfc-site .next-date:hover{background:rgba(255,255,255,.1);border-color:rgba(201,162,39,.5);transform:translateY(-2px)}
.tfc-site .next-date-when{font-family:var(--font-serif);font-size:18px;font-weight:400;color:var(--gold);white-space:nowrap;line-height:1.1;min-width:64px}
.tfc-site .next-date-when small{display:block;font-family:var(--font-sans);font-size:10.5px;letter-spacing:.08em;color:rgba(255,255,255,.5)}
.tfc-site .next-date-title{flex:1;font-size:13.5px;font-weight:500;line-height:1.35}
.tfc-site .next-date-title em{font-style:normal;color:rgba(255,255,255,.55);font-weight:400}
.tfc-site .next-date>svg{color:rgba(255,255,255,.45);flex-shrink:0}
.tfc-site .courses-foot-btns{display:flex;gap:12px;flex-wrap:wrap}

/* =========================================================
   PÁGINA CALENDARIO
   ========================================================= */
.tfc-site .page-hero{position:relative;color:#fff;overflow:hidden;isolation:isolate;padding:90px 0 100px;background:var(--plum)}
.tfc-site .page-hero-bg{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center}
.tfc-site .page-hero-overlay{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 20% 20%,rgba(201,162,39,.25) 0%,transparent 55%),linear-gradient(135deg,rgba(43,22,32,.95) 0%,rgba(74,16,32,.85) 50%,rgba(27,13,20,.92) 100%)}
.tfc-site .breadcrumb{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.6);margin-bottom:22px}
.tfc-site .breadcrumb a:hover{color:#fff}
.tfc-site .page-hero h1{font-family:var(--font-serif);font-weight:300;font-size:clamp(40px,6vw,72px);line-height:1.05;letter-spacing:-.025em;max-width:16ch;margin-top:18px}
.tfc-site .page-hero h1 em{font-style:italic;color:var(--gold);font-weight:300}
.tfc-site .page-hero p{font-size:clamp(16px,1.4vw,19px);color:rgba(255,255,255,.78);max-width:620px;margin-top:24px;line-height:1.65}
.tfc-site .page-hero-cta{display:flex;gap:14px;margin-top:36px;flex-wrap:wrap}

.tfc-site .info-strip{background:var(--gold-tint);border-bottom:1px solid #EFE3C2;padding:26px 0}
.tfc-site .info-strip-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tfc-site .info-strip-item{display:flex;align-items:center;gap:14px}
.tfc-site .info-strip-icon{width:44px;height:44px;border-radius:12px;background:#fff;color:var(--wine);display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #EFE3C2}
.tfc-site .info-strip-item strong{display:block;font-size:14.5px;color:var(--wine-deep);font-weight:600;line-height:1.3}
.tfc-site .info-strip-item span{display:block;font-size:13px;color:var(--gray-600);margin-top:2px}

.tfc-site .cal-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.tfc-site .search-wrap{flex:1;min-width:260px;position:relative}
.tfc-site .search-wrap svg{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:var(--gray-400)}
.tfc-site .search-wrap input{width:100%;padding:14px 18px 14px 48px;border:1px solid var(--gray-200);border-radius:999px;font-size:14px;font-family:inherit;color:var(--ink);background:#fff;transition:all .25s;min-height:0}
.tfc-site .search-wrap input:focus{outline:none;border-color:var(--wine);box-shadow:0 0 0 4px rgba(122,28,46,.08)}
.tfc-site .result-count{font-size:13.5px;color:var(--gray-500);white-space:nowrap}
.tfc-site .result-count strong{color:var(--wine-deep);font-weight:600}
.tfc-site .month-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:44px;padding-bottom:28px;border-bottom:1px solid var(--gray-200)}
.tfc-site .chip{padding:10px 18px!important;font-size:13px!important;font-weight:500!important;border-radius:999px!important;background:var(--gray-50)!important;color:var(--gray-700)!important;border:1px solid transparent!important;transition:all .25s;white-space:nowrap;font-family:inherit;line-height:1.2!important;min-height:0;box-shadow:none}
.tfc-site .chip:hover{background:#fff!important;border-color:var(--gray-200)!important}
.tfc-site .chip.active{background:var(--wine)!important;color:#fff!important;border-color:var(--wine)!important}
.tfc-site .month-group{margin-bottom:50px}
.tfc-site .month-label{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.tfc-site .month-label h3{font-family:var(--font-serif);font-size:26px;font-weight:400;color:var(--wine-deep);letter-spacing:-.01em;white-space:nowrap}
.tfc-site .month-label .line{flex:1;height:1px;background:var(--gray-200)}
.tfc-site .month-label .count{font-size:13px;font-weight:600;color:var(--gray-500);background:var(--gray-50);padding:5px 12px;border-radius:999px}
.tfc-site .cal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tfc-site .cal-course-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:24px;display:flex;gap:20px;align-items:flex-start;transition:all .3s var(--ease-out)}
.tfc-site .cal-course-card:hover{box-shadow:var(--shadow-lg);border-color:var(--wine);transform:translateY(-3px)}
.tfc-site .cal-course-date{background:var(--wine-deep);color:#fff;border-radius:12px;padding:12px 14px;text-align:center;flex-shrink:0;min-width:74px}
.tfc-site .cal-course-date .day{font-family:var(--font-serif);font-size:30px;font-weight:300;line-height:1}
.tfc-site .cal-course-date .month{font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-top:4px}
.tfc-site .cal-course-date .month.big{font-family:var(--font-serif);font-size:22px;font-weight:300;letter-spacing:0;text-transform:none;color:#fff;margin-top:0;line-height:1.1}
.tfc-site .cal-course-date .year{font-size:10.5px;color:rgba(255,255,255,.55);margin-top:2px}
.tfc-site .cal-course-date.tbd{background:var(--wine-tint);color:var(--wine-deep);border:1px dashed var(--wine)}
.tfc-site .cal-course-date.tbd .month.big{color:var(--wine-deep)}
.tfc-site .cal-course-date.tbd .year{color:var(--gray-500)}
.tfc-site .tbd-label{font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--wine);margin-top:6px;line-height:1.2}
.tfc-site .cal-course-body{flex:1;min-width:0}
.tfc-site .cal-course-body h4{font-size:16px;font-weight:600;color:var(--wine-deep);line-height:1.35}
.tfc-site .cal-course-sub{font-family:var(--font-serif);font-style:italic;font-size:15.5px;color:var(--wine);margin-top:4px}
.tfc-site .cal-course-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tfc-site .badge{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:var(--gray-600);background:var(--gray-50);padding:5px 11px;border-radius:999px}
.tfc-site .badge .dot{width:7px;height:7px;border-radius:50%;background:#22C55E}
.tfc-site .badge-gold{background:var(--gold-tint);color:var(--gold-deep)}
.tfc-site .cal-course-nota{font-size:13px;color:var(--gray-500);margin-top:10px;line-height:1.5}
.tfc-site .cal-course-action{margin-top:14px}
.tfc-site .cal-course-link{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:600;color:var(--wine);transition:gap .3s}
.tfc-site .cal-course-link:hover{gap:10px}
.tfc-site .cal-course-link.muted{color:var(--gray-500);font-weight:500}
.tfc-site .cal-vacio{text-align:center;padding:50px 20px;font-family:var(--font-serif);font-weight:300;font-size:clamp(18px,2.2vw,24px);color:var(--wine-deep);max-width:640px;margin:0 auto}
.tfc-site .no-results{text-align:center;padding:60px 20px;color:var(--gray-500);display:none}
.tfc-site .no-results svg{margin:0 auto 18px;color:var(--gray-300)}
.tfc-site .no-results h3{font-family:var(--font-serif);font-size:24px;color:var(--wine-deep);font-weight:400;margin-bottom:8px}
.tfc-site .tf-hidden{display:none!important}

.tfc-site .incluye-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tfc-site .incluye-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:32px}
.tfc-site .incluye-card h3{font-family:var(--font-serif);font-size:22px;font-weight:400;color:var(--wine-deep);letter-spacing:-.01em}
.tfc-site .incluye-card p{font-size:14.5px;color:var(--gray-600);line-height:1.7;margin-top:10px}
.tfc-site .incluye-card.highlight{background:var(--wine-deep);border-color:var(--wine-deep);color:#fff}
.tfc-site .incluye-card.highlight h3{color:var(--gold)}
.tfc-site .incluye-card.highlight p{color:rgba(255,255,255,.78)}
.tfc-site .check-list.compact{margin-top:16px;gap:8px}
.tfc-site .check-list.compact li{padding:10px 12px;font-size:14px;background:var(--cream)}

.tfc-site .price-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:900px}
.tfc-site .price-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius-lg);padding:30px 32px}
.tfc-site .price-card h3{font-family:var(--font-serif);font-size:23px;font-weight:400;color:#fff;letter-spacing:-.01em}
.tfc-site .price-note{font-size:13px;color:rgba(255,255,255,.6);margin-top:8px;line-height:1.5}
.tfc-site .price-list{margin-top:20px;display:flex;flex-direction:column}
.tfc-site .price-list li{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:13px 0;border-top:1px solid rgba(255,255,255,.1);font-size:14.5px;color:rgba(255,255,255,.75)}
.tfc-site .price-list li strong{font-family:var(--font-serif);font-size:24px;font-weight:400;color:var(--gold);white-space:nowrap}
.tfc-site .promo-banner{margin-top:28px;display:flex;align-items:center;gap:18px;background:linear-gradient(90deg,rgba(201,162,39,.18),rgba(201,162,39,.06));border:1px solid rgba(201,162,39,.45);border-radius:var(--radius-lg);padding:22px 26px;max-width:900px}
.tfc-site .promo-icon{width:52px;height:52px;border-radius:14px;background:var(--gold);color:var(--plum-deep);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tfc-site .promo-banner p{font-size:15px;color:rgba(255,255,255,.85);line-height:1.6}
.tfc-site .promo-banner p strong{color:var(--gold);font-weight:600}

.tfc-site .informes-box{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;background:var(--cream);border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:50px}
.tfc-site .informes-contact{display:flex;flex-direction:column;gap:12px}
.tfc-site .informes-nota{font-size:12.5px;color:var(--gray-500);text-align:center;margin-top:4px}

@media(max-width:1100px){
  .tfc-site .info-strip-grid,.tfc-site .incluye-grid{grid-template-columns:1fr 1fr}
  .tfc-site .informes-box{grid-template-columns:1fr;padding:36px}
  .tfc-site .next-dates-list{grid-template-columns:1fr}
}
@media(max-width:900px){
  .tfc-site .cal-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .tfc-site .info-strip-grid,.tfc-site .incluye-grid,.tfc-site .price-grid{grid-template-columns:1fr}
  .tfc-site .cal-course-card{flex-direction:column;gap:14px;padding:20px}
  .tfc-site .cal-course-date{align-self:flex-start;min-width:70px}
  .tfc-site .informes-box{padding:26px 20px}
  .tfc-site .promo-banner{flex-direction:column;align-items:flex-start}
  .tfc-site .brand-logo{height:54px}
  .tfc-site .nav-inner{height:74px}
  .tfc-site .page-hero{padding:60px 0 70px}
}

.tfc-site .cal-course-date .day.multi{font-size:22px;white-space:nowrap;padding-top:4px}
.tfc-site .price-discount{margin-top:22px;font-size:15.5px;color:rgba(255,255,255,.85);max-width:900px}
.tfc-site .price-discount strong{color:var(--gold);font-weight:600}
