﻿:root {
  --ink: #1f2022;
  --muted: #6b6d70;
  --paper: #f5f2ed;
  --surface: #fff;
  --line: #dfd9cf;
  --charcoal: #2f3133;
  --gray: #666865;
  --orange: #f27a12;
  --orange-dark: #c95708;
  --cream: #fffaf2;
  --shadow: 0 24px 60px rgba(31, 32, 34, .16)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5
}

img {
  display: block;
  width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 242, 237, .94);
  box-shadow: 0 12px 40px rgba(31, 32, 34, .12);
  backdrop-filter: blur(14px)
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0
}

.brand img {
  width: clamp(160px, 19vw, 270px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2))
}

.site-header.is-scrolled .brand img {
  filter: none
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .92rem;
  font-weight: 800
}

.main-nav a {
  opacity: .84
}

.main-nav a:hover {
  opacity: 1
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  padding: 10px
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 148px clamp(18px, 5vw, 72px) 44px;
  color: #fff;
  overflow: hidden
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0
}

.hero-media {
  background: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85") center/cover;
  transform: scale(1.02)
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(22, 22, 22, .94) 0%, rgba(22, 22, 22, .72) 48%, rgba(22, 22, 22, .24) 100%)
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 890px;
  padding-bottom: 72px
}

.hero-logo {
  width: clamp(260px, 36vw, 560px);
  max-height: 300px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 28px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .8)) drop-shadow(0 18px 34px rgba(0, 0, 0, .36))
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase
}

.hero .eyebrow {
  color: #ff9a2c
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: .94;
  letter-spacing: 0
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 2vw, 1.35rem)
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  cursor: pointer
}

.button.primary {
  color: #fff;
  background: var(--orange)
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08)
}

.button:hover {
  transform: translateY(-1px)
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(880px, 100%);
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px)
}

.hero-panel div {
  padding: 20px;
  background: rgba(31, 32, 34, .66)
}

.hero-panel strong {
  display: block;
  color: #ff9a2c;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: .88rem
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto
}

.section-band {
  background: var(--surface)
}

.intro,
.services,
.method,
.sectors,
.resources {
  padding: clamp(64px, 9vw, 118px) 0
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: start
}

.intro-grid p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 1.08rem
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 32px;
  max-width: none;
  align-items: end
}

.section-heading.split>p {
  margin: 0;
  color: var(--muted)
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.service-card {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .52)
}

.service-card span {
  display: block;
  margin-bottom: 72px;
  color: var(--orange);
  font-weight: 900
}

.service-card p,
.resource-list p,
.method-copy p {
  color: var(--muted)
}

.method-grid {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(32px, 6vw, 82px);
  align-items: center
}

.image-tile {
  min-height: 560px;
  background: var(--charcoal);
  overflow: hidden;
  border-radius: 8px
}

.image-tile img {
  height: 100%;
  min-height: 560px;
  object-fit: cover
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--charcoal);
  font-weight: 800
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 16px;
  height: 16px;
  background: var(--orange)
}

.sector-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px
}

.sector-card {
  display: grid;
  min-height: 320px;
  background: var(--surface);
  box-shadow: 0 1px 0 var(--line);
  overflow: hidden;
  border-radius: 8px
}

.sector-card.large {
  grid-row: span 2
}

.sector-card img {
  height: 240px;
  object-fit: cover
}

.sector-card.large img {
  height: 520px
}

.sector-card div {
  padding: 22px
}

.sector-card span,
.resource-list span {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em
}

.sector-card p {
  margin-bottom: 0;
  color: var(--muted)
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line)
}

.resource-list article {
  min-height: 270px;
  padding: 28px;
  background: var(--paper)
}

.resource-list h3 {
  margin-top: 52px
}

.site-footer {
  padding: 30px 0;
  color: #fff;
  background: var(--ink)
}

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

.footer-brand img {
  width: clamp(160px, 18vw, 260px);
  filter: none
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .92rem
}

@media(max-width:900px) {
  .nav-toggle {
    display: block
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow)
  }

  .main-nav.is-open {
    display: grid
  }

  .hero {
    min-height: 920px
  }

  .hero-content {
    padding-bottom: 28px
  }

  .intro-grid,
  .method-grid,
  .section-heading.split,
  .sector-grid {
    grid-template-columns: 1fr
  }

  .service-grid,
  .resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sector-card.large {
    grid-row: auto
  }

  .sector-card.large img,
  .sector-card img {
    height: 320px
  }
}

@media(max-width:620px) {
  .site-header {
    padding: 14px 18px
  }

  .brand img {
    width: min(44vw, 190px)
  }

  .hero {
    min-height: 850px;
    padding-top: 120px
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(22, 22, 22, .78) 0%, rgba(22, 22, 22, .94) 100%)
  }

  .hero-logo {
    width: min(100%, 360px);
    max-height: 220px
  }

  .hero-panel,
  .service-grid,
  .resource-list {
    grid-template-columns: 1fr
  }

  .hero-panel div,
  .service-card,
  .resource-list article {
    min-height: auto
  }

  .service-card span,
  .resource-list h3 {
    margin-top: 0;
    margin-bottom: 28px
  }

  .image-tile,
  .image-tile img {
    min-height: 360px
  }

  .footer-grid {
    display: grid
  }
}

/* Brillo/contorno para suavizar el recorte del logo PNG */
.hero-logo,
.brand img,
.footer-brand img {
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.96)) drop-shadow(0 0 9px rgba(255, 255, 255, 0.78)) drop-shadow(0 19px 34px rgba(0, 0, 0, 0.30));
}

.site-header.is-scrolled .brand img,
.footer-brand img {
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.98)) drop-shadow(0 8px 18px rgba(31, 32, 34, 0.16));
}