:root {
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --text: #111827;
  --text-2: #374151;
  --muted: #4B5563;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;
  --band: #F5F5F4;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #FFFFFF;
  line-height: 1.5;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 34px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band { background: var(--band); padding: 88px 0; }
.stack { display: flex; flex-direction: column; gap: 40px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn-outline { border: 1px solid var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); color: var(--text); }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { flex: 1 1 320px; max-width: 400px; aspect-ratio: 4 / 5; border-radius: 16px; }

.placeholder { border: 2px dashed var(--border-strong); background: #F9FAFB; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 500; text-align: center; padding: 12px; }

/* Servicios */
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .price { margin-top: auto; color: var(--text); font-weight: 600; }
.icon, .icon-sm, .media-icon svg { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 28px; height: 28px; }
.icon-sm { width: 20px; height: 20px; flex-shrink: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 240px; display: flex; gap: 14px; }
.steps span { font-size: 15px; font-weight: 700; color: var(--accent); }
.steps p { font-size: 15px; line-height: 1.6; color: var(--text-2); }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 24px; }
.project { display: flex; flex-direction: column; gap: 12px; }
.project > p:last-child { font-size: 15px; line-height: 1.6; color: var(--muted); }
.media { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.media-icon { background: #EEF2FF; display: flex; align-items: center; justify-content: center; }
.media-icon svg { width: 88px; height: 88px; stroke-width: 1.2; }
.tag { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Sobre mí y contacto */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.body { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.facts { flex: 1 1 300px; margin: 0; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 4px 0 0; color: var(--muted); }

.contact-info { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 500; }
.contact-link:hover { color: var(--accent); }

.form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.form label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.form input, .form textarea { font: inherit; padding: 10px 12px; min-height: 44px; border: 1px solid var(--border-strong); border-radius: 8px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { align-self: flex-start; margin-top: 12px; }
.hint { font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }
