/* texto.link — Editorial Design System */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Source Sans 3',system-ui,-apple-system,sans-serif;color:#2c2c2c;background:#f9f7f4;line-height:1.75;font-size:17px;-webkit-font-smoothing:antialiased}
.container{max-width:740px;margin:0 auto;padding:0 28px}

/* Header */
header{padding:22px 0;display:flex;justify-content:space-between;align-items:center}
.logo{font-family:'DM Serif Display',Georgia,serif;font-size:21px;font-weight:400;text-decoration:none;color:#1a1a1a}
nav{display:flex;gap:22px;align-items:center}
nav a{font-family:'Source Sans 3',system-ui,sans-serif;font-size:14px;font-weight:600;color:#8a7e72;text-decoration:none;letter-spacing:.03em;text-transform:uppercase;transition:color .15s}
nav a:hover{color:#1a1a1a}

/* Hero */
.hero{padding:72px 0 56px}
.hero h1{font-family:'DM Serif Display',Georgia,serif;font-size:46px;font-weight:400;line-height:1.12;margin-bottom:24px;color:#1a1a1a}
.hero-intro{font-size:18px;color:#5a5249;line-height:1.8;max-width:580px}
.hero-intro strong{color:#1a1a1a;font-weight:600}
.verified-badge{font-family:'Source Sans 3',system-ui,sans-serif;font-size:12px;font-weight:700;color:#6b8a5e;letter-spacing:.08em;margin-top:20px;display:inline-block;text-transform:uppercase;background:#eef2e8;padding:4px 12px;border-radius:2px}

/* Sections */
.section{padding:52px 0;border-top:1px solid #e4ddd4}
h1,h2{font-family:'DM Serif Display',Georgia,serif;color:#1a1a1a}
h1{font-size:42px;font-weight:400;line-height:1.12;margin-bottom:24px}
h2{font-size:28px;font-weight:400;line-height:1.25;margin-bottom:20px}
h2::after{content:'';display:block;width:36px;height:3px;background:#c43a4b;margin-top:10px;border-radius:1px}
.section-lead{font-size:17px;color:#5a5249;margin-bottom:28px;line-height:1.75}

/* Cards */
.card-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.card{background:#fff;border:1px solid #e4ddd4;padding:28px 24px;text-decoration:none;color:#1a1a1a;transition:transform .2s ease,box-shadow .2s ease,border-color .2s;display:flex;flex-direction:column;border-radius:3px}
.card:hover{border-color:#c43a4b;transform:translateY(-2px);box-shadow:0 6px 20px rgba(196,58,75,.08)}
.card h3{font-family:'DM Serif Display',Georgia,serif;font-size:20px;font-weight:400;margin-bottom:10px;line-height:1.3}
.card p{font-size:14px;color:#7a7268;line-height:1.65;flex:1}
.card .badge{font-family:'Source Sans 3',system-ui,sans-serif;font-size:11px;font-weight:700;color:#c43a4b;letter-spacing:.06em;margin-top:14px;text-transform:uppercase}
.card-full{grid-column:1/-1}

/* Category blocks */
.cat-block{margin-bottom:24px}
.cat-block p{font-size:16px;color:#5a5249;line-height:1.8;margin-bottom:12px}
.cat-block p:last-child{margin-bottom:0}
.cat-block a{color:#c43a4b;text-decoration:none;font-weight:600}
.cat-block a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}

/* FAQ */
.faq-item{margin-bottom:28px;padding-bottom:28px;border-bottom:1px solid #e4ddd4}
.faq-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.faq-item h3{font-family:'DM Serif Display',Georgia,serif;font-size:18px;font-weight:400;margin-bottom:10px;line-height:1.4;color:#1a1a1a}
.faq-item p{font-size:15px;color:#5a5249;line-height:1.75}

/* About */
.about-block{background:#f0ece6;padding:36px 32px;margin:56px 0 0;border-left:4px solid #c43a4b;border-radius:0 3px 3px 0}
.about-block p{font-size:15px;color:#5a5249;line-height:1.8;margin-bottom:14px}
.about-block p:last-child{margin-bottom:0}
.about-block strong{color:#1a1a1a;font-weight:600}

/* Links */
.internal-links{font-family:'Source Sans 3',system-ui,sans-serif;font-size:14px;color:#8a7e72;line-height:2.2;margin-top:28px}
.internal-links a{color:#c43a4b;text-decoration:none;font-weight:600}
.internal-links a:hover{text-decoration:underline}

/* Footer */
footer{padding:44px 0;font-family:'Source Sans 3',system-ui,sans-serif;font-size:13px;color:#a89f95;border-top:1px solid #e4ddd4;margin-top:24px}
footer a{color:#8a7e72;text-decoration:none}
footer a:hover{color:#c43a4b}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:14px}

/* Page-specific: carta-presentacion */
.breadcrumb{font-family:'Source Sans 3',system-ui,sans-serif;font-size:13px;color:#a89f95;margin:24px 0}
.breadcrumb a{color:#8a7e72;text-decoration:none}
.breadcrumb a:hover{color:#c43a4b}
.verified{font-family:'Source Sans 3',system-ui,sans-serif;font-size:13px;color:#6b8a5e;letter-spacing:.04em;margin-bottom:32px;display:inline-block;text-transform:uppercase;background:#eef2e8;padding:3px 10px;border-radius:2px}

/* Page-specific: contador-de-palabras */
.tool-area{background:#fff;border:1px solid #e4ddd4;border-radius:3px;padding:32px;margin:32px 0}
.tool-area textarea{width:100%;min-height:180px;border:1px solid #e4ddd4;border-radius:3px;padding:16px;font-family:'Source Sans 3',system-ui,sans-serif;font-size:16px;color:#2c2c2c;background:#faf9f6;resize:vertical;line-height:1.7}
.tool-area textarea:focus{outline:none;border-color:#c43a4b;box-shadow:0 0 0 3px rgba(196,58,75,.1)}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.stat-box{background:#f0ece6;border-radius:3px;padding:16px;text-align:center}
.stat-box .stat-number{font-family:'DM Serif Display',Georgia,serif;font-size:32px;color:#1a1a1a;display:block}
.stat-box .stat-label{font-family:'Source Sans 3',system-ui,sans-serif;font-size:12px;color:#8a7e72;text-transform:uppercase;letter-spacing:.05em;margin-top:4px}

/* Responsive */
/* Tool Hub */
.tool-hub{padding:56px 0;border-top:1px solid #e4ddd4}
.hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}
.hub-card{background:#fff;border:1px solid #e4ddd4;border-radius:3px;padding:28px 24px;display:flex;flex-direction:column}
.hub-icon{font-size:28px;margin-bottom:12px}
.hub-card h3{font-family:'DM Serif Display',Georgia,serif;font-size:20px;font-weight:400;margin-bottom:8px;color:#1a1a1a}
.hub-card p{font-size:14px;color:#7a7268;line-height:1.6;margin-bottom:16px}
.hub-search{display:flex;gap:8px}
.hub-search input{flex:1;padding:10px 14px;border:1px solid #e4ddd4;border-radius:2px;font-family:'Source Sans 3',system-ui,sans-serif;font-size:15px;color:#2c2c2c;background:#faf9f6}
.hub-search input:focus{outline:none;border-color:#c43a4b;box-shadow:0 0 0 3px rgba(196,58,75,.1)}
.hub-search button,.hub-form button{padding:10px 20px;background:#c43a4b;color:#fff;border:none;border-radius:2px;font-family:'Source Sans 3',system-ui,sans-serif;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}
.hub-search button:hover,.hub-form button:hover{background:#a82e3e}
.hub-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.hub-tags a{font-family:'Source Sans 3',system-ui,sans-serif;font-size:12px;color:#8a7e72;background:#f0ece6;padding:4px 10px;border-radius:2px;text-decoration:none;transition:background .15s,color .15s}
.hub-tags a:hover{background:#e4ddd4;color:#c43a4b}
.hub-form{display:flex;flex-direction:column;gap:10px}
.hub-form select{padding:10px 14px;border:1px solid #e4ddd4;border-radius:2px;font-family:'Source Sans 3',system-ui,sans-serif;font-size:15px;color:#2c2c2c;background:#faf9f6;cursor:pointer}
.hub-form select:focus{outline:none;border-color:#c43a4b}
#counter-input{width:100%;min-height:60px;border:1px solid #e4ddd4;border-radius:2px;padding:10px 14px;font-family:'Source Sans 3',system-ui,sans-serif;font-size:14px;color:#2c2c2c;background:#faf9f6;resize:vertical;line-height:1.5}
#counter-input:focus{outline:none;border-color:#c43a4b;box-shadow:0 0 0 3px rgba(196,58,75,.1)}
.counter-stats{display:flex;gap:16px;margin-top:8px}
.counter-stats span{font-family:'Source Sans 3',system-ui,sans-serif;font-size:13px;color:#8a7e72}
.counter-stats strong{color:#1a1a1a;font-weight:600}
.search-results{margin-top:12px}
.search-result{padding:8px 12px;background:#faf9f6;border-left:3px solid #c43a4b;margin-bottom:6px;font-size:14px;color:#2c2c2c;line-height:1.5;border-radius:0 2px 2px 0}
.search-empty{font-size:14px;color:#8a7e72;padding:8px 0}

@media(max-width:600px){
    .card-grid{grid-template-columns:1fr}
    .hub-grid{grid-template-columns:1fr}
    .hero h1{font-size:34px}
    .hero-intro{font-size:16px}
    .about-block{padding:24px 20px}
    nav{gap:14px}
    nav a{font-size:12px}
    .stats-grid{grid-template-columns:1fr 1fr}
}