:root{
  --header-h: 84px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #111;
  padding-top: var(--header-h);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8%;
  border-bottom: 1px solid #eee;
  background: rgba(255,255,255,0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  box-sizing: border-box;
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
}

.logo a{
  color:#111;
  text-decoration:none;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #111;
  font-weight: 400;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* HERO (igual que tu index, aunque esté en 0vh) */
.hero {
  position: relative;
  height: 0vh;
  background: url("https://images.unsplash.com/photo-1505691723518-36a5ac3b2a89?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 8%;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* IMAGE BAND */
.image-band {
  position: relative;
  height: 60vh;
  background: url("https://images.unsplash.com/photo-1497215842964-222b430dc094?q=80&w=1800&auto=format&fit=crop") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.image-band h2 {
  position: relative;
  color: white;
  font-size: 64px;
  letter-spacing: 10px;
  font-weight: 600;
  margin: 0;
}

/* SECTION (portada: “Nuestro enfoque”) */
.section {
  padding: 90px 8%;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.section p {
  color: #555;
  line-height: 1.6;
}

/* GRID (portada) */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 28px;
}

.card {
  border-top: 2px solid #111;
  padding-top: 20px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: #555;
}

/* CONTENIDO (páginas internas) */
.section-alt{
  padding: 90px 8%;
  background: #fff;
}

.section-alt .wrap{
  max-width: 1120px;
  margin: 0 auto;
}

.section-kicker{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 12px;
}

.section-title{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.section-lead{
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  max-width: 76ch;
  margin: 0 0 34px;
}

.section-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.box{
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.box p{
  margin: 0 0 14px;
  line-height: 1.7;
  color: #222;
}

.box p:last-child{ margin-bottom: 0; }

.pill-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill{
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  background: #fafafa;
  white-space: nowrap;
}

.quote{
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  background: #f7f7f7;
  border: 1px solid #eee;
  color: #111;
}

.quote strong{
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
}

.quote p{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #222;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  padding: 60px 8%;
}

footer p {
  color: #aaa;
}

/* RESPONSIVE */
@media(max-width: 900px){
  :root{ --header-h: 76px; }

  .grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 36px; }

  .image-band h2 { font-size: 42px; }

  .section-alt{ padding: 64px 8%; }
  .section-grid{ grid-template-columns: 1fr; }
}
