/* ==========================================
   RAMÍREZ GONZÁLEZ
   PÁGINA INTERNA: NUESTRA FIRMA
   ========================================== */

.nf-kicker {
  display: inline-block;
  color: #a77e49;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.nf-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 95px 0 105px;
  overflow: hidden;
  background: #14263d;
  color: white;
  isolation: isolate;
}

.nf-hero-photo,
.nf-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nf-hero-photo {
  z-index: -2;
}

.nf-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.nf-hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(15, 31, 51, 0.97) 0%,
      rgba(15, 31, 51, 0.89) 36%,
      rgba(15, 31, 51, 0.55) 70%,
      rgba(15, 31, 51, 0.27) 100%
    ),
    linear-gradient(0deg, rgba(15, 31, 51, 0.35), transparent 60%);
}

.nf-hero-content {
  position: relative;
  z-index: 1;
}

.nf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 75px;
  color: #e1c69d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nf-breadcrumb a {
  color: white;
}

.nf-breadcrumb a:hover {
  color: #e1c69d;
}

.nf-eyebrow {
  color: #e1c69d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nf-hero h1 {
  max-width: 800px;
  margin: 25px 0;
  font-size: clamp(48px, 6.2vw, 90px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.nf-hero h1 em {
  color: #e7c898;
  font-weight: 400;
}

.nf-hero-content > p {
  max-width: 530px;
  color: #e4e8ee;
  font-size: 16px;
  line-height: 1.9;
}

.nf-hero-number {
  position: absolute;
  right: 5%;
  bottom: 30px;
  color: #e2c69c;
  font-size: 10px;
  letter-spacing: 2.5px;
}

/* QUIÉNES SOMOS */

.nf-intro {
  padding: 115px 0;
  background: #faf9f6;
}

.nf-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}

.nf-intro-heading h2 {
  margin: 28px 0;
}

.nf-intro-text {
  padding-top: 30px;
}

.nf-intro-text p {
  color: #677480;
  font-size: 15px;
  line-height: 1.95;
}

.nf-intro-text .nf-lead {
  color: #223b5e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.65;
}

/* FOTOGRAFÍAS Y FILOSOFÍA */

.nf-story {
  padding: 30px 0 115px;
  background: #faf9f6;
}

.nf-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: start;
}

.nf-story-main {
  position: relative;
}

.nf-story-main > img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: center 24%;
}

.nf-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 18px 24px;
  background: #223b5e;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nf-story-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.nf-story-copy {
  padding-top: 35px;
}

.nf-story-copy h2 {
  margin: 25px 0;
  font-size: clamp(35px, 3.8vw, 55px);
}

.nf-story-copy p {
  max-width: 410px;
  color: #677480;
  font-size: 15px;
  line-height: 1.9;
}

.nf-story-small {
  max-width: 360px;
  margin-left: auto;
  padding: 9px;
  background: #ede8df;
}

.nf-story-small img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: center 30%;
}

/* VALORES */

.nf-values {
  padding: 115px 0;
  background: #223b5e;
  color: white;
}

.nf-values-heading {
  max-width: 800px;
  margin-bottom: 55px;
}

.nf-values-heading h2 {
  margin: 25px 0;
}

.nf-values-heading h2 em {
  color: #e3c393;
}

.nf-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #ffffff50;
}

.nf-value-card {
  padding: 35px 25px 15px;
  border-right: 1px solid #ffffff35;
}

.nf-value-card:first-child {
  padding-left: 0;
}

.nf-value-card:last-child {
  border-right: 0;
}

.nf-value-card > span {
  color: #e2c391;
  font-size: 11px;
  font-weight: 700;
}

.nf-value-card h3 {
  margin: 35px 0 20px;
  font-size: 30px;
}

.nf-value-card p {
  color: #d7e0eb;
  font-size: 14px;
  line-height: 1.85;
}

/* NUESTRA PRÁCTICA */

.nf-focus {
  padding: 115px 0;
  background: #efebe4;
}

.nf-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nf-focus h2 {
  margin: 25px 0 0;
}

.nf-focus-right p {
  max-width: 470px;
  color: #677480;
  font-size: 17px;
  line-height: 1.9;
}

.nf-line-link {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #a77e49;
  color: #223b5e;
  font-size: 13px;
  font-weight: 700;
}

.nf-line-link span {
  color: #a77e49;
}

/* CONTACTO FINAL */

.nf-cta {
  position: relative;
  padding: 110px 0;
  background: #14263d;
  color: white;
  text-align: center;
}

.nf-cta h2 {
  margin: 30px auto 40px;
  max-width: 800px;
}

.nf-cta h2 em {
  color: #e3c393;
}

.nf-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 19px 25px;
  background: #a77e49;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.25s,
    background 0.25s;
}

.nf-cta-button:hover {
  background: #bd9562;
  transform: translateY(-3px);
}

/* MENÚ ACTIVO */

.nav .current-page {
  color: #a77e49;
}

/* TABLETAS */

@media (max-width: 1000px) {
  .nf-intro-grid {
    gap: 40px;
  }

  .nf-story-grid {
    gap: 35px;
  }

  .nf-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nf-value-card {
    border-bottom: 1px solid #ffffff35;
  }

  .nf-value-card:nth-child(2) {
    border-right: 0;
  }

  .nf-value-card:nth-child(3) {
    padding-left: 0;
  }
}

/* CELULARES */

@media (max-width: 780px) {
  .nf-hero {
    min-height: 600px;
    padding: 75px 0;
  }

  .nf-hero-photo img {
    object-position: 60% center;
  }

  .nf-hero-shade {
    background: linear-gradient(
      180deg,
      rgba(15, 31, 51, 0.92),
      rgba(15, 31, 51, 0.73)
    );
  }

  .nf-breadcrumb {
    margin-bottom: 55px;
  }

  .nf-hero h1 {
    font-size: clamp(42px, 9vw, 64px);
  }

  .nf-hero-content > p {
    font-size: 14px;
  }

  .nf-intro,
  .nf-values,
  .nf-focus {
    padding: 80px 0;
  }

  .nf-intro-grid,
  .nf-story-grid,
  .nf-focus-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nf-intro-text {
    padding-top: 0;
  }

  .nf-story {
    padding: 0 0 80px;
  }

  .nf-story-main > img {
    height: 480px;
  }

  .nf-story-side {
    gap: 25px;
  }

  .nf-story-copy {
    padding-top: 10px;
  }

  .nf-story-small {
    width: 65%;
    margin-left: auto;
  }

  .nf-story-small img {
    height: 200px;
  }

  .nf-focus-right p {
    font-size: 15px;
  }

  .nf-cta {
    padding: 85px 0;
  }
}

@media (max-width: 500px) {
  .nf-hero h1 {
    font-size: clamp(38px, 9vw, 48px);
  }

  .nf-story-main > img {
    height: 390px;
  }

  .nf-photo-caption {
    padding: 13px 16px;
    font-size: 8px;
  }

  .nf-values-grid {
    grid-template-columns: 1fr;
  }

  .nf-value-card,
  .nf-value-card:first-child,
  .nf-value-card:nth-child(3) {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #ffffff35;
  }

  .nf-value-card:last-child {
    border-bottom: 0;
  }

  .nf-value-card h3 {
    margin: 18px 0 12px;
  }

  .nf-story-small {
    width: 78%;
  }

  .nf-cta h2 {
    font-size: 38px;
  }
}
