/* Reset mínimo */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #fafafa;
  --text: #1a1a1a;
  --muted: #666;
  --line: #e5e5e5;
}

body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

/* Layout */
.container{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main.container{
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Header */
.site-header{
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 2rem;
}

.brand-link{
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav{
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link{
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  opacity: 0.85;
}

.nav-link:hover{ opacity: 1; }

.nav-link.active{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner{
  display: flex;
  justify-content: center;
  color: var(--muted);
}

/* HOME */
.hero{
  margin-bottom: 6rem;
}

.hero h1{
  font-size: 2rem;
  font-weight: 400;
  max-width: 760px;
}

.split{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
}

.card{
  padding: 0;
}

.card h2{
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.card p{
  margin-bottom: 1.2rem;
  max-width: 520px;
}

.link{
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.link:hover{ color: var(--text); }

/* PÁGINAS */
.page{
  padding: 4rem 0;
}

.page-hero{
  padding: 4rem 0 3rem;
}

.page-hero h1{
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.lead{
  max-width: 760px;
  color: var(--text);
  opacity: 0.92;
  font-size: 1.05rem;
}

.page-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 2rem 0 1rem;
}

.page-section{
  padding: 3rem 0 1rem;
}

.section-header{
  margin-bottom: 1.5rem;
}

.section-header h2{
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.muted{
  color: var(--muted);
}

/* Listas tipo “bloques” */
.list-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
}

.list-item h3{
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.list-item p{
  color: var(--muted);
}

/* CTA */
.page-cta{
  padding: 3rem 0 4rem;
}

.cta-box{
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  max-width: 760px;
}

.cta-box h2{
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.cta-box p{
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.cta-actions{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Botones */
.button{
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--text);
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.button:hover{
  background: var(--text);
  color: var(--bg);
}

.button.secondary{
  border-color: var(--line);
  color: var(--muted);
}
.button.secondary:hover{
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

/* Formulario */
.form{
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.label{
  font-size: 0.9rem;
  color: var(--muted);
}

.input{
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
}

.textarea{
  resize: vertical;
}

.form-note{
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Contacto */
.contact-list{
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-item h3{
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.mini-cta{
  margin-top: 1.5rem;
}
.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  font-weight: 600;
  text-decoration: none;
  color: #111;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: #222;
}

.nav-link:hover {
  text-decoration: underline;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid #eee;
}

.lang-item {
  font-size: 14px;
  text-decoration: none;
  color: #444;
}

.lang-item.is-active {
  color: #111;
  font-weight: 600;
}

.footer {
  border-top: 1px solid #eee;
  padding: 18px 24px;
  text-align: center;
  font-size: 14px;
  color: #666;
}


/* Responsive */
@media (max-width: 640px){
  .hero h1{ font-size: 1.7rem; }
  .page-hero{ padding: 3rem 0 2rem; }
  .split{ gap: 3rem; }
  .page-grid{ gap: 2rem; }
}
