/* =========================================================
   RESET + BASE GLOBAL
========================================================= */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: #111111;
  font-family: "Roboto", sans-serif;
}

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

a {
  color: inherit;
}

.site-main {
  display: block;
  width: 100%;
}

/* =========================================================
   LAYOUT BASE
========================================================= */

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   HOME INTRO
========================================================= */

.home-intro {
  display: flex;
  justify-content: center;
  padding: 40px 20px 80px;
  background-color: #ffffff;
}

.home-intro-container {
  max-width: 900px;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 16px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888888;
}

.home-intro h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.3;
  color: #838e54;
}

/* =========================================================
   HOME EDITORIAL
========================================================= */

.home-editorial {
  padding: 40px 0 92px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 52px;
  align-items: start;
}

.main-visual,
.side-content {
  min-width: 0;
}

.main-caption {
  margin-top: 18px;
  max-width: 800px;
  padding-left: 8px;
  border-left: 2px solid #c2c2c2;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #444444;
}

/* =========================================================
   IMAGE DECOR SYSTEM
========================================================= */

.image-decor {
  position: relative;
  display: block;
}

.image-decor img {
  display: block;
  width: 100%;
  height: auto;
}

/* foto principal */

.large-decor {
  width: 100%;
  max-width: 800px;
}

.large-decor::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -24px;
  width: 60px;
  height: 60px;
  border-top: 12px solid #a3b271;
  border-left: 12px solid #a3b271;
  pointer-events: none;
}

/* =========================================================
   FUTURO: BLOQUES EDGE TO EDGE
   (base útil, aunque aún no los uses)
========================================================= */

.full-bleed {
  width: 100%;
}

.full-bleed img {
  width: 100%;
  height: auto;
}

/* =========================================================
   FUTURO: SPLIT SECTION
   una columna contenida + una imagen pegada al borde
========================================================= */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-text {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.split-text-inner {
  width: min(600px, calc(100% - 48px));
}

.split-image {
  min-width: 0;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   HOME EDITORIAL
========================================================= */

.home-editorial {
  padding: 40px 0 92px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 52px;
  align-items: start;
}

.main-visual,
.side-content {
  min-width: 0;
}

/* =========================================================
   IMAGE DECOR SYSTEM
========================================================= */

.image-decor {
  position: relative;
  display: block;
}

.image-decor img {
  display: block;
  width: 100%;
  height: auto;
}

/* FOTO PRINCIPAL */

.large-decor {
  width: 100%;
  max-width: 800px;
}

.large-decor::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -24px;
  width: 60px;
  height: 60px;
  border-top: 12px solid #a3b271;
  border-left: 12px solid #a3b271;
  pointer-events: none;
}

/* COLUMNA LATERAL */

.side-content {
  width: 100%;
}

.side-title {
  margin: 0 0 18px 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(28px, 2.1vw, 34px);
  line-height: 1.08;
  color: #333333;
}

.side-intro {
  margin: 0 0 18px 0;

  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666666;

  max-width: 280px;
}

.small-decor {
  width: 100%;
  max-width: 300px;
  margin-bottom: 28px;
}

.small-decor::before,
.small-decor::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 23px;
  pointer-events: none;
}

.small-decor::before {
  top: -8px;
  right: -8px;
  border-top: 4px solid #cccccc;
  border-right: 4px solid #cccccc;
}

.small-decor::after {
  bottom: -8px;
  left: -8px;
  border-bottom: 4px solid #cccccc;
  border-left: 4px solid #cccccc;
}

/* =========================================================
   TIPS LIST
========================================================= */

.tips-list {
  width: 100%;
  max-width: 300px;
}

.tips-list a {
  display: block;
  position: relative;
  margin: 0;
  padding: 0 0 20px 0;

  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.42;
  color: #111111;
  text-decoration: none;

  transition: color 0.25s ease, transform 0.25s ease;
}

.tips-list a:not(:last-child) {
  margin-bottom: 20px;
  border-bottom: 1px solid #d8d8d8;
}

.tips-list a::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
  color: #838e54;
  opacity: 0.9;
  transform: translateX(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tips-list a:hover {
  color: #000000;
  transform: translateY(-2px);
}

.tips-list a:hover::after {
  opacity: 1;
  transform: translateX(6px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
  .editorial-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 36px;
  }

  .small-decor,
  .tips-list {
    max-width: 260px;
  }
}

@media (max-width: 820px) {
  .home-editorial {
    padding: 32px 0 72px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .main-visual,
  .side-content {
    width: 100%;
  }

  .large-decor {
    width: 100%;
    max-width: 100%;
  }

  .side-content {
    width: 100%;
    max-width: 100%;
  }

  .tips-list {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .home-editorial {
    padding: 24px 0 56px;
  }

  .editorial-grid {
    row-gap: 36px;
  }

  .large-decor::before {
    top: -12px;
    left: 0;
    width: 36px;
    height: 36px;
    border-top: 8px solid #a3b271;
    border-left: 8px solid #a3b271;
  }

  .side-title {
    margin-bottom: 18px;
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.08;
  }

  .side-intro {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .small-decor {
    width: 80%;
    max-width: 330px;
    height: 170px; /* 👈 clave */
    overflow: hidden; /* 👈 corta la imagen */
      
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 22px;
  }
    
  .small-decor img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 recorte elegante */
  }

  .small-decor::before,
  .small-decor::after {
    width: 18px;
    height: 18px;
  }

  .small-decor::before {
    top: -6px;
    right: 0;
    border-top: 3px solid #cccccc;
    border-right: 3px solid #cccccc;
  }

  .small-decor::after {
    bottom: -6px;
    left: 0;
    border-bottom: 3px solid #cccccc;
    border-left: 3px solid #cccccc;
  }

  .tips-list a {
    font-size: 21px;
    line-height: 1.4;
    padding-bottom: 18px;
  }

  .tips-list a:not(:last-child) {
    margin-bottom: 18px;
  }
}