/* Semántica 2026 */
:root {
	--navy: #183047;
	--navy-dark: #10222f;
	--orange: #e86f2a;
	--orange-dark: #b84e14;
	--orange-soft: #fdeee4;
	--sand: #f7f4f0;
	--mist: #f7f9fb;
	--line: #e6ebf0;
	--line-2: #d6dee6;
	--text: #183047;
	--muted: #4f6273;
	--muted-2: #5d7081;
	--radius: 14px;
	--display: 'Space Grotesk', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.5px; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.sem-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 8px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.sem-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sem-wrap--narrow { max-width: 900px; }
.sem-section { padding-top: 88px; padding-bottom: 88px; }
.sem-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-dark); }
.sem-h2 { font-size: clamp(30px, 4vw, 40px); margin-top: 14px; max-width: 780px; }
.sem-lead { font-size: 18px; color: var(--muted); margin-top: 16px; max-width: 680px; }
.sem-center { text-align: center; }
.sem-center .sem-h2, .sem-center .sem-lead { margin-left: auto; margin-right: auto; }

/* Botones */
.sem-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.sem-btn--primary { background: var(--orange-dark); color: #fff; }
.sem-btn--primary:hover { background: #9c4210; color: #fff; }
.sem-btn--ghost { background: #fff; color: var(--navy); border: 1px solid #c9d3dc; }
.sem-btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.sem-btn--white { background: #fff; color: var(--navy); }
.sem-btn--white:hover { background: var(--sand); color: var(--navy); }
.sem-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Encabezado */
.sem-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.admin-bar .sem-header { top: 32px; }
.sem-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.sem-brand { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--navy); text-decoration: none; letter-spacing: -0.5px; display: inline-flex; align-items: center; }
.sem-brand img { max-height: 40px; width: auto; }
.sem-nav { display: flex; align-items: center; gap: 28px; }
.sem-menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.sem-menu a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 15px; }
.sem-menu a:hover, .sem-menu .current-menu-item > a { color: var(--orange-dark); }
.sem-menu .sub-menu { display: none; }
.sem-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center; }

@media (max-width: 960px) {
	.sem-toggle { display: inline-flex; }
	.sem-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; display: none; }
	.sem-nav.is-open { display: flex; }
	.sem-menu { flex-direction: column; gap: 0; }
	.sem-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.sem-nav .sem-btn { margin-top: 14px; }
}

/* Hero */
.sem-hero { background: var(--sand); }
.sem-hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 80px; }
.sem-hero__copy { flex: 1 1 540px; min-width: 0; }
.sem-pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--orange-dark); background: var(--orange-soft); padding: 8px 14px; border-radius: 999px; }
.sem-hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.08; margin-top: 24px; letter-spacing: -1px; }
.sem-hero__lead { font-size: 19px; color: var(--muted); margin-top: 24px; max-width: 600px; }
.sem-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.sem-hero__note { font-size: 14px; color: var(--muted-2); margin-top: 18px; }
.sem-hero__card { flex: 1 1 360px; min-width: 0; }

