@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-italic.woff2) format('woff2'); }
/* Una columna de lectura centrada; bandas alternas de fondo separan secciones; la voz es primera persona */
:root {
  --bg: #1e2326;
  --band: #252b2f;
  --fg: #e6e2da;
  --strong: #f6f2ea;
  --muted: #9ba5aa;
  --accent: #8dc63f;
  --line: #343c41;
  --on-accent: #142008;
  --ph: #3d464b;
  --logo-data: #ffffff;
  --logo-after: #ffffff;
  --serif: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f5f6; --band: #e6ebee; --fg: #2a3236; --strong: #12171a; --muted: #5a666d;
    --accent: #007a3a; --line: #d0d8dc; --on-accent: #ffffff; --ph: #c3ccd1; --logo-data: url(#lg-data); --logo-after: url(#lg-after); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f3f5f6; --band: #e6ebee; --fg: #2a3236; --strong: #12171a; --muted: #5a666d;
  --accent: #007a3a; --line: #d0d8dc; --on-accent: #ffffff; --ph: #c3ccd1; --logo-data: url(#lg-data); --logo-after: url(#lg-after); color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--serif); font-size: 18px; line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; margin: 0; color: var(--strong); font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.gutter { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.col { max-width: 640px; margin: 0 auto; }
.wide { max-width: 920px; margin: 0 auto; }
.band { background: var(--band); }
section { padding-block: 80px; }
.label { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
.sec-head p { color: var(--muted); }

/* Cabecera */
.site-head { padding-block: 20px; }
.site-head .wide { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.brand { color: var(--strong); text-decoration: none; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 30px; height: 30px; fill: var(--strong); flex: none; }
.photo { position: relative; overflow: hidden; }
.photo img { position: absolute; max-width: none; display: block; }
.avatar img { width: 142%; left: -20%; top: -21%; }
.about .portrait img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.logo { width: 170px; height: auto; display: block; margin-bottom: 12px; }
.logo .data { fill: var(--logo-data); }
.logo .after { fill: var(--logo-after); }
.brand .head-logo { width: 132px; height: auto; margin: 0; fill: none; }
/* Dos trazos inclinados: marca de los rótulos de apartado */
.label::before { content: ""; display: inline-block; width: 14px; height: 12px; margin-right: 10px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--mk) no-repeat center / contain; mask: var(--mk) no-repeat center / contain; }
:root { --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M4.5 0H8L3.5 12H0zM10.5 0H14L9.5 12H6z'/%3E%3C/svg%3E"); }
.solution .label::before, .mag > div:last-child .label::before { display: none; }

/* Iconos de servicios */
.service { grid-template-columns: 48px minmax(0, 1fr); column-gap: 22px; }
.service > * { grid-column: 2; }
.service > .ico { display: block; grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.ico svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 460px) { .service { grid-template-columns: 1fr; } .service > *, .service > .ico { grid-column: 1; grid-row: auto; } }

.lic { margin-top: 28px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: center; color: var(--strong); font-size: 18px; }
.lic .ico { display: block; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.why { margin-top: 36px; padding: 26px 28px; border-left: 2px solid var(--accent); background: var(--bg); display: grid; gap: 12px; }
.why h3 { font-size: 24px; line-height: 1.2; }
.why p { font-size: 18px; }
.menu { display: flex; gap: 6px 20px; flex-wrap: wrap; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.menu a { text-decoration: none; }
.menu a:hover { text-decoration: underline; }

/* Portada */
.hero { text-align: center; padding-block: 48px 56px; }
.hero .col { display: grid; justify-items: center; gap: 22px; }
.avatar { width: 128px; height: 128px; border-radius: 50%; border: 3px solid var(--line); overflow: hidden; background: var(--band); }
.avatar svg { display: block; width: 100%; height: 100%; }
.ph { fill: var(--ph); }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.1; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { color: var(--muted); max-width: 50ch; font-size: 20px; }
.actions { display: flex; gap: 14px 24px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.btn { display: inline-block; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 13px 28px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.textlink { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }

/* Credenciales */
.creds-strip { border-top: 1px solid var(--line); padding-block: 22px; }
.creds-strip ul { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.creds-strip li { padding: 0 16px; text-align: center; }
.creds-strip li + li { border-left: 1px solid var(--line); }
.creds-strip b { color: var(--strong); font-weight: 600; }
@media (max-width: 640px) { .creds-strip ul { flex-direction: column; align-items: center; } .creds-strip li + li { border-left: 0; } }

/* Cita */
.quote { text-align: center; padding-block: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0 auto; max-width: 40ch; font-style: italic; font-size: clamp(22px, 3vw, 27px); line-height: 1.4; color: var(--strong); }
.cite { display: block; margin-top: 16px; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* Ensayo */
.essay .col { display: grid; gap: 22px; }
.essay h2 { font-size: clamp(30px, 4.4vw, 40px); line-height: 1.15; }
.essay p em { color: var(--strong); font-style: normal; font-weight: 600; }
.essay .sign { color: var(--strong); font-weight: 500; }

/* Fotos */
.shot { margin: 0; display: grid; gap: 10px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--band); }
.shot figcaption { font-size: 15px; line-height: 1.45; color: var(--muted); }
.essay .shot { margin-block: 8px; }
#formacion .shot { margin-bottom: 32px; }
.mag .shot { grid-column: 1 / -1; }
.about-shot { margin: 48px auto 0; }
.cons-shot { margin-bottom: 12px; }

/* ¿Por qué FileMaker? */
.pillar { padding-block: 22px; }
.pillar h3 { font-size: 22px; }
.pf-head p { color: var(--fg); font-size: 19px; }

/* Servicios */
.service { display: grid; gap: 10px; padding-block: 28px; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: 26px; line-height: 1.2; }
.service .gets { font-size: 17px; color: var(--muted); }
.service .gets b { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); margin-right: 6px; }
.after { margin-top: 28px; color: var(--muted); font-size: 17px; }

/* Formación */
.courses { list-style: none; margin: 0; padding: 0; display: grid; }
.courses li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding-block: 18px; border-top: 1px solid var(--line); }
.courses li:last-child { border-bottom: 1px solid var(--line); }
.courses .name { color: var(--strong); font-size: 21px; }
.courses .desc { grid-column: 1; color: var(--muted); font-size: 17px; }
.courses .meta { grid-column: 2; grid-row: 1; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.courses li { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 18px; align-items: center; }
.courses .c-ico { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 48px; height: 48px; }
.courses .c-ico svg { display: block; width: 100%; height: 100%; }
.courses .name { grid-column: 2; }
.courses .desc { grid-column: 2; }
.courses .meta { grid-column: 3; }
.courses .c-actions { grid-column: 3; grid-row: 2; justify-self: end; align-self: start; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.courses .more { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.courses .more::after { content: " →"; }
.courses .more:hover { text-decoration: underline; }
.courses .interest { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 7px 14px; }
.courses .interest:hover { background: var(--accent); color: var(--on-accent); }
@media (max-width: 560px) { .courses li { grid-template-columns: 40px minmax(0, 1fr); } .courses .c-ico { width: 40px; height: 40px; } .courses .meta { grid-column: 2; grid-row: auto; } .courses .c-actions { grid-column: 2; grid-row: auto; justify-self: start; flex-flow: row wrap; align-items: center; gap: 10px 16px; margin-top: 6px; } }
.badge { display: inline-block; vertical-align: 3px; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* Revista */
.mag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.mag .intro { display: grid; gap: 18px; }
.mag h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; }
.videos li { border-top: 1px solid var(--line); }
.videos li:last-child { border-bottom: 1px solid var(--line); }
.videos a { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 14px; text-decoration: none; }
.videos a:hover .t { color: var(--accent); }
.thumb { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 4px; background: var(--ph); position: relative; overflow: hidden; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.vnote { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.sw-k { background: #111; box-shadow: 0 0 0 1px var(--line); }
.sw-g { background: #3cb54a; margin-left: 8px; }
.videos .t { color: var(--strong); font-size: 18px; line-height: 1.3; }
.yt { margin-top: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 10px; justify-items: start; }
.yt-head { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--strong); font-size: 18px; }
.yt-head svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; color: var(--accent); }
.yt p { color: var(--muted); font-size: 17px; }
.mag blockquote { margin: 8px 0 0; font-style: italic; font-size: 19px; color: var(--strong); }
@media (max-width: 720px) { .mag { grid-template-columns: 1fr; } }

/* Soluciones */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.solution { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--accent); }
.solution h3 { font-size: 30px; line-height: 1.15; }
.solution p { font-size: 18px; }
.solution ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: 17px; color: var(--muted); }
@media (max-width: 720px) { .solutions { grid-template-columns: 1fr; } }

/* Opiniones */
.voices { display: grid; gap: 48px; text-align: center; }
.train-quote { margin: 36px 0 0; padding-left: 22px; border-left: 2px solid var(--accent); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--strong); }
.voices blockquote { margin: 0; font-style: italic; font-size: 22px; line-height: 1.45; color: var(--strong); }

/* Sobre mí */
.about { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 36px; align-items: start; }
.about .portrait { width: 160px; height: 200px; border-radius: 4px; overflow: hidden; background: var(--band); border: 1px solid var(--line); }
.about .portrait svg { width: 100%; height: 100%; display: block; }
.about .text { display: grid; gap: 16px; }
.about h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; }
@media (max-width: 600px) { .about { grid-template-columns: 1fr; } .about .portrait { width: 120px; height: 150px; } }

/* Contacto */
.contact { text-align: center; }
.contact .col { display: grid; gap: 18px; justify-items: center; }
.contact h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; }
.contact h2 em { font-style: normal; color: var(--accent); }
.contact p { color: var(--muted); max-width: 46ch; }
.cform { width: 100%; max-width: 560px; margin-top: 10px; display: grid; gap: 16px; text-align: left; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--strong); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--strong); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; color: var(--fg); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.cform .rgpd { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: none; }
.cform .btn { justify-self: start; }
.fstatus { font-weight: 500; color: var(--strong) !important; max-width: none !important; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--bg); }
.contact .alt { font-size: 16px; }
.c-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; margin: 36px auto 28px; }
.c-row .c-photo { order: 2; display: block; width: 100%; height: auto; border-radius: 6px; background: var(--band); }
.c-row .cform { max-width: none; margin-top: 0; }
@media (max-width: 760px) { .c-row { grid-template-columns: 1fr; gap: 32px; } .c-row .c-photo { order: 0; max-width: 400px; margin: 0 auto; } }

/* Pie */
.site-foot { padding-block: 48px 40px; border-top: 1px solid var(--line); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-grid a { color: var(--fg); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.legal a { color: var(--muted); }
.tm { margin-top: 10px; font-size: 13px; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.partner { margin-top: 22px; display: inline-block; color: var(--strong); }
.cp-logo { display: block; width: 190px; height: auto; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } section { padding-block: 60px; } }

.mock-note { font-family: var(--label); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--muted); padding: 10px; border-bottom: 1px dashed var(--line); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }


/* Selector de idioma */
.site-head .right { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { display: inline-block; text-decoration: none; font: inherit; font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .1em; background: none; border: 0; color: var(--muted); padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang a[aria-current="true"] { background: var(--accent); color: var(--on-accent); }
.trans { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .08em; opacity: .8; }
