
/* =========================================
   KAVAAL — PERSONALIZACIÓN DEL ENCABEZADO
   ========================================= */


/* -----------------------------------------
   1. DISTRIBUCIÓN DEL MENÚ
   ----------------------------------------- */

@media (min-width: 1181px) {

  .c-nav {
    flex: 0 1 auto;
    justify-content: flex-start;
    margin-left: 18px;
  }

  .c-header-actions {
    margin-left: auto;
  }

}


/* -----------------------------------------
   2. CÁPSULA DE VIDRIO
   Páginas distintas de la portada.
   ----------------------------------------- */

@media (min-width: 1001px) {

  .c-header:not(.c-header-home) {
    top: 12px;
    margin: 12px 18px 0;

    border-radius: 24px;
    background: rgba(250, 249, 246, 0.40);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  }


  /* ---------------------------------------
     3. PORTADA — CÁPSULA FLOTANTE
     Se muestra cuando bajas por la página.
     --------------------------------------- */

  .c-header-home {
    position: fixed;

    top: 12px;
    left: 18px;
    right: 18px;

    margin: 0;
    border-radius: 24px;

    background: rgba(250, 249, 246, 0.40);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);

    transition:
      background 0.3s ease,
      top 0.3s ease,
      left 0.3s ease,
      right 0.3s ease,
      border-radius 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }


  /* ---------------------------------------
     4. PORTADA — BARRA TRANSPARENTE
     Se muestra al inicio de la página.
     --------------------------------------- */

  .c-header-home.is-at-top {
    top: 0;
    left: 0;
    right: 0;

    border-radius: 0;
    border-color: transparent;

    background: transparent;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    box-shadow: none;
  }


  /* ---------------------------------------
     5. TEXTOS SOBRE EL VIDEO
     --------------------------------------- */

  .c-header-home.is-at-top .c-nav,
  .c-header-home.is-at-top .c-header-actions {
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  }


  /* ---------------------------------------
     6. LOGOTIPO SOBRE EL VIDEO
     --------------------------------------- */

  .c-header-home .c-brand img {
    transition: filter 0.3s ease;
  }

  .c-header-home.is-at-top .c-brand img {
    filter: brightness(0) invert(1);
  }


  /* ---------------------------------------
     7. FONDO DE LOS MENÚS DESPLEGABLES
     --------------------------------------- */

  .c-header-home.is-at-top .c-dropdown > div {
    color: #17201c;
    text-shadow: none;
    background: rgba(250, 249, 246, 0.97);
  }


  /* ---------------------------------------
     8. BOTÓN HABLEMOS SOBRE EL VIDEO
     --------------------------------------- */

  .c-header-home.is-at-top .c-talk {
    background: #ffffff;
    color: #172b23 !important;
    text-shadow: none;
  }

}

/* Mantiene el contraste de los enlaces con apariencia de botón. */
.c-page a.button-dark {
  color: #fff;
}

.c-page a.button-white,
.c-page a.button-gold {
  color: #191b1a;
}


/* =========================================
   9. MENÚS DESPLEGABLES
   Desarrollo / Marketing / IA
   ========================================= */

/* Cursor de mano y texto no seleccionable */

.c-header .c-dropdown > summary,
.c-header .c-dropdown > summary * {
  cursor: pointer;
  user-select: none;
}


/* Alineación de texto y flechas en escritorio */

@media (min-width: 1001px) {

  .c-header .c-dropdown > summary {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
  }

  /* Flecha dibujada con CSS */

  .c-header .c-dropdown > summary > span {
    display: inline-block;
    flex: 0 0 7px;

    width: 7px;
    height: 7px;

    margin-left: 0;
    font-size: 0;
    line-height: 0;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: translateY(-2px) rotate(45deg);

    pointer-events: none;

    transition: transform 0.2s ease;
  }


  /* Flecha hacia arriba cuando está abierto */

  .c-header .c-dropdown[open] > summary > span {
    transform: translateY(2px) rotate(225deg);
  }

}


/* =========================================
   10. ACCESIBILIDAD
   Respeta movimiento reducido.
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .c-header-home,
  .c-header-home .c-brand img,
  .c-header .c-dropdown > summary > span {
    transition: none;
  }

}

/* =========================================
   KAVAAL — MEGAMENÚS DE NAVEGACIÓN
   ========================================= */

