/* ============================================================
   NORIÉ · Cocinas
   Composiciones dibujadas en planta, tiradores y detalles.
   ============================================================ */

/* ---------- Sección genérica ---------- */

.coc-sec { padding: clamp(58px, 8vh, 96px) 6vw; }
.coc-sec--suave { background: #FAF7F2; }
.coc-sec--oscuro { background: var(--tinta, #14110F); color: #F2EFEA; }
.coc-in { max-width: 1150px; margin: 0 auto; }

.coc-head { max-width: 660px; margin-bottom: clamp(32px, 5vh, 52px); }
.coc-head--centro { margin-left: auto; margin-right: auto; text-align: center; }

.coc-head .eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .28em;
  font-size: .72rem;
  text-transform: uppercase;
  color: var(--terracota, #B5533C);
}

.coc-head h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.16;
  margin: 12px 0 0;
  color: inherit;
}

.coc-head h2 em { font-style: italic; color: var(--terracota, #B5533C); }

.coc-head p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: #5f574d;
  margin-top: 14px;
}

.coc-sec--oscuro .coc-head p { color: rgba(242, 239, 234, .74); }

/* ---------- Composiciones en planta ---------- */
/* Van pequeñas, en su marco gris. Quien quiera leer las cotas
   las amplía con la lupa. */

.coc-composiciones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 38px);
}

.coc-comp { margin: 0; }

.coc-comp svg {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border: 1px solid rgba(20, 17, 15, .12);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Muros, frentes, isla y equipamiento */
.coc-comp .muro   { fill: none; stroke: rgba(20, 17, 15, .38); stroke-width: 2; stroke-linecap: butt; }
.coc-comp .puerta { fill: none; stroke: rgba(20, 17, 15, .24); stroke-width: .7; }
.coc-comp .mueble { fill: rgba(181, 83, 60, .10); stroke: var(--terracota, #B5533C); stroke-width: .9; }
.coc-comp .isla   { fill: rgba(107, 115, 85, .16); stroke: var(--oliva, #6B7355); stroke-width: .9; }
.coc-comp .pieza  { fill: none; stroke: rgba(20, 17, 15, .40); stroke-width: .7; }

.coc-comp h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 16px 0 8px;
  color: var(--tinta, #14110F);
}

.coc-comp p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: .9rem;
  line-height: 1.7;
  color: #5f574d;
  margin: 0;
}

/* ---------- Detalles: tiradores, interior y agua ---------- */

.coc-detalles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 40px);
}

.coc-detalle { margin: 0; cursor: zoom-in; }

.coc-detalle img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  transition: transform .5s ease;
}

.coc-detalle:hover img { transform: scale(1.03); }

/* Rótulo que separa los dos grupos dentro de la sección oscura */
.coc-det-titulo {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--terracota, #B5533C);
  margin: clamp(48px, 7vh, 76px) 0 18px;
}

.coc-detalle h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 18px 0 8px;
  color: #F2EFEA;
}

.coc-detalle p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(242, 239, 234, .72);
  margin: 0;
}

/* ---------- Acabados ---------- */

.coc-acab-grupo + .coc-acab-grupo { margin-top: 38px; }

.coc-acab-titulo {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--terracota, #B5533C);
  margin-bottom: 16px;
}

.coc-acab-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }

.coc-acab { margin: 0; cursor: zoom-in; }

.coc-acab img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  transition: transform .45s ease;
}

.coc-acab:hover img { transform: scale(1.05); }

.coc-acab figcaption {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .66rem;
  color: #5f574d;
  margin-top: 8px;
  text-align: center;
}

/* Nota al pie de la paleta: la colección no acaba aquí */
.coc-acab-nota {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: .95rem;
  line-height: 1.8;
  color: #5f574d;
  margin-top: clamp(30px, 4vh, 46px);
  padding-top: clamp(26px, 3.5vh, 38px);
  border-top: 1px solid rgba(20, 17, 15, .12);
  max-width: 62ch;
}

.coc-acab-nota a {
  display: inline-block;
  margin-top: 12px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracota, #B5533C);
  text-decoration: none;
  border-bottom: 1px solid var(--terracota, #B5533C);
  padding-bottom: 4px;
}

/* ---------- Foto grande ---------- */

.coc-foto { margin: 0; }
.coc-foto img { width: 100%; display: block; border-radius: 3px; }

.coc-foto figcaption {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: .88rem;
  line-height: 1.7;
  color: #8a8178;
  margin-top: 16px;
  max-width: 62ch;
}

/* ---------- Banda de cierre ---------- */
/* Cierra el catálogo: la foto a todo lo ancho y encima la llamada. */

.coc-cierre {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(440px, 68vh, 660px);
  padding: clamp(70px, 10vh, 120px) 6vw;
  overflow: hidden;
  isolation: isolate;
}

.coc-cierre__fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Velo para que el texto se lea sobre la parte clara de la foto */
.coc-cierre::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(20, 17, 15, .62) 0%, rgba(20, 17, 15, .38) 70%),
    linear-gradient(180deg, rgba(20, 17, 15, .28) 0%, rgba(20, 17, 15, .55) 100%);
}

.coc-cierre__in { max-width: 640px; text-align: center; color: #F6F3EE; }

.coc-cierre__in h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.16;
  margin: 0;
}

.coc-cierre__in h2 em { font-style: italic; color: #E8B9A8; }

.coc-cierre__in p {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(246, 243, 238, .84);
  margin: 18px 0 0;
}

.coc-cierre__cta {
  display: inline-block;
  margin-top: clamp(26px, 3.5vh, 38px);
  font-family: 'Josefin Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #F6F3EE;
  text-decoration: none;
  border: 1px solid rgba(246, 243, 238, .5);
  padding: 15px 32px;
  transition: background .4s ease, border-color .4s ease;
}

.coc-cierre__cta:hover {
  background: rgba(246, 243, 238, .12);
  border-color: rgba(246, 243, 238, .9);
}

/* ---------- Móvil ---------- */

@media (max-width: 1000px) {
  .coc-composiciones, .coc-detalles { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .coc-acab-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 560px) {
  .coc-composiciones, .coc-detalles { grid-template-columns: 1fr; }
  .coc-acab-grid { grid-template-columns: repeat(3, 1fr); }
  .coc-cierre { min-height: 420px; }
}