.sem-status { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(24,48,71,.10); }
.sem-status__title { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted-2); }
.sem-status__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sem-status__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; }
.sem-status__item strong { display: block; font-weight: 600; }
.sem-status__item span.sem-status__sub { display: block; font-size: 13px; color: var(--muted-2); }
.sem-badge { font-size: 12px; font-weight: 700; background: #fff; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.is-red { background: #fdecec; } .is-red .sem-badge { color: #a3261f; }
.is-amber { background: #fff4e5; } .is-amber .sem-badge { color: #8a4b00; }
.is-green { background: #e8f5ee; } .is-green .sem-badge { color: #1d6b43; }
.sem-status__src { display: inline-block; margin-top: 4px; margin-right: 10px; font-size: 12px; font-weight: 600; color: #183047; text-decoration: underline; text-underline-offset: 2px; }
.sem-status__src:hover { color: var(--orange-dark); }
.sem-status__note { font-size: 12px; color: var(--muted-2); margin-top: 14px; }
.sem-status__link { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; }

/* Logos y cifras */
.sem-logos { border-bottom: 1px solid var(--line); padding-top: 48px; padding-bottom: 48px; }
.sem-logos__title { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted-2); text-align: center; }
.sem-logos__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; margin-top: 28px; list-style: none; padding: 0; }
.sem-logos__grid img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.sem-logos__grid img:hover { filter: none; opacity: 1; }
.sem-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; margin-top: 44px; }
.sem-stat { text-align: center; }
.sem-stat__num { font-family: var(--display); font-size: 40px; font-weight: 600; color: var(--orange-dark); line-height: 1.1; }
.sem-stat__label { font-size: 14px; color: var(--muted-2); }

/* Migración */
.sem-dark { background: var(--navy); color: #fff; }
.sem-dark .sem-eyebrow { color: #f5a36f; }
.sem-migr { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.sem-migr__copy { flex: 1 1 520px; min-width: 0; }
.sem-migr__copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.sem-migr__copy p { font-size: 17px; color: #d3dde6; margin-top: 18px; }
.sem-steps { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.sem-steps li { background: rgba(255,255,255,.08); border-radius: 12px; padding: 18px 20px; }
.sem-steps strong { display: block; font-weight: 600; }
.sem-steps span { display: block; font-size: 14px; color: #d3dde6; margin-top: 4px; }

/* Modalidades */
.sem-modes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.sem-mode { flex: 1 1 420px; min-width: 0; border-radius: 16px; padding: 32px; }
.sem-mode--cloud { border: 2px solid var(--orange); background: #fff8f3; }
.sem-mode--onprem { border: 1px solid var(--line-2); background: var(--mist); }
.sem-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; }
.sem-tag--orange { color: #fff; background: var(--orange-dark); }
.sem-tag--gray { color: var(--navy); background: var(--line); }
.sem-mode h3 { font-size: 26px; margin-top: 16px; }
.sem-mode p { color: var(--muted); margin-top: 12px; }
.sem-band { margin-top: 20px; background: var(--navy); color: #fff; border-radius: 12px; padding: 20px 24px; }

/* Cobertura */
.sem-coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-top: 22px; list-style: none; padding: 0; }
.sem-coverage li { border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.sem-coverage .sem-icon { color: var(--orange-dark); }
.sem-coverage strong { display: block; font-size: 17px; margin-top: 10px; }
.sem-coverage span { display: block; font-size: 14px; color: var(--muted-2); margin-top: 6px; line-height: 1.55; }
.sem-small { font-size: 14px; color: var(--muted-2); margin-top: 14px; }

/* Plataformas */
.sem-sand { background: var(--sand); }
.sem-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 36px; }
.sem-card { background: #fff; border-radius: var(--radius); padding: 26px; }
.sem-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sem-card__icon .sem-icon { width: 26px; height: 26px; }
.sem-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted-2); text-transform: uppercase; }
.sem-card h3 { font-size: 26px; margin-top: 8px; }
.sem-card p { font-size: 15px; color: var(--muted); margin-top: 10px; }
.sem-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }

/* Casos y testimonio */
.sem-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.sem-case { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.sem-case:hover { border-color: var(--orange); box-shadow: 0 10px 30px rgba(24,48,71,.08); color: var(--text); }
.sem-case h3 { font-size: 22px; margin-top: 8px; }
.sem-case p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.sem-case p strong { color: var(--navy); }
.sem-case__more { display: block; font-size: 14px; font-weight: 600; color: var(--orange-dark); margin-top: 16px; }
.sem-quote { margin: 48px 0 0; background: var(--sand); border-radius: 16px; padding: 40px; }
.sem-quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; font-weight: 500; }
.sem-quote figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); }

/* Nosotros */
.sem-about { display: flex; flex-wrap: wrap; gap: 40px; }
.sem-about > div { flex: 1 1 420px; min-width: 0; }
.sem-team { display: flex; flex-wrap: wrap; gap: 16px; }
.sem-person { flex: 1 1 180px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sem-person__photo { width: 80px; height: 80px; border-radius: 50%; background: var(--line); margin: 0 auto; object-fit: cover; display: block; }
.sem-person strong { display: block; margin-top: 12px; }
.sem-person span { font-size: 13px; color: var(--muted-2); }
.sem-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }

/* CTA */
.sem-cta { background: var(--orange-dark); color: #fff; }
.sem-cta__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.sem-cta__copy { flex: 1 1 540px; min-width: 0; }
.sem-cta h2 { font-size: clamp(28px, 3.4vw, 38px); }
.sem-cta p { font-size: 17px; color: #ffece0; margin-top: 14px; }
.sem-cta__actions { flex: 0 1 320px; display: flex; flex-direction: column; gap: 12px; }
.sem-cta__mail { color: #fff; text-align: center; font-weight: 600; }
.sem-cta__mail:hover { color: #ffece0; }

/* Planes */
.sem-plans { display: flex; flex-wrap: wrap; gap: 24px; }
.sem-plan { flex: 1 1 420px; min-width: 0; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; }
.sem-plan h2 { font-size: 30px; margin-top: 16px; }
.sem-plan__sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.sem-plan__price { margin-top: 22px; }
.sem-plan__price b { font-family: var(--display); font-size: 40px; font-weight: 600; }
.sem-plan__price span { color: var(--muted-2); font-size: 15px; }
.sem-plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sem-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.sem-plan li .sem-icon { color: #1d6b43; flex: none; width: 20px; height: 20px; margin-top: 2px; }
.sem-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.sem-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.sem-table thead th { background: var(--navy); color: #fff; text-align: left; padding: 16px 20px; font-weight: 600; }
.sem-table th[scope=row] { text-align: left; font-weight: 600; }
.sem-table td, .sem-table th[scope=row] { padding: 14px 20px; border-top: 1px solid var(--line); }
.sem-table tbody tr:nth-child(even) { background: var(--mist); }
.sem-faq { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.sem-faq details { background: #fff; border-radius: 12px; padding: 20px 24px; }
.sem-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.sem-faq details p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* Interiores, blog y contenido */
.sem-page-hero { background: var(--sand); padding-top: 72px; padding-bottom: 56px; }
.sem-page-hero h1 { font-size: clamp(34px, 4.5vw, 50px); margin-top: 14px; letter-spacing: -1px; }
.sem-content { font-size: 17px; color: #2a3f52; }
.sem-content > * + * { margin-top: 1.1em; }
.sem-content h2 { font-size: 30px; margin-top: 1.6em; }
.sem-content h3 { font-size: 23px; margin-top: 1.4em; }
.sem-content img { border-radius: 10px; }
.sem-content blockquote { border-left: 0; background: var(--sand); padding: 20px 24px; border-radius: 10px; margin-left: 0; margin-right: 0; }
.sem-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.sem-post { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sem-post img { width: 100%; height: 180px; object-fit: cover; display: block; }
.sem-post__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sem-post__date { font-size: 13px; color: var(--muted-2); }
.sem-post h2, .sem-post h3 { font-size: 21px; }
.sem-post h2 a, .sem-post h3 a { color: var(--navy); text-decoration: none; }
.sem-post h2 a:hover, .sem-post h3 a:hover { color: var(--orange-dark); }
.sem-post p { font-size: 15px; color: var(--muted); }
.sem-pagination { margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
.sem-pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--navy); }
.sem-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.sem-meta { color: var(--muted-2); font-size: 14px; margin-top: 12px; }

/* Pie */
.sem-footer { background: var(--navy-dark); color: #c3cfd9; font-size: 14px; }
.sem-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-top: 44px; padding-bottom: 44px; }
.sem-footer__brand { font-family: var(--display); font-size: 22px; font-weight: 600; color: #fff; }
.sem-footer a { color: #c3cfd9; }
.sem-footer a:hover { color: #fff; }
.sem-footer .sem-menu a { color: #c3cfd9; font-size: 14px; font-weight: 400; }
.sem-footer__links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sem-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #9fb0bf; }

/* WhatsApp flotante */
.sem-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #1d6b43; color: #fff; border-radius: 999px; padding: 14px 20px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.sem-wa:hover { color: #fff; background: #155234; }

@media (max-width: 600px) {
	.sem-section { padding-top: 64px; padding-bottom: 64px; }
	.sem-hero__inner { padding-top: 56px; padding-bottom: 56px; gap: 36px; }
	.sem-mode, .sem-plan { padding: 24px; }
	.sem-quote { padding: 26px; }
	.sem-actions .sem-btn { width: 100%; }
}