@media (min-width: 1001px) {

  /* Permite que el panel abarque todo el encabezado */
  .c-header .c-dropdown {
    position: static;
  }

  /* Panel grande debajo de la barra */
  .c-header .c-dropdown > div {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;

    width: auto;
    padding: 22px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;

    max-height: calc(100dvh - 90px);
    overflow-y: auto;

    background: rgba(250, 249, 246, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 0 0 24px 24px;

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.16);

    color: #17201c;
    text-shadow: none;
  }

  /* Cada enlace se convierte en una tarjeta */
  .c-header .c-dropdown > div a {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 125px;
    padding: 24px;

    background: #ffffff;
    border: 1px solid #e9e7df;
    border-radius: 16px;

    color: #17201c;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  /* Interacción con el cursor */
  .c-header .c-dropdown > div a:hover {
    background: #f4f1e7;
    border-color: #d6b875;
    transform: translateY(-3px);
  }

  /* Fondo oscurecido al abrir el menú */
  body.c-page:has(.c-header .c-dropdown[open])::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(8, 15, 11, 0.35);
    backdrop-filter: blur(4px);

    z-index: 59;
    pointer-events: none;
  }
}

/* Dos columnas en pantallas medianas */
@media (min-width: 1001px) and (max-width: 1180px) {
  .c-header .c-dropdown > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Respetar movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .c-header .c-dropdown > div a {
    transition: none;
  }
}

/* =========================================
   KAVAAL — ENCABEZADO CON MEGAMENÚ ABIERTO
   ========================================= */

