/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../../assets/images/hero/fondo_hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,20,0.45) 0%,
    rgba(10,10,20,0.55) 60%,
    rgba(10,10,20,0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  animation: heroFadeUp 0.9s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-family: var(--pm-font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--pm-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Country Page Hero (smaller)
   ============================================================ */
.country-hero {
  position: relative;
  height: 62vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.country-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,20,0.15) 0%,
    rgba(10,10,20,0.70) 70%,
    rgba(10,10,20,0.90) 100%
  );
}

.country-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--pm-max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  animation: heroFadeUp 0.7s ease both;
}

.country-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--pm-transition);
  margin-bottom: 1rem;
}

.country-hero__back:hover { color: var(--pm-gold); }

.country-hero__back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.country-hero__title {
  font-family: var(--pm-font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--pm-white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.country-hero__desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ============================================================
   Why/Banner sections
   ============================================================ */
.why-section {
  background: var(--pm-dark);
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.why-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201,165,39,0.15);
  border-radius: var(--pm-radius-md);
  transition: border-color var(--pm-transition), transform var(--pm-transition);
}

.why-card:hover {
  border-color: rgba(201,165,39,0.45);
  transform: translateY(-4px);
}

.why-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pm-gold);
  opacity: 0.75;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.why-card__title {
  font-family: var(--pm-font-display);
  font-size: 1.1rem;
  color: var(--pm-white);
  margin-bottom: 0.75rem;
}

.why-card__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* Banner CTA */
.banner-section {
  position: relative;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470');
  background-size: cover;
  background-position: center;
  text-align: center;
}

.banner-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.55);
}

.banner-section__content {
  position: relative;
  z-index: 1;
}

/* Solutions / Contact section */
.contact-section {
  padding: 5rem 0;
  background: var(--pm-off-white);
  text-align: center;
}

.solutions-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.solution-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem;
  width: 130px;
  border-radius: var(--pm-radius-md);
  border: 1px solid var(--pm-border);
  background: var(--pm-white);
  cursor: pointer;
  transition: all var(--pm-transition);
  user-select: none;
}

.solution-card:hover {
  border-color: var(--pm-gold);
  transform: translateY(-5px);
  box-shadow: var(--pm-shadow-md);
}

.solution-card__icon {
  color: var(--pm-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card__icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.solution-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pm-text);
  text-align: center;
  line-height: 1.3;
}
