/*
Theme Name: German Mogrovejo
Theme URI: https://germanmogrovejo.com
Author: German Mogrovejo
Description: Tema V1 para la marca personal de German Mogrovejo.
Version: 1.0.0
Text Domain: germanmogrovejo
*/

:root {
  --gm-white: #ffffff;
  --gm-paper: #f7fafc;
  --gm-ink: #101820;
  --gm-muted: #5c6873;
  --gm-line: #dfe8ee;
  --gm-cyan: #00aeef;
  --gm-cyan-deep: #007cae;
  --gm-cyan-soft: #e8f8fd;
  --gm-radius: 18px;
  --gm-shadow: 0 18px 55px rgba(16, 24, 32, 0.08);
  --gm-content: 1180px;
  --gm-gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gm-ink);
  background: var(--gm-white);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.material-symbols-outlined { font-size: 1.15em; line-height: 1; vertical-align: middle; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  overflow: hidden; position: absolute !important; width: 1px;
}
.container { width: min(var(--gm-content), calc(100% - 2 * var(--gm-gutter))); margin-inline: auto; }
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 10; border-bottom: 1px solid rgba(223, 232, 238, .8); background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--gm-cyan); border: 1.5px solid currentColor; border-radius: 50%; font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; }
.brand-name { font-size: .96rem; }
.primary-menu .menu { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--gm-muted); }
.primary-menu a { transition: color .2s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item a { color: var(--gm-ink); }
.header-cta { padding: .65rem 1rem; border: 1px solid var(--gm-line); border-radius: 999px; font-size: .88rem; font-weight: 700; }
.header-cta:hover { border-color: var(--gm-cyan); color: var(--gm-cyan-deep); }
.hero { position: relative; overflow: hidden; padding: clamp(5.5rem, 11vw, 9.5rem) 0 clamp(5rem, 10vw, 8rem); background: radial-gradient(circle at 90% 12%, var(--gm-cyan-soft), transparent 30%), linear-gradient(135deg, #fff 0%, #fff 58%, #f5fbfd 100%); }
.hero::after { content: ""; position: absolute; width: 32rem; height: 32rem; right: -15rem; bottom: -20rem; border: 1px solid rgba(0,174,239,.22); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(0,174,239,.04), 0 0 0 7rem rgba(0,174,239,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.eyebrow { margin: 0 0 1.25rem; color: var(--gm-cyan-deep); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.35rem, 4.7vw, 4.45rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.5vw, 3.05rem); }
h3 { margin: 0 0 .7rem; font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.hero-copy { max-width: 690px; margin: 1.7rem 0 0; color: var(--gm-muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--gm-ink); border-radius: 999px; background: var(--gm-ink); color: white; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gm-cyan-deep); border-color: var(--gm-cyan-deep); }
.button--ghost { background: transparent; color: var(--gm-ink); border-color: var(--gm-line); }
.button--ghost:hover { background: var(--gm-cyan-soft); color: var(--gm-ink); border-color: var(--gm-cyan); }
.hero-note { padding: 1.5rem; border-left: 2px solid var(--gm-cyan); color: var(--gm-muted); font-size: .95rem; }
.hero-note strong { display: block; margin-bottom: .5rem; color: var(--gm-ink); font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--paper { background: var(--gm-paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 510px; margin: 0; color: var(--gm-muted); }
.kicker { color: var(--gm-cyan-deep); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 100%; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--gm-line); border-radius: var(--gm-radius); background: var(--gm-white); }
.card--accent { background: var(--gm-ink); color: white; border-color: var(--gm-ink); }
.card--accent p, .card--accent .card-meta { color: #b9c6ce; }
.card p { margin: 0; color: var(--gm-muted); }
.card-meta { display: block; margin-bottom: 2.4rem; color: var(--gm-cyan-deep); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-link { display: inline-flex; margin-top: 1.5rem; color: var(--gm-cyan-deep); font-weight: 700; }
.card--accent .card-link { color: var(--gm-cyan); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--gm-line); }
.process-item { padding: 1.5rem 1.25rem 0 0; border-right: 1px solid var(--gm-line); }
.process-item + .process-item { padding-left: 1.25rem; }
.process-item:last-child { border-right: 0; }
.process-number { display: block; margin-bottom: 1.5rem; color: var(--gm-cyan-deep); font-family: "Space Grotesk", sans-serif; font-size: .9rem; }
.process-item p { margin: 0; color: var(--gm-muted); font-size: .95rem; }
.project-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; }
.project { min-height: 260px; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--gm-radius); background: var(--gm-ink); color: white; }
.project:nth-child(2) { background: var(--gm-cyan-soft); color: var(--gm-ink); }
.project:nth-child(3) { background: #edf1f3; color: var(--gm-ink); }
.project p { max-width: 560px; color: #c2d0d8; }
.project:nth-child(2) p, .project:nth-child(3) p { color: var(--gm-muted); }
.project-tag { display: block; margin-bottom: 3rem; color: var(--gm-cyan); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project:nth-child(2) .project-tag, .project:nth-child(3) .project-tag { color: var(--gm-cyan-deep); }
.split-cta { display: grid; grid-template-columns: 1fr .8fr; gap: 3rem; align-items: center; }
.split-cta p { color: var(--gm-muted); }
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--gm-line); color: var(--gm-muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.site-main { min-height: 60vh; }
.page-header { padding: 5rem 0 3rem; background: var(--gm-paper); }
.page-header p { max-width: 650px; color: var(--gm-muted); font-size: 1.15rem; }
.content { max-width: 820px; padding: 4rem 0 7rem; }
.content > *:first-child { margin-top: 0; }
.content a { color: var(--gm-cyan-deep); text-decoration: underline; text-underline-offset: .2em; }
.entry-card { padding: 2rem 0; border-bottom: 1px solid var(--gm-line); }
.entry-card h2 { margin-bottom: .5rem; font-size: 1.6rem; }
.entry-card p { color: var(--gm-muted); }
.post-meta { color: var(--gm-cyan-deep); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: .4rem; padding: .8rem 1rem; border: 1px solid var(--gm-line); border-radius: 10px; background: white; }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 700; }
.contact-form textarea { min-height: 150px; resize: vertical; }
@media (max-width: 850px) {
  .primary-menu { display: none; }
  .hero-grid, .split-cta, .project-grid { grid-template-columns: 1fr; }
  .hero-note { max-width: 500px; }
  .hero { padding-top: 4.5rem; padding-bottom: 4.75rem; }
  h1 { max-width: 650px; font-size: clamp(2.25rem, 7vw, 3.55rem); }
  .cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; border-top: 0; }
  .process-item, .process-item + .process-item { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--gm-line); }
  .process-item:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .section-heading, .footer-inner { display: block; }
  .section-heading p { margin-top: 1rem; }
  .footer-inner p + p { margin-top: .6rem; }
  .hero { padding-top: 3.75rem; padding-bottom: 4rem; }
  h1 { max-width: 100%; font-size: clamp(2.15rem, 10.5vw, 3.05rem); line-height: 1.04; }
}
