:root {
  --marfil: #F7F5EC;
  --oliva: #4F5F4C;
  --oliva-profundo: #364232;
  --dorado: #C9A44C;
  --dorado-suave: #E3D2A1;
  --tinta: #2F352B;
  --sombra: 0 18px 50px rgba(47, 53, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--marfil);
  color: var(--tinta);
  font-family: Montserrat, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(79, 95, 76, 0.96);
  box-shadow: 0 8px 24px rgba(47, 53, 43, 0.18);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--marfil);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 245, 236, 0.42);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.7vw, 36px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  color: var(--marfil);
  text-decoration: none;
  opacity: 0.92;
}

.nav a:hover {
  color: var(--dorado-suave);
}

.hero {
  position: relative;
  min-height: 88svh;
  padding: 122px clamp(22px, 7vw, 96px) 72px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(247, 245, 236, 0.97) 0%, rgba(247, 245, 236, 0.88) 44%, rgba(247, 245, 236, 0.46) 100%),
    radial-gradient(circle at 78% 22%, rgba(201, 164, 76, 0.22), transparent 28%),
    linear-gradient(135deg, #fbfaf4 0%, #eef0e4 46%, #dbe2d1 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(247, 245, 236, 0), var(--marfil));
  pointer-events: none;
}

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(430px, 42vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: var(--sombra);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(201, 164, 76, 0.42);
  border-radius: inherit;
}

.hero-media img {
  position: relative;
  width: 190%;
  max-width: none;
  height: auto;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--dorado);
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--oliva-profundo);
  font-weight: 700;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8.2vw, 7.6rem);
  line-height: 0.9;
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.8;
  color: #596151;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  background: var(--dorado);
  color: var(--marfil);
  box-shadow: 0 12px 22px rgba(201, 164, 76, 0.28);
}

.button-primary:hover {
  background: var(--oliva);
}

.button-secondary {
  border-color: rgba(79, 95, 76, 0.35);
  color: var(--oliva);
  background: rgba(247, 245, 236, 0.72);
}

.button-secondary:hover {
  border-color: var(--oliva);
  background: var(--oliva);
  color: var(--marfil);
}

.values-band {
  width: 100%;
  background: var(--oliva);
  overflow: hidden;
}

.values-band img {
  width: 100%;
  min-height: 118px;
  object-fit: cover;
}

.content-grid {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 6vw, 82px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(79, 95, 76, 0.18);
}

.content-grid article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--marfil);
}

.content-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--dorado);
  font-weight: 700;
}

.content-grid h2,
.contact-strip h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
}

.content-grid p {
  max-width: 390px;
  margin: 22px 0 0;
  color: #626a5c;
  line-height: 1.75;
}

.contact-strip {
  padding: clamp(44px, 7vw, 76px) clamp(22px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
  background: var(--oliva-profundo);
}

.contact-strip h2 {
  max-width: 760px;
  color: var(--marfil);
}

.contact-strip .eyebrow {
  color: var(--dorado-suave);
}

.contact-intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(247, 245, 236, 0.78);
  line-height: 1.75;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 166px;
  padding: 24px;
  border: 1px solid rgba(227, 210, 161, 0.22);
  border-radius: 8px;
  background: rgba(247, 245, 236, 0.06);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card h3 {
  margin: 0 0 14px;
  color: var(--dorado-suave);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
  color: var(--marfil);
  line-height: 1.75;
}

.contact-card a {
  color: var(--marfil);
  text-decoration-color: rgba(227, 210, 161, 0.55);
  text-underline-offset: 4px;
}

.contact-card a:hover {
  color: var(--dorado-suave);
}

.contact-details > .button {
  justify-self: start;
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 1.72rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .hero-media {
    order: -1;
    width: min(300px, 78vw);
    margin-top: 18px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5.6rem);
  }

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

  .content-grid article {
    min-height: auto;
  }

  .content-grid span {
    margin-bottom: 24px;
  }

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

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

@media (max-width: 520px) {
  .nav {
    font-size: 0.7rem;
    gap: 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
