
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --forest: #344434;
  --forest-dark: #263326;
  --olive: #627155;
  --gold: #a88b63;
  --cream: #f8f6f0;
  --paper: #fffdf8;
  --ink: #293329;
  --muted: #6d756a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
}

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

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

.container {
  width: min(1180px, 90%);
  margin: auto;
}

/* NAVEGACIÓN */

.navbar {
  position: absolute;
  z-index: 5;
  top: 0;
  width: 100%;
  color: white;
  border-bottom: 1px solid #ffffff40;
}

.nav-content {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  letter-spacing: 3px;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 6px;
  margin-top: 8px;
}

.navbar nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.navbar nav a:hover {
  color: #e8d5b9;
}

/* PORTADA */

.hero {
  min-height: 790px;
  height: 95svh;
  position: relative;
  background: url('images/5.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,29,17,.78), rgba(17,29,17,.24)),
    linear-gradient(0deg, rgba(17,29,17,.35), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 135px 0 100px;
}

.overline {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
}

.overline.light {
  color: #e5d0ab;
}

.hero h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(43px, 6vw, 84px);
  line-height: 1.12;
  max-width: 790px;
  margin: 22px 0;
}

.hero-content > p:not(.overline) {
  font-size: 17px;
  max-width: 560px;
  color: #f2f0e9;
}

.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  padding: 13px 25px;
  border: 1px solid white;
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
}

.button:hover {
  background: white;
  color: var(--forest);
}

.hero-caption {
  position: absolute;
  bottom: 25px;
  right: 5%;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 2px;
}

/* SECCIONES */

.section {
  padding: 110px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9%;
}

.intro-copy h2,
.section-heading h2,
.contact-grid h2 {
  font-size: clamp(35px, 4.1vw, 57px);
  line-height: 1.22;
  margin: 18px 0 26px;
}

.intro-copy p:not(.overline) {
  color: var(--muted);
  margin: 0 0 18px;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}

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

.statement {
  background: var(--forest);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.statement h2 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 750px;
  margin: 20px auto 0;
}

.section-heading {
  text-align: center;
  max-width: 690px;
  margin: 0 auto 48px;
}

.section-heading p:last-child {
  color: var(--muted);
}

/* EXPERIENCIAS */

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.experience-card {
  background: var(--paper);
}

.experience-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.experience-card > div {
  padding: 30px 34px 38px;
}

.experience-card span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}

.experience-card h3 {
  font-size: 29px;
  margin: 12px 0;
}

.experience-card p {
  color: var(--muted);
}

/* GALERÍA */

.gallery-section {
  background: #e9ece5;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform .4s;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery-wide {
  grid-column: 1/-1;
}

.gallery-wide img {
  height: 540px;
}

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 34px 20px 16px;
  background: linear-gradient(transparent, #0008);
  color: white;
  font-size: 14px;
}

/* CONTACTO */

.contact-section {
  background: var(--forest-dark);
  color: white;
  padding: 110px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12%;
  align-items: center;
}

.contact-grid > div > p:not(.overline) {
  color: #d4ded1;
}

.contact-panel {
  border: 1px solid #ffffff55;
  padding: 38px;
}

.contact-panel h3 {
  font-size: 27px;
  margin-bottom: 12px;
}

.contact-panel p {
  margin-top: 12px;
}

.contact-note {
  font-size: 13px;
  color: #d4ded1;
}

/* PIE DE PÁGINA */

.footer {
  background: #192619;
  color: #e9eee6;
  padding: 48px 0 20px;
}

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

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
}

.footer-brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
}

.footer-brand p,
.footer-legal p {
  font-size: 12px;
  color: #bdc8ba;
}

.footer-legal {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid #ffffff25;
  margin-top: 36px;
  padding-top: 18px;
  color: #b7c0b5;
  font-size: 12px;
}

/* PÁGINAS LEGALES */

.legal-main {
  background: var(--cream);
  min-height: 70vh;
  padding: 80px 0 100px;
}

.legal-container {
  max-width: 790px;
  margin: auto;
}

.legal-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 52px);
  margin: 12px 0;
}

.legal-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  margin: 34px 0 10px;
}

.legal-container p,
.legal-container li {
  margin: 12px 0;
  color: #4d594b;
}

.legal-container ul {
  padding-left: 22px;
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
}

.legal-header {
  background: var(--forest);
  color: white;
}

.legal-header .navbar {
  position: relative;
  border: 0;
}

.legal-notice {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: #ece7dc;
  margin: 24px 0;
}

.legal-notice p {
  margin: 0;
}

/* DISEÑO RESPONSIVE */

@media (max-width: 800px) {
  .navbar nav {
    gap: 14px;
    font-size: 12px;
  }

  .nav-content {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .hero {
    min-height: 670px;
    height: 90svh;
  }

  .hero-content {
    padding-top: 150px;
  }

  .intro-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-image img {
    height: 400px;
  }

  .section {
    padding: 75px 0;
  }

  .statement,
  .contact-section {
    padding: 75px 0;
  }

  .experience-card img {
    height: 310px;
  }

  .gallery-wide img {
    height: 350px;
  }

  .gallery img {
    height: 260px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 21px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

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

  .hero-caption {
    font-size: 8px;
  }

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

  .gallery-wide {
    grid-column: auto;
  }

  .gallery-wide img,
  .gallery img {
    height: 270px;
  }

  .intro-image img {
    height: 310px;
  }

  .contact-panel {
    padding: 25px;
  }

  .experience-card > div {
    padding: 24px;
  }
}