@media (min-width: 1001px) {

  /* Toda la barra cambia a marfil */
  .c-header:has(.c-dropdown[open]) {
    background: rgba(250, 249, 246, 0.97);
    border-color: rgba(220, 215, 201, 0.7);
    border-radius: 24px 24px 0 0;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Cuando la barra está superpuesta al hero */
  .c-header-home.is-at-top:has(.c-dropdown[open]) {
    background: rgba(250, 249, 246, 0.97);
    border-radius: 0;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Todo el menú recupera texto oscuro */
  .c-header:has(.c-dropdown[open]) .c-nav,
  .c-header:has(.c-dropdown[open]) .c-header-actions {
    color: #17201c;
    text-shadow: none;
  }

  /* Recupera el color original del logotipo */
  .c-header-home.is-at-top:has(.c-dropdown[open]) .c-brand img {
    filter: none;
  }

  /* Botón Hablemos en verde */
  .c-header-home.is-at-top:has(.c-dropdown[open]) .c-talk {
    background: #172b23;
    color: #ffffff !important;
  }

  /* Une visualmente el panel con la cabecera */
  .c-header:has(.c-dropdown[open]) .c-dropdown > div {
    background: rgba(250, 249, 246, 0.97);
    border-top: 1px solid #e5e1d8;
    border-radius: 0 0 24px 24px;
  }

  /* Indica cuál desplegable está abierto */
  .c-header .c-dropdown[open] > summary {
    border-bottom-color: #b49248;
  }

  /* Efecto al pasar el cursor sobre las opciones */
  .c-header .c-nav > a,
  .c-header .c-nav summary {
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .c-header .c-nav > a:hover,
  .c-header .c-nav summary:hover {
    color: #83642d;
  }

  /* Hover dorado si la barra está transparente */
  .c-header-home.is-at-top:not(:has(.c-dropdown[open]))
  .c-nav > a:hover,

  .c-header-home.is-at-top:not(:has(.c-dropdown[open]))
  .c-nav summary:hover {
    color: #f0d58e;
  }
}


/* =========================================
   KAVAAL — TARJETAS DE MEGAMENÚ
   ========================================= */

@media (min-width: 1001px) {

  .c-header .c-dropdown > div a.c-mega-card {
    min-height: 220px;
    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;

    background: #ffffff;
    border: 1px solid #e8e5dc;
    border-radius: 16px;

    color: #17201c;
    text-decoration: none;

    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      background 0.25s ease,
      box-shadow 0.25s ease;
  }

  /* Número y categoría */
  .c-mega-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    color: #927137;
    margin-bottom: 20px;
  }

  /* Título de cada tarjeta */
  .c-mega-title {
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  /* Descripción */
  .c-mega-desc {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #626861;
    margin-bottom: 22px;
  }

  /* Enlace inferior */
  .c-mega-action {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: #172b23;
  }

  /* Efecto al pasar el mouse */
  .c-header .c-dropdown > div a.c-mega-card:hover {
    background: #f7f5ee;
    border-color: #d6b875;
    box-shadow: 0 12px 25px rgba(23, 43, 35, 0.08);
    transform: translateY(-3px);
  }
}

/* En celular conservamos los enlaces compactos */
@media (max-width: 1000px) {

  .c-mega-kicker,
  .c-mega-desc,
  .c-mega-action {
    display: none;
  }

  .c-mega-title {
    font: inherit;
  }
}

/* Sin desplazamientos animados con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .c-header .c-dropdown > div a.c-mega-card {
    transition: none;
  }

  .c-header .c-dropdown > div a.c-mega-card:hover {
    transform: none;
  }
}
/* Megamenús de tres tarjetas */
@media (min-width: 1181px) {
  .c-header .c-dropdown > div:has(> a:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* =========================================
   KAVAAL — SUBRAYADO SOLO EN PÁGINA ACTIVA
   ========================================= */

@media (min-width: 1001px) {

  /* Los enlaces que no son la página actual
     nunca muestran la línea inferior */

  .c-header .c-nav > a:not([aria-current="page"]) {
    border-bottom-color: transparent;
  }

  /* Los desplegables que no corresponden a
     la sección actual tampoco muestran línea,
     aunque estén abiertos o tengan hover */

  .c-header .c-nav >
  .c-dropdown:not([data-current="true"]) > summary {
    border-bottom-color: transparent;
  }

}


/* =========================================
   KAVAAL — TRANSICIÓN DE MEGAMENÚS
   ========================================= */

@media (min-width: 1001px) {

  /* Animación al abrir un megamenú */
  @keyframes kavaal-menu-entrada {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}

/* Respetar la configuración de movimiento reducido */
@media (prefers-reduced-motion: reduce) {

  .c-header .c-dropdown[open] > div {
    animation: none;
  }

}
/* El panel permanece estable al cambiar de menú */
@media (min-width: 1001px) {
  .c-header .c-dropdown[open] > div {
    animation: none;
  }
}


/* =========================================
   KAVAAL — ENCABEZADO SOBRE FONDO CLARO
   ========================================= */

@media (min-width: 1001px) {

  /* Textos oscuros cuando la barra es transparente */
  .c-header-home.c-header-light.is-at-top .c-nav,
  .c-header-home.c-header-light.is-at-top .c-header-actions {
    color: #17201c;
    text-shadow: none;
  }

  /* Conservar el color original del logotipo */
  .c-header-home.c-header-light.is-at-top .c-brand img {
    filter: none;
  }

  /* Botón Hablemos en verde profundo */
  .c-header-home.c-header-light.is-at-top .c-talk {
    background: #172b23;
    color: #ffffff !important;
  }

}


/* Marketing: estilo compartido entre resumen y detalle. */
.c-marketing-offer,
.c-marketing-process {
  padding-block: 38px 18px;
}

.c-marketing-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-block: 12px 42px;
}

.c-marketing-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.c-marketing-section-heading h2 {
  margin-bottom: 0;
}

.c-marketing-card-grid,
.c-marketing-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.c-marketing-card-grid .c-service-card,
.c-marketing-process-grid .c-service-card {
  height: 100%;
}

.c-marketing-index {
  display: block;
  margin-bottom: 22px;
  color: #927137;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.c-marketing-card-grid .c-service-card h2,
.c-marketing-process-grid .c-service-card h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.c-marketing-note {
  max-width: 980px;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  color: var(--c-muted);
  font-size: 13px;
}

.c-marketing-contact {
  display: grid;
  justify-items: start;
  gap: 14px;
  flex: 0 0 auto;
}

.c-marketing-contact p {
  margin: 0;
  color: var(--c-muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .c-marketing-overview-grid,
  .c-marketing-card-grid,
  .c-marketing-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .c-marketing-overview-grid,
  .c-marketing-card-grid,
  .c-marketing-process-grid {
    grid-template-columns: 1fr;
  }

  .c-marketing-offer,
  .c-marketing-process {
    padding-block: 24px 8px;
  }

  .c-marketing-contact {
    width: 100%;
  }
}

/* Páginas independientes de Marketing: identidad y contenido social. */
/* La nueva toma sitúa la computadora a la izquierda: el texto ocupa el lado derecho. */
.c-hero-workspace {
  background: #101b15;
  overflow: hidden;
}

.c-hero-workspace .c-hero-video,
.c-hero-workspace .c-hero-photo {
  mask-image: none;
  -webkit-mask-image: none;
}

.c-hero-workspace .c-hero-photo {
  transition: opacity .4s ease;
}

.c-hero-workspace.c-video-ready .c-hero-photo {
  opacity: 0;
}

@media (min-width: 761px) {
  .c-hero-workspace .c-hero-video {
    object-fit: cover;
    object-position: 42% center;
  }

  .c-hero-workspace .c-hero-photo {
    background-size: cover;
    background-position: 42% center;
  }

  .c-hero-workspace .c-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(20px, 3vw, 48px);
  }

  .c-hero-workspace .c-hero-copy > * {
    grid-column: 2;
  }

  .c-hero-workspace h1 {
    font-size: clamp(36px, 4.3vw, 64px);
  }

  .c-hero-workspace .c-hero-shade {
    background:
      linear-gradient(0deg, #101b15 0%, #101b1500 26%),
      linear-gradient(90deg, #101b1500 0%, #101b1520 35%, #101b15bd 58%, #101b15f5 95%);
  }
}

.c-marketing-detail {
  --m-accent: #a57b32;
  --m-accent-soft: #eee5d2;
}

.c-marketing-hero h1 em {
  color: #9c7834;
  font-style: normal;
}

.c-marketing-hub-hero {
  padding-top: 70px;
  padding-bottom: 56px;
}

.c-marketing-hub-hero > div > .c-link {
  display: block;
  width: fit-content;
  margin-top: 18px;
}

.c-marketing-hub-services {
  padding-block: 28px 42px;
}

.c-marketing-hub-services .c-marketing-section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.c-marketing-hub-services .c-marketing-section-heading > p:last-child {
  max-width: 590px;
  color: var(--c-muted);
  line-height: 1.65;
}

.c-marketing-hub-services .c-marketing-overview-grid {
  align-items: stretch;
}

.c-marketing-hub-services .c-service-card {
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 28px;
  background: #fffdfa;
}

.c-marketing-hub-services .c-service-card h2 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.2vw, 29px);
}

.c-marketing-hub-services .c-service-card p {
  flex: 1;
  line-height: 1.65;
}

.c-marketing-hub-services .c-service-card .c-link {
  width: fit-content;
  margin-top: 12px;
  color: #17362b;
  font-weight: 700;
  text-underline-offset: 4px;
}

.c-marketing-hub-note {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 50px;
  padding-block: 34px 58px;
}

.c-marketing-hub-note h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.c-marketing-hub-note > p {
  max-width: 630px;
  margin: 0;
  color: var(--c-muted);
  line-height: 1.75;
}

.c-marketing-related {
  padding-block: 30px 56px;
}

.c-marketing-related .c-marketing-section-heading {
  max-width: 700px;
  margin-bottom: 22px;
}

.c-marketing-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.c-marketing-related-card {
  display: grid;
  gap: 14px;
  padding: 26px 28px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fffdfa;
  color: var(--c-ink);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.c-marketing-related-card > strong {
  font-size: 24px;
}

.c-marketing-related-card > span:last-child {
  display: grid;
  gap: 12px;
  color: var(--c-muted);
  line-height: 1.6;
}

.c-marketing-related-card b {
  color: #17362b;
  font-size: 13px;
}

.c-marketing-related-card:hover,
.c-marketing-related-card:focus-visible {
  transform: translateY(-3px);
  border-color: #b99a5c;
  box-shadow: 0 12px 28px #172b2310;
}

.c-marketing-detail .c-marketing-hero {
  padding-top: 76px;
  padding-bottom: 64px;
}

.c-marketing-detail .c-marketing-hero h1 {
  max-width: 720px;
  line-height: 1.04;
}

.c-marketing-detail .c-marketing-hero h1 em {
  color: var(--m-accent);
  font-style: normal;
}

.c-marketing-back {
  display: block;
  width: fit-content;
  margin: 24px 0 0;
  font-size: 13px;
}

.m-brand-board,
.m-social-preview {
  min-height: 400px;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  overflow: hidden;
  background: #18241e;
  color: #f8f5ed;
  box-shadow: 0 22px 54px #172b2318;
}

.m-brand-board {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(ellipse at 75% 15%, #8e744b65, transparent 38%),
    linear-gradient(145deg, #18241e, #26342c 62%, #121b17);
}

.m-brand-board-top,
.m-social-top,
.m-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #d8c99e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.m-brand-symbol {
  color: #dfbd6d;
  font-family: Georgia, serif;
  font-size: clamp(120px, 18vw, 210px);
  line-height: .8;
  letter-spacing: -.12em;
  text-shadow: 0 14px 48px #0006;
}

.m-brand-symbol span {
  color: #f3ead4;
}

.m-brand-board-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.m-brand-board-bottom strong {
  font-family: Georgia, serif;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.m-brand-swatches,
.m-brand-swatch-row {
  display: flex;
  gap: 8px;
}

.m-brand-swatches i,
.m-brand-swatch-row i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c8a85e;
}

.m-brand-swatches i:nth-child(2),
.m-brand-swatch-row i:nth-child(2) { background: #f2ead7; }
.m-brand-swatches i:nth-child(3),
.m-brand-swatch-row i:nth-child(3) { background: #829080; }
.m-brand-swatches i:nth-child(4),
.m-brand-swatch-row i:nth-child(4) { background: #a66e52; }

.m-brand-system,
.m-social-workflow {
  margin-block: 28px 44px;
  padding-block: 58px;
  background: #f0ede5;
}

.m-brand-system-grid,
.m-social-workflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
}

.m-brand-system-grid h2,
.m-social-workflow-grid h2 {
  max-width: 520px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.m-brand-system-grid > div:first-child > p:last-child,
.m-social-workflow-grid > div:last-child > p:not(.c-eyebrow) {
  max-width: 500px;
  color: var(--c-muted);
  line-height: 1.75;
}

.m-brand-specimen {
  min-height: 310px;
  padding: 30px;
  border-radius: 16px;
  background: #18241e;
  color: #f8f5ed;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.m-brand-specimen > span,
.m-brand-specimen small {
  color: #d8c99e;
  font-size: 10px;
  letter-spacing: .13em;
}

.m-brand-specimen strong {
  margin-top: 30px;
  font: 100px/.9 Georgia, serif;
  color: #dfbd6d;
}

.m-brand-specimen p { margin: 10px 0 26px; color: #e6e0d3; }

.m-social-preview {
  padding: 24px;
  background: #f0ede5;
  color: #18241e;
}

.m-social-top { color: #59645b; }

.m-social-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  grid-template-rows: 1.2fr .8fr;
  gap: 12px;
  height: 290px;
  margin-block: 22px 18px;
}

.m-social-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 18px;
  border-radius: 10px;
  overflow: hidden;
}

.m-social-tile span { font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.m-social-feature { background: #1b3027; color: #f5f0e4; }
.m-social-feature strong { font: clamp(22px, 3vw, 34px)/1.05 Georgia, serif; }
.m-social-feature i { position: absolute; right: 16px; bottom: 12px; color: #d9bd72; font-style: normal; }
.m-social-photo { background: linear-gradient(150deg, #d4b78a, #9c7750 53%, #354138); color: #fffaf0; }
.m-social-photo b { font: 23px/1.05 Georgia, serif; }
.m-social-note { background: #dce1d5; color: #26362d; }
.m-social-note strong { font: 27px/1.02 Georgia, serif; }
.m-social-color { background: #d9c17e; color: #17251e; }
.m-social-color b { font-size: 18px; }

.m-social-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #59645b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.m-social-bottom i { width: 24px; height: 1px; background: #b8b19f; }

.m-social-calendar {
  padding: 24px;
  border: 1px solid #d7d2c7;
  border-radius: 16px;
  background: #faf9f6;
}

.m-calendar-head { padding-bottom: 18px; color: #6c644d; }

.m-calendar-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #e7e3da;
}

.m-calendar-row > b { color: #9a7730; font-size: 11px; }
.m-calendar-row > span { display: grid; gap: 5px; font-size: 13px; }
.m-calendar-row > span i { color: #728074; font-size: 9px; font-style: normal; letter-spacing: .12em; }
.m-calendar-row > em { padding: 6px 8px; border: 1px solid #d7d2c7; border-radius: 20px; color: #656a61; font-size: 9px; font-style: normal; }
.m-social-calendar > p { margin: 8px 0 0; color: #75766d; font-size: 10px; }
.m-social-workflow-grid .c-link { display: inline-block; margin-top: 12px; }
.c-marketing-close { align-items: center; }

@media (max-width: 760px) {
  .c-marketing-hub-hero { padding-block: 34px; }
  .c-marketing-hub-services { padding-block: 8px 30px; }
  .c-marketing-hub-note { grid-template-columns: 1fr; gap: 14px; padding-block: 26px 40px; }
  .c-marketing-related { padding-block: 14px 36px; }
  .c-marketing-related-grid { grid-template-columns: 1fr; }
  .c-marketing-related-card { padding: 22px; }
  .c-marketing-detail .c-marketing-hero { padding-block: 34px; }
  .m-brand-board, .m-social-preview { min-height: 330px; }
  .m-brand-system, .m-social-workflow { padding-block: 36px; }
  .m-brand-system-grid, .m-social-workflow-grid { grid-template-columns: 1fr; gap: 28px; }
  .m-social-grid { height: 260px; }
  .m-social-calendar { padding: 18px; }
  .m-calendar-row { grid-template-columns: 36px 1fr; gap: 10px; }
  .m-calendar-row > em { grid-column: 2; width: fit-content; }
  .m-brand-board-bottom { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .c-marketing-detail .c-reveal { opacity: 1; transform: none; }
}

